google-api-client 0.24.0 → 0.24.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 +47 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +41 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +10 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +18 -15
- data/generated/google/apis/cloudkms_v1.rb +3 -6
- data/generated/google/apis/cloudkms_v1/service.rb +2 -5
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +156 -144
- data/generated/google/apis/compute_alpha/representations.rb +66 -66
- data/generated/google/apis/compute_alpha/service.rb +7 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +221 -10
- data/generated/google/apis/compute_beta/representations.rb +111 -2
- data/generated/google/apis/compute_beta/service.rb +39 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +3 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -0
- data/generated/google/apis/container_v1/representations.rb +19 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +9 -6
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +76 -5
- data/generated/google/apis/content_v2/representations.rb +42 -0
- data/generated/google/apis/content_v2/service.rb +40 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +70 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +42 -0
- data/generated/google/apis/content_v2sandbox/service.rb +40 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +8 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +23 -17
- data/generated/google/apis/dialogflow_v2/service.rb +9 -8
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +23 -17
- data/generated/google/apis/dialogflow_v2beta1/service.rb +9 -8
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +178 -21
- data/generated/google/apis/dlp_v2/representations.rb +68 -0
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +102 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +47 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +144 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +8 -2
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +18 -7
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/service.rb +18 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +21 -7
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -2
- data/generated/google/apis/indexing_v3.rb +4 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +35 -35
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +38 -0
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2910 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +966 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +692 -0
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/service.rb +9 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +10 -3
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -242
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -60
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +4 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +3 -242
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -60
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +4 -242
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -60
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/service.rb +11 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +11 -8
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +25 -21
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +26 -16
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -7
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -904,6 +904,18 @@ module Google
|
|
|
904
904
|
include Google::Apis::Core::JsonObjectSupport
|
|
905
905
|
end
|
|
906
906
|
|
|
907
|
+
class OrdersCreateTestReturnRequest
|
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
909
|
+
|
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
class OrdersCreateTestReturnResponse
|
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
915
|
+
|
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
917
|
+
end
|
|
918
|
+
|
|
907
919
|
class OrdersCustomBatchRequest
|
|
908
920
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
909
921
|
|
|
@@ -928,6 +940,12 @@ module Google
|
|
|
928
940
|
include Google::Apis::Core::JsonObjectSupport
|
|
929
941
|
end
|
|
930
942
|
|
|
943
|
+
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
|
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
945
|
+
|
|
946
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
947
|
+
end
|
|
948
|
+
|
|
931
949
|
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
|
|
932
950
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
933
951
|
|
|
@@ -3140,6 +3158,22 @@ module Google
|
|
|
3140
3158
|
end
|
|
3141
3159
|
end
|
|
3142
3160
|
|
|
3161
|
+
class OrdersCreateTestReturnRequest
|
|
3162
|
+
# @private
|
|
3163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3164
|
+
collection :items, as: 'items', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem::Representation
|
|
3165
|
+
|
|
3166
|
+
end
|
|
3167
|
+
end
|
|
3168
|
+
|
|
3169
|
+
class OrdersCreateTestReturnResponse
|
|
3170
|
+
# @private
|
|
3171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3172
|
+
property :kind, as: 'kind'
|
|
3173
|
+
property :return_id, as: 'returnId'
|
|
3174
|
+
end
|
|
3175
|
+
end
|
|
3176
|
+
|
|
3143
3177
|
class OrdersCustomBatchRequest
|
|
3144
3178
|
# @private
|
|
3145
3179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3207,6 +3241,14 @@ module Google
|
|
|
3207
3241
|
end
|
|
3208
3242
|
end
|
|
3209
3243
|
|
|
3244
|
+
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
|
|
3245
|
+
# @private
|
|
3246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3247
|
+
property :line_item_id, as: 'lineItemId'
|
|
3248
|
+
property :quantity, as: 'quantity'
|
|
3249
|
+
end
|
|
3250
|
+
end
|
|
3251
|
+
|
|
3210
3252
|
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
|
|
3211
3253
|
# @private
|
|
3212
3254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2325,6 +2325,46 @@ module Google
|
|
|
2325
2325
|
execute_or_queue_command(command, &block)
|
|
2326
2326
|
end
|
|
2327
2327
|
|
|
2328
|
+
# Sandbox only. Creates a test return.
|
|
2329
|
+
# @param [Fixnum] merchant_id
|
|
2330
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
2331
|
+
# account.
|
|
2332
|
+
# @param [String] order_id
|
|
2333
|
+
# The ID of the order.
|
|
2334
|
+
# @param [Google::Apis::ContentV2::OrdersCreateTestReturnRequest] orders_create_test_return_request_object
|
|
2335
|
+
# @param [String] fields
|
|
2336
|
+
# Selector specifying which fields to include in a partial response.
|
|
2337
|
+
# @param [String] quota_user
|
|
2338
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
2339
|
+
# characters.
|
|
2340
|
+
# @param [String] user_ip
|
|
2341
|
+
# Deprecated. Please use quotaUser instead.
|
|
2342
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2343
|
+
# Request-specific options
|
|
2344
|
+
#
|
|
2345
|
+
# @yield [result, err] Result & error if block supplied
|
|
2346
|
+
# @yieldparam result [Google::Apis::ContentV2::OrdersCreateTestReturnResponse] parsed result object
|
|
2347
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2348
|
+
#
|
|
2349
|
+
# @return [Google::Apis::ContentV2::OrdersCreateTestReturnResponse]
|
|
2350
|
+
#
|
|
2351
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2352
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2353
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2354
|
+
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2355
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
|
|
2356
|
+
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestReturnRequest::Representation
|
|
2357
|
+
command.request_object = orders_create_test_return_request_object
|
|
2358
|
+
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestReturnResponse::Representation
|
|
2359
|
+
command.response_class = Google::Apis::ContentV2::OrdersCreateTestReturnResponse
|
|
2360
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2361
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
|
2362
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2363
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2364
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2365
|
+
execute_or_queue_command(command, &block)
|
|
2366
|
+
end
|
|
2367
|
+
|
|
2328
2368
|
# Retrieves or modifies multiple orders in a single request.
|
|
2329
2369
|
# @param [Google::Apis::ContentV2::OrdersCustomBatchRequest] orders_custom_batch_request_object
|
|
2330
2370
|
# @param [String] fields
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2sandbox
|
|
28
28
|
VERSION = 'V2sandbox'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180914'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -1974,6 +1974,51 @@ module Google
|
|
|
1974
1974
|
end
|
|
1975
1975
|
end
|
|
1976
1976
|
|
|
1977
|
+
#
|
|
1978
|
+
class OrdersCreateTestReturnRequest
|
|
1979
|
+
include Google::Apis::Core::Hashable
|
|
1980
|
+
|
|
1981
|
+
# Returned items.
|
|
1982
|
+
# Corresponds to the JSON property `items`
|
|
1983
|
+
# @return [Array<Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem>]
|
|
1984
|
+
attr_accessor :items
|
|
1985
|
+
|
|
1986
|
+
def initialize(**args)
|
|
1987
|
+
update!(**args)
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1990
|
+
# Update properties of this object
|
|
1991
|
+
def update!(**args)
|
|
1992
|
+
@items = args[:items] if args.key?(:items)
|
|
1993
|
+
end
|
|
1994
|
+
end
|
|
1995
|
+
|
|
1996
|
+
#
|
|
1997
|
+
class OrdersCreateTestReturnResponse
|
|
1998
|
+
include Google::Apis::Core::Hashable
|
|
1999
|
+
|
|
2000
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
|
2001
|
+
# ordersCreateTestReturnResponse".
|
|
2002
|
+
# Corresponds to the JSON property `kind`
|
|
2003
|
+
# @return [String]
|
|
2004
|
+
attr_accessor :kind
|
|
2005
|
+
|
|
2006
|
+
# The ID of the newly created test order return.
|
|
2007
|
+
# Corresponds to the JSON property `returnId`
|
|
2008
|
+
# @return [String]
|
|
2009
|
+
attr_accessor :return_id
|
|
2010
|
+
|
|
2011
|
+
def initialize(**args)
|
|
2012
|
+
update!(**args)
|
|
2013
|
+
end
|
|
2014
|
+
|
|
2015
|
+
# Update properties of this object
|
|
2016
|
+
def update!(**args)
|
|
2017
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2018
|
+
@return_id = args[:return_id] if args.key?(:return_id)
|
|
2019
|
+
end
|
|
2020
|
+
end
|
|
2021
|
+
|
|
1977
2022
|
#
|
|
1978
2023
|
class OrdersCustomBatchRequest
|
|
1979
2024
|
include Google::Apis::Core::Hashable
|
|
@@ -2199,6 +2244,31 @@ module Google
|
|
|
2199
2244
|
end
|
|
2200
2245
|
end
|
|
2201
2246
|
|
|
2247
|
+
#
|
|
2248
|
+
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
|
|
2249
|
+
include Google::Apis::Core::Hashable
|
|
2250
|
+
|
|
2251
|
+
# The ID of the line item to return.
|
|
2252
|
+
# Corresponds to the JSON property `lineItemId`
|
|
2253
|
+
# @return [String]
|
|
2254
|
+
attr_accessor :line_item_id
|
|
2255
|
+
|
|
2256
|
+
# Quantity that is returned.
|
|
2257
|
+
# Corresponds to the JSON property `quantity`
|
|
2258
|
+
# @return [Fixnum]
|
|
2259
|
+
attr_accessor :quantity
|
|
2260
|
+
|
|
2261
|
+
def initialize(**args)
|
|
2262
|
+
update!(**args)
|
|
2263
|
+
end
|
|
2264
|
+
|
|
2265
|
+
# Update properties of this object
|
|
2266
|
+
def update!(**args)
|
|
2267
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
2268
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
2269
|
+
end
|
|
2270
|
+
end
|
|
2271
|
+
|
|
2202
2272
|
#
|
|
2203
2273
|
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
|
|
2204
2274
|
include Google::Apis::Core::Hashable
|
|
@@ -322,6 +322,18 @@ module Google
|
|
|
322
322
|
include Google::Apis::Core::JsonObjectSupport
|
|
323
323
|
end
|
|
324
324
|
|
|
325
|
+
class OrdersCreateTestReturnRequest
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class OrdersCreateTestReturnResponse
|
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
|
+
|
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
335
|
+
end
|
|
336
|
+
|
|
325
337
|
class OrdersCustomBatchRequest
|
|
326
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
339
|
|
|
@@ -346,6 +358,12 @@ module Google
|
|
|
346
358
|
include Google::Apis::Core::JsonObjectSupport
|
|
347
359
|
end
|
|
348
360
|
|
|
361
|
+
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
349
367
|
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
|
|
350
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
369
|
|
|
@@ -1184,6 +1202,22 @@ module Google
|
|
|
1184
1202
|
end
|
|
1185
1203
|
end
|
|
1186
1204
|
|
|
1205
|
+
class OrdersCreateTestReturnRequest
|
|
1206
|
+
# @private
|
|
1207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1208
|
+
collection :items, as: 'items', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem::Representation
|
|
1209
|
+
|
|
1210
|
+
end
|
|
1211
|
+
end
|
|
1212
|
+
|
|
1213
|
+
class OrdersCreateTestReturnResponse
|
|
1214
|
+
# @private
|
|
1215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1216
|
+
property :kind, as: 'kind'
|
|
1217
|
+
property :return_id, as: 'returnId'
|
|
1218
|
+
end
|
|
1219
|
+
end
|
|
1220
|
+
|
|
1187
1221
|
class OrdersCustomBatchRequest
|
|
1188
1222
|
# @private
|
|
1189
1223
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1251,6 +1285,14 @@ module Google
|
|
|
1251
1285
|
end
|
|
1252
1286
|
end
|
|
1253
1287
|
|
|
1288
|
+
class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
|
|
1289
|
+
# @private
|
|
1290
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1291
|
+
property :line_item_id, as: 'lineItemId'
|
|
1292
|
+
property :quantity, as: 'quantity'
|
|
1293
|
+
end
|
|
1294
|
+
end
|
|
1295
|
+
|
|
1254
1296
|
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
|
|
1255
1297
|
# @private
|
|
1256
1298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -531,6 +531,46 @@ module Google
|
|
|
531
531
|
execute_or_queue_command(command, &block)
|
|
532
532
|
end
|
|
533
533
|
|
|
534
|
+
# Sandbox only. Creates a test return.
|
|
535
|
+
# @param [Fixnum] merchant_id
|
|
536
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
537
|
+
# account.
|
|
538
|
+
# @param [String] order_id
|
|
539
|
+
# The ID of the order.
|
|
540
|
+
# @param [Google::Apis::ContentV2sandbox::OrdersCreateTestReturnRequest] orders_create_test_return_request_object
|
|
541
|
+
# @param [String] fields
|
|
542
|
+
# Selector specifying which fields to include in a partial response.
|
|
543
|
+
# @param [String] quota_user
|
|
544
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
545
|
+
# characters.
|
|
546
|
+
# @param [String] user_ip
|
|
547
|
+
# Deprecated. Please use quotaUser instead.
|
|
548
|
+
# @param [Google::Apis::RequestOptions] options
|
|
549
|
+
# Request-specific options
|
|
550
|
+
#
|
|
551
|
+
# @yield [result, err] Result & error if block supplied
|
|
552
|
+
# @yieldparam result [Google::Apis::ContentV2sandbox::OrdersCreateTestReturnResponse] parsed result object
|
|
553
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
554
|
+
#
|
|
555
|
+
# @return [Google::Apis::ContentV2sandbox::OrdersCreateTestReturnResponse]
|
|
556
|
+
#
|
|
557
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
558
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
559
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
560
|
+
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
561
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
|
|
562
|
+
command.request_representation = Google::Apis::ContentV2sandbox::OrdersCreateTestReturnRequest::Representation
|
|
563
|
+
command.request_object = orders_create_test_return_request_object
|
|
564
|
+
command.response_representation = Google::Apis::ContentV2sandbox::OrdersCreateTestReturnResponse::Representation
|
|
565
|
+
command.response_class = Google::Apis::ContentV2sandbox::OrdersCreateTestReturnResponse
|
|
566
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
567
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
|
568
|
+
command.query['fields'] = fields unless fields.nil?
|
|
569
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
570
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
571
|
+
execute_or_queue_command(command, &block)
|
|
572
|
+
end
|
|
573
|
+
|
|
534
574
|
# Retrieves or modifies multiple orders in a single request.
|
|
535
575
|
# @param [Google::Apis::ContentV2sandbox::OrdersCustomBatchRequest] orders_custom_batch_request_object
|
|
536
576
|
# @param [String] fields
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180914'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -977,7 +977,7 @@ module Google
|
|
|
977
977
|
include Google::Apis::Core::Hashable
|
|
978
978
|
|
|
979
979
|
# Optional. Map from parameter names to values that should be used for those
|
|
980
|
-
# parameters.
|
|
980
|
+
# parameters. Values may not exceed 100 characters.
|
|
981
981
|
# Corresponds to the JSON property `parameters`
|
|
982
982
|
# @return [Hash<String,String>]
|
|
983
983
|
attr_accessor :parameters
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180914'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -995,7 +995,7 @@ module Google
|
|
|
995
995
|
attr_accessor :instance_id
|
|
996
996
|
|
|
997
997
|
# Optional. Map from parameter names to values that should be used for those
|
|
998
|
-
# parameters.
|
|
998
|
+
# parameters. Values may not exceed 100 characters.
|
|
999
999
|
# Corresponds to the JSON property `parameters`
|
|
1000
1000
|
# @return [Hash<String,String>]
|
|
1001
1001
|
attr_accessor :parameters
|
|
@@ -2053,6 +2053,11 @@ module Google
|
|
|
2053
2053
|
# @return [String]
|
|
2054
2054
|
attr_accessor :image_version
|
|
2055
2055
|
|
|
2056
|
+
# The set of optional components to activate on the cluster.
|
|
2057
|
+
# Corresponds to the JSON property `optionalComponents`
|
|
2058
|
+
# @return [Array<String>]
|
|
2059
|
+
attr_accessor :optional_components
|
|
2060
|
+
|
|
2056
2061
|
# Optional. The properties to set on daemon config files.Property keys are
|
|
2057
2062
|
# specified in prefix:property format, such as core:fs.defaultFS. The following
|
|
2058
2063
|
# are supported prefixes and their mappings:
|
|
@@ -2076,6 +2081,7 @@ module Google
|
|
|
2076
2081
|
# Update properties of this object
|
|
2077
2082
|
def update!(**args)
|
|
2078
2083
|
@image_version = args[:image_version] if args.key?(:image_version)
|
|
2084
|
+
@optional_components = args[:optional_components] if args.key?(:optional_components)
|
|
2079
2085
|
@properties = args[:properties] if args.key?(:properties)
|
|
2080
2086
|
end
|
|
2081
2087
|
end
|
|
@@ -890,6 +890,7 @@ module Google
|
|
|
890
890
|
# @private
|
|
891
891
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
892
892
|
property :image_version, as: 'imageVersion'
|
|
893
|
+
collection :optional_components, as: 'optionalComponents'
|
|
893
894
|
hash :properties, as: 'properties'
|
|
894
895
|
end
|
|
895
896
|
end
|
|
@@ -243,6 +243,8 @@ module Google
|
|
|
243
243
|
# project_id`/regions/`region`
|
|
244
244
|
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
|
|
245
245
|
# @param [String] instance_id
|
|
246
|
+
# Deprecated. Please use request_id field instead.
|
|
247
|
+
# @param [String] request_id
|
|
246
248
|
# Optional. A tag that prevents multiple concurrent workflow instances with the
|
|
247
249
|
# same tag from running. This mitigates risk of concurrent instances started due
|
|
248
250
|
# to retries.It is recommended to always set this value to a UUID (https://en.
|
|
@@ -266,7 +268,7 @@ module Google
|
|
|
266
268
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
267
269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
268
270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
269
|
-
def instantiate_project_location_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
271
|
+
def instantiate_project_location_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
270
272
|
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
|
|
271
273
|
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
|
|
272
274
|
command.request_object = workflow_template_object
|
|
@@ -274,6 +276,7 @@ module Google
|
|
|
274
276
|
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
|
275
277
|
command.params['parent'] = parent unless parent.nil?
|
|
276
278
|
command.query['instanceId'] = instance_id unless instance_id.nil?
|
|
279
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
277
280
|
command.query['fields'] = fields unless fields.nil?
|
|
278
281
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
279
282
|
execute_or_queue_command(command, &block)
|
|
@@ -1670,6 +1673,8 @@ module Google
|
|
|
1670
1673
|
# project_id`/regions/`region`
|
|
1671
1674
|
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
|
|
1672
1675
|
# @param [String] instance_id
|
|
1676
|
+
# Deprecated. Please use request_id field instead.
|
|
1677
|
+
# @param [String] request_id
|
|
1673
1678
|
# Optional. A tag that prevents multiple concurrent workflow instances with the
|
|
1674
1679
|
# same tag from running. This mitigates risk of concurrent instances started due
|
|
1675
1680
|
# to retries.It is recommended to always set this value to a UUID (https://en.
|
|
@@ -1693,7 +1698,7 @@ module Google
|
|
|
1693
1698
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1694
1699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1695
1700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1696
|
-
def instantiate_project_region_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1701
|
+
def instantiate_project_region_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1697
1702
|
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
|
|
1698
1703
|
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
|
|
1699
1704
|
command.request_object = workflow_template_object
|
|
@@ -1701,6 +1706,7 @@ module Google
|
|
|
1701
1706
|
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
|
1702
1707
|
command.params['parent'] = parent unless parent.nil?
|
|
1703
1708
|
command.query['instanceId'] = instance_id unless instance_id.nil?
|
|
1709
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
1704
1710
|
command.query['fields'] = fields unless fields.nil?
|
|
1705
1711
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1706
1712
|
execute_or_queue_command(command, &block)
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
|
27
27
|
module DialogflowV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180920'
|
|
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'
|