google-cloud-channel-v1 2.4.1 → 2.6.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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/channel/v1/billing_accounts_pb.rb +2 -24
- data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +2 -25
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb +2 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/operations.rb +2 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/client.rb +2 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/operations.rb +2 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +37 -17
- data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +2 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/paths.rb +14 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest/client.rb +37 -17
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest/operations.rb +2 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest/service_stub.rb +23 -0
- data/lib/google/cloud/channel/v1/common_pb.rb +2 -24
- data/lib/google/cloud/channel/v1/customers_pb.rb +2 -26
- data/lib/google/cloud/channel/v1/entitlement_changes_pb.rb +2 -25
- data/lib/google/cloud/channel/v1/entitlements_pb.rb +3 -28
- data/lib/google/cloud/channel/v1/offers_pb.rb +5 -28
- data/lib/google/cloud/channel/v1/operations_pb.rb +2 -23
- data/lib/google/cloud/channel/v1/products_pb.rb +2 -23
- data/lib/google/cloud/channel/v1/reports_service_pb.rb +2 -28
- data/lib/google/cloud/channel/v1/repricing_pb.rb +3 -27
- data/lib/google/cloud/channel/v1/service_pb.rb +3 -34
- data/lib/google/cloud/channel/v1/service_services_pb.rb +8 -8
- data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +2 -23
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/channel/v1/customers.rb +2 -2
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +5 -0
- data/proto_docs/google/cloud/channel/v1/offers.rb +50 -0
- data/proto_docs/google/cloud/channel/v1/repricing.rb +1 -1
- data/proto_docs/google/cloud/channel/v1/service.rb +50 -11
- data/proto_docs/google/cloud/channel/v1/subscriber_event.rb +2 -2
- data/proto_docs/google/type/date.rb +10 -7
- data/proto_docs/google/type/datetime.rb +16 -15
- data/proto_docs/google/type/decimal.rb +10 -11
- data/proto_docs/google/type/postal_address.rb +38 -37
- metadata +4 -4
|
@@ -985,8 +985,8 @@ module Google
|
|
|
985
985
|
# be purchased using the same billing account and the billing accounts
|
|
986
986
|
# eligible to purchase each SKU group.
|
|
987
987
|
rpc :QueryEligibleBillingAccounts, ::Google::Cloud::Channel::V1::QueryEligibleBillingAccountsRequest, ::Google::Cloud::Channel::V1::QueryEligibleBillingAccountsResponse
|
|
988
|
-
# Registers a service account with subscriber privileges on the
|
|
989
|
-
# topic for this Channel Services account. After you create a
|
|
988
|
+
# Registers a service account with subscriber privileges on the Pub/Sub
|
|
989
|
+
# topic for this Channel Services account or integrator. After you create a
|
|
990
990
|
# subscriber, you get the events through
|
|
991
991
|
# [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
|
|
992
992
|
#
|
|
@@ -1004,10 +1004,10 @@ module Google
|
|
|
1004
1004
|
# Return value:
|
|
1005
1005
|
# The topic name with the registered service email address.
|
|
1006
1006
|
rpc :RegisterSubscriber, ::Google::Cloud::Channel::V1::RegisterSubscriberRequest, ::Google::Cloud::Channel::V1::RegisterSubscriberResponse
|
|
1007
|
-
# Unregisters a service account with subscriber privileges on the
|
|
1008
|
-
#
|
|
1009
|
-
# service accounts left with subscriber privileges, this deletes the
|
|
1010
|
-
# You can call ListSubscribers to check for these accounts.
|
|
1007
|
+
# Unregisters a service account with subscriber privileges on the Pub/Sub
|
|
1008
|
+
# topic created for this Channel Services account or integrator. If there are
|
|
1009
|
+
# no service accounts left with subscriber privileges, this deletes the
|
|
1010
|
+
# topic. You can call ListSubscribers to check for these accounts.
|
|
1011
1011
|
#
|
|
1012
1012
|
# Possible error codes:
|
|
1013
1013
|
#
|
|
@@ -1026,8 +1026,8 @@ module Google
|
|
|
1026
1026
|
# Returns a success response if the service email address wasn't registered
|
|
1027
1027
|
# with the topic.
|
|
1028
1028
|
rpc :UnregisterSubscriber, ::Google::Cloud::Channel::V1::UnregisterSubscriberRequest, ::Google::Cloud::Channel::V1::UnregisterSubscriberResponse
|
|
1029
|
-
# Lists service accounts with subscriber privileges on the
|
|
1030
|
-
#
|
|
1029
|
+
# Lists service accounts with subscriber privileges on the Pub/Sub topic
|
|
1030
|
+
# created for this Channel Services account or integrator.
|
|
1031
1031
|
#
|
|
1032
1032
|
# Possible error codes:
|
|
1033
1033
|
#
|
|
@@ -9,29 +9,8 @@ require 'google/api/resource_pb'
|
|
|
9
9
|
|
|
10
10
|
descriptor_data = "\n.google/cloud/channel/v1/subscriber_event.proto\x12\x17google.cloud.channel.v1\x1a\x19google/api/resource.proto\"\xe4\x01\n\rCustomerEvent\x12;\n\x08\x63ustomer\x18\x01 \x01(\tB)\xfa\x41&\n$cloudchannel.googleapis.com/Customer\x12?\n\nevent_type\x18\x02 \x01(\x0e\x32+.google.cloud.channel.v1.CustomerEvent.Type\"U\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16PRIMARY_DOMAIN_CHANGED\x10\x01\x12\x1b\n\x17PRIMARY_DOMAIN_VERIFIED\x10\x02\"\xb1\x03\n\x10\x45ntitlementEvent\x12\x41\n\x0b\x65ntitlement\x18\x01 \x01(\tB,\xfa\x41)\n\'cloudchannel.googleapis.com/Entitlement\x12\x42\n\nevent_type\x18\x02 \x01(\x0e\x32..google.cloud.channel.v1.EntitlementEvent.Type\"\x95\x02\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x17\n\x13PRICE_PLAN_SWITCHED\x10\x03\x12\x16\n\x12\x43OMMITMENT_CHANGED\x10\x04\x12\x0b\n\x07RENEWED\x10\x05\x12\r\n\tSUSPENDED\x10\x06\x12\r\n\tACTIVATED\x10\x07\x12\r\n\tCANCELLED\x10\x08\x12\x0f\n\x0bSKU_CHANGED\x10\t\x12\x1b\n\x17RENEWAL_SETTING_CHANGED\x10\n\x12\x18\n\x14PAID_SERVICE_STARTED\x10\x0b\x12\x1e\n\x1aLICENSE_ASSIGNMENT_CHANGED\x10\x0c\x12\x17\n\x13LICENSE_CAP_CHANGED\x10\r\"\xa4\x01\n\x0fSubscriberEvent\x12@\n\x0e\x63ustomer_event\x18\x01 \x01(\x0b\x32&.google.cloud.channel.v1.CustomerEventH\x00\x12\x46\n\x11\x65ntitlement_event\x18\x02 \x01(\x0b\x32).google.cloud.channel.v1.EntitlementEventH\x00\x42\x07\n\x05\x65ventBl\n\x1b\x63om.google.cloud.channel.v1B\x14SubscriberEventProtoP\x01Z5cloud.google.com/go/channel/apiv1/channelpb;channelpbb\x06proto3"
|
|
11
11
|
|
|
12
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
-
|
|
14
|
-
begin
|
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
|
16
|
-
rescue TypeError
|
|
17
|
-
# Compatibility code: will be removed in the next major version.
|
|
18
|
-
require 'google/protobuf/descriptor_pb'
|
|
19
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
20
|
-
parsed.clear_dependency
|
|
21
|
-
serialized = parsed.class.encode(parsed)
|
|
22
|
-
file = pool.add_serialized_file(serialized)
|
|
23
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
24
|
-
imports = [
|
|
25
|
-
]
|
|
26
|
-
imports.each do |type_name, expected_filename|
|
|
27
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
28
|
-
if import_file.name != expected_filename
|
|
29
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
33
|
-
warn "This will become an error in the next major version."
|
|
34
|
-
end
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
35
14
|
|
|
36
15
|
module Google
|
|
37
16
|
module Cloud
|
|
@@ -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
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
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
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
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
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
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
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
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
|
-
#
|
|
360
|
-
#
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
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
|
-
#
|
|
376
|
-
#
|
|
377
|
-
#
|
|
378
|
-
#
|
|
379
|
-
#
|
|
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
|
|
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
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
|
794
|
-
#
|
|
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
|
|
808
|
-
#
|
|
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
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
|
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
|
|
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
|
|
29
|
-
# * A year on its own, with zero month and day
|
|
30
|
-
# * A year and month
|
|
31
|
-
#
|
|
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
|
|
34
|
-
#
|
|
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
|