google-cloud-channel-v1 2.4.1 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/channel/v1/billing_accounts_pb.rb +2 -24
  3. data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +2 -25
  4. data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +35 -17
  5. data/lib/google/cloud/channel/v1/cloud_channel_service/paths.rb +14 -0
  6. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/client.rb +35 -17
  7. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/service_stub.rb +23 -0
  8. data/lib/google/cloud/channel/v1/common_pb.rb +2 -24
  9. data/lib/google/cloud/channel/v1/customers_pb.rb +2 -26
  10. data/lib/google/cloud/channel/v1/entitlement_changes_pb.rb +2 -25
  11. data/lib/google/cloud/channel/v1/entitlements_pb.rb +3 -28
  12. data/lib/google/cloud/channel/v1/offers_pb.rb +5 -28
  13. data/lib/google/cloud/channel/v1/operations_pb.rb +2 -23
  14. data/lib/google/cloud/channel/v1/products_pb.rb +2 -23
  15. data/lib/google/cloud/channel/v1/reports_service_pb.rb +2 -28
  16. data/lib/google/cloud/channel/v1/repricing_pb.rb +3 -27
  17. data/lib/google/cloud/channel/v1/service_pb.rb +3 -34
  18. data/lib/google/cloud/channel/v1/service_services_pb.rb +8 -8
  19. data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +2 -23
  20. data/lib/google/cloud/channel/v1/version.rb +1 -1
  21. data/proto_docs/google/api/client.rb +149 -29
  22. data/proto_docs/google/cloud/channel/v1/customers.rb +2 -2
  23. data/proto_docs/google/cloud/channel/v1/entitlements.rb +5 -0
  24. data/proto_docs/google/cloud/channel/v1/offers.rb +50 -0
  25. data/proto_docs/google/cloud/channel/v1/repricing.rb +1 -1
  26. data/proto_docs/google/cloud/channel/v1/service.rb +50 -11
  27. data/proto_docs/google/cloud/channel/v1/subscriber_event.rb +2 -2
  28. data/proto_docs/google/type/date.rb +10 -7
  29. data/proto_docs/google/type/datetime.rb +16 -15
  30. data/proto_docs/google/type/decimal.rb +10 -11
  31. data/proto_docs/google/type/postal_address.rb +38 -37
  32. metadata +2 -2
@@ -31,6 +31,8 @@ module Google
31
31
  # @!attribute [rw] selective_gapic_generation
32
32
  # @return [::Google::Api::SelectiveGapicGeneration]
33
33
  # Configuration for which RPCs should be generated in the GAPIC client.
34
+ #
35
+ # Note: This field should not be used in most cases.
34
36
  class CommonLanguageSettings
35
37
  include ::Google::Protobuf::MessageExts
36
38
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -141,9 +143,10 @@ module Google
141
143
  #
142
144
  # Example of a YAML configuration::
143
145
  #
144
- # publishing:
145
- # java_settings:
146
- # library_package: com.google.cloud.pubsub.v1
146
+ # publishing:
147
+ # library_settings:
148
+ # java_settings:
149
+ # library_package: com.google.cloud.pubsub.v1
147
150
  # @!attribute [rw] service_class_names
148
151
  # @return [::Google::Protobuf::Map{::String => ::String}]
149
152
  # Configure the Java class name to use instead of the service's for its
@@ -155,11 +158,11 @@ module Google
155
158
  #
156
159
  # Example of a YAML configuration::
157
160
  #
158
- # publishing:
159
- # java_settings:
160
- # service_class_names:
161
- # - google.pubsub.v1.Publisher: TopicAdmin
162
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
161
+ # publishing:
162
+ # java_settings:
163
+ # service_class_names:
164
+ # - google.pubsub.v1.Publisher: TopicAdmin
165
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
163
166
  # @!attribute [rw] common
164
167
  # @return [::Google::Api::CommonLanguageSettings]
165
168
  # Some settings.
@@ -190,6 +193,20 @@ module Google
190
193
  # @!attribute [rw] common
191
194
  # @return [::Google::Api::CommonLanguageSettings]
192
195
  # Some settings.
196
+ # @!attribute [rw] library_package
197
+ # @return [::String]
198
+ # The package name to use in Php. Clobbers the php_namespace option
199
+ # set in the protobuf. This should be used **only** by APIs
200
+ # who have already set the language_settings.php.package_name" field
201
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
202
+ # where possible.
203
+ #
204
+ # Example of a YAML configuration::
205
+ #
206
+ # publishing:
207
+ # library_settings:
208
+ # php_settings:
209
+ # library_package: Google\Cloud\PubSub\V1
193
210
  class PhpSettings
194
211
  include ::Google::Protobuf::MessageExts
195
212
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +335,12 @@ module Google
318
335
  # service names and values are the name to be used for the service client
319
336
  # and call options.
320
337
  #
321
- # publishing:
322
- # go_settings:
323
- # renamed_services:
324
- # Publisher: TopicAdmin
338
+ # Example:
339
+ #
340
+ # publishing:
341
+ # go_settings:
342
+ # renamed_services:
343
+ # Publisher: TopicAdmin
325
344
  class GoSettings
326
345
  include ::Google::Protobuf::MessageExts
327
346
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +363,10 @@ module Google
344
363
  #
345
364
  # Example:
346
365
  #
347
- # publishing:
348
- # method_settings:
349
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
350
- # # method settings for CreateFolder...
366
+ # publishing:
367
+ # method_settings:
368
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
369
+ # # method settings for CreateFolder...
351
370
  # @!attribute [rw] long_running
352
371
  # @return [::Google::Api::MethodSettings::LongRunning]
353
372
  # Describes settings to use for long-running operations when generating
@@ -356,14 +375,14 @@ module Google
356
375
  #
357
376
  # Example of a YAML configuration::
358
377
  #
359
- # publishing:
360
- # method_settings:
361
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
362
- # long_running:
363
- # initial_poll_delay: 60s # 1 minute
364
- # poll_delay_multiplier: 1.5
365
- # max_poll_delay: 360s # 6 minutes
366
- # total_poll_timeout: 54000s # 90 minutes
378
+ # publishing:
379
+ # method_settings:
380
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
381
+ # long_running:
382
+ # initial_poll_delay: 60s # 1 minute
383
+ # poll_delay_multiplier: 1.5
384
+ # max_poll_delay: 360s # 6 minutes
385
+ # total_poll_timeout: 54000s # 90 minutes
367
386
  # @!attribute [rw] auto_populated_fields
368
387
  # @return [::Array<::String>]
369
388
  # List of top-level fields of the request message, that should be
@@ -372,11 +391,24 @@ module Google
372
391
  #
373
392
  # Example of a YAML configuration:
374
393
  #
375
- # publishing:
376
- # method_settings:
377
- # - selector: google.example.v1.ExampleService.CreateExample
378
- # auto_populated_fields:
379
- # - request_id
394
+ # publishing:
395
+ # method_settings:
396
+ # - selector: google.example.v1.ExampleService.CreateExample
397
+ # auto_populated_fields:
398
+ # - request_id
399
+ # @!attribute [rw] batching
400
+ # @return [::Google::Api::BatchingConfigProto]
401
+ # Batching configuration for an API method in client libraries.
402
+ #
403
+ # Example of a YAML configuration:
404
+ #
405
+ # publishing:
406
+ # method_settings:
407
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
408
+ # batching:
409
+ # element_count_threshold: 1000
410
+ # request_byte_threshold: 100000000
411
+ # delay_threshold_millis: 10
380
412
  class MethodSettings
381
413
  include ::Google::Protobuf::MessageExts
382
414
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -411,6 +443,8 @@ module Google
411
443
 
412
444
  # This message is used to configure the generation of a subset of the RPCs in
413
445
  # a service for client libraries.
446
+ #
447
+ # Note: This feature should not be used in most cases.
414
448
  # @!attribute [rw] methods
415
449
  # @return [::Array<::String>]
416
450
  # An allowlist of the fully qualified names of RPCs that should be included
@@ -428,6 +462,77 @@ module Google
428
462
  extend ::Google::Protobuf::MessageExts::ClassMethods
429
463
  end
430
464
 
465
+ # `BatchingConfigProto` defines the batching configuration for an API method.
466
+ # @!attribute [rw] thresholds
467
+ # @return [::Google::Api::BatchingSettingsProto]
468
+ # The thresholds which trigger a batched request to be sent.
469
+ # @!attribute [rw] batch_descriptor
470
+ # @return [::Google::Api::BatchingDescriptorProto]
471
+ # The request and response fields used in batching.
472
+ class BatchingConfigProto
473
+ include ::Google::Protobuf::MessageExts
474
+ extend ::Google::Protobuf::MessageExts::ClassMethods
475
+ end
476
+
477
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
478
+ # which acts as a trigger to send a batch of messages as a request. At least
479
+ # one threshold must be positive nonzero.
480
+ # @!attribute [rw] element_count_threshold
481
+ # @return [::Integer]
482
+ # The number of elements of a field collected into a batch which, if
483
+ # exceeded, causes the batch to be sent.
484
+ # @!attribute [rw] request_byte_threshold
485
+ # @return [::Integer]
486
+ # The aggregated size of the batched field which, if exceeded, causes the
487
+ # batch to be sent. This size is computed by aggregating the sizes of the
488
+ # request field to be batched, not of the entire request message.
489
+ # @!attribute [rw] delay_threshold
490
+ # @return [::Google::Protobuf::Duration]
491
+ # The duration after which a batch should be sent, starting from the addition
492
+ # of the first message to that batch.
493
+ # @!attribute [rw] element_count_limit
494
+ # @return [::Integer]
495
+ # The maximum number of elements collected in a batch that could be accepted
496
+ # by server.
497
+ # @!attribute [rw] request_byte_limit
498
+ # @return [::Integer]
499
+ # The maximum size of the request that could be accepted by server.
500
+ # @!attribute [rw] flow_control_element_limit
501
+ # @return [::Integer]
502
+ # The maximum number of elements allowed by flow control.
503
+ # @!attribute [rw] flow_control_byte_limit
504
+ # @return [::Integer]
505
+ # The maximum size of data allowed by flow control.
506
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
507
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
508
+ # The behavior to take when the flow control limit is exceeded.
509
+ class BatchingSettingsProto
510
+ include ::Google::Protobuf::MessageExts
511
+ extend ::Google::Protobuf::MessageExts::ClassMethods
512
+ end
513
+
514
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
515
+ # used for batching, and, optionally, the fields of the response message to be
516
+ # used for demultiplexing.
517
+ # @!attribute [rw] batched_field
518
+ # @return [::String]
519
+ # The repeated field in the request message to be aggregated by batching.
520
+ # @!attribute [rw] discriminator_fields
521
+ # @return [::Array<::String>]
522
+ # A list of the fields in the request message. Two requests will be batched
523
+ # together only if the values of every field specified in
524
+ # `request_discriminator_fields` is equal between the two requests.
525
+ # @!attribute [rw] subresponse_field
526
+ # @return [::String]
527
+ # Optional. When present, indicates the field in the response message to be
528
+ # used to demultiplex the response into multiple response messages, in
529
+ # correspondence with the multiple request messages originally batched
530
+ # together.
531
+ class BatchingDescriptorProto
532
+ include ::Google::Protobuf::MessageExts
533
+ extend ::Google::Protobuf::MessageExts::ClassMethods
534
+ end
535
+
431
536
  # The organization for which the client libraries are being published.
432
537
  # Affects the url where generated docs are published, etc.
433
538
  module ClientLibraryOrganization
@@ -469,5 +574,20 @@ module Google
469
574
  # Publish the library to package managers like nuget.org and npmjs.com.
470
575
  PACKAGE_MANAGER = 20
471
576
  end
577
+
578
+ # The behavior to take when the flow control limit is exceeded.
579
+ module FlowControlLimitExceededBehaviorProto
580
+ # Default behavior, system-defined.
581
+ UNSET_BEHAVIOR = 0
582
+
583
+ # Stop operation, raise error.
584
+ THROW_EXCEPTION = 1
585
+
586
+ # Pause operation until limit clears.
587
+ BLOCK = 2
588
+
589
+ # Continue operation, disregard limit.
590
+ IGNORE = 3
591
+ end
472
592
  end
473
593
  end
@@ -78,13 +78,13 @@ module Google
78
78
  # Populated only if a CRM ID exists for this customer.
79
79
  # @!attribute [rw] customer_attestation_state
80
80
  # @return [::Google::Cloud::Channel::V1::Customer::CustomerAttestationState]
81
- # Optional. Indicate whether a customer is attesting about the correctness of
81
+ # Optional. Indicate if a customer is attesting about the correctness of
82
82
  # provided information. Only required if creating a GCP Entitlement.
83
83
  class Customer
84
84
  include ::Google::Protobuf::MessageExts
85
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
86
86
 
87
- # The enum represents whether a customer belongs to public sector
87
+ # The enum represents if a customer belongs to public sector
88
88
  module CustomerAttestationState
89
89
  # Default value if not set yet
90
90
  CUSTOMER_ATTESTATION_STATE_UNSPECIFIED = 0
@@ -89,6 +89,11 @@ module Google
89
89
  # @return [::String]
90
90
  # Optional. The billing account resource name that is used to pay for this
91
91
  # entitlement.
92
+ # @!attribute [rw] price_reference_id
93
+ # @return [::String]
94
+ # Optional. Price reference ID for the offer. Only for offers that require
95
+ # additional price information. Used to guarantee that the pricing is
96
+ # consistent between quoting the offer and placing the order.
92
97
  class Entitlement
93
98
  include ::Google::Protobuf::MessageExts
94
99
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -188,9 +188,18 @@ module Google
188
188
  # @!attribute [rw] effective_price
189
189
  # @return [::Google::Type::Money]
190
190
  # Effective Price after applying the discounts.
191
+ # @!attribute [rw] price_period
192
+ # @return [::Google::Cloud::Channel::V1::Period]
193
+ # The time period with respect to which base and effective prices are
194
+ # defined.
195
+ # Example: 1 month, 6 months, 1 year, etc.
191
196
  # @!attribute [rw] external_price_uri
192
197
  # @return [::String]
193
198
  # Link to external price list, such as link to Google Voice rate card.
199
+ # @!attribute [rw] discount_components
200
+ # @return [::Array<::Google::Cloud::Channel::V1::DiscountComponent>]
201
+ # Breakdown of the discount into its components.
202
+ # This will be empty if there is no discount present.
194
203
  class Price
195
204
  include ::Google::Protobuf::MessageExts
196
205
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -253,6 +262,26 @@ module Google
253
262
  extend ::Google::Protobuf::MessageExts::ClassMethods
254
263
  end
255
264
 
265
+ # Represents a single component of the total discount applicable on a Price.
266
+ # @!attribute [rw] discount_percentage
267
+ # @return [::Float]
268
+ # Discount percentage, represented as decimal.
269
+ # For example, a 20% discount will be represented as 0.2.
270
+ #
271
+ # Note: The following fields are mutually exclusive: `discount_percentage`, `discount_absolute`. If a field in that set is populated, all other fields in the set will automatically be cleared.
272
+ # @!attribute [rw] discount_absolute
273
+ # @return [::Google::Type::Money]
274
+ # Fixed value discount.
275
+ #
276
+ # Note: The following fields are mutually exclusive: `discount_absolute`, `discount_percentage`. If a field in that set is populated, all other fields in the set will automatically be cleared.
277
+ # @!attribute [rw] discount_type
278
+ # @return [::Google::Cloud::Channel::V1::DiscountType]
279
+ # Type of the discount.
280
+ class DiscountComponent
281
+ include ::Google::Protobuf::MessageExts
282
+ extend ::Google::Protobuf::MessageExts::ClassMethods
283
+ end
284
+
256
285
  # Constraints type for Promotional offers.
257
286
  module PromotionalOrderType
258
287
  # Not used.
@@ -347,6 +376,27 @@ module Google
347
376
  # Year.
348
377
  YEAR = 3
349
378
  end
379
+
380
+ # Discount Type.
381
+ module DiscountType
382
+ # Not used.
383
+ DISCOUNT_TYPE_UNSPECIFIED = 0
384
+
385
+ # Regional discount.
386
+ REGIONAL_DISCOUNT = 1
387
+
388
+ # Promotional discount.
389
+ PROMOTIONAL_DISCOUNT = 2
390
+
391
+ # Sales-provided discount.
392
+ SALES_DISCOUNT = 3
393
+
394
+ # Reseller margin.
395
+ RESELLER_MARGIN = 4
396
+
397
+ # Deal code discount.
398
+ DEAL_CODE = 5
399
+ end
350
400
  end
351
401
  end
352
402
  end
@@ -67,7 +67,7 @@ module Google
67
67
  # Configuration for repricing a Google bill over a period of time.
68
68
  # @!attribute [rw] entitlement_granularity
69
69
  # @return [::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity]
70
- # Applies the repricing configuration at the entitlement level.
70
+ # Required. Applies the repricing configuration at the entitlement level.
71
71
  #
72
72
  # Note: If a
73
73
  # {::Google::Cloud::Channel::V1::ChannelPartnerRepricingConfig ChannelPartnerRepricingConfig}
@@ -49,7 +49,8 @@ module Google
49
49
  # @!attribute [rw] owned
50
50
  # @return [::Boolean]
51
51
  # Returns true if the Cloud Identity account is associated with a customer
52
- # of the Channel Services partner.
52
+ # of the Channel Services partner (with active subscriptions or purchase
53
+ # consents).
53
54
  # @!attribute [rw] customer_name
54
55
  # @return [::String]
55
56
  # If owned = true, the name of the customer that owns the Cloud Identity
@@ -423,6 +424,11 @@ module Google
423
424
  # @!attribute [rw] offer
424
425
  # @return [::Google::Cloud::Channel::V1::Offer]
425
426
  # Offer with parameter constraints updated to allow the Transfer.
427
+ # @!attribute [rw] price_reference_id
428
+ # @return [::String]
429
+ # Optional. Price reference ID for the offer. Only for offers that require
430
+ # additional price information. Used to guarantee that the pricing is
431
+ # consistent between quoting the offer and placing the order.
426
432
  class TransferableOffer
427
433
  include ::Google::Protobuf::MessageExts
428
434
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -753,7 +759,8 @@ module Google
753
759
  # @return [::String]
754
760
  # Optional. A token identifying a page of results beyond the first page.
755
761
  # Obtained through
756
- # [ListSkuGroups.next_page_token][] of the previous
762
+ # {::Google::Cloud::Channel::V1::ListSkuGroupsResponse#next_page_token ListSkuGroupsResponse.next_page_token}
763
+ # of the previous
757
764
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_sku_groups CloudChannelService.ListSkuGroups}
758
765
  # call.
759
766
  class ListSkuGroupsRequest
@@ -775,7 +782,8 @@ module Google
775
782
  # @return [::String]
776
783
  # Optional. A token identifying a page of results beyond the first page.
777
784
  # Obtained through
778
- # [ListSkuGroupBillableSkus.next_page_token][] of the previous
785
+ # {::Google::Cloud::Channel::V1::ListSkuGroupBillableSkusResponse#next_page_token ListSkuGroupBillableSkusResponse.next_page_token}
786
+ # of the previous
779
787
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_sku_group_billable_skus CloudChannelService.ListSkuGroupBillableSkus}
780
788
  # call.
781
789
  class ListSkuGroupBillableSkusRequest
@@ -790,8 +798,9 @@ module Google
790
798
  # @!attribute [rw] next_page_token
791
799
  # @return [::String]
792
800
  # A token to retrieve the next page of results.
793
- # Pass to [ListSkuGroups.page_token][] to obtain that
794
- # page.
801
+ # Pass to
802
+ # {::Google::Cloud::Channel::V1::ListSkuGroupsRequest#page_token ListSkuGroupsRequest.page_token}
803
+ # to obtain that page.
795
804
  class ListSkuGroupsResponse
796
805
  include ::Google::Protobuf::MessageExts
797
806
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -804,8 +813,9 @@ module Google
804
813
  # @!attribute [rw] next_page_token
805
814
  # @return [::String]
806
815
  # A token to retrieve the next page of results.
807
- # Pass to [ListSkuGroupBillableSkus.page_token][] to obtain that
808
- # page.
816
+ # Pass to
817
+ # {::Google::Cloud::Channel::V1::ListSkuGroupBillableSkusRequest#page_token ListSkuGroupBillableSkusRequest.page_token}
818
+ # to obtain that page.
809
819
  class ListSkuGroupBillableSkusResponse
810
820
  include ::Google::Protobuf::MessageExts
811
821
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -954,7 +964,8 @@ module Google
954
964
  extend ::Google::Protobuf::MessageExts::ClassMethods
955
965
  end
956
966
 
957
- # Request message for [CloudChannelService.ChangeParametersRequest][].
967
+ # Request message for
968
+ # {::Google::Cloud::Channel::V1::CloudChannelService::Client#change_parameters CloudChannelService.ChangeParameters}.
958
969
  # @!attribute [rw] name
959
970
  # @return [::String]
960
971
  # Required. The name of the entitlement to update.
@@ -1060,6 +1071,11 @@ module Google
1060
1071
  #
1061
1072
  # This field is only relevant for multi-currency accounts. It should be
1062
1073
  # left empty for single currency accounts.
1074
+ # @!attribute [rw] price_reference_id
1075
+ # @return [::String]
1076
+ # Optional. Price reference ID for the offer. Only for offers that require
1077
+ # additional price information. Used to guarantee that the pricing is
1078
+ # consistent between quoting the offer and placing the order.
1063
1079
  class ChangeOfferRequest
1064
1080
  include ::Google::Protobuf::MessageExts
1065
1081
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1296,6 +1312,9 @@ module Google
1296
1312
  # @!attribute [rw] offers
1297
1313
  # @return [::Array<::Google::Cloud::Channel::V1::Offer>]
1298
1314
  # The list of Offers requested.
1315
+ #
1316
+ # The pricing information for each Offer only includes the base price.
1317
+ # Effective prices and discounts aren't populated.
1299
1318
  # @!attribute [rw] next_page_token
1300
1319
  # @return [::String]
1301
1320
  # A token to retrieve the next page of results.
@@ -1487,6 +1506,11 @@ module Google
1487
1506
  # @!attribute [rw] offer
1488
1507
  # @return [::Google::Cloud::Channel::V1::Offer]
1489
1508
  # Offer.
1509
+ # @!attribute [rw] price_reference_id
1510
+ # @return [::String]
1511
+ # Optional. Price reference ID for the offer. Only for offers that require
1512
+ # additional price information. Used to guarantee that the pricing is
1513
+ # consistent between quoting the offer and placing the order.
1490
1514
  class PurchasableOffer
1491
1515
  include ::Google::Protobuf::MessageExts
1492
1516
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1544,11 +1568,16 @@ module Google
1544
1568
  # Request Message for RegisterSubscriber.
1545
1569
  # @!attribute [rw] account
1546
1570
  # @return [::String]
1547
- # Required. Resource name of the account.
1571
+ # Optional. Resource name of the account. Required if integrator is not
1572
+ # provided. Otherwise, leave this field empty/unset.
1548
1573
  # @!attribute [rw] service_account
1549
1574
  # @return [::String]
1550
1575
  # Required. Service account that provides subscriber access to the registered
1551
1576
  # topic.
1577
+ # @!attribute [rw] integrator
1578
+ # @return [::String]
1579
+ # Optional. Resource name of the integrator. Required if account is not
1580
+ # provided. Otherwise, leave this field empty/unset.
1552
1581
  class RegisterSubscriberRequest
1553
1582
  include ::Google::Protobuf::MessageExts
1554
1583
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1566,11 +1595,16 @@ module Google
1566
1595
  # Request Message for UnregisterSubscriber.
1567
1596
  # @!attribute [rw] account
1568
1597
  # @return [::String]
1569
- # Required. Resource name of the account.
1598
+ # Optional. Resource name of the account. Required if integrator is not
1599
+ # provided. Otherwise, leave this field empty/unset.
1570
1600
  # @!attribute [rw] service_account
1571
1601
  # @return [::String]
1572
1602
  # Required. Service account to unregister from subscriber access to the
1573
1603
  # topic.
1604
+ # @!attribute [rw] integrator
1605
+ # @return [::String]
1606
+ # Optional. Resource name of the integrator. Required if account is not
1607
+ # provided. Otherwise, leave this field empty/unset.
1574
1608
  class UnregisterSubscriberRequest
1575
1609
  include ::Google::Protobuf::MessageExts
1576
1610
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1588,7 +1622,8 @@ module Google
1588
1622
  # Request Message for ListSubscribers.
1589
1623
  # @!attribute [rw] account
1590
1624
  # @return [::String]
1591
- # Required. Resource name of the account.
1625
+ # Optional. Resource name of the account. Required if integrator is not
1626
+ # provided. Otherwise, leave this field empty/unset.
1592
1627
  # @!attribute [rw] page_size
1593
1628
  # @return [::Integer]
1594
1629
  # Optional. The maximum number of service accounts to return. The service may
@@ -1602,6 +1637,10 @@ module Google
1602
1637
  #
1603
1638
  # When paginating, all other parameters provided to `ListSubscribers` must
1604
1639
  # match the call that provided the page token.
1640
+ # @!attribute [rw] integrator
1641
+ # @return [::String]
1642
+ # Optional. Resource name of the integrator. Required if account is not
1643
+ # provided. Otherwise, leave this field empty/unset.
1605
1644
  class ListSubscribersRequest
1606
1645
  include ::Google::Protobuf::MessageExts
1607
1646
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -28,7 +28,7 @@ module Google
28
28
  # Format: accounts/\\{account_id}/customers/\\{customer_id}
29
29
  # @!attribute [rw] event_type
30
30
  # @return [::Google::Cloud::Channel::V1::CustomerEvent::Type]
31
- # Type of event which happened on the customer.
31
+ # Type of event which happened for the customer.
32
32
  class CustomerEvent
33
33
  include ::Google::Protobuf::MessageExts
34
34
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,7 +53,7 @@ module Google
53
53
  # accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
54
54
  # @!attribute [rw] event_type
55
55
  # @return [::Google::Cloud::Channel::V1::EntitlementEvent::Type]
56
- # Type of event which happened on the entitlement.
56
+ # Type of event which happened for the entitlement.
57
57
  class EntitlementEvent
58
58
  include ::Google::Protobuf::MessageExts
59
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -24,14 +24,17 @@ module Google
24
24
  # date is relative to the Gregorian Calendar. This can represent one of the
25
25
  # following:
26
26
  #
27
- # * A full date, with non-zero year, month, and day values
28
- # * A month and day value, with a zero year, such as an anniversary
29
- # * A year on its own, with zero month and day values
30
- # * A year and month value, with a zero day, such as a credit card expiration
31
- # date
27
+ # * A full date, with non-zero year, month, and day values.
28
+ # * A month and day, with a zero year (for example, an anniversary).
29
+ # * A year on its own, with a zero month and a zero day.
30
+ # * A year and month, with a zero day (for example, a credit card expiration
31
+ # date).
32
32
  #
33
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
34
- # `google.protobuf.Timestamp`.
33
+ # Related types:
34
+ #
35
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
36
+ # * {::Google::Type::DateTime google.type.DateTime}
37
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
35
38
  # @!attribute [rw] year
36
39
  # @return [::Integer]
37
40
  # Year of the date. Must be from 1 to 9999, or 0 to specify a date without
@@ -32,8 +32,8 @@ module Google
32
32
  #
33
33
  # The date is relative to the Proleptic Gregorian Calendar.
34
34
  #
35
- # If year is 0, the DateTime is considered not to have a specific year. month
36
- # and day must have valid, non-zero values.
35
+ # If year, month, or day are 0, the DateTime is considered not to have a
36
+ # specific year, month, or day respectively.
37
37
  #
38
38
  # This type may also be used to represent a physical time if all the date and
39
39
  # time fields are set and either case of the `time_offset` oneof is set.
@@ -49,27 +49,28 @@ module Google
49
49
  # datetime without a year.
50
50
  # @!attribute [rw] month
51
51
  # @return [::Integer]
52
- # Required. Month of year. Must be from 1 to 12.
52
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
53
+ # datetime without a month.
53
54
  # @!attribute [rw] day
54
55
  # @return [::Integer]
55
- # Required. Day of month. Must be from 1 to 31 and valid for the year and
56
- # month.
56
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and
57
+ # month, or 0 if specifying a datetime without a day.
57
58
  # @!attribute [rw] hours
58
59
  # @return [::Integer]
59
- # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API
60
- # may choose to allow the value "24:00:00" for scenarios like business
61
- # closing time.
60
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
61
+ # to 0 (midnight). An API may choose to allow the value "24:00:00" for
62
+ # scenarios like business closing time.
62
63
  # @!attribute [rw] minutes
63
64
  # @return [::Integer]
64
- # Required. Minutes of hour of day. Must be from 0 to 59.
65
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
65
66
  # @!attribute [rw] seconds
66
67
  # @return [::Integer]
67
- # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
68
- # API may allow the value 60 if it allows leap-seconds.
68
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
69
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
69
70
  # @!attribute [rw] nanos
70
71
  # @return [::Integer]
71
- # Required. Fractions of seconds in nanoseconds. Must be from 0 to
72
- # 999,999,999.
72
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to
73
+ # 999,999,999, defaults to 0.
73
74
  # @!attribute [rw] utc_offset
74
75
  # @return [::Google::Protobuf::Duration]
75
76
  # UTC offset. Must be whole seconds, between -18 hours and +18 hours.
@@ -91,10 +92,10 @@ module Google
91
92
  # [IANA Time Zone Database](https://www.iana.org/time-zones).
92
93
  # @!attribute [rw] id
93
94
  # @return [::String]
94
- # IANA Time Zone Database time zone, e.g. "America/New_York".
95
+ # IANA Time Zone Database time zone. For example "America/New_York".
95
96
  # @!attribute [rw] version
96
97
  # @return [::String]
97
- # Optional. IANA Time Zone Database version number, e.g. "2019a".
98
+ # Optional. IANA Time Zone Database version number. For example "2019a".
98
99
  class TimeZone
99
100
  include ::Google::Protobuf::MessageExts
100
101
  extend ::Google::Protobuf::MessageExts::ClassMethods