google-api-client 0.23.7 → 0.23.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  5. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
  6. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  7. data/generated/google/apis/androidpublisher_v3/classes.rb +1 -0
  8. data/generated/google/apis/appengine_v1.rb +1 -1
  9. data/generated/google/apis/appengine_v1/classes.rb +5 -3
  10. data/generated/google/apis/appengine_v1beta.rb +1 -1
  11. data/generated/google/apis/appengine_v1beta/classes.rb +31 -3
  12. data/generated/google/apis/appengine_v1beta/representations.rb +15 -0
  13. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  14. data/generated/google/apis/appengine_v1beta4/classes.rb +5 -3
  15. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  16. data/generated/google/apis/appengine_v1beta5/classes.rb +5 -3
  17. data/generated/google/apis/bigquery_v2.rb +1 -1
  18. data/generated/google/apis/bigquery_v2/classes.rb +27 -22
  19. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  20. data/generated/google/apis/cloudkms_v1.rb +1 -1
  21. data/generated/google/apis/{mybusiness_v3.rb → cloudtasks_v2beta3.rb} +12 -10
  22. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1405 -0
  23. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +421 -0
  24. data/generated/google/apis/cloudtasks_v2beta3/service.rb +855 -0
  25. data/generated/google/apis/compute_alpha/classes.rb +178 -135
  26. data/generated/google/apis/compute_alpha/representations.rb +82 -52
  27. data/generated/google/apis/compute_alpha/service.rb +57 -4
  28. data/generated/google/apis/compute_beta/classes.rb +125 -125
  29. data/generated/google/apis/compute_beta/representations.rb +51 -51
  30. data/generated/google/apis/compute_beta/service.rb +4 -4
  31. data/generated/google/apis/content_v2.rb +1 -1
  32. data/generated/google/apis/content_v2/classes.rb +152 -0
  33. data/generated/google/apis/content_v2/representations.rb +77 -0
  34. data/generated/google/apis/content_v2/service.rb +40 -0
  35. data/generated/google/apis/content_v2sandbox.rb +1 -1
  36. data/generated/google/apis/content_v2sandbox/classes.rb +39 -0
  37. data/generated/google/apis/content_v2sandbox/representations.rb +26 -0
  38. data/generated/google/apis/content_v2sandbox/service.rb +40 -0
  39. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  40. data/generated/google/apis/dataproc_v1.rb +1 -1
  41. data/generated/google/apis/dataproc_v1/classes.rb +299 -0
  42. data/generated/google/apis/dataproc_v1/representations.rb +115 -0
  43. data/generated/google/apis/dataproc_v1/service.rb +540 -0
  44. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  45. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  46. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -3
  47. data/generated/google/apis/dialogflow_v2beta1/service.rb +226 -0
  48. data/generated/google/apis/dlp_v2.rb +1 -1
  49. data/generated/google/apis/dlp_v2/service.rb +54 -6
  50. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  51. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +85 -0
  52. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +32 -0
  53. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +30 -0
  54. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  55. data/generated/google/apis/iamcredentials_v1/classes.rb +97 -0
  56. data/generated/google/apis/iamcredentials_v1/representations.rb +28 -0
  57. data/generated/google/apis/iamcredentials_v1/service.rb +37 -0
  58. data/generated/google/apis/language_v1beta2.rb +1 -1
  59. data/generated/google/apis/language_v1beta2/classes.rb +8 -0
  60. data/generated/google/apis/redis_v1beta1.rb +1 -1
  61. data/generated/google/apis/redis_v1beta1/classes.rb +9 -0
  62. data/generated/google/apis/redis_v1beta1/representations.rb +1 -0
  63. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  64. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  65. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  66. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  67. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
  68. data/generated/google/apis/servicemanagement_v1/service.rb +4 -0
  69. data/generated/google/apis/serviceuser_v1.rb +1 -1
  70. data/generated/google/apis/serviceuser_v1/classes.rb +1 -1
  71. data/generated/google/apis/spanner_v1.rb +1 -1
  72. data/generated/google/apis/spanner_v1/classes.rb +56 -1
  73. data/generated/google/apis/spanner_v1/representations.rb +18 -0
  74. data/generated/google/apis/spanner_v1/service.rb +9 -3
  75. data/generated/google/apis/speech_v1.rb +1 -1
  76. data/generated/google/apis/speech_v1/classes.rb +11 -8
  77. data/generated/google/apis/storage_v1.rb +1 -1
  78. data/generated/google/apis/storage_v1/classes.rb +11 -1
  79. data/generated/google/apis/storage_v1/representations.rb +1 -0
  80. data/generated/google/apis/storage_v1/service.rb +1 -2
  81. data/generated/google/apis/testing_v1.rb +1 -1
  82. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  83. data/generated/google/apis/toolresults_v1beta3/classes.rb +14 -14
  84. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  85. data/lib/google/apis/version.rb +1 -1
  86. metadata +6 -6
  87. data/generated/google/apis/mybusiness_v3/classes.rb +0 -1864
  88. data/generated/google/apis/mybusiness_v3/representations.rb +0 -741
  89. data/generated/google/apis/mybusiness_v3/service.rb +0 -961
@@ -17415,18 +17415,18 @@ module Google
17415
17415
  # Request-specific options
17416
17416
  #
17417
17417
  # @yield [result, err] Result & error if block supplied
17418
- # @yieldparam result [Google::Apis::ComputeBeta::ResourcePoliciesList] parsed result object
17418
+ # @yieldparam result [Google::Apis::ComputeBeta::ResourcePolicyList] parsed result object
17419
17419
  # @yieldparam err [StandardError] error object if request failed
17420
17420
  #
17421
- # @return [Google::Apis::ComputeBeta::ResourcePoliciesList]
17421
+ # @return [Google::Apis::ComputeBeta::ResourcePolicyList]
17422
17422
  #
17423
17423
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17424
17424
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17425
17425
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17426
17426
  def list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17427
17427
  command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options)
17428
- command.response_representation = Google::Apis::ComputeBeta::ResourcePoliciesList::Representation
17429
- command.response_class = Google::Apis::ComputeBeta::ResourcePoliciesList
17428
+ command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyList::Representation
17429
+ command.response_class = Google::Apis::ComputeBeta::ResourcePolicyList
17430
17430
  command.params['project'] = project unless project.nil?
17431
17431
  command.params['region'] = region unless region.nil?
17432
17432
  command.query['filter'] = filter unless filter.nil?
@@ -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 = '20180821'
29
+ REVISION = '20180829'
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,11 @@ module Google
41
41
  # @return [Array<Google::Apis::ContentV2::AccountAdwordsLink>]
42
42
  attr_accessor :adwords_links
43
43
 
44
+ # The business information of the account.
45
+ # Corresponds to the JSON property `businessInformation`
46
+ # @return [Google::Apis::ContentV2::AccountBusinessInformation]
47
+ attr_accessor :business_information
48
+
44
49
  # The GMB account which is linked or in the process of being linked with the
45
50
  # Merchant Center account.
46
51
  # Corresponds to the JSON property `googleMyBusinessLink`
@@ -101,6 +106,7 @@ module Google
101
106
  def update!(**args)
102
107
  @adult_content = args[:adult_content] if args.key?(:adult_content)
103
108
  @adwords_links = args[:adwords_links] if args.key?(:adwords_links)
109
+ @business_information = args[:business_information] if args.key?(:business_information)
104
110
  @google_my_business_link = args[:google_my_business_link] if args.key?(:google_my_business_link)
105
111
  @id = args[:id] if args.key?(:id)
106
112
  @kind = args[:kind] if args.key?(:kind)
@@ -113,6 +119,51 @@ module Google
113
119
  end
114
120
  end
115
121
 
122
+ #
123
+ class AccountAddress
124
+ include Google::Apis::Core::Hashable
125
+
126
+ # CLDR country code (e.g. "US").
127
+ # Corresponds to the JSON property `country`
128
+ # @return [String]
129
+ attr_accessor :country
130
+
131
+ # City, town or commune. May also include dependent localities or sublocalities (
132
+ # e.g. neighborhoods or suburbs).
133
+ # Corresponds to the JSON property `locality`
134
+ # @return [String]
135
+ attr_accessor :locality
136
+
137
+ # Postal code or ZIP (e.g. "94043").
138
+ # Corresponds to the JSON property `postalCode`
139
+ # @return [String]
140
+ attr_accessor :postal_code
141
+
142
+ # Top-level administrative subdivision of the country. For example, a state like
143
+ # California ("CA") or a province like Quebec ("QC").
144
+ # Corresponds to the JSON property `region`
145
+ # @return [String]
146
+ attr_accessor :region
147
+
148
+ # Street-level part of the address.
149
+ # Corresponds to the JSON property `streetAddress`
150
+ # @return [String]
151
+ attr_accessor :street_address
152
+
153
+ def initialize(**args)
154
+ update!(**args)
155
+ end
156
+
157
+ # Update properties of this object
158
+ def update!(**args)
159
+ @country = args[:country] if args.key?(:country)
160
+ @locality = args[:locality] if args.key?(:locality)
161
+ @postal_code = args[:postal_code] if args.key?(:postal_code)
162
+ @region = args[:region] if args.key?(:region)
163
+ @street_address = args[:street_address] if args.key?(:street_address)
164
+ end
165
+ end
166
+
116
167
  #
117
168
  class AccountAdwordsLink
118
169
  include Google::Apis::Core::Hashable
@@ -146,6 +197,68 @@ module Google
146
197
  end
147
198
  end
148
199
 
200
+ #
201
+ class AccountBusinessInformation
202
+ include Google::Apis::Core::Hashable
203
+
204
+ # The address of the business.
205
+ # Corresponds to the JSON property `address`
206
+ # @return [Google::Apis::ContentV2::AccountAddress]
207
+ attr_accessor :address
208
+
209
+ # The customer service information of the business.
210
+ # Corresponds to the JSON property `customerService`
211
+ # @return [Google::Apis::ContentV2::AccountCustomerService]
212
+ attr_accessor :customer_service
213
+
214
+ # The phone number of the business.
215
+ # Corresponds to the JSON property `phoneNumber`
216
+ # @return [String]
217
+ attr_accessor :phone_number
218
+
219
+ def initialize(**args)
220
+ update!(**args)
221
+ end
222
+
223
+ # Update properties of this object
224
+ def update!(**args)
225
+ @address = args[:address] if args.key?(:address)
226
+ @customer_service = args[:customer_service] if args.key?(:customer_service)
227
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
228
+ end
229
+ end
230
+
231
+ #
232
+ class AccountCustomerService
233
+ include Google::Apis::Core::Hashable
234
+
235
+ # Customer service email.
236
+ # Corresponds to the JSON property `email`
237
+ # @return [String]
238
+ attr_accessor :email
239
+
240
+ # Customer service phone number.
241
+ # Corresponds to the JSON property `phoneNumber`
242
+ # @return [String]
243
+ attr_accessor :phone_number
244
+
245
+ # Customer service URL.
246
+ # Corresponds to the JSON property `url`
247
+ # @return [String]
248
+ attr_accessor :url
249
+
250
+ def initialize(**args)
251
+ update!(**args)
252
+ end
253
+
254
+ # Update properties of this object
255
+ def update!(**args)
256
+ @email = args[:email] if args.key?(:email)
257
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
258
+ @url = args[:url] if args.key?(:url)
259
+ end
260
+ end
261
+
149
262
  #
150
263
  class AccountGoogleMyBusinessLink
151
264
  include Google::Apis::Core::Hashable
@@ -5436,6 +5549,45 @@ module Google
5436
5549
  end
5437
5550
  end
5438
5551
 
5552
+ #
5553
+ class OrdersCancelTestOrderByCustomerRequest
5554
+ include Google::Apis::Core::Hashable
5555
+
5556
+ # The reason for the cancellation.
5557
+ # Corresponds to the JSON property `reason`
5558
+ # @return [String]
5559
+ attr_accessor :reason
5560
+
5561
+ def initialize(**args)
5562
+ update!(**args)
5563
+ end
5564
+
5565
+ # Update properties of this object
5566
+ def update!(**args)
5567
+ @reason = args[:reason] if args.key?(:reason)
5568
+ end
5569
+ end
5570
+
5571
+ #
5572
+ class OrdersCancelTestOrderByCustomerResponse
5573
+ include Google::Apis::Core::Hashable
5574
+
5575
+ # Identifies what kind of resource this is. Value: the fixed string "content#
5576
+ # ordersCancelTestOrderByCustomerResponse".
5577
+ # Corresponds to the JSON property `kind`
5578
+ # @return [String]
5579
+ attr_accessor :kind
5580
+
5581
+ def initialize(**args)
5582
+ update!(**args)
5583
+ end
5584
+
5585
+ # Update properties of this object
5586
+ def update!(**args)
5587
+ @kind = args[:kind] if args.key?(:kind)
5588
+ end
5589
+ end
5590
+
5439
5591
  #
5440
5592
  class OrdersCreateTestOrderRequest
5441
5593
  include Google::Apis::Core::Hashable
@@ -28,12 +28,30 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AccountAddress
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AccountAdwordsLink
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
34
40
  include Google::Apis::Core::JsonObjectSupport
35
41
  end
36
42
 
43
+ class AccountBusinessInformation
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AccountCustomerService
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
37
55
  class AccountGoogleMyBusinessLink
38
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
57
 
@@ -862,6 +880,18 @@ module Google
862
880
  include Google::Apis::Core::JsonObjectSupport
863
881
  end
864
882
 
883
+ class OrdersCancelTestOrderByCustomerRequest
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
889
+ class OrdersCancelTestOrderByCustomerResponse
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
865
895
  class OrdersCreateTestOrderRequest
866
896
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
897
 
@@ -1522,6 +1552,8 @@ module Google
1522
1552
  property :adult_content, as: 'adultContent'
1523
1553
  collection :adwords_links, as: 'adwordsLinks', class: Google::Apis::ContentV2::AccountAdwordsLink, decorator: Google::Apis::ContentV2::AccountAdwordsLink::Representation
1524
1554
 
1555
+ property :business_information, as: 'businessInformation', class: Google::Apis::ContentV2::AccountBusinessInformation, decorator: Google::Apis::ContentV2::AccountBusinessInformation::Representation
1556
+
1525
1557
  property :google_my_business_link, as: 'googleMyBusinessLink', class: Google::Apis::ContentV2::AccountGoogleMyBusinessLink, decorator: Google::Apis::ContentV2::AccountGoogleMyBusinessLink::Representation
1526
1558
 
1527
1559
  property :id, :numeric_string => true, as: 'id'
@@ -1537,6 +1569,17 @@ module Google
1537
1569
  end
1538
1570
  end
1539
1571
 
1572
+ class AccountAddress
1573
+ # @private
1574
+ class Representation < Google::Apis::Core::JsonRepresentation
1575
+ property :country, as: 'country'
1576
+ property :locality, as: 'locality'
1577
+ property :postal_code, as: 'postalCode'
1578
+ property :region, as: 'region'
1579
+ property :street_address, as: 'streetAddress'
1580
+ end
1581
+ end
1582
+
1540
1583
  class AccountAdwordsLink
1541
1584
  # @private
1542
1585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1545,6 +1588,26 @@ module Google
1545
1588
  end
1546
1589
  end
1547
1590
 
1591
+ class AccountBusinessInformation
1592
+ # @private
1593
+ class Representation < Google::Apis::Core::JsonRepresentation
1594
+ property :address, as: 'address', class: Google::Apis::ContentV2::AccountAddress, decorator: Google::Apis::ContentV2::AccountAddress::Representation
1595
+
1596
+ property :customer_service, as: 'customerService', class: Google::Apis::ContentV2::AccountCustomerService, decorator: Google::Apis::ContentV2::AccountCustomerService::Representation
1597
+
1598
+ property :phone_number, as: 'phoneNumber'
1599
+ end
1600
+ end
1601
+
1602
+ class AccountCustomerService
1603
+ # @private
1604
+ class Representation < Google::Apis::Core::JsonRepresentation
1605
+ property :email, as: 'email'
1606
+ property :phone_number, as: 'phoneNumber'
1607
+ property :url, as: 'url'
1608
+ end
1609
+ end
1610
+
1548
1611
  class AccountGoogleMyBusinessLink
1549
1612
  # @private
1550
1613
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3045,6 +3108,20 @@ module Google
3045
3108
  end
3046
3109
  end
3047
3110
 
3111
+ class OrdersCancelTestOrderByCustomerRequest
3112
+ # @private
3113
+ class Representation < Google::Apis::Core::JsonRepresentation
3114
+ property :reason, as: 'reason'
3115
+ end
3116
+ end
3117
+
3118
+ class OrdersCancelTestOrderByCustomerResponse
3119
+ # @private
3120
+ class Representation < Google::Apis::Core::JsonRepresentation
3121
+ property :kind, as: 'kind'
3122
+ end
3123
+ end
3124
+
3048
3125
  class OrdersCreateTestOrderRequest
3049
3126
  # @private
3050
3127
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2248,6 +2248,46 @@ module Google
2248
2248
  execute_or_queue_command(command, &block)
2249
2249
  end
2250
2250
 
2251
+ # Sandbox only. Cancels a test order for customer-initiated cancellation.
2252
+ # @param [Fixnum] merchant_id
2253
+ # The ID of the account that manages the order. This cannot be a multi-client
2254
+ # account.
2255
+ # @param [String] order_id
2256
+ # The ID of the test order to cancel.
2257
+ # @param [Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest] orders_cancel_test_order_by_customer_request_object
2258
+ # @param [String] fields
2259
+ # Selector specifying which fields to include in a partial response.
2260
+ # @param [String] quota_user
2261
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2262
+ # characters.
2263
+ # @param [String] user_ip
2264
+ # Deprecated. Please use quotaUser instead.
2265
+ # @param [Google::Apis::RequestOptions] options
2266
+ # Request-specific options
2267
+ #
2268
+ # @yield [result, err] Result & error if block supplied
2269
+ # @yieldparam result [Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse] parsed result object
2270
+ # @yieldparam err [StandardError] error object if request failed
2271
+ #
2272
+ # @return [Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse]
2273
+ #
2274
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2275
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2276
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2277
+ def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2278
+ command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
2279
+ command.request_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest::Representation
2280
+ command.request_object = orders_cancel_test_order_by_customer_request_object
2281
+ command.response_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse::Representation
2282
+ command.response_class = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse
2283
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2284
+ command.params['orderId'] = order_id unless order_id.nil?
2285
+ command.query['fields'] = fields unless fields.nil?
2286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2287
+ command.query['userIp'] = user_ip unless user_ip.nil?
2288
+ execute_or_queue_command(command, &block)
2289
+ end
2290
+
2251
2291
  # Sandbox only. Creates a test order.
2252
2292
  # @param [Fixnum] merchant_id
2253
2293
  # The ID of the account that should manage the order. This cannot be a multi-
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2sandbox
28
28
  VERSION = 'V2sandbox'
29
- REVISION = '20180821'
29
+ REVISION = '20180829'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -1871,6 +1871,45 @@ module Google
1871
1871
  end
1872
1872
  end
1873
1873
 
1874
+ #
1875
+ class OrdersCancelTestOrderByCustomerRequest
1876
+ include Google::Apis::Core::Hashable
1877
+
1878
+ # The reason for the cancellation.
1879
+ # Corresponds to the JSON property `reason`
1880
+ # @return [String]
1881
+ attr_accessor :reason
1882
+
1883
+ def initialize(**args)
1884
+ update!(**args)
1885
+ end
1886
+
1887
+ # Update properties of this object
1888
+ def update!(**args)
1889
+ @reason = args[:reason] if args.key?(:reason)
1890
+ end
1891
+ end
1892
+
1893
+ #
1894
+ class OrdersCancelTestOrderByCustomerResponse
1895
+ include Google::Apis::Core::Hashable
1896
+
1897
+ # Identifies what kind of resource this is. Value: the fixed string "content#
1898
+ # ordersCancelTestOrderByCustomerResponse".
1899
+ # Corresponds to the JSON property `kind`
1900
+ # @return [String]
1901
+ attr_accessor :kind
1902
+
1903
+ def initialize(**args)
1904
+ update!(**args)
1905
+ end
1906
+
1907
+ # Update properties of this object
1908
+ def update!(**args)
1909
+ @kind = args[:kind] if args.key?(:kind)
1910
+ end
1911
+ end
1912
+
1874
1913
  #
1875
1914
  class OrdersCreateTestOrderRequest
1876
1915
  include Google::Apis::Core::Hashable
@@ -298,6 +298,18 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class OrdersCancelTestOrderByCustomerRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class OrdersCancelTestOrderByCustomerResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
301
313
  class OrdersCreateTestOrderRequest
302
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
315
 
@@ -1140,6 +1152,20 @@ module Google
1140
1152
  end
1141
1153
  end
1142
1154
 
1155
+ class OrdersCancelTestOrderByCustomerRequest
1156
+ # @private
1157
+ class Representation < Google::Apis::Core::JsonRepresentation
1158
+ property :reason, as: 'reason'
1159
+ end
1160
+ end
1161
+
1162
+ class OrdersCancelTestOrderByCustomerResponse
1163
+ # @private
1164
+ class Representation < Google::Apis::Core::JsonRepresentation
1165
+ property :kind, as: 'kind'
1166
+ end
1167
+ end
1168
+
1143
1169
  class OrdersCreateTestOrderRequest
1144
1170
  # @private
1145
1171
  class Representation < Google::Apis::Core::JsonRepresentation