google-api-client 0.40.2 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +66 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +12 -3
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -9
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +535 -43
- data/generated/google/apis/compute_alpha/representations.rb +167 -0
- data/generated/google/apis/compute_alpha/service.rb +922 -172
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +107 -42
- data/generated/google/apis/compute_beta/representations.rb +20 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +22 -10
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +21 -7
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -1
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -7
- data/generated/google/apis/content_v2_1/representations.rb +37 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +46 -0
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +12 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/service.rb +28 -4
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +910 -43
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +5 -0
- data/generated/google/apis/iam_v1/service.rb +4 -0
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +56 -17
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +6 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1/service.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +21 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +117 -37
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +13 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +27 -2
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +72 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +38 -0
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/customsearch_v1.rb +0 -31
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
@@ -4790,6 +4790,7 @@ module Google
|
|
4790
4790
|
collection :local_ssds, as: 'localSsds', class: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk::Representation
|
4791
4791
|
|
4792
4792
|
property :machine_type, as: 'machineType'
|
4793
|
+
property :maintenance_interval, as: 'maintenanceInterval'
|
4793
4794
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
4794
4795
|
end
|
4795
4796
|
end
|
@@ -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 = '20200603'
|
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'
|
@@ -196,25 +196,39 @@ module Google
|
|
196
196
|
# @return [Google::Apis::ContainerV1beta1::NodeManagement]
|
197
197
|
attr_accessor :management
|
198
198
|
|
199
|
-
# Minimum CPU platform to be used
|
200
|
-
#
|
201
|
-
#
|
199
|
+
# Minimum CPU platform to be used by this instance. The instance may be
|
200
|
+
# scheduled on the specified or newer CPU platform. Applicable values are the
|
201
|
+
# friendly names of CPU platforms, such as
|
202
202
|
# <code>minCpuPlatform: "Intel Haswell"</code> or
|
203
203
|
# <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For more
|
204
204
|
# information, read [how to specify min CPU
|
205
205
|
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
|
206
206
|
# platform)
|
207
|
-
# To unset the min cpu platform field pass "automatic"
|
207
|
+
# To unset the min cpu platform field pass "automatic"
|
208
|
+
# as field value.
|
208
209
|
# Corresponds to the JSON property `minCpuPlatform`
|
209
210
|
# @return [String]
|
210
211
|
attr_accessor :min_cpu_platform
|
211
212
|
|
212
|
-
#
|
213
|
+
# The set of Google API scopes to be made available on all of the
|
214
|
+
# node VMs under the "default" service account.
|
215
|
+
# The following scopes are recommended, but not required, and by default are
|
216
|
+
# not included:
|
217
|
+
# * `https://www.googleapis.com/auth/compute` is required for mounting
|
218
|
+
# persistent storage on your nodes.
|
219
|
+
# * `https://www.googleapis.com/auth/devstorage.read_only` is required for
|
220
|
+
# communicating with **gcr.io**
|
221
|
+
# (the [Google Container
|
222
|
+
# Registry](https://cloud.google.com/container-registry/)).
|
223
|
+
# If unspecified, no scopes are added, unless Cloud Logging or Cloud
|
224
|
+
# Monitoring are enabled, in which case their required scopes will be added.
|
213
225
|
# Corresponds to the JSON property `oauthScopes`
|
214
226
|
# @return [Array<String>]
|
215
227
|
attr_accessor :oauth_scopes
|
216
228
|
|
217
229
|
# The Google Cloud Platform Service Account to be used by the node VMs.
|
230
|
+
# Specify the email address of the Service Account; otherwise, if no Service
|
231
|
+
# Account is specified, the "default" service account is used.
|
218
232
|
# Corresponds to the JSON property `serviceAccount`
|
219
233
|
# @return [String]
|
220
234
|
attr_accessor :service_account
|
@@ -3540,12 +3554,12 @@ module Google
|
|
3540
3554
|
# @return [Array<String>]
|
3541
3555
|
attr_accessor :valid_image_types
|
3542
3556
|
|
3543
|
-
# List of valid master versions.
|
3557
|
+
# List of valid master versions, in descending order.
|
3544
3558
|
# Corresponds to the JSON property `validMasterVersions`
|
3545
3559
|
# @return [Array<String>]
|
3546
3560
|
attr_accessor :valid_master_versions
|
3547
3561
|
|
3548
|
-
# List of valid node upgrade target versions.
|
3562
|
+
# List of valid node upgrade target versions, in descending order.
|
3549
3563
|
# Corresponds to the JSON property `validNodeVersions`
|
3550
3564
|
# @return [Array<String>]
|
3551
3565
|
attr_accessor :valid_node_versions
|
@@ -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 = '20200615'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -9365,6 +9365,11 @@ module Google
|
|
9365
9365
|
# @return [String]
|
9366
9366
|
attr_accessor :brand
|
9367
9367
|
|
9368
|
+
# Link to the canonical version of the landing page.
|
9369
|
+
# Corresponds to the JSON property `canonicalLink`
|
9370
|
+
# @return [String]
|
9371
|
+
attr_accessor :canonical_link
|
9372
|
+
|
9368
9373
|
# Required. The item's channel (online or local).
|
9369
9374
|
# Acceptable values are:
|
9370
9375
|
# - "`local`"
|
@@ -9534,7 +9539,7 @@ module Google
|
|
9534
9539
|
# @return [String]
|
9535
9540
|
attr_accessor :image_link
|
9536
9541
|
|
9537
|
-
# Number and amount of installments to pay for an item.
|
9542
|
+
# Number and amount of installments to pay for an item.
|
9538
9543
|
# Corresponds to the JSON property `installment`
|
9539
9544
|
# @return [Google::Apis::ContentV2::Installment]
|
9540
9545
|
attr_accessor :installment
|
@@ -9810,6 +9815,7 @@ module Google
|
|
9810
9815
|
@availability = args[:availability] if args.key?(:availability)
|
9811
9816
|
@availability_date = args[:availability_date] if args.key?(:availability_date)
|
9812
9817
|
@brand = args[:brand] if args.key?(:brand)
|
9818
|
+
@canonical_link = args[:canonical_link] if args.key?(:canonical_link)
|
9813
9819
|
@channel = args[:channel] if args.key?(:channel)
|
9814
9820
|
@color = args[:color] if args.key?(:color)
|
9815
9821
|
@condition = args[:condition] if args.key?(:condition)
|
@@ -4041,6 +4041,7 @@ module Google
|
|
4041
4041
|
property :availability, as: 'availability'
|
4042
4042
|
property :availability_date, as: 'availabilityDate'
|
4043
4043
|
property :brand, as: 'brand'
|
4044
|
+
property :canonical_link, as: 'canonicalLink'
|
4044
4045
|
property :channel, as: 'channel'
|
4045
4046
|
property :color, as: 'color'
|
4046
4047
|
property :condition, as: 'condition'
|
@@ -364,7 +364,8 @@ module Google
|
|
364
364
|
execute_or_queue_command(command, &block)
|
365
365
|
end
|
366
366
|
|
367
|
-
# Updates a Merchant Center account.
|
367
|
+
# Updates a Merchant Center account. Any fields that are not provided are
|
368
|
+
# deleted from the resource.
|
368
369
|
# @param [Fixnum] merchant_id
|
369
370
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
370
371
|
# then this account must be a multi-client account and `accountId` must be the
|
@@ -643,7 +644,8 @@ module Google
|
|
643
644
|
execute_or_queue_command(command, &block)
|
644
645
|
end
|
645
646
|
|
646
|
-
# Updates the tax settings of the account.
|
647
|
+
# Updates the tax settings of the account. Any fields that are not provided are
|
648
|
+
# deleted from the resource.
|
647
649
|
# @param [Fixnum] merchant_id
|
648
650
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
649
651
|
# then this account must be a multi-client account and `accountId` must be the
|
@@ -924,7 +926,8 @@ module Google
|
|
924
926
|
execute_or_queue_command(command, &block)
|
925
927
|
end
|
926
928
|
|
927
|
-
# Updates a datafeed configuration of your Merchant Center account.
|
929
|
+
# Updates a datafeed configuration of your Merchant Center account. Any fields
|
930
|
+
# that are not provided are deleted from the resource.
|
928
931
|
# @param [Fixnum] merchant_id
|
929
932
|
# The ID of the account that manages the datafeed. This account cannot be a
|
930
933
|
# multi-client account.
|
@@ -1543,7 +1546,8 @@ module Google
|
|
1543
1546
|
execute_or_queue_command(command, &block)
|
1544
1547
|
end
|
1545
1548
|
|
1546
|
-
# Updates the LIA settings of the account.
|
1549
|
+
# Updates the LIA settings of the account. Any fields that are not provided are
|
1550
|
+
# deleted from the resource.
|
1547
1551
|
# @param [Fixnum] merchant_id
|
1548
1552
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
1549
1553
|
# then this account must be a multi-client account and `accountId` must be the
|
@@ -3602,7 +3606,8 @@ module Google
|
|
3602
3606
|
execute_or_queue_command(command, &block)
|
3603
3607
|
end
|
3604
3608
|
|
3605
|
-
# Updates the shipping settings of the account.
|
3609
|
+
# Updates the shipping settings of the account. Any fields that are not provided
|
3610
|
+
# are deleted from the resource.
|
3606
3611
|
# @param [Fixnum] merchant_id
|
3607
3612
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
3608
3613
|
# then this account must be a multi-client account and `accountId` must be the
|
@@ -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 = '20200615'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -6642,11 +6642,10 @@ module Google
|
|
6642
6642
|
class OrdersCustomBatchRequestEntryRefundItemItem
|
6643
6643
|
include Google::Apis::Core::Hashable
|
6644
6644
|
|
6645
|
-
# The amount that is refunded.
|
6646
|
-
#
|
6647
|
-
# refund
|
6648
|
-
#
|
6649
|
-
# newly refunded amount.
|
6645
|
+
# The total amount that is refunded. (e.g. refunding $5 each for 2 products
|
6646
|
+
# should be done by setting quantity to 2 and amount to 10$) In case of multiple
|
6647
|
+
# refunds, this should be the amount you currently want to refund to the
|
6648
|
+
# customer.
|
6650
6649
|
# Corresponds to the JSON property `amount`
|
6651
6650
|
# @return [Google::Apis::ContentV2_1::MonetaryAmount]
|
6652
6651
|
attr_accessor :amount
|
@@ -8578,6 +8577,11 @@ module Google
|
|
8578
8577
|
# @return [String]
|
8579
8578
|
attr_accessor :brand
|
8580
8579
|
|
8580
|
+
# Link to the canonical version of the landing page.
|
8581
|
+
# Corresponds to the JSON property `canonicalLink`
|
8582
|
+
# @return [String]
|
8583
|
+
attr_accessor :canonical_link
|
8584
|
+
|
8581
8585
|
# Required. The item's channel (online or local).
|
8582
8586
|
# Acceptable values are:
|
8583
8587
|
# - "`local`"
|
@@ -8732,7 +8736,7 @@ module Google
|
|
8732
8736
|
# @return [Array<String>]
|
8733
8737
|
attr_accessor :included_destinations
|
8734
8738
|
|
8735
|
-
# Number and amount of installments to pay for an item.
|
8739
|
+
# Number and amount of installments to pay for an item.
|
8736
8740
|
# Corresponds to the JSON property `installment`
|
8737
8741
|
# @return [Google::Apis::ContentV2_1::Installment]
|
8738
8742
|
attr_accessor :installment
|
@@ -8825,6 +8829,16 @@ module Google
|
|
8825
8829
|
# @return [Google::Apis::ContentV2_1::Price]
|
8826
8830
|
attr_accessor :price
|
8827
8831
|
|
8832
|
+
# Technical specification or additional product details
|
8833
|
+
# Corresponds to the JSON property `productDetails`
|
8834
|
+
# @return [Array<Google::Apis::ContentV2_1::ProductProductDetail>]
|
8835
|
+
attr_accessor :product_details
|
8836
|
+
|
8837
|
+
# List of important bullet points describing the product
|
8838
|
+
# Corresponds to the JSON property `productHighlights`
|
8839
|
+
# @return [Array<String>]
|
8840
|
+
attr_accessor :product_highlights
|
8841
|
+
|
8828
8842
|
# Categories of the item (formatted as in products data specification).
|
8829
8843
|
# Corresponds to the JSON property `productTypes`
|
8830
8844
|
# @return [Array<String>]
|
@@ -8908,6 +8922,12 @@ module Google
|
|
8908
8922
|
# @return [String]
|
8909
8923
|
attr_accessor :source
|
8910
8924
|
|
8925
|
+
# Number of periods (months or years) and amount of payment per period for an
|
8926
|
+
# item with an associated subscription contract.
|
8927
|
+
# Corresponds to the JSON property `subscriptionCost`
|
8928
|
+
# @return [Google::Apis::ContentV2_1::ProductSubscriptionCost]
|
8929
|
+
attr_accessor :subscription_cost
|
8930
|
+
|
8911
8931
|
# Required. The CLDR territory code for the item.
|
8912
8932
|
# Corresponds to the JSON property `targetCountry`
|
8913
8933
|
# @return [String]
|
@@ -8960,6 +8980,7 @@ module Google
|
|
8960
8980
|
@availability = args[:availability] if args.key?(:availability)
|
8961
8981
|
@availability_date = args[:availability_date] if args.key?(:availability_date)
|
8962
8982
|
@brand = args[:brand] if args.key?(:brand)
|
8983
|
+
@canonical_link = args[:canonical_link] if args.key?(:canonical_link)
|
8963
8984
|
@channel = args[:channel] if args.key?(:channel)
|
8964
8985
|
@color = args[:color] if args.key?(:color)
|
8965
8986
|
@condition = args[:condition] if args.key?(:condition)
|
@@ -9004,6 +9025,8 @@ module Google
|
|
9004
9025
|
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
9005
9026
|
@pattern = args[:pattern] if args.key?(:pattern)
|
9006
9027
|
@price = args[:price] if args.key?(:price)
|
9028
|
+
@product_details = args[:product_details] if args.key?(:product_details)
|
9029
|
+
@product_highlights = args[:product_highlights] if args.key?(:product_highlights)
|
9007
9030
|
@product_types = args[:product_types] if args.key?(:product_types)
|
9008
9031
|
@promotion_ids = args[:promotion_ids] if args.key?(:promotion_ids)
|
9009
9032
|
@sale_price = args[:sale_price] if args.key?(:sale_price)
|
@@ -9019,6 +9042,7 @@ module Google
|
|
9019
9042
|
@size_type = args[:size_type] if args.key?(:size_type)
|
9020
9043
|
@sizes = args[:sizes] if args.key?(:sizes)
|
9021
9044
|
@source = args[:source] if args.key?(:source)
|
9045
|
+
@subscription_cost = args[:subscription_cost] if args.key?(:subscription_cost)
|
9022
9046
|
@target_country = args[:target_country] if args.key?(:target_country)
|
9023
9047
|
@tax_category = args[:tax_category] if args.key?(:tax_category)
|
9024
9048
|
@taxes = args[:taxes] if args.key?(:taxes)
|
@@ -9060,6 +9084,37 @@ module Google
|
|
9060
9084
|
end
|
9061
9085
|
end
|
9062
9086
|
|
9087
|
+
#
|
9088
|
+
class ProductProductDetail
|
9089
|
+
include Google::Apis::Core::Hashable
|
9090
|
+
|
9091
|
+
# The name of the product detail.
|
9092
|
+
# Corresponds to the JSON property `attributeName`
|
9093
|
+
# @return [String]
|
9094
|
+
attr_accessor :attribute_name
|
9095
|
+
|
9096
|
+
# The value of the product detail.
|
9097
|
+
# Corresponds to the JSON property `attributeValue`
|
9098
|
+
# @return [String]
|
9099
|
+
attr_accessor :attribute_value
|
9100
|
+
|
9101
|
+
# The section header used to group a set of product details.
|
9102
|
+
# Corresponds to the JSON property `sectionName`
|
9103
|
+
# @return [String]
|
9104
|
+
attr_accessor :section_name
|
9105
|
+
|
9106
|
+
def initialize(**args)
|
9107
|
+
update!(**args)
|
9108
|
+
end
|
9109
|
+
|
9110
|
+
# Update properties of this object
|
9111
|
+
def update!(**args)
|
9112
|
+
@attribute_name = args[:attribute_name] if args.key?(:attribute_name)
|
9113
|
+
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
9114
|
+
@section_name = args[:section_name] if args.key?(:section_name)
|
9115
|
+
end
|
9116
|
+
end
|
9117
|
+
|
9063
9118
|
#
|
9064
9119
|
class ProductShipping
|
9065
9120
|
include Google::Apis::Core::Hashable
|
@@ -9247,7 +9302,7 @@ module Google
|
|
9247
9302
|
# @return [String]
|
9248
9303
|
attr_accessor :destination
|
9249
9304
|
|
9250
|
-
# Destination approval status in targetCountry of the offer.
|
9305
|
+
# Destination approval status in `targetCountry` of the offer.
|
9251
9306
|
# Corresponds to the JSON property `status`
|
9252
9307
|
# @return [String]
|
9253
9308
|
attr_accessor :status
|
@@ -9324,6 +9379,37 @@ module Google
|
|
9324
9379
|
end
|
9325
9380
|
end
|
9326
9381
|
|
9382
|
+
#
|
9383
|
+
class ProductSubscriptionCost
|
9384
|
+
include Google::Apis::Core::Hashable
|
9385
|
+
|
9386
|
+
# The amount the buyer has to pay per subscription period.
|
9387
|
+
# Corresponds to the JSON property `amount`
|
9388
|
+
# @return [Google::Apis::ContentV2_1::Price]
|
9389
|
+
attr_accessor :amount
|
9390
|
+
|
9391
|
+
# The type of subscription period.
|
9392
|
+
# Corresponds to the JSON property `period`
|
9393
|
+
# @return [String]
|
9394
|
+
attr_accessor :period
|
9395
|
+
|
9396
|
+
# The number of subscription periods the buyer has to pay.
|
9397
|
+
# Corresponds to the JSON property `periodLength`
|
9398
|
+
# @return [Fixnum]
|
9399
|
+
attr_accessor :period_length
|
9400
|
+
|
9401
|
+
def initialize(**args)
|
9402
|
+
update!(**args)
|
9403
|
+
end
|
9404
|
+
|
9405
|
+
# Update properties of this object
|
9406
|
+
def update!(**args)
|
9407
|
+
@amount = args[:amount] if args.key?(:amount)
|
9408
|
+
@period = args[:period] if args.key?(:period)
|
9409
|
+
@period_length = args[:period_length] if args.key?(:period_length)
|
9410
|
+
end
|
9411
|
+
end
|
9412
|
+
|
9327
9413
|
#
|
9328
9414
|
class ProductTax
|
9329
9415
|
include Google::Apis::Core::Hashable
|
@@ -1288,6 +1288,12 @@ module Google
|
|
1288
1288
|
include Google::Apis::Core::JsonObjectSupport
|
1289
1289
|
end
|
1290
1290
|
|
1291
|
+
class ProductProductDetail
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
|
+
|
1294
|
+
include Google::Apis::Core::JsonObjectSupport
|
1295
|
+
end
|
1296
|
+
|
1291
1297
|
class ProductShipping
|
1292
1298
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
1299
|
|
@@ -1324,6 +1330,12 @@ module Google
|
|
1324
1330
|
include Google::Apis::Core::JsonObjectSupport
|
1325
1331
|
end
|
1326
1332
|
|
1333
|
+
class ProductSubscriptionCost
|
1334
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1335
|
+
|
1336
|
+
include Google::Apis::Core::JsonObjectSupport
|
1337
|
+
end
|
1338
|
+
|
1327
1339
|
class ProductTax
|
1328
1340
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1329
1341
|
|
@@ -4018,6 +4030,7 @@ module Google
|
|
4018
4030
|
property :availability, as: 'availability'
|
4019
4031
|
property :availability_date, as: 'availabilityDate'
|
4020
4032
|
property :brand, as: 'brand'
|
4033
|
+
property :canonical_link, as: 'canonicalLink'
|
4021
4034
|
property :channel, as: 'channel'
|
4022
4035
|
property :color, as: 'color'
|
4023
4036
|
property :condition, as: 'condition'
|
@@ -4067,6 +4080,9 @@ module Google
|
|
4067
4080
|
property :pattern, as: 'pattern'
|
4068
4081
|
property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
4069
4082
|
|
4083
|
+
collection :product_details, as: 'productDetails', class: Google::Apis::ContentV2_1::ProductProductDetail, decorator: Google::Apis::ContentV2_1::ProductProductDetail::Representation
|
4084
|
+
|
4085
|
+
collection :product_highlights, as: 'productHighlights'
|
4070
4086
|
collection :product_types, as: 'productTypes'
|
4071
4087
|
collection :promotion_ids, as: 'promotionIds'
|
4072
4088
|
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
@@ -4088,6 +4104,8 @@ module Google
|
|
4088
4104
|
property :size_type, as: 'sizeType'
|
4089
4105
|
collection :sizes, as: 'sizes'
|
4090
4106
|
property :source, as: 'source'
|
4107
|
+
property :subscription_cost, as: 'subscriptionCost', class: Google::Apis::ContentV2_1::ProductSubscriptionCost, decorator: Google::Apis::ContentV2_1::ProductSubscriptionCost::Representation
|
4108
|
+
|
4091
4109
|
property :target_country, as: 'targetCountry'
|
4092
4110
|
property :tax_category, as: 'taxCategory'
|
4093
4111
|
collection :taxes, as: 'taxes', class: Google::Apis::ContentV2_1::ProductTax, decorator: Google::Apis::ContentV2_1::ProductTax::Representation
|
@@ -4113,6 +4131,15 @@ module Google
|
|
4113
4131
|
end
|
4114
4132
|
end
|
4115
4133
|
|
4134
|
+
class ProductProductDetail
|
4135
|
+
# @private
|
4136
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4137
|
+
property :attribute_name, as: 'attributeName'
|
4138
|
+
property :attribute_value, as: 'attributeValue'
|
4139
|
+
property :section_name, as: 'sectionName'
|
4140
|
+
end
|
4141
|
+
end
|
4142
|
+
|
4116
4143
|
class ProductShipping
|
4117
4144
|
# @private
|
4118
4145
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4182,6 +4209,16 @@ module Google
|
|
4182
4209
|
end
|
4183
4210
|
end
|
4184
4211
|
|
4212
|
+
class ProductSubscriptionCost
|
4213
|
+
# @private
|
4214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4215
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
4216
|
+
|
4217
|
+
property :period, as: 'period'
|
4218
|
+
property :period_length, :numeric_string => true, as: 'periodLength'
|
4219
|
+
end
|
4220
|
+
end
|
4221
|
+
|
4185
4222
|
class ProductTax
|
4186
4223
|
# @private
|
4187
4224
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -396,7 +396,8 @@ module Google
|
|
396
396
|
execute_or_queue_command(command, &block)
|
397
397
|
end
|
398
398
|
|
399
|
-
# Updates a Merchant Center account.
|
399
|
+
# Updates a Merchant Center account. Any fields that are not provided are
|
400
|
+
# deleted from the resource.
|
400
401
|
# @param [Fixnum] merchant_id
|
401
402
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
402
403
|
# then this account must be a multi-client account and `accountId` must be the
|
@@ -667,7 +668,8 @@ module Google
|
|
667
668
|
execute_or_queue_command(command, &block)
|
668
669
|
end
|
669
670
|
|
670
|
-
# Updates the tax settings of the account.
|
671
|
+
# Updates the tax settings of the account. Any fields that are not provided are
|
672
|
+
# deleted from the resource.
|
671
673
|
# @param [Fixnum] merchant_id
|
672
674
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
673
675
|
# then this account must be a multi-client account and `accountId` must be the
|
@@ -928,7 +930,8 @@ module Google
|
|
928
930
|
execute_or_queue_command(command, &block)
|
929
931
|
end
|
930
932
|
|
931
|
-
# Updates a datafeed configuration of your Merchant Center account.
|
933
|
+
# Updates a datafeed configuration of your Merchant Center account. Any fields
|
934
|
+
# that are not provided are deleted from the resource.
|
932
935
|
# @param [Fixnum] merchant_id
|
933
936
|
# The ID of the account that manages the datafeed. This account cannot be a
|
934
937
|
# multi-client account.
|
@@ -1453,7 +1456,8 @@ module Google
|
|
1453
1456
|
execute_or_queue_command(command, &block)
|
1454
1457
|
end
|
1455
1458
|
|
1456
|
-
# Updates the LIA settings of the account.
|
1459
|
+
# Updates the LIA settings of the account. Any fields that are not provided are
|
1460
|
+
# deleted from the resource.
|
1457
1461
|
# @param [Fixnum] merchant_id
|
1458
1462
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
1459
1463
|
# then this account must be a multi-client account and `accountId` must be the
|
@@ -4250,7 +4254,8 @@ module Google
|
|
4250
4254
|
execute_or_queue_command(command, &block)
|
4251
4255
|
end
|
4252
4256
|
|
4253
|
-
# Updates the shipping settings of the account.
|
4257
|
+
# Updates the shipping settings of the account. Any fields that are not provided
|
4258
|
+
# are deleted from the resource.
|
4254
4259
|
# @param [Fixnum] merchant_id
|
4255
4260
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
4256
4261
|
# then this account must be a multi-client account and `accountId` must be the
|