Skip to content

Commit

Permalink
Autogenerated update (2018-03-29)
Browse files Browse the repository at this point in the history
Update:
- androidpublisher_v2
- calendar_v3
- dialogflow_v2
- dialogflow_v2beta1
- dlp_v2
- ml_v1
  • Loading branch information
googleapis-publisher committed Mar 29, 2018
1 parent ec3162c commit 8843aa0
Show file tree
Hide file tree
Showing 19 changed files with 499 additions and 1,069 deletions.
34 changes: 34 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21864,6 +21864,8 @@
"/compute:beta/BackendService/cdnPolicy": cdn_policy
"/compute:beta/BackendService/connectionDraining": connection_draining
"/compute:beta/BackendService/creationTimestamp": creation_timestamp
"/compute:beta/BackendService/customRequestHeaders": custom_request_headers
"/compute:beta/BackendService/customRequestHeaders/custom_request_header": custom_request_header
"/compute:beta/BackendService/description": description
"/compute:beta/BackendService/enableCDN": enable_cdn
"/compute:beta/BackendService/fingerprint": fingerprint
Expand Down Expand Up @@ -46288,6 +46290,36 @@
"/dialogflow:v2beta1/dialogflow.projects.agent.entityTypes.patch/languageCode": language_code
"/dialogflow:v2beta1/dialogflow.projects.agent.entityTypes.patch/name": name
"/dialogflow:v2beta1/dialogflow.projects.agent.entityTypes.patch/updateMask": update_mask
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.create": create_project_agent_environment_user_session_context
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.create/parent": parent
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.delete": delete_project_agent_environment_user_session_context
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.delete/name": name
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.get": get_project_agent_environment_user_session_context
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.get/name": name
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.list": list_project_agent_environment_user_session_contexts
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.list/pageSize": page_size
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.list/pageToken": page_token
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.list/parent": parent
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.patch": patch_project_agent_environment_user_session_context
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.patch/name": name
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.contexts.patch/updateMask": update_mask
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.deleteContexts": delete_project_agent_environment_user_session_contexts
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.deleteContexts/parent": parent
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.detectIntent": detect_project_agent_environment_user_session_intent
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.detectIntent/session": session
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.create": create_project_agent_environment_user_session_entity_type
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.create/parent": parent
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.delete": delete_project_agent_environment_user_session_entity_type
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.delete/name": name
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.get": get_project_agent_environment_user_session_entity_type
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.get/name": name
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.list": list_project_agent_environment_user_session_entity_types
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.list/pageSize": page_size
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.list/pageToken": page_token
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.list/parent": parent
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.patch": patch_project_agent_environment_user_session_entity_type
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.patch/name": name
"/dialogflow:v2beta1/dialogflow.projects.agent.environments.users.sessions.entityTypes.patch/updateMask": update_mask
"/dialogflow:v2beta1/dialogflow.projects.agent.export": export_agent
"/dialogflow:v2beta1/dialogflow.projects.agent.export/parent": parent
"/dialogflow:v2beta1/dialogflow.projects.agent.import": import_agent
Expand Down Expand Up @@ -46643,6 +46675,8 @@
"/dlp:v2/GooglePrivacyDlpV2CloudStorageOptions": google_privacy_dlp_v2_cloud_storage_options
"/dlp:v2/GooglePrivacyDlpV2CloudStorageOptions/bytesLimitPerFile": bytes_limit_per_file
"/dlp:v2/GooglePrivacyDlpV2CloudStorageOptions/fileSet": file_set
"/dlp:v2/GooglePrivacyDlpV2CloudStorageOptions/fileTypes": file_types
"/dlp:v2/GooglePrivacyDlpV2CloudStorageOptions/fileTypes/file_type": file_type
"/dlp:v2/GooglePrivacyDlpV2Color": google_privacy_dlp_v2_color
"/dlp:v2/GooglePrivacyDlpV2Color/blue": blue
"/dlp:v2/GooglePrivacyDlpV2Color/green": green
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidpublisher_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/android-publisher
module AndroidpublisherV2
VERSION = 'V2'
REVISION = '20180319'
REVISION = '20180327'

# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
Expand Down
71 changes: 0 additions & 71 deletions generated/google/apis/androidpublisher_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -426,77 +426,6 @@ def update!(**args)
end
end

# An Entitlement resource indicates a user's current entitlement to an inapp
# item or subscription.
class Entitlement
include Google::Apis::Core::Hashable

# This kind represents an entitlement object in the androidpublisher service.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind

# The SKU of the product.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id

# The type of the inapp product. Possible values are:
# - In-app item: "inapp"
# - Subscription: "subs"
# Corresponds to the JSON property `productType`
# @return [String]
attr_accessor :product_type

# The token which can be verified using the subscriptions or products API.
# Corresponds to the JSON property `token`
# @return [String]
attr_accessor :token

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@product_id = args[:product_id] if args.key?(:product_id)
@product_type = args[:product_type] if args.key?(:product_type)
@token = args[:token] if args.key?(:token)
end
end

#
class ListEntitlementsResponse
include Google::Apis::Core::Hashable

#
# Corresponds to the JSON property `pageInfo`
# @return [Google::Apis::AndroidpublisherV2::PageInfo]
attr_accessor :page_info

#
# Corresponds to the JSON property `resources`
# @return [Array<Google::Apis::AndroidpublisherV2::Entitlement>]
attr_accessor :resources

#
# Corresponds to the JSON property `tokenPagination`
# @return [Google::Apis::AndroidpublisherV2::TokenPagination]
attr_accessor :token_pagination

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@page_info = args[:page_info] if args.key?(:page_info)
@resources = args[:resources] if args.key?(:resources)
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
end
end

#
class ExpansionFile
include Google::Apis::Core::Hashable
Expand Down
34 changes: 0 additions & 34 deletions generated/google/apis/androidpublisher_v2/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class Entitlement
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ListEntitlementsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ExpansionFile
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -462,28 +450,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class Entitlement
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :product_id, as: 'productId'
property :product_type, as: 'productType'
property :token, as: 'token'
end
end

class ListEntitlementsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV2::PageInfo, decorator: Google::Apis::AndroidpublisherV2::PageInfo::Representation

collection :resources, as: 'resources', class: Google::Apis::AndroidpublisherV2::Entitlement, decorator: Google::Apis::AndroidpublisherV2::Entitlement::Representation

property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV2::TokenPagination, decorator: Google::Apis::AndroidpublisherV2::TokenPagination::Representation

end
end

class ExpansionFile
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
46 changes: 0 additions & 46 deletions generated/google/apis/androidpublisher_v2/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1802,52 +1802,6 @@ def update_track(package_name, edit_id, track, track_object = nil, fields: nil,
execute_or_queue_command(command, &block)
end

# Lists the user's current inapp item or subscription entitlements
# @param [String] package_name
# The package name of the application the inapp product was sold in (for example,
# 'com.some.thing').
# @param [Fixnum] max_results
# @param [String] product_id
# The product id of the inapp product (for example, 'sku1'). This can be used to
# restrict the result set.
# @param [Fixnum] start_index
# @param [String] token
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidpublisherV2::ListEntitlementsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidpublisherV2::ListEntitlementsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_entitlements(package_name, max_results: nil, product_id: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{packageName}/entitlements', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ListEntitlementsResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ListEntitlementsResponse
command.params['packageName'] = package_name unless package_name.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['productId'] = product_id unless product_id.nil?
command.query['startIndex'] = start_index unless start_index.nil?
command.query['token'] = token unless token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end

# Delete an in-app product for an app.
# @param [String] package_name
# Unique identifier for the Android app with the in-app product; for example, "
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/calendar_v3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3
VERSION = 'V3'
REVISION = '20180130'
REVISION = '20180325'

# Manage your calendars
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
Expand Down
4 changes: 3 additions & 1 deletion generated/google/apis/calendar_v3/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,9 @@ class EventAttendee
attr_accessor :organizer
alias_method :organizer?, :organizer

# Whether the attendee is a resource. Read-only. The default is False.
# Whether the attendee is a resource. Can only be set when the attendee is added
# to the event for the first time. Subsequent modifications are ignored.
# Optional. The default is False.
# Corresponds to the JSON property `resource`
# @return [Boolean]
attr_accessor :resource
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/dialogflow_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2
VERSION = 'V2'
REVISION = '20180317'
REVISION = '20180326'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
35 changes: 13 additions & 22 deletions generated/google/apis/dialogflow_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class GoogleCloudDialogflowV2Agent
include Google::Apis::Core::Hashable

# Optional. The URI of the agent's avatar.
# Avatars are used throughout API.AI console and in the self-hosted
# Avatars are used throughout the Dialogflow console and in the self-hosted
# [Web Demo](https://dialogflow.com/docs/integrations/web-demo) integration.
# Corresponds to the JSON property `avatarUri`
# @return [String]
Expand Down Expand Up @@ -391,13 +391,7 @@ class GoogleCloudDialogflowV2Context
attr_accessor :lifespan_count

# Required. The unique identifier of the context. Format:
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
# or
# `projects/<Project ID>/agent/runtimes/<Runtime ID>/sessions/<Session
# ID>/contexts/<Context ID>`.
# Note: Runtimes are under construction and will be available soon.
# The Context ID is always converted to lowercase.
# If <Runtime ID> is not specified, we assume default 'sandbox' runtime.
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
Expand Down Expand Up @@ -858,7 +852,7 @@ class GoogleCloudDialogflowV2Intent
alias_method :is_fallback?, :is_fallback

# Optional. The collection of rich messages corresponding to the
# `Response` field in API.AI console.
# `Response` field in the Dialogflow console.
# Corresponds to the JSON property `messages`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessage>]
attr_accessor :messages
Expand Down Expand Up @@ -1006,7 +1000,7 @@ def update!(**args)
end
end

# Corresponds to the `Response` field in API.AI console.
# Corresponds to the `Response` field in the Dialogflow console.
class GoogleCloudDialogflowV2IntentMessage
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -2197,11 +2191,7 @@ class GoogleCloudDialogflowV2SessionEntityType

# Required. The unique identifier of this session entity type. Format:
# `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
# Display Name>`, or
# `projects/<Project ID>/agent/runtimes/<Runtime ID>sessions/<Session
# ID>/entityTypes/<Entity Type Display Name>`.
# Note: Runtimes are under construction and will be available soon.
# If <Runtime ID> is not specified, we assume default 'sandbox' runtime.
# Display Name>`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
Expand Down Expand Up @@ -2410,11 +2400,12 @@ class GoogleCloudDialogflowV2beta1Context
# Required. The unique identifier of the context. Format:
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
# or
# `projects/<Project ID>/agent/runtimes/<Runtime ID>/sessions/<Session
# ID>/contexts/<Context ID>`.
# Note: Runtimes are under construction and will be available soon.
# The Context ID is always converted to lowercase.
# If <Runtime ID> is not specified, we assume default 'sandbox' runtime.
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
# ID>/sessions/<Session ID>/contexts/<Context ID>`. Note: Environments and
# users are under construction and will be available soon. The Context ID is
# always converted to lowercase. If <Environment ID> is not specified, we
# assume default 'draft' environment. If <User ID> is not specified, we
# assume default '-' user.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
Expand Down Expand Up @@ -2644,7 +2635,7 @@ class GoogleCloudDialogflowV2beta1Intent
alias_method :is_fallback?, :is_fallback

# Optional. The collection of rich messages corresponding to the
# `Response` field in API.AI console.
# `Response` field in the Dialogflow console.
# Corresponds to the JSON property `messages`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessage>]
attr_accessor :messages
Expand Down Expand Up @@ -2790,7 +2781,7 @@ def update!(**args)
end
end

# Corresponds to the `Response` field in API.AI console.
# Corresponds to the `Response` field in the Dialogflow console.
class GoogleCloudDialogflowV2beta1IntentMessage
include Google::Apis::Core::Hashable

Expand Down
Loading

0 comments on commit 8843aa0

Please sign in to comment.