google-api-client 0.23.5 → 0.23.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/cloudtrace_v1.rb +4 -2
  5. data/generated/google/apis/cloudtrace_v1/service.rb +3 -1
  6. data/generated/google/apis/cloudtrace_v2.rb +4 -2
  7. data/generated/google/apis/cloudtrace_v2/service.rb +3 -1
  8. data/generated/google/apis/container_v1.rb +1 -1
  9. data/generated/google/apis/container_v1/classes.rb +6 -3
  10. data/generated/google/apis/container_v1beta1.rb +1 -1
  11. data/generated/google/apis/container_v1beta1/classes.rb +51 -1
  12. data/generated/google/apis/container_v1beta1/representations.rb +18 -0
  13. data/generated/google/apis/content_v2.rb +1 -1
  14. data/generated/google/apis/content_v2/classes.rb +174 -0
  15. data/generated/google/apis/content_v2/representations.rb +73 -0
  16. data/generated/google/apis/content_v2/service.rb +100 -1
  17. data/generated/google/apis/content_v2sandbox.rb +1 -1
  18. data/generated/google/apis/content_v2sandbox/service.rb +2 -1
  19. data/generated/google/apis/dlp_v2.rb +1 -1
  20. data/generated/google/apis/dlp_v2/classes.rb +9 -7
  21. data/generated/google/apis/dlp_v2/service.rb +2 -0
  22. data/generated/google/apis/drive_v2.rb +1 -1
  23. data/generated/google/apis/drive_v2/classes.rb +72 -6
  24. data/generated/google/apis/drive_v2/representations.rb +8 -0
  25. data/generated/google/apis/drive_v3.rb +1 -1
  26. data/generated/google/apis/drive_v3/classes.rb +72 -6
  27. data/generated/google/apis/drive_v3/representations.rb +8 -0
  28. data/generated/google/apis/firestore_v1.rb +3 -2
  29. data/generated/google/apis/firestore_v1/service.rb +2 -1
  30. data/generated/google/apis/firestore_v1beta1.rb +3 -2
  31. data/generated/google/apis/firestore_v1beta1/service.rb +2 -1
  32. data/generated/google/apis/firestore_v1beta2.rb +3 -2
  33. data/generated/google/apis/firestore_v1beta2/service.rb +2 -1
  34. data/generated/google/apis/gmail_v1.rb +1 -1
  35. data/generated/google/apis/gmail_v1/classes.rb +47 -0
  36. data/generated/google/apis/gmail_v1/representations.rb +28 -0
  37. data/generated/google/apis/gmail_v1/service.rb +165 -0
  38. data/generated/google/apis/jobs_v2.rb +2 -2
  39. data/generated/google/apis/jobs_v2/classes.rb +4 -1
  40. data/generated/google/apis/jobs_v2/service.rb +1 -1
  41. data/generated/google/apis/jobs_v3.rb +38 -0
  42. data/generated/google/apis/jobs_v3/classes.rb +2587 -0
  43. data/generated/google/apis/jobs_v3/representations.rb +872 -0
  44. data/generated/google/apis/jobs_v3/service.rb +652 -0
  45. data/generated/google/apis/testing_v1.rb +1 -1
  46. data/generated/google/apis/testing_v1/classes.rb +7 -0
  47. data/generated/google/apis/testing_v1/representations.rb +1 -0
  48. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  49. data/lib/google/apis/version.rb +1 -1
  50. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2c714b0d1f2851a14ad2ff6df030b1e212a07fe
4
- data.tar.gz: 98d3189bd89f169aa2a66fab86a5caf70756354d
3
+ metadata.gz: 9fdd47def02e16be31d8736300d183686b5ec667
4
+ data.tar.gz: 4f2869522909f82e5b1de5c76c5ab953c93f1cdd
5
5
  SHA512:
6
- metadata.gz: 2742285ecd39e382584cac5bb5ba3ed511e5e74136991462bb22c67bf68da242d7db9154cabecab5e44ee0c2a50a2adda3096920177b9423134cd4350fb531de
7
- data.tar.gz: df54806fc9a6f15b061ce4ac0918dd7147fad9ebb112cb4a16eb7342ff7a119612a4d11c313734050e19b7d3c94e731597fb16ef61303b101083ef8a724bf24b
6
+ metadata.gz: aa354a5a3bc46ad83b5b765d34bba06dad4c7f42e3c11bea3799a66cc429b5213c0e07903268a4f2399b69d02d9c9fec4356ab23c77defc5066a54f67dbc4822
7
+ data.tar.gz: c64a737190b2f1c1f74ee0c569bef08a362ad1d74f170684dbc57bdcfb05008ee75ed74b237e7e822bf7a3b866059d42ff4f7ac6a105865398bc83bff18ae3e0
@@ -1,3 +1,24 @@
1
+ # 0.23.6
2
+ * Backwards compatible changes:
3
+ * Added `jobs_v3`
4
+ * Updated `adexperiencereport_v1`
5
+ * Updated `cloudtrace_v1`
6
+ * Updated `cloudtrace_v2`
7
+ * Updated `container_v1`
8
+ * Updated `container_v1beta1`
9
+ * Updated `content_v2`
10
+ * Updated `content_v2sandbox`
11
+ * Updated `dlp_v2`
12
+ * Updated `drive_v2`
13
+ * Updated `drive_v3`
14
+ * Updated `firestore_v1`
15
+ * Updated `firestore_v1beta1`
16
+ * Updated `firestore_v1beta2`
17
+ * Updated `gmail_v1`
18
+ * Updated `jobs_v2`
19
+ * Updated `testing_v1`
20
+ * Updated `youtube_partner_v1`
21
+
1
22
  # 0.23.5
2
23
  * Backwards compatible changes:
3
24
  * Added `binaryauthorization_v1beta1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-experience-report/
27
27
  module AdexperiencereportV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180807'
29
+ REVISION = '20180821'
30
30
 
31
31
  # Test scope for access to the Zoo service
32
32
  AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo'
@@ -22,12 +22,14 @@ module Google
22
22
  #
23
23
  # Sends application trace data to Stackdriver Trace for viewing. Trace data is
24
24
  # collected for all App Engine applications by default. Trace data from other
25
- # applications can be provided using this API.
25
+ # applications can be provided using this API. This library is used to interact
26
+ # with the Trace API directly. If you are looking to instrument your application
27
+ # for Stackdriver Trace, we recommend using OpenCensus.
26
28
  #
27
29
  # @see https://cloud.google.com/trace
28
30
  module CloudtraceV1
29
31
  VERSION = 'V1'
30
- REVISION = '20180813'
32
+ REVISION = '20180820'
31
33
 
32
34
  # View and manage your data across Google Cloud Platform services
33
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -24,7 +24,9 @@ module Google
24
24
  #
25
25
  # Sends application trace data to Stackdriver Trace for viewing. Trace data is
26
26
  # collected for all App Engine applications by default. Trace data from other
27
- # applications can be provided using this API.
27
+ # applications can be provided using this API. This library is used to interact
28
+ # with the Trace API directly. If you are looking to instrument your application
29
+ # for Stackdriver Trace, we recommend using OpenCensus.
28
30
  #
29
31
  # @example
30
32
  # require 'google/apis/cloudtrace_v1'
@@ -22,12 +22,14 @@ module Google
22
22
  #
23
23
  # Sends application trace data to Stackdriver Trace for viewing. Trace data is
24
24
  # collected for all App Engine applications by default. Trace data from other
25
- # applications can be provided using this API.
25
+ # applications can be provided using this API. This library is used to interact
26
+ # with the Trace API directly. If you are looking to instrument your application
27
+ # for Stackdriver Trace, we recommend using OpenCensus.
26
28
  #
27
29
  # @see https://cloud.google.com/trace
28
30
  module CloudtraceV2
29
31
  VERSION = 'V2'
30
- REVISION = '20180813'
32
+ REVISION = '20180820'
31
33
 
32
34
  # View and manage your data across Google Cloud Platform services
33
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -24,7 +24,9 @@ module Google
24
24
  #
25
25
  # Sends application trace data to Stackdriver Trace for viewing. Trace data is
26
26
  # collected for all App Engine applications by default. Trace data from other
27
- # applications can be provided using this API.
27
+ # applications can be provided using this API. This library is used to interact
28
+ # with the Trace API directly. If you are looking to instrument your application
29
+ # for Stackdriver Trace, we recommend using OpenCensus.
28
30
  #
29
31
  # @example
30
32
  # require 'google/apis/cloudtrace_v2'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180807'
29
+ REVISION = '20180813'
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'
@@ -242,9 +242,12 @@ module Google
242
242
  # @return [Fixnum]
243
243
  attr_accessor :current_node_count
244
244
 
245
- # [Output only] The current version of the node software components.
246
- # If they are currently at multiple versions because they're in the process
247
- # of being upgraded, this reflects the minimum version of all nodes.
245
+ # [Output only] Deprecated, use
246
+ # [NodePool.version](/kubernetes-engine/docs/reference/rest/v1/projects.zones.
247
+ # clusters.nodePool)
248
+ # instead. The current version of the node software components. If they are
249
+ # currently at multiple versions because they're in the process of being
250
+ # upgraded, this reflects the minimum version of all nodes.
248
251
  # Corresponds to the JSON property `currentNodeVersion`
249
252
  # @return [String]
250
253
  attr_accessor :current_node_version
@@ -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 = '20180807'
29
+ REVISION = '20180813'
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'
@@ -276,7 +276,10 @@ module Google
276
276
  # @return [Fixnum]
277
277
  attr_accessor :current_node_count
278
278
 
279
- # [Output only] The current version of the node software components.
279
+ # [Output only] Deprecated, use
280
+ # [NodePool.version](/kubernetes-engine/docs/reference/rest/v1beta1/projects.
281
+ # zones.clusters.nodePool)
282
+ # instead. The current version of the node software components.
280
283
  # If they are currently at multiple versions because they're in the process
281
284
  # of being upgraded, this reflects the minimum version of all nodes.
282
285
  # Corresponds to the JSON property `currentNodeVersion`
@@ -3262,6 +3265,19 @@ module Google
3262
3265
  # @return [String]
3263
3266
  attr_accessor :network
3264
3267
 
3268
+ # Secondary IP ranges.
3269
+ # Corresponds to the JSON property `secondaryIpRanges`
3270
+ # @return [Array<Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange>]
3271
+ attr_accessor :secondary_ip_ranges
3272
+
3273
+ # A human readable status message representing the reasons for cases where
3274
+ # the caller cannot use the secondary ranges under the subnet. For example if
3275
+ # the secondary_ip_ranges is empty due to a permission issue, an insufficient
3276
+ # permission message will be given by status_message.
3277
+ # Corresponds to the JSON property `statusMessage`
3278
+ # @return [String]
3279
+ attr_accessor :status_message
3280
+
3265
3281
  # Subnetwork Name.
3266
3282
  # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
3267
3283
  # Corresponds to the JSON property `subnetwork`
@@ -3276,10 +3292,44 @@ module Google
3276
3292
  def update!(**args)
3277
3293
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
3278
3294
  @network = args[:network] if args.key?(:network)
3295
+ @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
3296
+ @status_message = args[:status_message] if args.key?(:status_message)
3279
3297
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
3280
3298
  end
3281
3299
  end
3282
3300
 
3301
+ # Secondary IP range of a usable subnetwork.
3302
+ class UsableSubnetworkSecondaryRange
3303
+ include Google::Apis::Core::Hashable
3304
+
3305
+ # The range of IP addresses belonging to this subnetwork secondary range.
3306
+ # Corresponds to the JSON property `ipCidrRange`
3307
+ # @return [String]
3308
+ attr_accessor :ip_cidr_range
3309
+
3310
+ # The name associated with this subnetwork secondary range, used when adding
3311
+ # an alias IP range to a VM instance.
3312
+ # Corresponds to the JSON property `rangeName`
3313
+ # @return [String]
3314
+ attr_accessor :range_name
3315
+
3316
+ # This field is to determine the status of the secondary range programmably.
3317
+ # Corresponds to the JSON property `status`
3318
+ # @return [String]
3319
+ attr_accessor :status
3320
+
3321
+ def initialize(**args)
3322
+ update!(**args)
3323
+ end
3324
+
3325
+ # Update properties of this object
3326
+ def update!(**args)
3327
+ @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
3328
+ @range_name = args[:range_name] if args.key?(:range_name)
3329
+ @status = args[:status] if args.key?(:status)
3330
+ end
3331
+ end
3332
+
3283
3333
  # WorkloadMetadataConfig defines the metadata configuration to expose to
3284
3334
  # workloads on the node pool.
3285
3335
  class WorkloadMetadataConfig
@@ -406,6 +406,12 @@ module Google
406
406
  include Google::Apis::Core::JsonObjectSupport
407
407
  end
408
408
 
409
+ class UsableSubnetworkSecondaryRange
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
409
415
  class WorkloadMetadataConfig
410
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
417
 
@@ -1149,10 +1155,22 @@ module Google
1149
1155
  class Representation < Google::Apis::Core::JsonRepresentation
1150
1156
  property :ip_cidr_range, as: 'ipCidrRange'
1151
1157
  property :network, as: 'network'
1158
+ collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange::Representation
1159
+
1160
+ property :status_message, as: 'statusMessage'
1152
1161
  property :subnetwork, as: 'subnetwork'
1153
1162
  end
1154
1163
  end
1155
1164
 
1165
+ class UsableSubnetworkSecondaryRange
1166
+ # @private
1167
+ class Representation < Google::Apis::Core::JsonRepresentation
1168
+ property :ip_cidr_range, as: 'ipCidrRange'
1169
+ property :range_name, as: 'rangeName'
1170
+ property :status, as: 'status'
1171
+ end
1172
+ end
1173
+
1156
1174
  class WorkloadMetadataConfig
1157
1175
  # @private
1158
1176
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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 = '20180809'
29
+ REVISION = '20180821'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -4505,6 +4505,116 @@ module Google
4505
4505
  end
4506
4506
  end
4507
4507
 
4508
+ #
4509
+ class OrderReportDisbursement
4510
+ include Google::Apis::Core::Hashable
4511
+
4512
+ # The disbursement amount.
4513
+ # Corresponds to the JSON property `disbursementAmount`
4514
+ # @return [Google::Apis::ContentV2::Price]
4515
+ attr_accessor :disbursement_amount
4516
+
4517
+ # The disbursement date, in ISO 8601 format.
4518
+ # Corresponds to the JSON property `disbursementCreationDate`
4519
+ # @return [String]
4520
+ attr_accessor :disbursement_creation_date
4521
+
4522
+ # The date the disbursement was initiated, in ISO 8601 format.
4523
+ # Corresponds to the JSON property `disbursementDate`
4524
+ # @return [String]
4525
+ attr_accessor :disbursement_date
4526
+
4527
+ # The ID of the disbursement.
4528
+ # Corresponds to the JSON property `disbursementId`
4529
+ # @return [String]
4530
+ attr_accessor :disbursement_id
4531
+
4532
+ # The ID of the managing account.
4533
+ # Corresponds to the JSON property `merchantId`
4534
+ # @return [Fixnum]
4535
+ attr_accessor :merchant_id
4536
+
4537
+ def initialize(**args)
4538
+ update!(**args)
4539
+ end
4540
+
4541
+ # Update properties of this object
4542
+ def update!(**args)
4543
+ @disbursement_amount = args[:disbursement_amount] if args.key?(:disbursement_amount)
4544
+ @disbursement_creation_date = args[:disbursement_creation_date] if args.key?(:disbursement_creation_date)
4545
+ @disbursement_date = args[:disbursement_date] if args.key?(:disbursement_date)
4546
+ @disbursement_id = args[:disbursement_id] if args.key?(:disbursement_id)
4547
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
4548
+ end
4549
+ end
4550
+
4551
+ #
4552
+ class OrderReportTransaction
4553
+ include Google::Apis::Core::Hashable
4554
+
4555
+ # The disbursement amount.
4556
+ # Corresponds to the JSON property `disbursementAmount`
4557
+ # @return [Google::Apis::ContentV2::Price]
4558
+ attr_accessor :disbursement_amount
4559
+
4560
+ # The date the disbursement was created, in ISO 8601 format.
4561
+ # Corresponds to the JSON property `disbursementCreationDate`
4562
+ # @return [String]
4563
+ attr_accessor :disbursement_creation_date
4564
+
4565
+ # The date the disbursement was initiated, in ISO 8601 format.
4566
+ # Corresponds to the JSON property `disbursementDate`
4567
+ # @return [String]
4568
+ attr_accessor :disbursement_date
4569
+
4570
+ # The ID of the disbursement.
4571
+ # Corresponds to the JSON property `disbursementId`
4572
+ # @return [String]
4573
+ attr_accessor :disbursement_id
4574
+
4575
+ # The ID of the managing account.
4576
+ # Corresponds to the JSON property `merchantId`
4577
+ # @return [Fixnum]
4578
+ attr_accessor :merchant_id
4579
+
4580
+ # Merchant-provided id of the order.
4581
+ # Corresponds to the JSON property `merchantOrderId`
4582
+ # @return [String]
4583
+ attr_accessor :merchant_order_id
4584
+
4585
+ # The id of the order.
4586
+ # Corresponds to the JSON property `orderId`
4587
+ # @return [String]
4588
+ attr_accessor :order_id
4589
+
4590
+ # Total amount for the items.
4591
+ # Corresponds to the JSON property `productAmount`
4592
+ # @return [Google::Apis::ContentV2::Amount]
4593
+ attr_accessor :product_amount
4594
+
4595
+ # The date of the transaction, in ISO 8601 format.
4596
+ # Corresponds to the JSON property `transactionDate`
4597
+ # @return [String]
4598
+ attr_accessor :transaction_date
4599
+
4600
+ def initialize(**args)
4601
+ update!(**args)
4602
+ end
4603
+
4604
+ # Update properties of this object
4605
+ def update!(**args)
4606
+ @disbursement_amount = args[:disbursement_amount] if args.key?(:disbursement_amount)
4607
+ @disbursement_creation_date = args[:disbursement_creation_date] if args.key?(:disbursement_creation_date)
4608
+ @disbursement_date = args[:disbursement_date] if args.key?(:disbursement_date)
4609
+ @disbursement_id = args[:disbursement_id] if args.key?(:disbursement_id)
4610
+ @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
4611
+ @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
4612
+ @order_id = args[:order_id] if args.key?(:order_id)
4613
+ @product_amount = args[:product_amount] if args.key?(:product_amount)
4614
+ @transaction_date = args[:transaction_date] if args.key?(:transaction_date)
4615
+ end
4616
+ end
4617
+
4508
4618
  #
4509
4619
  class OrderReturn
4510
4620
  include Google::Apis::Core::Hashable
@@ -5044,6 +5154,70 @@ module Google
5044
5154
  end
5045
5155
  end
5046
5156
 
5157
+ #
5158
+ class OrderreportsListDisbursementsResponse
5159
+ include Google::Apis::Core::Hashable
5160
+
5161
+ # The list of disbursements.
5162
+ # Corresponds to the JSON property `disbursements`
5163
+ # @return [Array<Google::Apis::ContentV2::OrderReportDisbursement>]
5164
+ attr_accessor :disbursements
5165
+
5166
+ # Identifies what kind of resource this is. Value: the fixed string "content#
5167
+ # orderreportsListDisbursementsResponse".
5168
+ # Corresponds to the JSON property `kind`
5169
+ # @return [String]
5170
+ attr_accessor :kind
5171
+
5172
+ # The token for the retrieval of the next page of disbursements.
5173
+ # Corresponds to the JSON property `nextPageToken`
5174
+ # @return [String]
5175
+ attr_accessor :next_page_token
5176
+
5177
+ def initialize(**args)
5178
+ update!(**args)
5179
+ end
5180
+
5181
+ # Update properties of this object
5182
+ def update!(**args)
5183
+ @disbursements = args[:disbursements] if args.key?(:disbursements)
5184
+ @kind = args[:kind] if args.key?(:kind)
5185
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5186
+ end
5187
+ end
5188
+
5189
+ #
5190
+ class OrderreportsListTransactionsResponse
5191
+ include Google::Apis::Core::Hashable
5192
+
5193
+ # Identifies what kind of resource this is. Value: the fixed string "content#
5194
+ # orderreportsListTransactionsResponse".
5195
+ # Corresponds to the JSON property `kind`
5196
+ # @return [String]
5197
+ attr_accessor :kind
5198
+
5199
+ # The token for the retrieval of the next page of transactions.
5200
+ # Corresponds to the JSON property `nextPageToken`
5201
+ # @return [String]
5202
+ attr_accessor :next_page_token
5203
+
5204
+ # The list of transactions.
5205
+ # Corresponds to the JSON property `transactions`
5206
+ # @return [Array<Google::Apis::ContentV2::OrderReportTransaction>]
5207
+ attr_accessor :transactions
5208
+
5209
+ def initialize(**args)
5210
+ update!(**args)
5211
+ end
5212
+
5213
+ # Update properties of this object
5214
+ def update!(**args)
5215
+ @kind = args[:kind] if args.key?(:kind)
5216
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5217
+ @transactions = args[:transactions] if args.key?(:transactions)
5218
+ end
5219
+ end
5220
+
5047
5221
  #
5048
5222
  class OrdersAcknowledgeRequest
5049
5223
  include Google::Apis::Core::Hashable