google-api-client 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -2
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +34 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +536 -20
- data/generated/google/apis/compute_alpha/representations.rb +228 -2
- data/generated/google/apis/compute_alpha/service.rb +1860 -593
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +14 -0
- data/generated/google/apis/compute_beta/representations.rb +3 -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 +698 -21
- data/generated/google/apis/compute_v1/representations.rb +268 -0
- data/generated/google/apis/compute_v1/service.rb +778 -14
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +53 -1
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/content_v2/service.rb +62 -4
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +11 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -5
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +2 -1
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +2 -1
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +2 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/drive_v2/service.rb +6 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +141 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +56 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +40 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +0 -16
- data/generated/google/apis/genomics_v1/service.rb +0 -120
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +4 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +0 -1
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +70 -7
- data/generated/google/apis/manufacturers_v1/representations.rb +23 -0
- data/generated/google/apis/manufacturers_v1/service.rb +17 -3
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +10 -1
- data/generated/google/apis/partners_v2/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +2 -1
- data/generated/google/apis/safebrowsing_v4.rb +2 -2
- data/generated/google/apis/safebrowsing_v4/service.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +1 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +25 -27
- data/generated/google/apis/testing_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -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 = '20180403'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -254,6 +254,11 @@ module Google
|
|
254
254
|
# @return [String]
|
255
255
|
attr_accessor :country
|
256
256
|
|
257
|
+
# The destination the issue applies to.
|
258
|
+
# Corresponds to the JSON property `destination`
|
259
|
+
# @return [String]
|
260
|
+
attr_accessor :destination
|
261
|
+
|
257
262
|
# Additional details about the issue.
|
258
263
|
# Corresponds to the JSON property `detail`
|
259
264
|
# @return [String]
|
@@ -281,6 +286,7 @@ module Google
|
|
281
286
|
# Update properties of this object
|
282
287
|
def update!(**args)
|
283
288
|
@country = args[:country] if args.key?(:country)
|
289
|
+
@destination = args[:destination] if args.key?(:destination)
|
284
290
|
@detail = args[:detail] if args.key?(:detail)
|
285
291
|
@id = args[:id] if args.key?(:id)
|
286
292
|
@severity = args[:severity] if args.key?(:severity)
|
@@ -297,6 +303,11 @@ module Google
|
|
297
303
|
# @return [String]
|
298
304
|
attr_accessor :country
|
299
305
|
|
306
|
+
# The destination the issue applies to.
|
307
|
+
# Corresponds to the JSON property `destination`
|
308
|
+
# @return [String]
|
309
|
+
attr_accessor :destination
|
310
|
+
|
300
311
|
# A more detailed description of the issue.
|
301
312
|
# Corresponds to the JSON property `detail`
|
302
313
|
# @return [String]
|
@@ -349,6 +360,7 @@ module Google
|
|
349
360
|
# Update properties of this object
|
350
361
|
def update!(**args)
|
351
362
|
@country = args[:country] if args.key?(:country)
|
363
|
+
@destination = args[:destination] if args.key?(:destination)
|
352
364
|
@detail = args[:detail] if args.key?(:detail)
|
353
365
|
@displayed_value = args[:displayed_value] if args.key?(:displayed_value)
|
354
366
|
@example_items = args[:example_items] if args.key?(:example_items)
|
@@ -802,6 +814,12 @@ module Google
|
|
802
814
|
# @return [Fixnum]
|
803
815
|
attr_accessor :batch_id
|
804
816
|
|
817
|
+
# If set, only issues for the specified destinations are returned, otherwise
|
818
|
+
# only issues for the Shopping destination.
|
819
|
+
# Corresponds to the JSON property `destinations`
|
820
|
+
# @return [Array<String>]
|
821
|
+
attr_accessor :destinations
|
822
|
+
|
805
823
|
# The ID of the managing account.
|
806
824
|
# Corresponds to the JSON property `merchantId`
|
807
825
|
# @return [Fixnum]
|
@@ -820,6 +838,7 @@ module Google
|
|
820
838
|
def update!(**args)
|
821
839
|
@account_id = args[:account_id] if args.key?(:account_id)
|
822
840
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
841
|
+
@destinations = args[:destinations] if args.key?(:destinations)
|
823
842
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
824
843
|
@request_method = args[:request_method] if args.key?(:request_method)
|
825
844
|
end
|
@@ -1669,6 +1688,26 @@ module Google
|
|
1669
1688
|
end
|
1670
1689
|
end
|
1671
1690
|
|
1691
|
+
#
|
1692
|
+
class DatafeedsFetchNowResponse
|
1693
|
+
include Google::Apis::Core::Hashable
|
1694
|
+
|
1695
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1696
|
+
# datafeedsFetchNowResponse".
|
1697
|
+
# Corresponds to the JSON property `kind`
|
1698
|
+
# @return [String]
|
1699
|
+
attr_accessor :kind
|
1700
|
+
|
1701
|
+
def initialize(**args)
|
1702
|
+
update!(**args)
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# Update properties of this object
|
1706
|
+
def update!(**args)
|
1707
|
+
@kind = args[:kind] if args.key?(:kind)
|
1708
|
+
end
|
1709
|
+
end
|
1710
|
+
|
1672
1711
|
#
|
1673
1712
|
class ListDatafeedsResponse
|
1674
1713
|
include Google::Apis::Core::Hashable
|
@@ -5960,7 +5999,7 @@ module Google
|
|
5960
5999
|
# @return [Google::Apis::ContentV2::PosStore]
|
5961
6000
|
attr_accessor :store
|
5962
6001
|
|
5963
|
-
# The store code.
|
6002
|
+
# The store code. Set this only if the method is delete or get.
|
5964
6003
|
# Corresponds to the JSON property `storeCode`
|
5965
6004
|
# @return [String]
|
5966
6005
|
attr_accessor :store_code
|
@@ -7429,6 +7468,11 @@ module Google
|
|
7429
7468
|
class ProductStatusDataQualityIssue
|
7430
7469
|
include Google::Apis::Core::Hashable
|
7431
7470
|
|
7471
|
+
# The destination the issue applies to.
|
7472
|
+
# Corresponds to the JSON property `destination`
|
7473
|
+
# @return [String]
|
7474
|
+
attr_accessor :destination
|
7475
|
+
|
7432
7476
|
# A more detailed error string.
|
7433
7477
|
# Corresponds to the JSON property `detail`
|
7434
7478
|
# @return [String]
|
@@ -7475,6 +7519,7 @@ module Google
|
|
7475
7519
|
|
7476
7520
|
# Update properties of this object
|
7477
7521
|
def update!(**args)
|
7522
|
+
@destination = args[:destination] if args.key?(:destination)
|
7478
7523
|
@detail = args[:detail] if args.key?(:detail)
|
7479
7524
|
@fetch_status = args[:fetch_status] if args.key?(:fetch_status)
|
7480
7525
|
@id = args[:id] if args.key?(:id)
|
@@ -7857,6 +7902,12 @@ module Google
|
|
7857
7902
|
# @return [Fixnum]
|
7858
7903
|
attr_accessor :batch_id
|
7859
7904
|
|
7905
|
+
# If set, only issues for the specified destinations are returned, otherwise
|
7906
|
+
# only issues for the Shopping destination.
|
7907
|
+
# Corresponds to the JSON property `destinations`
|
7908
|
+
# @return [Array<String>]
|
7909
|
+
attr_accessor :destinations
|
7910
|
+
|
7860
7911
|
#
|
7861
7912
|
# Corresponds to the JSON property `includeAttributes`
|
7862
7913
|
# @return [Boolean]
|
@@ -7885,6 +7936,7 @@ module Google
|
|
7885
7936
|
# Update properties of this object
|
7886
7937
|
def update!(**args)
|
7887
7938
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
7939
|
+
@destinations = args[:destinations] if args.key?(:destinations)
|
7888
7940
|
@include_attributes = args[:include_attributes] if args.key?(:include_attributes)
|
7889
7941
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
7890
7942
|
@request_method = args[:request_method] if args.key?(:request_method)
|
@@ -274,6 +274,12 @@ module Google
|
|
274
274
|
include Google::Apis::Core::JsonObjectSupport
|
275
275
|
end
|
276
276
|
|
277
|
+
class DatafeedsFetchNowResponse
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
277
283
|
class ListDatafeedsResponse
|
278
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
285
|
|
@@ -1326,6 +1332,7 @@ module Google
|
|
1326
1332
|
# @private
|
1327
1333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1328
1334
|
property :country, as: 'country'
|
1335
|
+
property :destination, as: 'destination'
|
1329
1336
|
property :detail, as: 'detail'
|
1330
1337
|
property :id, as: 'id'
|
1331
1338
|
property :severity, as: 'severity'
|
@@ -1337,6 +1344,7 @@ module Google
|
|
1337
1344
|
# @private
|
1338
1345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1339
1346
|
property :country, as: 'country'
|
1347
|
+
property :destination, as: 'destination'
|
1340
1348
|
property :detail, as: 'detail'
|
1341
1349
|
property :displayed_value, as: 'displayedValue'
|
1342
1350
|
collection :example_items, as: 'exampleItems', class: Google::Apis::ContentV2::AccountStatusExampleItem, decorator: Google::Apis::ContentV2::AccountStatusExampleItem::Representation
|
@@ -1480,6 +1488,7 @@ module Google
|
|
1480
1488
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1481
1489
|
property :account_id, :numeric_string => true, as: 'accountId'
|
1482
1490
|
property :batch_id, as: 'batchId'
|
1491
|
+
collection :destinations, as: 'destinations'
|
1483
1492
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
1484
1493
|
property :request_method, as: 'method'
|
1485
1494
|
end
|
@@ -1721,6 +1730,13 @@ module Google
|
|
1721
1730
|
end
|
1722
1731
|
end
|
1723
1732
|
|
1733
|
+
class DatafeedsFetchNowResponse
|
1734
|
+
# @private
|
1735
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1736
|
+
property :kind, as: 'kind'
|
1737
|
+
end
|
1738
|
+
end
|
1739
|
+
|
1724
1740
|
class ListDatafeedsResponse
|
1725
1741
|
# @private
|
1726
1742
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3288,6 +3304,7 @@ module Google
|
|
3288
3304
|
class ProductStatusDataQualityIssue
|
3289
3305
|
# @private
|
3290
3306
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3307
|
+
property :destination, as: 'destination'
|
3291
3308
|
property :detail, as: 'detail'
|
3292
3309
|
property :fetch_status, as: 'fetchStatus'
|
3293
3310
|
property :id, as: 'id'
|
@@ -3411,6 +3428,7 @@ module Google
|
|
3411
3428
|
# @private
|
3412
3429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3413
3430
|
property :batch_id, as: 'batchId'
|
3431
|
+
collection :destinations, as: 'destinations'
|
3414
3432
|
property :include_attributes, as: 'includeAttributes'
|
3415
3433
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
3416
3434
|
property :request_method, as: 'method'
|
@@ -469,6 +469,9 @@ module Google
|
|
469
469
|
# of a sub-account of this account.
|
470
470
|
# @param [Fixnum] account_id
|
471
471
|
# The ID of the account.
|
472
|
+
# @param [Array<String>, String] destinations
|
473
|
+
# If set, only issues for the specified destinations are returned, otherwise
|
474
|
+
# only issues for the Shopping destination.
|
472
475
|
# @param [String] fields
|
473
476
|
# Selector specifying which fields to include in a partial response.
|
474
477
|
# @param [String] quota_user
|
@@ -490,12 +493,13 @@ module Google
|
|
490
493
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
491
494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
492
495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
493
|
-
def get_account_status(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
496
|
+
def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
494
497
|
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
|
495
498
|
command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation
|
496
499
|
command.response_class = Google::Apis::ContentV2::AccountStatus
|
497
500
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
498
501
|
command.params['accountId'] = account_id unless account_id.nil?
|
502
|
+
command.query['destinations'] = destinations unless destinations.nil?
|
499
503
|
command.query['fields'] = fields unless fields.nil?
|
500
504
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
501
505
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -505,6 +509,9 @@ module Google
|
|
505
509
|
# Lists the statuses of the sub-accounts in your Merchant Center account.
|
506
510
|
# @param [Fixnum] merchant_id
|
507
511
|
# The ID of the managing account. This must be a multi-client account.
|
512
|
+
# @param [Array<String>, String] destinations
|
513
|
+
# If set, only issues for the specified destinations are returned, otherwise
|
514
|
+
# only issues for the Shopping destination.
|
508
515
|
# @param [Fixnum] max_results
|
509
516
|
# The maximum number of account statuses to return in the response, used for
|
510
517
|
# paging.
|
@@ -531,11 +538,12 @@ module Google
|
|
531
538
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
532
539
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
533
540
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
534
|
-
def list_account_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
541
|
+
def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
535
542
|
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
536
543
|
command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation
|
537
544
|
command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse
|
538
545
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
546
|
+
command.query['destinations'] = destinations unless destinations.nil?
|
539
547
|
command.query['maxResults'] = max_results unless max_results.nil?
|
540
548
|
command.query['pageToken'] = page_token unless page_token.nil?
|
541
549
|
command.query['fields'] = fields unless fields.nil?
|
@@ -833,6 +841,48 @@ module Google
|
|
833
841
|
execute_or_queue_command(command, &block)
|
834
842
|
end
|
835
843
|
|
844
|
+
# Invokes a fetch for the datafeed in your Merchant Center account.
|
845
|
+
# @param [Fixnum] merchant_id
|
846
|
+
# The ID of the account that manages the datafeed. This account cannot be a
|
847
|
+
# multi-client account.
|
848
|
+
# @param [Fixnum] datafeed_id
|
849
|
+
# The ID of the datafeed to be fetched.
|
850
|
+
# @param [Boolean] dry_run
|
851
|
+
# Flag to run the request in dry-run mode.
|
852
|
+
# @param [String] fields
|
853
|
+
# Selector specifying which fields to include in a partial response.
|
854
|
+
# @param [String] quota_user
|
855
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
856
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
857
|
+
# Overrides userIp if both are provided.
|
858
|
+
# @param [String] user_ip
|
859
|
+
# IP address of the site where the request originates. Use this if you want to
|
860
|
+
# enforce per-user limits.
|
861
|
+
# @param [Google::Apis::RequestOptions] options
|
862
|
+
# Request-specific options
|
863
|
+
#
|
864
|
+
# @yield [result, err] Result & error if block supplied
|
865
|
+
# @yieldparam result [Google::Apis::ContentV2::DatafeedsFetchNowResponse] parsed result object
|
866
|
+
# @yieldparam err [StandardError] error object if request failed
|
867
|
+
#
|
868
|
+
# @return [Google::Apis::ContentV2::DatafeedsFetchNowResponse]
|
869
|
+
#
|
870
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
871
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
872
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
873
|
+
def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
874
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
875
|
+
command.response_representation = Google::Apis::ContentV2::DatafeedsFetchNowResponse::Representation
|
876
|
+
command.response_class = Google::Apis::ContentV2::DatafeedsFetchNowResponse
|
877
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
878
|
+
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
879
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
880
|
+
command.query['fields'] = fields unless fields.nil?
|
881
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
882
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
883
|
+
execute_or_queue_command(command, &block)
|
884
|
+
end
|
885
|
+
|
836
886
|
# Retrieves a datafeed configuration from your Merchant Center account.
|
837
887
|
# @param [Fixnum] merchant_id
|
838
888
|
# The ID of the account that manages the datafeed. This account cannot be a
|
@@ -3052,6 +3102,9 @@ module Google
|
|
3052
3102
|
# multi-client account.
|
3053
3103
|
# @param [String] product_id
|
3054
3104
|
# The REST id of the product.
|
3105
|
+
# @param [Array<String>, String] destinations
|
3106
|
+
# If set, only issues for the specified destinations are returned, otherwise
|
3107
|
+
# only issues for the Shopping destination.
|
3055
3108
|
# @param [Boolean] include_attributes
|
3056
3109
|
# Flag to include full product data in the result of this get request. The
|
3057
3110
|
# default value is false.
|
@@ -3076,12 +3129,13 @@ module Google
|
|
3076
3129
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3077
3130
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3078
3131
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3079
|
-
def get_product_status(merchant_id, product_id, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3132
|
+
def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3080
3133
|
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
|
3081
3134
|
command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation
|
3082
3135
|
command.response_class = Google::Apis::ContentV2::ProductStatus
|
3083
3136
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3084
3137
|
command.params['productId'] = product_id unless product_id.nil?
|
3138
|
+
command.query['destinations'] = destinations unless destinations.nil?
|
3085
3139
|
command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
|
3086
3140
|
command.query['fields'] = fields unless fields.nil?
|
3087
3141
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -3093,6 +3147,9 @@ module Google
|
|
3093
3147
|
# @param [Fixnum] merchant_id
|
3094
3148
|
# The ID of the account that contains the products. This account cannot be a
|
3095
3149
|
# multi-client account.
|
3150
|
+
# @param [Array<String>, String] destinations
|
3151
|
+
# If set, only issues for the specified destinations are returned, otherwise
|
3152
|
+
# only issues for the Shopping destination.
|
3096
3153
|
# @param [Boolean] include_attributes
|
3097
3154
|
# Flag to include full product data in the results of the list request. The
|
3098
3155
|
# default value is false.
|
@@ -3125,11 +3182,12 @@ module Google
|
|
3125
3182
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3126
3183
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3127
3184
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3128
|
-
def list_product_statuses(merchant_id, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3185
|
+
def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3129
3186
|
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
|
3130
3187
|
command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation
|
3131
3188
|
command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse
|
3132
3189
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3190
|
+
command.query['destinations'] = destinations unless destinations.nil?
|
3133
3191
|
command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
|
3134
3192
|
command.query['includeInvalidInsertedItems'] = include_invalid_inserted_items unless include_invalid_inserted_items.nil?
|
3135
3193
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -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 = '20180404'
|
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'
|
@@ -37,7 +37,9 @@ module Google
|
|
37
37
|
# https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/
|
38
38
|
# acceleratorTypes/nvidia-tesla-k80
|
39
39
|
# projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
|
40
|
-
# nvidia-tesla-
|
40
|
+
# nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto
|
41
|
+
# Zone Placement feature, you must use the short name of the accelerator type
|
42
|
+
# resource, for example, nvidia-tesla-k80.
|
41
43
|
# Corresponds to the JSON property `acceleratorTypeUri`
|
42
44
|
# @return [String]
|
43
45
|
attr_accessor :accelerator_type_uri
|
@@ -390,8 +392,8 @@ module Google
|
|
390
392
|
class DiagnoseClusterResults
|
391
393
|
include Google::Apis::Core::Hashable
|
392
394
|
|
393
|
-
# Output only. The
|
394
|
-
#
|
395
|
+
# Output only. The Cloud Storage URI of the diagnostic output. The output report
|
396
|
+
# is a plain text file with a summary of collected diagnostics.
|
395
397
|
# Corresponds to the JSON property `outputUri`
|
396
398
|
# @return [String]
|
397
399
|
attr_accessor :output_uri
|
@@ -492,7 +494,7 @@ module Google
|
|
492
494
|
|
493
495
|
# Optional. The service account of the instances. Defaults to the default
|
494
496
|
# Compute Engine service account. Custom service accounts need permissions
|
495
|
-
# equivalent to the
|
497
|
+
# equivalent to the following IAM roles:
|
496
498
|
# roles/logging.logWriter
|
497
499
|
# roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/
|
498
500
|
# service-accounts#custom_service_accounts for more information). Example: [
|
@@ -501,8 +503,8 @@ module Google
|
|
501
503
|
# @return [String]
|
502
504
|
attr_accessor :service_account
|
503
505
|
|
504
|
-
# Optional. The URIs of service account scopes to be included in
|
505
|
-
#
|
506
|
+
# Optional. The URIs of service account scopes to be included in Compute Engine
|
507
|
+
# instances. The following base set of scopes is always included:
|
506
508
|
# https://www.googleapis.com/auth/cloud.useraccounts.readonly
|
507
509
|
# https://www.googleapis.com/auth/devstorage.read_write
|
508
510
|
# https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the
|
@@ -737,7 +739,9 @@ module Google
|
|
737
739
|
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/
|
738
740
|
# machineTypes/n1-standard-2
|
739
741
|
# projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
|
740
|
-
# n1-standard-
|
742
|
+
# n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc Auto
|
743
|
+
# Zone Placement feature, you must use the short name of the machine type
|
744
|
+
# resource, for example, n1-standard-2.
|
741
745
|
# Corresponds to the JSON property `machineTypeUri`
|
742
746
|
# @return [String]
|
743
747
|
attr_accessor :machine_type_uri
|
@@ -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 = '20180404'
|
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'
|
@@ -37,7 +37,9 @@ module Google
|
|
37
37
|
# reference/beta/acceleratorTypes)Examples * https://www.googleapis.com/compute/
|
38
38
|
# beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 *
|
39
39
|
# projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 *
|
40
|
-
# nvidia-tesla-
|
40
|
+
# nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto
|
41
|
+
# Zone Placement feature, you must use the short name of the accelerator type
|
42
|
+
# resource, for example, nvidia-tesla-k80.
|
41
43
|
# Corresponds to the JSON property `acceleratorTypeUri`
|
42
44
|
# @return [String]
|
43
45
|
attr_accessor :accelerator_type_uri
|
@@ -604,7 +606,7 @@ module Google
|
|
604
606
|
|
605
607
|
# Optional. The service account of the instances. Defaults to the default
|
606
608
|
# Compute Engine service account. Custom service accounts need permissions
|
607
|
-
# equivalent to the
|
609
|
+
# equivalent to the following IAM roles:
|
608
610
|
# roles/logging.logWriter
|
609
611
|
# roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/
|
610
612
|
# service-accounts#custom_service_accounts for more information). Example: [
|
@@ -613,8 +615,8 @@ module Google
|
|
613
615
|
# @return [String]
|
614
616
|
attr_accessor :service_account
|
615
617
|
|
616
|
-
# Optional. The URIs of service account scopes to be included in
|
617
|
-
#
|
618
|
+
# Optional. The URIs of service account scopes to be included in Compute Engine
|
619
|
+
# instances. The following base set of scopes is always included:
|
618
620
|
# https://www.googleapis.com/auth/cloud.useraccounts.readonly
|
619
621
|
# https://www.googleapis.com/auth/devstorage.read_write
|
620
622
|
# https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the
|
@@ -849,7 +851,9 @@ module Google
|
|
849
851
|
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/
|
850
852
|
# machineTypes/n1-standard-2
|
851
853
|
# projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
|
852
|
-
# n1-standard-
|
854
|
+
# n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc Auto
|
855
|
+
# Zone Placement feature, you must use the short name of the machine type
|
856
|
+
# resource, for example, n1-standard-2.
|
853
857
|
# Corresponds to the JSON property `machineTypeUri`
|
854
858
|
# @return [String]
|
855
859
|
attr_accessor :machine_type_uri
|