google-api-client 0.17.3 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +77 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +100 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +300 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +76 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +5 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -8
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +20 -10
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +11 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +782 -111
- data/generated/google/apis/compute_alpha/representations.rb +282 -2
- data/generated/google/apis/compute_alpha/service.rb +611 -6
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +342 -43
- data/generated/google/apis/compute_beta/representations.rb +109 -0
- data/generated/google/apis/compute_beta/service.rb +225 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -43
- data/generated/google/apis/compute_v1/service.rb +6 -6
- data/generated/google/apis/container_v1beta1/classes.rb +17 -0
- data/generated/google/apis/container_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +131 -9
- data/generated/google/apis/content_v2/representations.rb +38 -0
- data/generated/google/apis/content_v2/service.rb +35 -23
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +99 -9
- data/generated/google/apis/content_v2sandbox/representations.rb +22 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/service.rb +11 -11
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/service.rb +37 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +26 -177
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/ml_v1/service.rb +3 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -1
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/poly_v1.rb +32 -0
- data/generated/google/apis/poly_v1/classes.rb +426 -0
- data/generated/google/apis/poly_v1/representations.rb +194 -0
- data/generated/google/apis/poly_v1/service.rb +273 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +243 -0
- data/generated/google/apis/pubsub_v1/representations.rb +115 -0
- data/generated/google/apis/pubsub_v1/service.rb +269 -1
- data/generated/google/apis/speech_v1.rb +4 -1
- data/generated/google/apis/speech_v1beta1.rb +4 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +13 -0
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/lib/google/apis/core/base_service.rb +4 -1
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -5038,12 +5038,12 @@ module Google
|
|
5038
5038
|
execute_or_queue_command(command, &block)
|
5039
5039
|
end
|
5040
5040
|
|
5041
|
-
# Retrieves the list of
|
5042
|
-
#
|
5043
|
-
#
|
5044
|
-
#
|
5045
|
-
#
|
5046
|
-
#
|
5041
|
+
# Retrieves the list of custom images available to the specified project. Custom
|
5042
|
+
# images are images you create that belong to your project. This method does not
|
5043
|
+
# get any images that belong to other projects, including publicly-available
|
5044
|
+
# images, like Debian 8. If you want to get a list of publicly-available images,
|
5045
|
+
# use this method to make a request to the respective image project, such as
|
5046
|
+
# debian-cloud or windows-cloud.
|
5047
5047
|
# @param [String] project
|
5048
5048
|
# Project ID for this request.
|
5049
5049
|
# @param [String] filter
|
@@ -829,6 +829,22 @@ module Google
|
|
829
829
|
class IpAllocationPolicy
|
830
830
|
include Google::Apis::Core::Hashable
|
831
831
|
|
832
|
+
# If true, allow allocation of cluster CIDR ranges that overlap with certain
|
833
|
+
# kinds of network routes. By default we do not allow cluster CIDR ranges to
|
834
|
+
# intersect with any user declared routes. With allow_route_overlap == true,
|
835
|
+
# we allow overlapping with CIDR ranges that are larger than the cluster CIDR
|
836
|
+
# range.
|
837
|
+
# If this field is set to true, then cluster and services CIDRs must be
|
838
|
+
# fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means:
|
839
|
+
# 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and
|
840
|
+
# `services_ipv4_cidr_block` must be fully-specified.
|
841
|
+
# 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be
|
842
|
+
# fully-specified.
|
843
|
+
# Corresponds to the JSON property `allowRouteOverlap`
|
844
|
+
# @return [Boolean]
|
845
|
+
attr_accessor :allow_route_overlap
|
846
|
+
alias_method :allow_route_overlap?, :allow_route_overlap
|
847
|
+
|
832
848
|
# This field is deprecated, use cluster_ipv4_cidr_block.
|
833
849
|
# Corresponds to the JSON property `clusterIpv4Cidr`
|
834
850
|
# @return [String]
|
@@ -934,6 +950,7 @@ module Google
|
|
934
950
|
|
935
951
|
# Update properties of this object
|
936
952
|
def update!(**args)
|
953
|
+
@allow_route_overlap = args[:allow_route_overlap] if args.key?(:allow_route_overlap)
|
937
954
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
938
955
|
@cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block)
|
939
956
|
@cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name)
|
@@ -510,6 +510,7 @@ module Google
|
|
510
510
|
class IpAllocationPolicy
|
511
511
|
# @private
|
512
512
|
class Representation < Google::Apis::Core::JsonRepresentation
|
513
|
+
property :allow_route_overlap, as: 'allowRouteOverlap'
|
513
514
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
514
515
|
property :cluster_ipv4_cidr_block, as: 'clusterIpv4CidrBlock'
|
515
516
|
property :cluster_secondary_range_name, as: 'clusterSecondaryRangeName'
|
@@ -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 = '20171124'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -41,6 +41,12 @@ module Google
|
|
41
41
|
# @return [Array<Google::Apis::ContentV2::AccountAdwordsLink>]
|
42
42
|
attr_accessor :adwords_links
|
43
43
|
|
44
|
+
# The GMB account which is linked or in the process of being linked with the
|
45
|
+
# Merchant Center accounnt.
|
46
|
+
# Corresponds to the JSON property `googleMyBusinessLink`
|
47
|
+
# @return [Google::Apis::ContentV2::AccountGoogleMyBusinessLink]
|
48
|
+
attr_accessor :google_my_business_link
|
49
|
+
|
44
50
|
# Merchant Center account ID.
|
45
51
|
# Corresponds to the JSON property `id`
|
46
52
|
# @return [Fixnum]
|
@@ -95,6 +101,7 @@ module Google
|
|
95
101
|
def update!(**args)
|
96
102
|
@adult_content = args[:adult_content] if args.key?(:adult_content)
|
97
103
|
@adwords_links = args[:adwords_links] if args.key?(:adwords_links)
|
104
|
+
@google_my_business_link = args[:google_my_business_link] if args.key?(:google_my_business_link)
|
98
105
|
@id = args[:id] if args.key?(:id)
|
99
106
|
@kind = args[:kind] if args.key?(:kind)
|
100
107
|
@name = args[:name] if args.key?(:name)
|
@@ -139,6 +146,31 @@ module Google
|
|
139
146
|
end
|
140
147
|
end
|
141
148
|
|
149
|
+
#
|
150
|
+
class AccountGoogleMyBusinessLink
|
151
|
+
include Google::Apis::Core::Hashable
|
152
|
+
|
153
|
+
# The GMB email address.
|
154
|
+
# Corresponds to the JSON property `gmbEmail`
|
155
|
+
# @return [String]
|
156
|
+
attr_accessor :gmb_email
|
157
|
+
|
158
|
+
# Status of the link between this Merchant Center account and the GMB account.
|
159
|
+
# Corresponds to the JSON property `status`
|
160
|
+
# @return [String]
|
161
|
+
attr_accessor :status
|
162
|
+
|
163
|
+
def initialize(**args)
|
164
|
+
update!(**args)
|
165
|
+
end
|
166
|
+
|
167
|
+
# Update properties of this object
|
168
|
+
def update!(**args)
|
169
|
+
@gmb_email = args[:gmb_email] if args.key?(:gmb_email)
|
170
|
+
@status = args[:status] if args.key?(:status)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
142
174
|
#
|
143
175
|
class AccountIdentifier
|
144
176
|
include Google::Apis::Core::Hashable
|
@@ -3282,26 +3314,20 @@ module Google
|
|
3282
3314
|
# Acceptable values are:
|
3283
3315
|
# - "gsx"
|
3284
3316
|
# - "ups"
|
3285
|
-
# - "united parcel service"
|
3286
3317
|
# - "usps"
|
3287
|
-
# - "united states postal service"
|
3288
3318
|
# - "fedex"
|
3289
3319
|
# - "dhl"
|
3290
3320
|
# - "ecourier"
|
3291
3321
|
# - "cxt"
|
3292
3322
|
# - "google"
|
3293
|
-
# - "on trac"
|
3294
3323
|
# - "ontrac"
|
3295
|
-
# - "
|
3296
|
-
# - "
|
3297
|
-
# - "
|
3324
|
+
# - "emsy"
|
3325
|
+
# - "ont"
|
3326
|
+
# - "deliv"
|
3298
3327
|
# - "dynamex"
|
3299
3328
|
# - "lasership"
|
3300
|
-
# - "smartpost"
|
3301
|
-
# - "fedex smartpost"
|
3302
3329
|
# - "mpx"
|
3303
3330
|
# - "uds"
|
3304
|
-
# - "united delivery service"
|
3305
3331
|
# Corresponds to the JSON property `carrier`
|
3306
3332
|
# @return [String]
|
3307
3333
|
attr_accessor :carrier
|
@@ -3363,6 +3389,12 @@ module Google
|
|
3363
3389
|
# @return [String]
|
3364
3390
|
attr_accessor :line_item_id
|
3365
3391
|
|
3392
|
+
# The ID of the product to ship. This is the REST ID used in the products
|
3393
|
+
# service. Either lineItemId or productId is required.
|
3394
|
+
# Corresponds to the JSON property `productId`
|
3395
|
+
# @return [String]
|
3396
|
+
attr_accessor :product_id
|
3397
|
+
|
3366
3398
|
# The quantity that is shipped.
|
3367
3399
|
# Corresponds to the JSON property `quantity`
|
3368
3400
|
# @return [Fixnum]
|
@@ -3375,6 +3407,7 @@ module Google
|
|
3375
3407
|
# Update properties of this object
|
3376
3408
|
def update!(**args)
|
3377
3409
|
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
3410
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
3378
3411
|
@quantity = args[:quantity] if args.key?(:quantity)
|
3379
3412
|
end
|
3380
3413
|
end
|
@@ -3455,6 +3488,18 @@ module Google
|
|
3455
3488
|
# @return [Google::Apis::ContentV2::Price]
|
3456
3489
|
attr_accessor :amount
|
3457
3490
|
|
3491
|
+
# Amount to refund for the cancelation. Optional. If not set, Google will
|
3492
|
+
# calculate the default based on the price and tax of the items involved. The
|
3493
|
+
# amount must not be larger than the net amount left on the order.
|
3494
|
+
# Corresponds to the JSON property `amountPretax`
|
3495
|
+
# @return [Google::Apis::ContentV2::Price]
|
3496
|
+
attr_accessor :amount_pretax
|
3497
|
+
|
3498
|
+
# Tax amount that correspond to cancellation amount in amountPretax.
|
3499
|
+
# Corresponds to the JSON property `amountTax`
|
3500
|
+
# @return [Google::Apis::ContentV2::Price]
|
3501
|
+
attr_accessor :amount_tax
|
3502
|
+
|
3458
3503
|
# The ID of the line item to cancel. Either lineItemId or productId is required.
|
3459
3504
|
# Corresponds to the JSON property `lineItemId`
|
3460
3505
|
# @return [String]
|
@@ -3465,6 +3510,12 @@ module Google
|
|
3465
3510
|
# @return [String]
|
3466
3511
|
attr_accessor :operation_id
|
3467
3512
|
|
3513
|
+
# The ID of the product to cancel. This is the REST ID used in the products
|
3514
|
+
# service. Either lineItemId or productId is required.
|
3515
|
+
# Corresponds to the JSON property `productId`
|
3516
|
+
# @return [String]
|
3517
|
+
attr_accessor :product_id
|
3518
|
+
|
3468
3519
|
# The quantity to cancel.
|
3469
3520
|
# Corresponds to the JSON property `quantity`
|
3470
3521
|
# @return [Fixnum]
|
@@ -3487,8 +3538,11 @@ module Google
|
|
3487
3538
|
# Update properties of this object
|
3488
3539
|
def update!(**args)
|
3489
3540
|
@amount = args[:amount] if args.key?(:amount)
|
3541
|
+
@amount_pretax = args[:amount_pretax] if args.key?(:amount_pretax)
|
3542
|
+
@amount_tax = args[:amount_tax] if args.key?(:amount_tax)
|
3490
3543
|
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
3491
3544
|
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
3545
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
3492
3546
|
@quantity = args[:quantity] if args.key?(:quantity)
|
3493
3547
|
@reason = args[:reason] if args.key?(:reason)
|
3494
3548
|
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
@@ -3773,11 +3827,29 @@ module Google
|
|
3773
3827
|
# @return [Google::Apis::ContentV2::Price]
|
3774
3828
|
attr_accessor :amount
|
3775
3829
|
|
3830
|
+
# Amount to refund for the cancelation. Optional. If not set, Google will
|
3831
|
+
# calculate the default based on the price and tax of the items involved. The
|
3832
|
+
# amount must not be larger than the net amount left on the order.
|
3833
|
+
# Corresponds to the JSON property `amountPretax`
|
3834
|
+
# @return [Google::Apis::ContentV2::Price]
|
3835
|
+
attr_accessor :amount_pretax
|
3836
|
+
|
3837
|
+
# Tax amount that correspond to cancellation amount in amountPretax.
|
3838
|
+
# Corresponds to the JSON property `amountTax`
|
3839
|
+
# @return [Google::Apis::ContentV2::Price]
|
3840
|
+
attr_accessor :amount_tax
|
3841
|
+
|
3776
3842
|
# The ID of the line item to cancel. Either lineItemId or productId is required.
|
3777
3843
|
# Corresponds to the JSON property `lineItemId`
|
3778
3844
|
# @return [String]
|
3779
3845
|
attr_accessor :line_item_id
|
3780
3846
|
|
3847
|
+
# The ID of the product to cancel. This is the REST ID used in the products
|
3848
|
+
# service. Either lineItemId or productId is required.
|
3849
|
+
# Corresponds to the JSON property `productId`
|
3850
|
+
# @return [String]
|
3851
|
+
attr_accessor :product_id
|
3852
|
+
|
3781
3853
|
# The quantity to cancel.
|
3782
3854
|
# Corresponds to the JSON property `quantity`
|
3783
3855
|
# @return [Fixnum]
|
@@ -3800,7 +3872,10 @@ module Google
|
|
3800
3872
|
# Update properties of this object
|
3801
3873
|
def update!(**args)
|
3802
3874
|
@amount = args[:amount] if args.key?(:amount)
|
3875
|
+
@amount_pretax = args[:amount_pretax] if args.key?(:amount_pretax)
|
3876
|
+
@amount_tax = args[:amount_tax] if args.key?(:amount_tax)
|
3803
3877
|
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
3878
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
3804
3879
|
@quantity = args[:quantity] if args.key?(:quantity)
|
3805
3880
|
@reason = args[:reason] if args.key?(:reason)
|
3806
3881
|
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
@@ -3816,6 +3891,17 @@ module Google
|
|
3816
3891
|
# @return [Google::Apis::ContentV2::Price]
|
3817
3892
|
attr_accessor :amount
|
3818
3893
|
|
3894
|
+
# The amount that is refunded. Either amount or amountPretax and amountTax
|
3895
|
+
# should be filled.
|
3896
|
+
# Corresponds to the JSON property `amountPretax`
|
3897
|
+
# @return [Google::Apis::ContentV2::Price]
|
3898
|
+
attr_accessor :amount_pretax
|
3899
|
+
|
3900
|
+
# Tax amount that correspond to refund amount in amountPretax.
|
3901
|
+
# Corresponds to the JSON property `amountTax`
|
3902
|
+
# @return [Google::Apis::ContentV2::Price]
|
3903
|
+
attr_accessor :amount_tax
|
3904
|
+
|
3819
3905
|
# The reason for the refund.
|
3820
3906
|
# Corresponds to the JSON property `reason`
|
3821
3907
|
# @return [String]
|
@@ -3833,6 +3919,8 @@ module Google
|
|
3833
3919
|
# Update properties of this object
|
3834
3920
|
def update!(**args)
|
3835
3921
|
@amount = args[:amount] if args.key?(:amount)
|
3922
|
+
@amount_pretax = args[:amount_pretax] if args.key?(:amount_pretax)
|
3923
|
+
@amount_tax = args[:amount_tax] if args.key?(:amount_tax)
|
3836
3924
|
@reason = args[:reason] if args.key?(:reason)
|
3837
3925
|
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
3838
3926
|
end
|
@@ -3847,6 +3935,12 @@ module Google
|
|
3847
3935
|
# @return [String]
|
3848
3936
|
attr_accessor :line_item_id
|
3849
3937
|
|
3938
|
+
# The ID of the product to return. This is the REST ID used in the products
|
3939
|
+
# service. Either lineItemId or productId is required.
|
3940
|
+
# Corresponds to the JSON property `productId`
|
3941
|
+
# @return [String]
|
3942
|
+
attr_accessor :product_id
|
3943
|
+
|
3850
3944
|
# The quantity to return.
|
3851
3945
|
# Corresponds to the JSON property `quantity`
|
3852
3946
|
# @return [Fixnum]
|
@@ -3869,6 +3963,7 @@ module Google
|
|
3869
3963
|
# Update properties of this object
|
3870
3964
|
def update!(**args)
|
3871
3965
|
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
3966
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
3872
3967
|
@quantity = args[:quantity] if args.key?(:quantity)
|
3873
3968
|
@reason = args[:reason] if args.key?(:reason)
|
3874
3969
|
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
@@ -4156,6 +4251,17 @@ module Google
|
|
4156
4251
|
# @return [Google::Apis::ContentV2::Price]
|
4157
4252
|
attr_accessor :amount
|
4158
4253
|
|
4254
|
+
# The amount that is refunded. Either amount or amountPretax and amountTax
|
4255
|
+
# should be filled.
|
4256
|
+
# Corresponds to the JSON property `amountPretax`
|
4257
|
+
# @return [Google::Apis::ContentV2::Price]
|
4258
|
+
attr_accessor :amount_pretax
|
4259
|
+
|
4260
|
+
# Tax amount that correspond to refund amount in amountPretax.
|
4261
|
+
# Corresponds to the JSON property `amountTax`
|
4262
|
+
# @return [Google::Apis::ContentV2::Price]
|
4263
|
+
attr_accessor :amount_tax
|
4264
|
+
|
4159
4265
|
# The ID of the operation. Unique across all operations for a given order.
|
4160
4266
|
# Corresponds to the JSON property `operationId`
|
4161
4267
|
# @return [String]
|
@@ -4178,6 +4284,8 @@ module Google
|
|
4178
4284
|
# Update properties of this object
|
4179
4285
|
def update!(**args)
|
4180
4286
|
@amount = args[:amount] if args.key?(:amount)
|
4287
|
+
@amount_pretax = args[:amount_pretax] if args.key?(:amount_pretax)
|
4288
|
+
@amount_tax = args[:amount_tax] if args.key?(:amount_tax)
|
4181
4289
|
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
4182
4290
|
@reason = args[:reason] if args.key?(:reason)
|
4183
4291
|
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
@@ -4224,6 +4332,12 @@ module Google
|
|
4224
4332
|
# @return [String]
|
4225
4333
|
attr_accessor :operation_id
|
4226
4334
|
|
4335
|
+
# The ID of the product to return. This is the REST ID used in the products
|
4336
|
+
# service. Either lineItemId or productId is required.
|
4337
|
+
# Corresponds to the JSON property `productId`
|
4338
|
+
# @return [String]
|
4339
|
+
attr_accessor :product_id
|
4340
|
+
|
4227
4341
|
# The quantity to return.
|
4228
4342
|
# Corresponds to the JSON property `quantity`
|
4229
4343
|
# @return [Fixnum]
|
@@ -4247,6 +4361,7 @@ module Google
|
|
4247
4361
|
def update!(**args)
|
4248
4362
|
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
4249
4363
|
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
4364
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
4250
4365
|
@quantity = args[:quantity] if args.key?(:quantity)
|
4251
4366
|
@reason = args[:reason] if args.key?(:reason)
|
4252
4367
|
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
@@ -6282,6 +6397,12 @@ module Google
|
|
6282
6397
|
# @return [Array<Google::Apis::ContentV2::TestOrderLineItem>]
|
6283
6398
|
attr_accessor :line_items
|
6284
6399
|
|
6400
|
+
# Determines if test order must be pulled by merchant or pushed to merchant via
|
6401
|
+
# push integration.
|
6402
|
+
# Corresponds to the JSON property `notificationMode`
|
6403
|
+
# @return [String]
|
6404
|
+
attr_accessor :notification_mode
|
6405
|
+
|
6285
6406
|
# The details of the payment method.
|
6286
6407
|
# Corresponds to the JSON property `paymentMethod`
|
6287
6408
|
# @return [Google::Apis::ContentV2::TestOrderPaymentMethod]
|
@@ -6322,6 +6443,7 @@ module Google
|
|
6322
6443
|
@customer = args[:customer] if args.key?(:customer)
|
6323
6444
|
@kind = args[:kind] if args.key?(:kind)
|
6324
6445
|
@line_items = args[:line_items] if args.key?(:line_items)
|
6446
|
+
@notification_mode = args[:notification_mode] if args.key?(:notification_mode)
|
6325
6447
|
@payment_method = args[:payment_method] if args.key?(:payment_method)
|
6326
6448
|
@predefined_delivery_address = args[:predefined_delivery_address] if args.key?(:predefined_delivery_address)
|
6327
6449
|
@promotions = args[:promotions] if args.key?(:promotions)
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AccountGoogleMyBusinessLink
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class AccountIdentifier
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -976,6 +982,8 @@ module Google
|
|
976
982
|
property :adult_content, as: 'adultContent'
|
977
983
|
collection :adwords_links, as: 'adwordsLinks', class: Google::Apis::ContentV2::AccountAdwordsLink, decorator: Google::Apis::ContentV2::AccountAdwordsLink::Representation
|
978
984
|
|
985
|
+
property :google_my_business_link, as: 'googleMyBusinessLink', class: Google::Apis::ContentV2::AccountGoogleMyBusinessLink, decorator: Google::Apis::ContentV2::AccountGoogleMyBusinessLink::Representation
|
986
|
+
|
979
987
|
property :id, :numeric_string => true, as: 'id'
|
980
988
|
property :kind, as: 'kind'
|
981
989
|
property :name, as: 'name'
|
@@ -997,6 +1005,14 @@ module Google
|
|
997
1005
|
end
|
998
1006
|
end
|
999
1007
|
|
1008
|
+
class AccountGoogleMyBusinessLink
|
1009
|
+
# @private
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1011
|
+
property :gmb_email, as: 'gmbEmail'
|
1012
|
+
property :status, as: 'status'
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
|
1000
1016
|
class AccountIdentifier
|
1001
1017
|
# @private
|
1002
1018
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1885,6 +1901,7 @@ module Google
|
|
1885
1901
|
# @private
|
1886
1902
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1887
1903
|
property :line_item_id, as: 'lineItemId'
|
1904
|
+
property :product_id, as: 'productId'
|
1888
1905
|
property :quantity, as: 'quantity'
|
1889
1906
|
end
|
1890
1907
|
end
|
@@ -1916,8 +1933,13 @@ module Google
|
|
1916
1933
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1917
1934
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1918
1935
|
|
1936
|
+
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1937
|
+
|
1938
|
+
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1939
|
+
|
1919
1940
|
property :line_item_id, as: 'lineItemId'
|
1920
1941
|
property :operation_id, as: 'operationId'
|
1942
|
+
property :product_id, as: 'productId'
|
1921
1943
|
property :quantity, as: 'quantity'
|
1922
1944
|
property :reason, as: 'reason'
|
1923
1945
|
property :reason_text, as: 'reasonText'
|
@@ -2011,7 +2033,12 @@ module Google
|
|
2011
2033
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2012
2034
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2013
2035
|
|
2036
|
+
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2037
|
+
|
2038
|
+
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2039
|
+
|
2014
2040
|
property :line_item_id, as: 'lineItemId'
|
2041
|
+
property :product_id, as: 'productId'
|
2015
2042
|
property :quantity, as: 'quantity'
|
2016
2043
|
property :reason, as: 'reason'
|
2017
2044
|
property :reason_text, as: 'reasonText'
|
@@ -2023,6 +2050,10 @@ module Google
|
|
2023
2050
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2024
2051
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2025
2052
|
|
2053
|
+
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2054
|
+
|
2055
|
+
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2056
|
+
|
2026
2057
|
property :reason, as: 'reason'
|
2027
2058
|
property :reason_text, as: 'reasonText'
|
2028
2059
|
end
|
@@ -2032,6 +2063,7 @@ module Google
|
|
2032
2063
|
# @private
|
2033
2064
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2034
2065
|
property :line_item_id, as: 'lineItemId'
|
2066
|
+
property :product_id, as: 'productId'
|
2035
2067
|
property :quantity, as: 'quantity'
|
2036
2068
|
property :reason, as: 'reason'
|
2037
2069
|
property :reason_text, as: 'reasonText'
|
@@ -2125,6 +2157,10 @@ module Google
|
|
2125
2157
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2126
2158
|
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2127
2159
|
|
2160
|
+
property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2161
|
+
|
2162
|
+
property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2163
|
+
|
2128
2164
|
property :operation_id, as: 'operationId'
|
2129
2165
|
property :reason, as: 'reason'
|
2130
2166
|
property :reason_text, as: 'reasonText'
|
@@ -2144,6 +2180,7 @@ module Google
|
|
2144
2180
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2145
2181
|
property :line_item_id, as: 'lineItemId'
|
2146
2182
|
property :operation_id, as: 'operationId'
|
2183
|
+
property :product_id, as: 'productId'
|
2147
2184
|
property :quantity, as: 'quantity'
|
2148
2185
|
property :reason, as: 'reason'
|
2149
2186
|
property :reason_text, as: 'reasonText'
|
@@ -2706,6 +2743,7 @@ module Google
|
|
2706
2743
|
property :kind, as: 'kind'
|
2707
2744
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::TestOrderLineItem, decorator: Google::Apis::ContentV2::TestOrderLineItem::Representation
|
2708
2745
|
|
2746
|
+
property :notification_mode, as: 'notificationMode'
|
2709
2747
|
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation
|
2710
2748
|
|
2711
2749
|
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
|