From 27b23b068def5955e7674888e745415997193974 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 5 Jul 2018 00:36:29 +0000 Subject: [PATCH] Autogenerated update (2018-07-05) Update: - cloudfunctions_v1 - content_v2 - dialogflow_v2 - dialogflow_v2beta1 --- api_names_out.yaml | 4 + generated/google/apis/cloudfunctions_v1.rb | 2 +- .../google/apis/cloudfunctions_v1/classes.rb | 16 +- generated/google/apis/content_v2.rb | 2 +- generated/google/apis/content_v2/classes.rb | 145 +----------------- .../google/apis/content_v2/representations.rb | 53 ------- generated/google/apis/content_v2/service.rb | 42 ----- generated/google/apis/dialogflow_v2.rb | 2 +- .../google/apis/dialogflow_v2/classes.rb | 18 +++ .../apis/dialogflow_v2/representations.rb | 2 + generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/classes.rb | 18 +++ .../dialogflow_v2beta1/representations.rb | 2 + 13 files changed, 63 insertions(+), 245 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 9585b2ddbf5..5297cd171d7 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -50378,6 +50378,7 @@ "/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/payload": payload "/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/payload/payload": payload "/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/source": source +"/dialogflow:v2/GoogleCloudDialogflowV2OriginalDetectIntentRequest/version": version "/dialogflow:v2/GoogleCloudDialogflowV2QueryInput": google_cloud_dialogflow_v2_query_input "/dialogflow:v2/GoogleCloudDialogflowV2QueryInput/audioConfig": audio_config "/dialogflow:v2/GoogleCloudDialogflowV2QueryInput/event": event @@ -50612,6 +50613,7 @@ "/dialogflow:v2/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/payload": payload "/dialogflow:v2/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/payload/payload": payload "/dialogflow:v2/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/source": source +"/dialogflow:v2/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/version": version "/dialogflow:v2/GoogleCloudDialogflowV2beta1QueryResult": google_cloud_dialogflow_v2beta1_query_result "/dialogflow:v2/GoogleCloudDialogflowV2beta1QueryResult/action": action "/dialogflow:v2/GoogleCloudDialogflowV2beta1QueryResult/allRequiredParamsPresent": all_required_params_present @@ -51049,6 +51051,7 @@ "/dialogflow:v2beta1/GoogleCloudDialogflowV2OriginalDetectIntentRequest/payload": payload "/dialogflow:v2beta1/GoogleCloudDialogflowV2OriginalDetectIntentRequest/payload/payload": payload "/dialogflow:v2beta1/GoogleCloudDialogflowV2OriginalDetectIntentRequest/source": source +"/dialogflow:v2beta1/GoogleCloudDialogflowV2OriginalDetectIntentRequest/version": version "/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult": google_cloud_dialogflow_v2_query_result "/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/action": action "/dialogflow:v2beta1/GoogleCloudDialogflowV2QueryResult/allRequiredParamsPresent": all_required_params_present @@ -51336,6 +51339,7 @@ "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/payload": payload "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/payload/payload": payload "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/source": source +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest/version": version "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1QueryInput": google_cloud_dialogflow_v2beta1_query_input "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1QueryInput/audioConfig": audio_config "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1QueryInput/event": event diff --git a/generated/google/apis/cloudfunctions_v1.rb b/generated/google/apis/cloudfunctions_v1.rb index 54a7f151659..29fd988d9e2 100644 --- a/generated/google/apis/cloudfunctions_v1.rb +++ b/generated/google/apis/cloudfunctions_v1.rb @@ -25,7 +25,7 @@ module Apis # @see https://cloud.google.com/functions module CloudfunctionsV1 VERSION = 'V1' - REVISION = '20180622' + REVISION = '20180702' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudfunctions_v1/classes.rb b/generated/google/apis/cloudfunctions_v1/classes.rb index 0f45edcdaf1..63d0ab55073 100644 --- a/generated/google/apis/cloudfunctions_v1/classes.rb +++ b/generated/google/apis/cloudfunctions_v1/classes.rb @@ -135,14 +135,14 @@ class CloudFunction # @return [String] attr_accessor :name - # The Google Compute Engine network that this function can connect to. - # Either the fully-qualified URI of the network resource, or - # the short name of the network must be specified. If the network belongs to - # another project, the URI of the resource must be specified - # e.g., - # `https://www.googleapis.com/compute/v1/projects/`project`/global/networks/` - # network`` - # or `my-network`. + # The VPC Network that this cloud function can connect to. It can be + # either the fully-qualified URI, or the short name of the network resource. + # If the short network name is used, the network must belong to the same + # project. Otherwise, it must belong to a project within the same + # organization. The format of this field is either + # `projects/`project`/global/networks/`network`` or ``network``, where + # `project` is a project id where the network is defined, and `network` is + # the short name of the network. # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for # more information on connecting Cloud projects. # This feature is currently in alpha, available only for whitelisted users. diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index 7b6b1941ddc..23e0b843830 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Apis # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '' + REVISION = '20180608' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index 574e89cf256..65a457c1556 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -634,7 +634,8 @@ class AccountsBatchRequestEntry # @return [Google::Apis::ContentV2::Account] attr_accessor :account - # The ID of the targeted account. Only defined if the method is not insert. + # The ID of the targeted account. Only defined if the method is get, delete or + # claimwebsite. # Corresponds to the JSON property `accountId` # @return [Fixnum] attr_accessor :account_id @@ -651,17 +652,12 @@ class AccountsBatchRequestEntry attr_accessor :force alias_method :force?, :force - # Details about the link request. - # Corresponds to the JSON property `linkRequest` - # @return [Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest] - attr_accessor :link_request - # The ID of the managing account. # Corresponds to the JSON property `merchantId` # @return [Fixnum] attr_accessor :merchant_id - # The method of the batch entry. + # # Corresponds to the JSON property `method` # @return [String] attr_accessor :request_method @@ -683,44 +679,12 @@ def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @batch_id = args[:batch_id] if args.key?(:batch_id) @force = args[:force] if args.key?(:force) - @link_request = args[:link_request] if args.key?(:link_request) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @request_method = args[:request_method] if args.key?(:request_method) @overwrite = args[:overwrite] if args.key?(:overwrite) end end - # - class AccountsCustomBatchRequestEntryLinkRequest - include Google::Apis::Core::Hashable - - # Action to perform for this link. - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - # Type of the link between the two accounts. - # Corresponds to the JSON property `linkType` - # @return [String] - attr_accessor :link_type - - # The ID of the linked account. - # Corresponds to the JSON property `linkedAccountId` - # @return [String] - attr_accessor :linked_account_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @action = args[:action] if args.key?(:action) - @link_type = args[:link_type] if args.key?(:link_type) - @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id) - end - end - # class BatchAccountsResponse include Google::Apis::Core::Hashable @@ -772,11 +736,6 @@ class AccountsBatchResponseEntry # @return [String] attr_accessor :kind - # The status of the updated link. Only defined if the method is link. - # Corresponds to the JSON property `linkStatus` - # @return [String] - attr_accessor :link_status - def initialize(**args) update!(**args) end @@ -787,64 +746,6 @@ def update!(**args) @batch_id = args[:batch_id] if args.key?(:batch_id) @errors = args[:errors] if args.key?(:errors) @kind = args[:kind] if args.key?(:kind) - @link_status = args[:link_status] if args.key?(:link_status) - end - end - - # - class AccountsLinkRequest - include Google::Apis::Core::Hashable - - # Action to perform for this link. - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - # Type of the link between the two accounts. - # Corresponds to the JSON property `linkType` - # @return [String] - attr_accessor :link_type - - # The ID of the linked account. - # Corresponds to the JSON property `linkedAccountId` - # @return [String] - attr_accessor :linked_account_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @action = args[:action] if args.key?(:action) - @link_type = args[:link_type] if args.key?(:link_type) - @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id) - end - end - - # - class AccountsLinkResponse - include Google::Apis::Core::Hashable - - # Identifies what kind of resource this is. Value: the fixed string "content# - # accountsLinkResponse". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Current status of the requested link. - # Corresponds to the JSON property `linkStatus` - # @return [String] - attr_accessor :link_status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @kind = args[:kind] if args.key?(:kind) - @link_status = args[:link_status] if args.key?(:link_status) end end @@ -4433,7 +4334,7 @@ class OrderShipment attr_accessor :creation_date # Date on which the shipment has been delivered, in ISO 8601 format. Present - # only if status is delivered + # only if status is delievered # Corresponds to the JSON property `deliveryDate` # @return [String] attr_accessor :delivery_date @@ -4590,14 +4491,14 @@ class OrderinvoicesCreateRefundInvoiceRequest # @return [String] attr_accessor :operation_id - # Option to create a refund-only invoice. Exactly one of refundOnlyOption or - # returnOption must be provided. + # Option to create a refund-only invoice. Exactly one of refund_option and + # return_option must be provided. # Corresponds to the JSON property `refundOnlyOption` # @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption] attr_accessor :refund_only_option # Option to create an invoice for a refund and mark all items within the invoice - # as returned. Exactly one of refundOnlyOption or returnOption must be provided. + # as returned. Exactly one of refund_option and return_option must be provided. # Corresponds to the JSON property `returnOption` # @return [Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption] attr_accessor :return_option @@ -5809,12 +5710,6 @@ class OrdersCustomBatchRequestEntryUpdateShipment # @return [String] attr_accessor :carrier - # Date on which the shipment has been delivered, in ISO 8601 format. Optional - # and can be provided only if - # Corresponds to the JSON property `deliveryDate` - # @return [String] - attr_accessor :delivery_date - # The ID of the shipment. # Corresponds to the JSON property `shipmentId` # @return [String] @@ -5837,7 +5732,6 @@ def initialize(**args) # Update properties of this object def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) - @delivery_date = args[:delivery_date] if args.key?(:delivery_date) @shipment_id = args[:shipment_id] if args.key?(:shipment_id) @status = args[:status] if args.key?(:status) @tracking_id = args[:tracking_id] if args.key?(:tracking_id) @@ -6689,12 +6583,6 @@ class OrdersUpdateShipmentRequest # @return [String] attr_accessor :carrier - # Date on which the shipment has been delivered, in ISO 8601 format. Optional - # and can be provided only if - # Corresponds to the JSON property `deliveryDate` - # @return [String] - attr_accessor :delivery_date - # The ID of the operation. Unique across all operations for a given order. # Corresponds to the JSON property `operationId` # @return [String] @@ -6722,7 +6610,6 @@ def initialize(**args) # Update properties of this object def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) - @delivery_date = args[:delivery_date] if args.key?(:delivery_date) @operation_id = args[:operation_id] if args.key?(:operation_id) @shipment_id = args[:shipment_id] if args.key?(:shipment_id) @status = args[:status] if args.key?(:status) @@ -7617,11 +7504,6 @@ class Product # @return [String] attr_accessor :content_language - # Cost of goods sold. Used for gross profit reporting. - # Corresponds to the JSON property `costOfGoodsSold` - # @return [Google::Apis::ContentV2::Price] - attr_accessor :cost_of_goods_sold - # A list of custom (merchant-provided) attributes. It can also be used for # submitting any attribute of the feed specification in its generic form (e.g., ` # "name": "size type", "type": "text", "value": "regular" `). This is useful @@ -7782,21 +7664,11 @@ class Product # @return [String] attr_accessor :material - # The energy efficiency class as defined in EU directive 2010/30/EU. - # Corresponds to the JSON property `maxEnergyEfficiencyClass` - # @return [String] - attr_accessor :max_energy_efficiency_class - # Maximal product handling time (in business days). # Corresponds to the JSON property `maxHandlingTime` # @return [Fixnum] attr_accessor :max_handling_time - # The energy efficiency class as defined in EU directive 2010/30/EU. - # Corresponds to the JSON property `minEnergyEfficiencyClass` - # @return [String] - attr_accessor :min_energy_efficiency_class - # Minimal product handling time (in business days). # Corresponds to the JSON property `minHandlingTime` # @return [Fixnum] @@ -7970,7 +7842,6 @@ def update!(**args) @color = args[:color] if args.key?(:color) @condition = args[:condition] if args.key?(:condition) @content_language = args[:content_language] if args.key?(:content_language) - @cost_of_goods_sold = args[:cost_of_goods_sold] if args.key?(:cost_of_goods_sold) @custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes) @custom_groups = args[:custom_groups] if args.key?(:custom_groups) @custom_label0 = args[:custom_label0] if args.key?(:custom_label0) @@ -8000,9 +7871,7 @@ def update!(**args) @link = args[:link] if args.key?(:link) @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points) @material = args[:material] if args.key?(:material) - @max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class) @max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time) - @min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class) @min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time) @mobile_link = args[:mobile_link] if args.key?(:mobile_link) @mpn = args[:mpn] if args.key?(:mpn) diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index fb93f142b08..47f9a247a8a 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -118,12 +118,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AccountsCustomBatchRequestEntryLinkRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class BatchAccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -136,18 +130,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AccountsLinkRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AccountsLinkResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListAccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1642,23 +1624,12 @@ class Representation < Google::Apis::Core::JsonRepresentation property :account_id, :numeric_string => true, as: 'accountId' property :batch_id, as: 'batchId' property :force, as: 'force' - property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest::Representation - property :merchant_id, :numeric_string => true, as: 'merchantId' property :request_method, as: 'method' property :overwrite, as: 'overwrite' end end - class AccountsCustomBatchRequestEntryLinkRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :action, as: 'action' - property :link_type, as: 'linkType' - property :linked_account_id, as: 'linkedAccountId' - end - end - class BatchAccountsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1677,24 +1648,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation property :kind, as: 'kind' - property :link_status, as: 'linkStatus' - end - end - - class AccountsLinkRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :action, as: 'action' - property :link_type, as: 'linkType' - property :linked_account_id, as: 'linkedAccountId' - end - end - - class AccountsLinkResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - property :link_status, as: 'linkStatus' end end @@ -3113,7 +3066,6 @@ class OrdersCustomBatchRequestEntryUpdateShipment # @private class Representation < Google::Apis::Core::JsonRepresentation property :carrier, as: 'carrier' - property :delivery_date, as: 'deliveryDate' property :shipment_id, as: 'shipmentId' property :status, as: 'status' property :tracking_id, as: 'trackingId' @@ -3362,7 +3314,6 @@ class OrdersUpdateShipmentRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :carrier, as: 'carrier' - property :delivery_date, as: 'deliveryDate' property :operation_id, as: 'operationId' property :shipment_id, as: 'shipmentId' property :status, as: 'status' @@ -3606,8 +3557,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :color, as: 'color' property :condition, as: 'condition' property :content_language, as: 'contentLanguage' - property :cost_of_goods_sold, as: 'costOfGoodsSold', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation - collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation collection :custom_groups, as: 'customGroups', class: Google::Apis::ContentV2::ProductCustomGroup, decorator: Google::Apis::ContentV2::ProductCustomGroup::Representation @@ -3642,9 +3591,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation property :material, as: 'material' - property :max_energy_efficiency_class, as: 'maxEnergyEfficiencyClass' property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime' - property :min_energy_efficiency_class, as: 'minEnergyEfficiencyClass' property :min_handling_time, :numeric_string => true, as: 'minHandlingTime' property :mobile_link, as: 'mobileLink' property :mpn, as: 'mpn' diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb index b81cf5ed369..9980090b8c0 100644 --- a/generated/google/apis/content_v2/service.rb +++ b/generated/google/apis/content_v2/service.rb @@ -280,48 +280,6 @@ def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, execute_or_queue_command(command, &block) end - # Performs an action on a link between a Merchant Center account and another - # account. - # @param [Fixnum] merchant_id - # The ID of the managing account. If this parameter is not the same as accountId, - # then this account must be a multi-client account and accountId must be the ID - # of a sub-account of this account. - # @param [Fixnum] account_id - # The ID of the account that should be linked. - # @param [Google::Apis::ContentV2::AccountsLinkRequest] accounts_link_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ContentV2::AccountsLinkResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ContentV2::AccountsLinkResponse] - # - # @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 link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options) - command.request_representation = Google::Apis::ContentV2::AccountsLinkRequest::Representation - command.request_object = accounts_link_request_object - command.response_representation = Google::Apis::ContentV2::AccountsLinkResponse::Representation - command.response_class = Google::Apis::ContentV2::AccountsLinkResponse - command.params['merchantId'] = merchant_id unless merchant_id.nil? - command.params['accountId'] = account_id unless account_id.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 - # Lists the sub-accounts in your Merchant Center account. # @param [Fixnum] merchant_id # The ID of the managing account. This must be a multi-client account. diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 0c184210d08..9385bccda25 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Apis # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2 VERSION = 'V2' - REVISION = '20180623' + REVISION = '20180702' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 7590fe5cf2e..6752407560c 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -1876,6 +1876,12 @@ class GoogleCloudDialogflowV2OriginalDetectIntentRequest # @return [String] attr_accessor :source + # Optional. The version of the protocol used for this request. + # This field is AoG-specific. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + def initialize(**args) update!(**args) end @@ -1884,6 +1890,7 @@ def initialize(**args) def update!(**args) @payload = args[:payload] if args.key?(:payload) @source = args[:source] if args.key?(:source) + @version = args[:version] if args.key?(:version) end end @@ -2032,6 +2039,8 @@ class GoogleCloudDialogflowV2QueryResult # The intent detection confidence. Values range from 0.0 # (completely uncertain) to 1.0 (completely certain). + # If there are `multiple knowledge_answers` messages, this value is set to + # the greatest `knowledgeAnswers.match_confidence` value in the list. # Corresponds to the JSON property `intentDetectionConfidence` # @return [Float] attr_accessor :intent_detection_confidence @@ -3589,6 +3598,12 @@ class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest # @return [String] attr_accessor :source + # Optional. The version of the protocol used for this request. + # This field is AoG-specific. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + def initialize(**args) update!(**args) end @@ -3597,6 +3612,7 @@ def initialize(**args) def update!(**args) @payload = args[:payload] if args.key?(:payload) @source = args[:source] if args.key?(:source) + @version = args[:version] if args.key?(:version) end end @@ -3644,6 +3660,8 @@ class GoogleCloudDialogflowV2beta1QueryResult # The intent detection confidence. Values range from 0.0 # (completely uncertain) to 1.0 (completely certain). + # If there are `multiple knowledge_answers` messages, this value is set to + # the greatest `knowledgeAnswers.match_confidence` value in the list. # Corresponds to the JSON property `intentDetectionConfidence` # @return [Float] attr_accessor :intent_detection_confidence diff --git a/generated/google/apis/dialogflow_v2/representations.rb b/generated/google/apis/dialogflow_v2/representations.rb index 1c1e5c74acb..167b0372a55 100644 --- a/generated/google/apis/dialogflow_v2/representations.rb +++ b/generated/google/apis/dialogflow_v2/representations.rb @@ -1135,6 +1135,7 @@ class GoogleCloudDialogflowV2OriginalDetectIntentRequest class Representation < Google::Apis::Core::JsonRepresentation hash :payload, as: 'payload' property :source, as: 'source' + property :version, as: 'version' end end @@ -1591,6 +1592,7 @@ class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest class Representation < Google::Apis::Core::JsonRepresentation hash :payload, as: 'payload' property :source, as: 'source' + property :version, as: 'version' end end diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index c3b7691a4f3..7a4de85fbe4 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Apis # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20180623' + REVISION = '20180702' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 94e2c2c077c..7a2f268105e 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -1191,6 +1191,12 @@ class GoogleCloudDialogflowV2OriginalDetectIntentRequest # @return [String] attr_accessor :source + # Optional. The version of the protocol used for this request. + # This field is AoG-specific. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + def initialize(**args) update!(**args) end @@ -1199,6 +1205,7 @@ def initialize(**args) def update!(**args) @payload = args[:payload] if args.key?(:payload) @source = args[:source] if args.key?(:source) + @version = args[:version] if args.key?(:version) end end @@ -1246,6 +1253,8 @@ class GoogleCloudDialogflowV2QueryResult # The intent detection confidence. Values range from 0.0 # (completely uncertain) to 1.0 (completely certain). + # If there are `multiple knowledge_answers` messages, this value is set to + # the greatest `knowledgeAnswers.match_confidence` value in the list. # Corresponds to the JSON property `intentDetectionConfidence` # @return [Float] attr_accessor :intent_detection_confidence @@ -3341,6 +3350,12 @@ class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest # @return [String] attr_accessor :source + # Optional. The version of the protocol used for this request. + # This field is AoG-specific. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + def initialize(**args) update!(**args) end @@ -3349,6 +3364,7 @@ def initialize(**args) def update!(**args) @payload = args[:payload] if args.key?(:payload) @source = args[:source] if args.key?(:source) + @version = args[:version] if args.key?(:version) end end @@ -3497,6 +3513,8 @@ class GoogleCloudDialogflowV2beta1QueryResult # The intent detection confidence. Values range from 0.0 # (completely uncertain) to 1.0 (completely certain). + # If there are `multiple knowledge_answers` messages, this value is set to + # the greatest `knowledgeAnswers.match_confidence` value in the list. # Corresponds to the JSON property `intentDetectionConfidence` # @return [Float] attr_accessor :intent_detection_confidence diff --git a/generated/google/apis/dialogflow_v2beta1/representations.rb b/generated/google/apis/dialogflow_v2beta1/representations.rb index 67fd8b7ee1a..2cb97f24657 100644 --- a/generated/google/apis/dialogflow_v2beta1/representations.rb +++ b/generated/google/apis/dialogflow_v2beta1/representations.rb @@ -955,6 +955,7 @@ class GoogleCloudDialogflowV2OriginalDetectIntentRequest class Representation < Google::Apis::Core::JsonRepresentation hash :payload, as: 'payload' property :source, as: 'source' + property :version, as: 'version' end end @@ -1523,6 +1524,7 @@ class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest class Representation < Google::Apis::Core::JsonRepresentation hash :payload, as: 'payload' property :source, as: 'source' + property :version, as: 'version' end end