google-cloud-channel-v1 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,15 +42,16 @@ module Google
42
42
  # 3. Resellers and distributors can manage customer entitlements.
43
43
  #
44
44
  # CloudChannelService exposes the following resources:
45
- # - {::Google::Cloud::Channel::V1::Customer Customer}s: An entityusually an enterprise—managed by a reseller or
46
- # distributor.
45
+ # - {::Google::Cloud::Channel::V1::Customer Customer}s: An entity-usually an
46
+ # enterprise-managed by a reseller or distributor.
47
47
  #
48
- # - {::Google::Cloud::Channel::V1::Entitlement Entitlement}s: An entity that provides a customer with the means to use
49
- # a service. Entitlements are created or updated as a result of a successful
50
- # fulfillment.
48
+ # - {::Google::Cloud::Channel::V1::Entitlement Entitlement}s: An entity that
49
+ # provides a customer with the means to use a service. Entitlements are created
50
+ # or updated as a result of a successful fulfillment.
51
51
  #
52
- # - {::Google::Cloud::Channel::V1::ChannelPartnerLink ChannelPartnerLink}s: An entity that identifies links between
53
- # distributors and their indirect resellers in a channel.
52
+ # - {::Google::Cloud::Channel::V1::ChannelPartnerLink ChannelPartnerLink}s: An
53
+ # entity that identifies links between distributors and their indirect
54
+ # resellers in a channel.
54
55
  #
55
56
  # To load this service and instantiate a client:
56
57
  #
@@ -58,10 +58,12 @@ module Google
58
58
  # instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
59
59
  #
60
60
  # To get the results of report generation, call
61
- # [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] with the
61
+ # [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]
62
+ # with the
62
63
  # [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job].
63
64
  rpc :RunReportJob, ::Google::Cloud::Channel::V1::RunReportJobRequest, ::Google::Longrunning::Operation
64
- # Retrieves data generated by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
65
+ # Retrieves data generated by
66
+ # [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob].
65
67
  rpc :FetchReportResults, ::Google::Cloud::Channel::V1::FetchReportResultsRequest, ::Google::Cloud::Channel::V1::FetchReportResultsResponse
66
68
  # Lists the reports that RunReportJob can run. These reports include an ID,
67
69
  # a description, and the list of columns that will be in the result.
@@ -25,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  optional :effective_invoice_month, :message, 1, "google.type.Date"
26
26
  optional :adjustment, :message, 2, "google.cloud.channel.v1.RepricingAdjustment"
27
27
  optional :rebilling_basis, :enum, 3, "google.cloud.channel.v1.RebillingBasis"
28
+ repeated :conditional_overrides, :message, 6, "google.cloud.channel.v1.ConditionalOverride"
28
29
  oneof :granularity do
29
30
  optional :entitlement_granularity, :message, 4, "google.cloud.channel.v1.RepricingConfig.EntitlementGranularity"
30
31
  optional :channel_partner_granularity, :message, 5, "google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity"
@@ -43,6 +44,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
43
44
  add_message "google.cloud.channel.v1.PercentageAdjustment" do
44
45
  optional :percentage, :message, 2, "google.type.Decimal"
45
46
  end
47
+ add_message "google.cloud.channel.v1.ConditionalOverride" do
48
+ optional :adjustment, :message, 1, "google.cloud.channel.v1.RepricingAdjustment"
49
+ optional :rebilling_basis, :enum, 2, "google.cloud.channel.v1.RebillingBasis"
50
+ optional :repricing_condition, :message, 3, "google.cloud.channel.v1.RepricingCondition"
51
+ end
52
+ add_message "google.cloud.channel.v1.RepricingCondition" do
53
+ oneof :condition do
54
+ optional :sku_group_condition, :message, 1, "google.cloud.channel.v1.SkuGroupCondition"
55
+ end
56
+ end
57
+ add_message "google.cloud.channel.v1.SkuGroupCondition" do
58
+ optional :sku_group, :string, 1
59
+ end
46
60
  add_enum "google.cloud.channel.v1.RebillingBasis" do
47
61
  value :REBILLING_BASIS_UNSPECIFIED, 0
48
62
  value :COST_AT_LIST, 1
@@ -62,6 +76,9 @@ module Google
62
76
  RepricingConfig::ChannelPartnerGranularity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity").msgclass
63
77
  RepricingAdjustment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RepricingAdjustment").msgclass
64
78
  PercentageAdjustment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.PercentageAdjustment").msgclass
79
+ ConditionalOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ConditionalOverride").msgclass
80
+ RepricingCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RepricingCondition").msgclass
81
+ SkuGroupCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.SkuGroupCondition").msgclass
65
82
  RebillingBasis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RebillingBasis").enummodule
66
83
  end
67
84
  end
@@ -34,15 +34,16 @@ module Google
34
34
  # 3. Resellers and distributors can manage customer entitlements.
35
35
  #
36
36
  # CloudChannelService exposes the following resources:
37
- # - [Customer][google.cloud.channel.v1.Customer]s: An entityusually an enterprise—managed by a reseller or
38
- # distributor.
37
+ # - [Customer][google.cloud.channel.v1.Customer]s: An entity-usually an
38
+ # enterprise-managed by a reseller or distributor.
39
39
  #
40
- # - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with the means to use
41
- # a service. Entitlements are created or updated as a result of a successful
42
- # fulfillment.
40
+ # - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that
41
+ # provides a customer with the means to use a service. Entitlements are created
42
+ # or updated as a result of a successful fulfillment.
43
43
  #
44
- # - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An entity that identifies links between
45
- # distributors and their indirect resellers in a channel.
44
+ # - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An
45
+ # entity that identifies links between distributors and their indirect
46
+ # resellers in a channel.
46
47
  class Service
47
48
 
48
49
  include ::GRPC::GenericService
@@ -60,9 +61,11 @@ module Google
60
61
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid.
61
62
  #
62
63
  # Return value:
63
- # List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if there are no customers.
64
+ # List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if
65
+ # there are no customers.
64
66
  rpc :ListCustomers, ::Google::Cloud::Channel::V1::ListCustomersRequest, ::Google::Cloud::Channel::V1::ListCustomersResponse
65
- # Returns the requested [Customer][google.cloud.channel.v1.Customer] resource.
67
+ # Returns the requested [Customer][google.cloud.channel.v1.Customer]
68
+ # resource.
66
69
  #
67
70
  # Possible error codes:
68
71
  #
@@ -86,14 +89,17 @@ module Google
86
89
  # * INVALID_VALUE: Invalid domain value in the request.
87
90
  #
88
91
  # Return value:
89
- # A list of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain (may be
90
- # empty)
92
+ # A list of
93
+ # [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
94
+ # resources for the domain (may be empty)
91
95
  #
92
96
  # Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
93
- # no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
97
+ # no
98
+ # [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount]
99
+ # resources match the domain.
94
100
  rpc :CheckCloudIdentityAccountsExist, ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest, ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistResponse
95
- # Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor
96
- # account.
101
+ # Creates a new [Customer][google.cloud.channel.v1.Customer] resource under
102
+ # the reseller or distributor account.
97
103
  #
98
104
  # Possible error codes:
99
105
  #
@@ -106,15 +112,16 @@ module Google
106
112
  # Return value:
107
113
  # The newly created [Customer][google.cloud.channel.v1.Customer] resource.
108
114
  rpc :CreateCustomer, ::Google::Cloud::Channel::V1::CreateCustomerRequest, ::Google::Cloud::Channel::V1::Customer
109
- # Updates an existing [Customer][google.cloud.channel.v1.Customer] resource for the reseller or
110
- # distributor.
115
+ # Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
116
+ # for the reseller or distributor.
111
117
  #
112
118
  # Possible error codes:
113
119
  #
114
120
  # * PERMISSION_DENIED: The reseller account making the request is different
115
121
  # from the reseller account in the API request.
116
122
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid.
117
- # * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
123
+ # * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
124
+ # for the name in the request.
118
125
  #
119
126
  # Return value:
120
127
  # The updated [Customer][google.cloud.channel.v1.Customer] resource.
@@ -127,12 +134,13 @@ module Google
127
134
  # this customer.
128
135
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid.
129
136
  # * FAILED_PRECONDITION: The customer has existing entitlements.
130
- # * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
137
+ # * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found
138
+ # for the name in the request.
131
139
  rpc :DeleteCustomer, ::Google::Cloud::Channel::V1::DeleteCustomerRequest, ::Google::Protobuf::Empty
132
- # Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud Identity associated with the provided
133
- # Cloud Identity ID or domain before a TransferEntitlements call. If a
134
- # linked Customer already exists and overwrite_if_exists is true, it will
135
- # update that Customer's data.
140
+ # Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud
141
+ # Identity associated with the provided Cloud Identity ID or domain before a
142
+ # TransferEntitlements call. If a linked Customer already exists and
143
+ # overwrite_if_exists is true, it will update that Customer's data.
136
144
  #
137
145
  # Possible error codes:
138
146
  #
@@ -169,7 +177,8 @@ module Google
169
177
  # CloudChannelOperationsService. The Operation metadata contains an
170
178
  # instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
171
179
  rpc :ProvisionCloudIdentity, ::Google::Cloud::Channel::V1::ProvisionCloudIdentityRequest, ::Google::Longrunning::Operation
172
- # Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a customer.
180
+ # Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a
181
+ # customer.
173
182
  #
174
183
  # Possible error codes:
175
184
  #
@@ -177,10 +186,11 @@ module Google
177
186
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid.
178
187
  #
179
188
  # Return value:
180
- # A list of the customer's [Entitlement][google.cloud.channel.v1.Entitlement]s.
189
+ # A list of the customer's
190
+ # [Entitlement][google.cloud.channel.v1.Entitlement]s.
181
191
  rpc :ListEntitlements, ::Google::Cloud::Channel::V1::ListEntitlementsRequest, ::Google::Cloud::Channel::V1::ListEntitlementsResponse
182
- # List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on the Cloud Identity ID or
183
- # Customer Name in the request.
192
+ # List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a
193
+ # customer based on the Cloud Identity ID or Customer Name in the request.
184
194
  #
185
195
  # Use this method to list the entitlements information of an
186
196
  # unowned customer. You should provide the customer's
@@ -196,10 +206,11 @@ module Google
196
206
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid.
197
207
  #
198
208
  # Return value:
199
- # A list of the customer's [TransferableSku][google.cloud.channel.v1.TransferableSku].
209
+ # A list of the customer's
210
+ # [TransferableSku][google.cloud.channel.v1.TransferableSku].
200
211
  rpc :ListTransferableSkus, ::Google::Cloud::Channel::V1::ListTransferableSkusRequest, ::Google::Cloud::Channel::V1::ListTransferableSkusResponse
201
- # List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or
202
- # Customer Name in the request.
212
+ # List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a
213
+ # customer based on Cloud Identity ID or Customer Name in the request.
203
214
  #
204
215
  # Use this method when a reseller gets the entitlement information of an
205
216
  # unowned customer. The reseller should provide the customer's
@@ -216,9 +227,11 @@ module Google
216
227
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid.
217
228
  #
218
229
  # Return value:
219
- # List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU.
230
+ # List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for
231
+ # the given customer and SKU.
220
232
  rpc :ListTransferableOffers, ::Google::Cloud::Channel::V1::ListTransferableOffersRequest, ::Google::Cloud::Channel::V1::ListTransferableOffersResponse
221
- # Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
233
+ # Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement]
234
+ # resource.
222
235
  #
223
236
  # Possible error codes:
224
237
  #
@@ -498,8 +511,8 @@ module Google
498
511
  # google.protobuf.Empty on success. The Operation metadata will contain an
499
512
  # instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
500
513
  rpc :TransferEntitlementsToGoogle, ::Google::Cloud::Channel::V1::TransferEntitlementsToGoogleRequest, ::Google::Longrunning::Operation
501
- # List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s belonging to a distributor.
502
- # You must be a distributor to call this method.
514
+ # List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s
515
+ # belonging to a distributor. You must be a distributor to call this method.
503
516
  #
504
517
  # Possible error codes:
505
518
  #
@@ -508,9 +521,11 @@ module Google
508
521
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid.
509
522
  #
510
523
  # Return value:
511
- # The list of the distributor account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
524
+ # The list of the distributor account's
525
+ # [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
512
526
  rpc :ListChannelPartnerLinks, ::Google::Cloud::Channel::V1::ListChannelPartnerLinksRequest, ::Google::Cloud::Channel::V1::ListChannelPartnerLinksResponse
513
- # Returns the requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
527
+ # Returns the requested
528
+ # [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
514
529
  # You must be a distributor to call this method.
515
530
  #
516
531
  # Possible error codes:
@@ -522,7 +537,8 @@ module Google
522
537
  # invalid channel partner link name.
523
538
  #
524
539
  # Return value:
525
- # The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
540
+ # The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
541
+ # resource.
526
542
  rpc :GetChannelPartnerLink, ::Google::Cloud::Channel::V1::GetChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
527
543
  # Initiates a channel partner link between a distributor and a reseller, or
528
544
  # between resellers in an n-tier reseller channel.
@@ -545,7 +561,8 @@ module Google
545
561
  # Contact Cloud Channel support.
546
562
  #
547
563
  # Return value:
548
- # The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
564
+ # The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]
565
+ # resource.
549
566
  rpc :CreateChannelPartnerLink, ::Google::Cloud::Channel::V1::CreateChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
550
567
  # Updates a channel partner link. Distributors call this method to change a
551
568
  # link's status. For example, to suspend a partner link.
@@ -567,7 +584,8 @@ module Google
567
584
  # Contact Cloud Channel support.
568
585
  #
569
586
  # Return value:
570
- # The updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
587
+ # The updated
588
+ # [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
571
589
  rpc :UpdateChannelPartnerLink, ::Google::Cloud::Channel::V1::UpdateChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
572
590
  # Gets information about how a Reseller modifies their bill before sending
573
591
  # it to a Customer.
@@ -576,13 +594,16 @@ module Google
576
594
  #
577
595
  # * PERMISSION_DENIED: If the account making the request and the account
578
596
  # being queried are different.
579
- # * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] was not found.
597
+ # * NOT_FOUND: The
598
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
599
+ # was not found.
580
600
  # * INTERNAL: Any non-user error related to technical issues in the
581
601
  # backend. In this case, contact Cloud Channel support.
582
602
  #
583
603
  # Return Value:
584
- # If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise returns
585
- # an error.
604
+ # If successful, the
605
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
606
+ # resource, otherwise returns an error.
586
607
  rpc :GetCustomerRepricingConfig, ::Google::Cloud::Channel::V1::GetCustomerRepricingConfigRequest, ::Google::Cloud::Channel::V1::CustomerRepricingConfig
587
608
  # Lists information about how a Reseller modifies their bill before sending
588
609
  # it to a Customer.
@@ -591,14 +612,17 @@ module Google
591
612
  #
592
613
  # * PERMISSION_DENIED: If the account making the request and the account
593
614
  # being queried are different.
594
- # * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
595
- # not associated with the given account.
615
+ # * NOT_FOUND: The
616
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
617
+ # specified does not exist or is not associated with the given account.
596
618
  # * INTERNAL: Any non-user error related to technical issues in the
597
619
  # backend. In this case, contact Cloud Channel support.
598
620
  #
599
621
  # Return Value:
600
- # If successful, the [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resources. The
601
- # data for each resource is displayed in the ascending order of:
622
+ # If successful, the
623
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
624
+ # resources. The data for each resource is displayed in the ascending order
625
+ # of:
602
626
  # * customer ID
603
627
  # * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
604
628
  # * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
@@ -608,9 +632,9 @@ module Google
608
632
  rpc :ListCustomerRepricingConfigs, ::Google::Cloud::Channel::V1::ListCustomerRepricingConfigsRequest, ::Google::Cloud::Channel::V1::ListCustomerRepricingConfigsResponse
609
633
  # Creates a CustomerRepricingConfig. Call this method to set modifications
610
634
  # for a specific customer's bill. You can only create configs if the
611
- # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
612
- # future month. If needed, you can create a config for the current month,
613
- # with some restrictions.
635
+ # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
636
+ # is a future month. If needed, you can create a config for the current
637
+ # month, with some restrictions.
614
638
  #
615
639
  # When creating a config for a future month, make sure there are no existing
616
640
  # configs for that
@@ -624,9 +648,11 @@ module Google
624
648
  # Changes to the config may be immediate, but may take up to 24 hours.
625
649
  # * There is a limit of ten configs for any
626
650
  # [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
627
- # or [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
628
- # * The contained [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] vaule must be
629
- # different from the value used in the current config for a
651
+ # or
652
+ # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
653
+ # * The contained
654
+ # [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config]
655
+ # vaule must be different from the value used in the current config for a
630
656
  # [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement].
631
657
  #
632
658
  # Possible Error Codes:
@@ -636,24 +662,27 @@ module Google
636
662
  # * INVALID_ARGUMENT: Missing or invalid required parameters in the
637
663
  # request. Also displays if the updated config is for the current month or
638
664
  # past months.
639
- # * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
640
- # not associated with the given account.
665
+ # * NOT_FOUND: The
666
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
667
+ # specified does not exist or is not associated with the given account.
641
668
  # * INTERNAL: Any non-user error related to technical issues in the
642
669
  # backend. In this case, contact Cloud Channel support.
643
670
  #
644
671
  # Return Value:
645
- # If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
646
- # returns an error.
672
+ # If successful, the updated
673
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
674
+ # resource, otherwise returns an error.
647
675
  rpc :CreateCustomerRepricingConfig, ::Google::Cloud::Channel::V1::CreateCustomerRepricingConfigRequest, ::Google::Cloud::Channel::V1::CustomerRepricingConfig
648
676
  # Updates a CustomerRepricingConfig. Call this method to set modifications
649
677
  # for a specific customer's bill. This method overwrites the existing
650
678
  # CustomerRepricingConfig.
651
679
  #
652
680
  # You can only update configs if the
653
- # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
654
- # future month. To make changes to configs for the current month, use
655
- # [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig], taking note of its restrictions. You
656
- # cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
681
+ # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
682
+ # is a future month. To make changes to configs for the current month, use
683
+ # [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig],
684
+ # taking note of its restrictions. You cannot update the
685
+ # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
657
686
  #
658
687
  # When updating a config in the future:
659
688
  #
@@ -666,28 +695,34 @@ module Google
666
695
  # * INVALID_ARGUMENT: Missing or invalid required parameters in the
667
696
  # request. Also displays if the updated config is for the current month or
668
697
  # past months.
669
- # * NOT_FOUND: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] specified does not exist or is
670
- # not associated with the given account.
698
+ # * NOT_FOUND: The
699
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
700
+ # specified does not exist or is not associated with the given account.
671
701
  # * INTERNAL: Any non-user error related to technical issues in the
672
702
  # backend. In this case, contact Cloud Channel support.
673
703
  #
674
704
  # Return Value:
675
- # If successful, the updated [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] resource, otherwise
676
- # returns an error.
705
+ # If successful, the updated
706
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
707
+ # resource, otherwise returns an error.
677
708
  rpc :UpdateCustomerRepricingConfig, ::Google::Cloud::Channel::V1::UpdateCustomerRepricingConfigRequest, ::Google::Cloud::Channel::V1::CustomerRepricingConfig
678
- # Deletes the given [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] permanently. You can only
679
- # delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is set
680
- # to a date after the current month.
709
+ # Deletes the given
710
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
711
+ # permanently. You can only delete configs if their
712
+ # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
713
+ # is set to a date after the current month.
681
714
  #
682
715
  # Possible error codes:
683
716
  #
684
717
  # * PERMISSION_DENIED: The account making the request does not own
685
718
  # this customer.
686
719
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid.
687
- # * FAILED_PRECONDITION: The [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] is active or in the
688
- # past.
689
- # * NOT_FOUND: No [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] found for the name in the
690
- # request.
720
+ # * FAILED_PRECONDITION: The
721
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
722
+ # is active or in the past.
723
+ # * NOT_FOUND: No
724
+ # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
725
+ # found for the name in the request.
691
726
  rpc :DeleteCustomerRepricingConfig, ::Google::Cloud::Channel::V1::DeleteCustomerRepricingConfigRequest, ::Google::Protobuf::Empty
692
727
  # Gets information about how a Distributor modifies their bill before sending
693
728
  # it to a ChannelPartner.
@@ -696,13 +731,16 @@ module Google
696
731
  #
697
732
  # * PERMISSION_DENIED: If the account making the request and the account
698
733
  # being queried are different.
699
- # * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] was not found.
734
+ # * NOT_FOUND: The
735
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
736
+ # was not found.
700
737
  # * INTERNAL: Any non-user error related to technical issues in the
701
738
  # backend. In this case, contact Cloud Channel support.
702
739
  #
703
740
  # Return Value:
704
- # If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource, otherwise
705
- # returns an error.
741
+ # If successful, the
742
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
743
+ # resource, otherwise returns an error.
706
744
  rpc :GetChannelPartnerRepricingConfig, ::Google::Cloud::Channel::V1::GetChannelPartnerRepricingConfigRequest, ::Google::Cloud::Channel::V1::ChannelPartnerRepricingConfig
707
745
  # Lists information about how a Reseller modifies their bill before sending
708
746
  # it to a ChannelPartner.
@@ -711,14 +749,17 @@ module Google
711
749
  #
712
750
  # * PERMISSION_DENIED: If the account making the request and the account
713
751
  # being queried are different.
714
- # * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
715
- # or is not associated with the given account.
752
+ # * NOT_FOUND: The
753
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
754
+ # specified does not exist or is not associated with the given account.
716
755
  # * INTERNAL: Any non-user error related to technical issues in the
717
756
  # backend. In this case, contact Cloud Channel support.
718
757
  #
719
758
  # Return Value:
720
- # If successful, the [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resources.
721
- # The data for each resource is displayed in the ascending order of:
759
+ # If successful, the
760
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
761
+ # resources. The data for each resource is displayed in the ascending order
762
+ # of:
722
763
  # * channel partner ID
723
764
  # * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
724
765
  # * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
@@ -727,9 +768,10 @@ module Google
727
768
  rpc :ListChannelPartnerRepricingConfigs, ::Google::Cloud::Channel::V1::ListChannelPartnerRepricingConfigsRequest, ::Google::Cloud::Channel::V1::ListChannelPartnerRepricingConfigsResponse
728
769
  # Creates a ChannelPartnerRepricingConfig. Call this method to set
729
770
  # modifications for a specific ChannelPartner's bill. You can only create
730
- # configs if the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a future
731
- # month. If needed, you can create a config for the current month, with some
732
- # restrictions.
771
+ # configs if the
772
+ # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
773
+ # is a future month. If needed, you can create a config for the current
774
+ # month, with some restrictions.
733
775
  #
734
776
  # When creating a config for a future month, make sure there are no existing
735
777
  # configs for that
@@ -743,8 +785,9 @@ module Google
743
785
  # Changes to the config may be immediate, but may take up to 24 hours.
744
786
  # * There is a limit of ten configs for any ChannelPartner or
745
787
  # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
746
- # * The contained [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] vaule
747
- # must be different from the value used in the current config for a
788
+ # * The contained
789
+ # [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config]
790
+ # vaule must be different from the value used in the current config for a
748
791
  # ChannelPartner.
749
792
  #
750
793
  # Possible Error Codes:
@@ -754,24 +797,27 @@ module Google
754
797
  # * INVALID_ARGUMENT: Missing or invalid required parameters in the
755
798
  # request. Also displays if the updated config is for the current month or
756
799
  # past months.
757
- # * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
758
- # or is not associated with the given account.
800
+ # * NOT_FOUND: The
801
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
802
+ # specified does not exist or is not associated with the given account.
759
803
  # * INTERNAL: Any non-user error related to technical issues in the
760
804
  # backend. In this case, contact Cloud Channel support.
761
805
  #
762
806
  # Return Value:
763
- # If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
764
- # otherwise returns an error.
807
+ # If successful, the updated
808
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
809
+ # resource, otherwise returns an error.
765
810
  rpc :CreateChannelPartnerRepricingConfig, ::Google::Cloud::Channel::V1::CreateChannelPartnerRepricingConfigRequest, ::Google::Cloud::Channel::V1::ChannelPartnerRepricingConfig
766
811
  # Updates a ChannelPartnerRepricingConfig. Call this method to set
767
812
  # modifications for a specific ChannelPartner's bill. This method overwrites
768
813
  # the existing CustomerRepricingConfig.
769
814
  #
770
815
  # You can only update configs if the
771
- # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is a
772
- # future month. To make changes to configs for the current month, use
773
- # [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig], taking note of its restrictions.
774
- # You cannot update the [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
816
+ # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
817
+ # is a future month. To make changes to configs for the current month, use
818
+ # [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig],
819
+ # taking note of its restrictions. You cannot update the
820
+ # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month].
775
821
  #
776
822
  # When updating a config in the future:
777
823
  #
@@ -784,28 +830,34 @@ module Google
784
830
  # * INVALID_ARGUMENT: Missing or invalid required parameters in the
785
831
  # request. Also displays if the updated config is for the current month or
786
832
  # past months.
787
- # * NOT_FOUND: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] specified does not exist
788
- # or is not associated with the given account.
833
+ # * NOT_FOUND: The
834
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
835
+ # specified does not exist or is not associated with the given account.
789
836
  # * INTERNAL: Any non-user error related to technical issues in the
790
837
  # backend. In this case, contact Cloud Channel support.
791
838
  #
792
839
  # Return Value:
793
- # If successful, the updated [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] resource,
794
- # otherwise returns an error.
840
+ # If successful, the updated
841
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
842
+ # resource, otherwise returns an error.
795
843
  rpc :UpdateChannelPartnerRepricingConfig, ::Google::Cloud::Channel::V1::UpdateChannelPartnerRepricingConfigRequest, ::Google::Cloud::Channel::V1::ChannelPartnerRepricingConfig
796
- # Deletes the given [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] permanently. You can
797
- # only delete configs if their [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] is
798
- # set to a date after the current month.
844
+ # Deletes the given
845
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
846
+ # permanently. You can only delete configs if their
847
+ # [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
848
+ # is set to a date after the current month.
799
849
  #
800
850
  # Possible error codes:
801
851
  #
802
852
  # * PERMISSION_DENIED: The account making the request does not own
803
853
  # this customer.
804
854
  # * INVALID_ARGUMENT: Required request parameters are missing or invalid.
805
- # * FAILED_PRECONDITION: The [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] is active or
806
- # in the past.
807
- # * NOT_FOUND: No [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] found for the name in the
808
- # request.
855
+ # * FAILED_PRECONDITION: The
856
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
857
+ # is active or in the past.
858
+ # * NOT_FOUND: No
859
+ # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
860
+ # found for the name in the request.
809
861
  rpc :DeleteChannelPartnerRepricingConfig, ::Google::Cloud::Channel::V1::DeleteChannelPartnerRepricingConfigRequest, ::Google::Protobuf::Empty
810
862
  # Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
811
863
  #
@@ -858,7 +910,8 @@ module Google
858
910
  rpc :ListPurchasableOffers, ::Google::Cloud::Channel::V1::ListPurchasableOffersRequest, ::Google::Cloud::Channel::V1::ListPurchasableOffersResponse
859
911
  # Registers a service account with subscriber privileges on the Cloud Pub/Sub
860
912
  # topic for this Channel Services account. After you create a
861
- # subscriber, you get the events through [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
913
+ # subscriber, you get the events through
914
+ # [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
862
915
  #
863
916
  # Possible error codes:
864
917
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Channel
23
23
  module V1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.15.0"
25
25
  end
26
26
  end
27
27
  end