google-api-client 0.46.0 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +59 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +31 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +231 -1
- data/generated/google/apis/apigee_v1/representations.rb +87 -0
- data/generated/google/apis/apigee_v1/service.rb +201 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +126 -21
- data/generated/google/apis/compute_alpha/representations.rb +7 -0
- data/generated/google/apis/compute_alpha/service.rb +62 -3
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +83 -19
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +3 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +28 -8
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/compute_v1/service.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +99 -0
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1/service.rb +54 -4
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +66 -35
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +29 -13
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +13 -10
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +116 -289
- data/generated/google/apis/healthcare_v1beta1/representations.rb +45 -81
- data/generated/google/apis/healthcare_v1beta1/service.rb +65 -61
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +48 -0
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +3 -2
- data/generated/google/apis/people_v1/service.rb +4 -4
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +55 -94
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +5 -2
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -10
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +1 -4
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +49 -5
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +17 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +66 -70
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
|
27
27
|
module ContainerV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200928'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201007'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2_1
|
|
28
28
|
VERSION = 'V2_1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201006'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -6080,6 +6080,105 @@ module Google
|
|
|
6080
6080
|
end
|
|
6081
6081
|
end
|
|
6082
6082
|
|
|
6083
|
+
#
|
|
6084
|
+
class OrderreturnsCreateOrderReturnRequest
|
|
6085
|
+
include Google::Apis::Core::Hashable
|
|
6086
|
+
|
|
6087
|
+
# The list of line items to return.
|
|
6088
|
+
# Corresponds to the JSON property `lineItems`
|
|
6089
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderreturnsLineItem>]
|
|
6090
|
+
attr_accessor :line_items
|
|
6091
|
+
|
|
6092
|
+
# The ID of the operation. Unique across all operations for a given order.
|
|
6093
|
+
# Corresponds to the JSON property `operationId`
|
|
6094
|
+
# @return [String]
|
|
6095
|
+
attr_accessor :operation_id
|
|
6096
|
+
|
|
6097
|
+
# The ID of the order.
|
|
6098
|
+
# Corresponds to the JSON property `orderId`
|
|
6099
|
+
# @return [String]
|
|
6100
|
+
attr_accessor :order_id
|
|
6101
|
+
|
|
6102
|
+
# The way of the package being returned.
|
|
6103
|
+
# Corresponds to the JSON property `returnMethodType`
|
|
6104
|
+
# @return [String]
|
|
6105
|
+
attr_accessor :return_method_type
|
|
6106
|
+
|
|
6107
|
+
def initialize(**args)
|
|
6108
|
+
update!(**args)
|
|
6109
|
+
end
|
|
6110
|
+
|
|
6111
|
+
# Update properties of this object
|
|
6112
|
+
def update!(**args)
|
|
6113
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
6114
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
6115
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
|
6116
|
+
@return_method_type = args[:return_method_type] if args.key?(:return_method_type)
|
|
6117
|
+
end
|
|
6118
|
+
end
|
|
6119
|
+
|
|
6120
|
+
#
|
|
6121
|
+
class OrderreturnsCreateOrderReturnResponse
|
|
6122
|
+
include Google::Apis::Core::Hashable
|
|
6123
|
+
|
|
6124
|
+
# The status of the execution.
|
|
6125
|
+
# Acceptable values are:
|
|
6126
|
+
# - "`duplicate`"
|
|
6127
|
+
# - "`executed`"
|
|
6128
|
+
# Corresponds to the JSON property `executionStatus`
|
|
6129
|
+
# @return [String]
|
|
6130
|
+
attr_accessor :execution_status
|
|
6131
|
+
|
|
6132
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
|
6133
|
+
# orderreturnsCreateOrderReturnResponse".
|
|
6134
|
+
# Corresponds to the JSON property `kind`
|
|
6135
|
+
# @return [String]
|
|
6136
|
+
attr_accessor :kind
|
|
6137
|
+
|
|
6138
|
+
# Order return. Production access (all methods) requires the order manager role.
|
|
6139
|
+
# Sandbox access does not.
|
|
6140
|
+
# Corresponds to the JSON property `orderReturn`
|
|
6141
|
+
# @return [Google::Apis::ContentV2_1::MerchantOrderReturn]
|
|
6142
|
+
attr_accessor :order_return
|
|
6143
|
+
|
|
6144
|
+
def initialize(**args)
|
|
6145
|
+
update!(**args)
|
|
6146
|
+
end
|
|
6147
|
+
|
|
6148
|
+
# Update properties of this object
|
|
6149
|
+
def update!(**args)
|
|
6150
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
6151
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6152
|
+
@order_return = args[:order_return] if args.key?(:order_return)
|
|
6153
|
+
end
|
|
6154
|
+
end
|
|
6155
|
+
|
|
6156
|
+
#
|
|
6157
|
+
class OrderreturnsLineItem
|
|
6158
|
+
include Google::Apis::Core::Hashable
|
|
6159
|
+
|
|
6160
|
+
# The ID of the line item. This value is assigned by Google when an order is
|
|
6161
|
+
# created.
|
|
6162
|
+
# Corresponds to the JSON property `lineItemId`
|
|
6163
|
+
# @return [String]
|
|
6164
|
+
attr_accessor :line_item_id
|
|
6165
|
+
|
|
6166
|
+
# The quantity of this line item.
|
|
6167
|
+
# Corresponds to the JSON property `quantity`
|
|
6168
|
+
# @return [Fixnum]
|
|
6169
|
+
attr_accessor :quantity
|
|
6170
|
+
|
|
6171
|
+
def initialize(**args)
|
|
6172
|
+
update!(**args)
|
|
6173
|
+
end
|
|
6174
|
+
|
|
6175
|
+
# Update properties of this object
|
|
6176
|
+
def update!(**args)
|
|
6177
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
6178
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
6179
|
+
end
|
|
6180
|
+
end
|
|
6181
|
+
|
|
6083
6182
|
#
|
|
6084
6183
|
class OrderreturnsListResponse
|
|
6085
6184
|
include Google::Apis::Core::Hashable
|
|
@@ -892,6 +892,24 @@ module Google
|
|
|
892
892
|
include Google::Apis::Core::JsonObjectSupport
|
|
893
893
|
end
|
|
894
894
|
|
|
895
|
+
class OrderreturnsCreateOrderReturnRequest
|
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
897
|
+
|
|
898
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
899
|
+
end
|
|
900
|
+
|
|
901
|
+
class OrderreturnsCreateOrderReturnResponse
|
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
903
|
+
|
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
class OrderreturnsLineItem
|
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
909
|
+
|
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
911
|
+
end
|
|
912
|
+
|
|
895
913
|
class OrderreturnsListResponse
|
|
896
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
897
915
|
|
|
@@ -3397,6 +3415,35 @@ module Google
|
|
|
3397
3415
|
end
|
|
3398
3416
|
end
|
|
3399
3417
|
|
|
3418
|
+
class OrderreturnsCreateOrderReturnRequest
|
|
3419
|
+
# @private
|
|
3420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3421
|
+
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderreturnsLineItem, decorator: Google::Apis::ContentV2_1::OrderreturnsLineItem::Representation
|
|
3422
|
+
|
|
3423
|
+
property :operation_id, as: 'operationId'
|
|
3424
|
+
property :order_id, as: 'orderId'
|
|
3425
|
+
property :return_method_type, as: 'returnMethodType'
|
|
3426
|
+
end
|
|
3427
|
+
end
|
|
3428
|
+
|
|
3429
|
+
class OrderreturnsCreateOrderReturnResponse
|
|
3430
|
+
# @private
|
|
3431
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3432
|
+
property :execution_status, as: 'executionStatus'
|
|
3433
|
+
property :kind, as: 'kind'
|
|
3434
|
+
property :order_return, as: 'orderReturn', class: Google::Apis::ContentV2_1::MerchantOrderReturn, decorator: Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
|
|
3435
|
+
|
|
3436
|
+
end
|
|
3437
|
+
end
|
|
3438
|
+
|
|
3439
|
+
class OrderreturnsLineItem
|
|
3440
|
+
# @private
|
|
3441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3442
|
+
property :line_item_id, as: 'lineItemId'
|
|
3443
|
+
property :quantity, as: 'quantity'
|
|
3444
|
+
end
|
|
3445
|
+
end
|
|
3446
|
+
|
|
3400
3447
|
class OrderreturnsListResponse
|
|
3401
3448
|
# @private
|
|
3402
3449
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1844,6 +1844,43 @@ module Google
|
|
|
1844
1844
|
execute_or_queue_command(command, &block)
|
|
1845
1845
|
end
|
|
1846
1846
|
|
|
1847
|
+
# Create return in your Merchant Center account.
|
|
1848
|
+
# @param [Fixnum] merchant_id
|
|
1849
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1850
|
+
# account.
|
|
1851
|
+
# @param [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest] orderreturns_create_order_return_request_object
|
|
1852
|
+
# @param [String] fields
|
|
1853
|
+
# Selector specifying which fields to include in a partial response.
|
|
1854
|
+
# @param [String] quota_user
|
|
1855
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
1856
|
+
# characters.
|
|
1857
|
+
# @param [String] user_ip
|
|
1858
|
+
# Deprecated. Please use quotaUser instead.
|
|
1859
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1860
|
+
# Request-specific options
|
|
1861
|
+
#
|
|
1862
|
+
# @yield [result, err] Result & error if block supplied
|
|
1863
|
+
# @yieldparam result [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse] parsed result object
|
|
1864
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1865
|
+
#
|
|
1866
|
+
# @return [Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse]
|
|
1867
|
+
#
|
|
1868
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1869
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1870
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1871
|
+
def createorderreturn_orderreturn(merchant_id, orderreturns_create_order_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1872
|
+
command = make_simple_command(:post, '{merchantId}/orderreturns/createOrderReturn', options)
|
|
1873
|
+
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest::Representation
|
|
1874
|
+
command.request_object = orderreturns_create_order_return_request_object
|
|
1875
|
+
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse::Representation
|
|
1876
|
+
command.response_class = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse
|
|
1877
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1878
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1879
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1880
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1881
|
+
execute_or_queue_command(command, &block)
|
|
1882
|
+
end
|
|
1883
|
+
|
|
1847
1884
|
# Retrieves an order return from your Merchant Center account.
|
|
1848
1885
|
# @param [Fixnum] merchant_id
|
|
1849
1886
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
|
27
27
|
module DialogflowV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201005'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1769,6 +1769,25 @@ module Google
|
|
|
1769
1769
|
end
|
|
1770
1770
|
end
|
|
1771
1771
|
|
|
1772
|
+
# Response message for Documents.ImportDocuments.
|
|
1773
|
+
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
|
1774
|
+
include Google::Apis::Core::Hashable
|
|
1775
|
+
|
|
1776
|
+
# Includes details about skipped documents or any other warnings.
|
|
1777
|
+
# Corresponds to the JSON property `warnings`
|
|
1778
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
|
1779
|
+
attr_accessor :warnings
|
|
1780
|
+
|
|
1781
|
+
def initialize(**args)
|
|
1782
|
+
update!(**args)
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
# Update properties of this object
|
|
1786
|
+
def update!(**args)
|
|
1787
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
|
1788
|
+
end
|
|
1789
|
+
end
|
|
1790
|
+
|
|
1772
1791
|
# Instructs the speech recognizer how to process the audio content.
|
|
1773
1792
|
class GoogleCloudDialogflowV2InputAudioConfig
|
|
1774
1793
|
include Google::Apis::Core::Hashable
|
|
@@ -3616,9 +3635,9 @@ module Google
|
|
|
3616
3635
|
|
|
3617
3636
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
|
3618
3637
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
|
3619
|
-
# attitude as positive, negative, or neutral. For Participants.
|
|
3620
|
-
#
|
|
3621
|
-
#
|
|
3638
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
|
3639
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
|
3640
|
+
# StreamingDetectIntent, it needs to be configured in
|
|
3622
3641
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
|
3623
3642
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
3624
3643
|
# ConversationProfile.human_agent_assistant_config
|
|
@@ -3777,9 +3796,9 @@ module Google
|
|
|
3777
3796
|
|
|
3778
3797
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
|
3779
3798
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
|
3780
|
-
# attitude as positive, negative, or neutral. For Participants.
|
|
3781
|
-
#
|
|
3782
|
-
#
|
|
3799
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
|
3800
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
|
3801
|
+
# StreamingDetectIntent, it needs to be configured in
|
|
3783
3802
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
|
3784
3803
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
3785
3804
|
# ConversationProfile.human_agent_assistant_config
|
|
@@ -4570,6 +4589,25 @@ module Google
|
|
|
4570
4589
|
end
|
|
4571
4590
|
end
|
|
4572
4591
|
|
|
4592
|
+
# Response message for Documents.ImportDocuments.
|
|
4593
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
|
4594
|
+
include Google::Apis::Core::Hashable
|
|
4595
|
+
|
|
4596
|
+
# Includes details about skipped documents or any other warnings.
|
|
4597
|
+
# Corresponds to the JSON property `warnings`
|
|
4598
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleRpcStatus>]
|
|
4599
|
+
attr_accessor :warnings
|
|
4600
|
+
|
|
4601
|
+
def initialize(**args)
|
|
4602
|
+
update!(**args)
|
|
4603
|
+
end
|
|
4604
|
+
|
|
4605
|
+
# Update properties of this object
|
|
4606
|
+
def update!(**args)
|
|
4607
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
|
4608
|
+
end
|
|
4609
|
+
end
|
|
4610
|
+
|
|
4573
4611
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
|
4574
4612
|
# each agent, you define many intents, where your combined intents can handle a
|
|
4575
4613
|
# complete conversation. When an end-user writes or says something, referred to
|
|
@@ -6542,9 +6580,9 @@ module Google
|
|
|
6542
6580
|
|
|
6543
6581
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
|
6544
6582
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
|
6545
|
-
# attitude as positive, negative, or neutral. For Participants.
|
|
6546
|
-
#
|
|
6547
|
-
#
|
|
6583
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
|
6584
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
|
6585
|
+
# StreamingDetectIntent, it needs to be configured in
|
|
6548
6586
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
|
6549
6587
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6550
6588
|
# ConversationProfile.human_agent_assistant_config
|
|
@@ -6629,9 +6667,9 @@ module Google
|
|
|
6629
6667
|
|
|
6630
6668
|
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
|
6631
6669
|
# identifies the prevailing subjective opinion, especially to determine a user's
|
|
6632
|
-
# attitude as positive, negative, or neutral. For Participants.
|
|
6633
|
-
#
|
|
6634
|
-
#
|
|
6670
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
|
6671
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
|
6672
|
+
# StreamingDetectIntent, it needs to be configured in
|
|
6635
6673
|
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
|
6636
6674
|
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6637
6675
|
# ConversationProfile.human_agent_assistant_config
|
|
@@ -6911,26 +6949,6 @@ module Google
|
|
|
6911
6949
|
end
|
|
6912
6950
|
end
|
|
6913
6951
|
|
|
6914
|
-
# Metadata associated with the long running operation for Versions.CreateVersion.
|
|
6915
|
-
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
|
|
6916
|
-
include Google::Apis::Core::Hashable
|
|
6917
|
-
|
|
6918
|
-
# Name of the created version. Format: `projects//locations//agents//flows//
|
|
6919
|
-
# versions/`.
|
|
6920
|
-
# Corresponds to the JSON property `version`
|
|
6921
|
-
# @return [String]
|
|
6922
|
-
attr_accessor :version
|
|
6923
|
-
|
|
6924
|
-
def initialize(**args)
|
|
6925
|
-
update!(**args)
|
|
6926
|
-
end
|
|
6927
|
-
|
|
6928
|
-
# Update properties of this object
|
|
6929
|
-
def update!(**args)
|
|
6930
|
-
@version = args[:version] if args.key?(:version)
|
|
6931
|
-
end
|
|
6932
|
-
end
|
|
6933
|
-
|
|
6934
6952
|
# The response message for Agents.ExportAgent.
|
|
6935
6953
|
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
|
6936
6954
|
include Google::Apis::Core::Hashable
|
|
@@ -310,6 +310,12 @@ module Google
|
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
311
311
|
end
|
|
312
312
|
|
|
313
|
+
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
313
319
|
class GoogleCloudDialogflowV2InputAudioConfig
|
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
321
|
|
|
@@ -742,6 +748,12 @@ module Google
|
|
|
742
748
|
include Google::Apis::Core::JsonObjectSupport
|
|
743
749
|
end
|
|
744
750
|
|
|
751
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
753
|
+
|
|
754
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
755
|
+
end
|
|
756
|
+
|
|
745
757
|
class GoogleCloudDialogflowV2beta1Intent
|
|
746
758
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
747
759
|
|
|
@@ -1102,12 +1114,6 @@ module Google
|
|
|
1102
1114
|
include Google::Apis::Core::JsonObjectSupport
|
|
1103
1115
|
end
|
|
1104
1116
|
|
|
1105
|
-
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
|
|
1106
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1107
|
-
|
|
1108
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1109
|
-
end
|
|
1110
|
-
|
|
1111
1117
|
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
|
1112
1118
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1113
1119
|
|
|
@@ -1641,6 +1647,14 @@ module Google
|
|
|
1641
1647
|
end
|
|
1642
1648
|
end
|
|
1643
1649
|
|
|
1650
|
+
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
|
1651
|
+
# @private
|
|
1652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1653
|
+
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation
|
|
1654
|
+
|
|
1655
|
+
end
|
|
1656
|
+
end
|
|
1657
|
+
|
|
1644
1658
|
class GoogleCloudDialogflowV2InputAudioConfig
|
|
1645
1659
|
# @private
|
|
1646
1660
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2396,6 +2410,14 @@ module Google
|
|
|
2396
2410
|
end
|
|
2397
2411
|
end
|
|
2398
2412
|
|
|
2413
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
|
2414
|
+
# @private
|
|
2415
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2416
|
+
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation
|
|
2417
|
+
|
|
2418
|
+
end
|
|
2419
|
+
end
|
|
2420
|
+
|
|
2399
2421
|
class GoogleCloudDialogflowV2beta1Intent
|
|
2400
2422
|
# @private
|
|
2401
2423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3039,13 +3061,6 @@ module Google
|
|
|
3039
3061
|
end
|
|
3040
3062
|
end
|
|
3041
3063
|
|
|
3042
|
-
class GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata
|
|
3043
|
-
# @private
|
|
3044
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3045
|
-
property :version, as: 'version'
|
|
3046
|
-
end
|
|
3047
|
-
end
|
|
3048
|
-
|
|
3049
3064
|
class GoogleCloudDialogflowV3alpha1ExportAgentResponse
|
|
3050
3065
|
# @private
|
|
3051
3066
|
class Representation < Google::Apis::Core::JsonRepresentation
|