Skip to content

Commit 33a4cb5

Browse files
feat: Automated regeneration of cloudchannel v1 client (googleapis#20469)
Auto-created at 2024-10-27 09:51:37 +0000 using the toys pull request generator.
1 parent 9c5a782 commit 33a4cb5

File tree

6 files changed

+227
-23
lines changed

6 files changed

+227
-23
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61708,6 +61708,7 @@
6170861708
"/cloudchannel:v1/GoogleCloudChannelV1QueryEligibleBillingAccountsResponse/skuPurchaseGroups": sku_purchase_groups
6170961709
"/cloudchannel:v1/GoogleCloudChannelV1QueryEligibleBillingAccountsResponse/skuPurchaseGroups/sku_purchase_group": sku_purchase_group
6171061710
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberRequest": google_cloud_channel_v1_register_subscriber_request
61711+
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberRequest/account": account
6171161712
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberRequest/integrator": integrator
6171261713
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberRequest/serviceAccount": service_account
6171361714
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberResponse": google_cloud_channel_v1_register_subscriber_response
@@ -61815,6 +61816,7 @@
6181561816
"/cloudchannel:v1/GoogleCloudChannelV1TrialSettings/endTime": end_time
6181661817
"/cloudchannel:v1/GoogleCloudChannelV1TrialSettings/trial": trial
6181761818
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberRequest": google_cloud_channel_v1_unregister_subscriber_request
61819+
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberRequest/account": account
6181861820
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberRequest/integrator": integrator
6181961821
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberRequest/serviceAccount": service_account
6182061822
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberResponse": google_cloud_channel_v1_unregister_subscriber_response
@@ -61863,6 +61865,7 @@
6186361865
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/offer": offer
6186461866
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/parameters": parameters
6186561867
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/parameters/parameter": parameter
61868+
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/priceReferenceId": price_reference_id
6186661869
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/provisionedService": provisioned_service
6186761870
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/provisioningState": provisioning_state
6186861871
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/purchaseOrderId": purchase_order_id
@@ -62163,10 +62166,14 @@
6216362166
"/cloudchannel:v1/cloudchannel.integrators.register/account": account
6216462167
"/cloudchannel:v1/cloudchannel.integrators.register/integrator": integrator
6216562168
"/cloudchannel:v1/cloudchannel.integrators.register/serviceAccount": service_account
62169+
"/cloudchannel:v1/cloudchannel.integrators.registerSubscriber": register_integrator_subscriber
62170+
"/cloudchannel:v1/cloudchannel.integrators.registerSubscriber/integrator": integrator
6216662171
"/cloudchannel:v1/cloudchannel.integrators.unregister": unregister_integrator
6216762172
"/cloudchannel:v1/cloudchannel.integrators.unregister/account": account
6216862173
"/cloudchannel:v1/cloudchannel.integrators.unregister/integrator": integrator
6216962174
"/cloudchannel:v1/cloudchannel.integrators.unregister/serviceAccount": service_account
62175+
"/cloudchannel:v1/cloudchannel.integrators.unregisterSubscriber": unregister_integrator_subscriber
62176+
"/cloudchannel:v1/cloudchannel.integrators.unregisterSubscriber/integrator": integrator
6217062177
"/cloudchannel:v1/cloudchannel.operations.cancel": cancel_operation
6217162178
"/cloudchannel:v1/cloudchannel.operations.cancel/name": name
6217262179
"/cloudchannel:v1/cloudchannel.operations.delete": delete_operation

generated/google-apis-cloudchannel_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-cloudchannel_v1
22

3+
### v0.54.0 (2024-10-27)
4+
5+
* Regenerated from discovery document revision 20241024
6+
37
### v0.53.0 (2024-09-15)
48

59
* Regenerated from discovery document revision 20240913

generated/google-apis-cloudchannel_v1/lib/google/apis/cloudchannel_v1/classes.rb

Lines changed: 43 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def update!(**args)
280280
end
281281
end
282282

283-
# Request message for CloudChannelService.ChangeParametersRequest.
283+
# Request message for CloudChannelService.ChangeParameters.
284284
class GoogleCloudChannelV1ChangeParametersRequest
285285
include Google::Apis::Core::Hashable
286286

@@ -1779,8 +1779,8 @@ class GoogleCloudChannelV1ListSkuGroupBillableSkusResponse
17791779
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillableSku>]
17801780
attr_accessor :billable_skus
17811781

1782-
# A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkus.
1783-
# page_token to obtain that page.
1782+
# A token to retrieve the next page of results. Pass to
1783+
# ListSkuGroupBillableSkusRequest.page_token to obtain that page.
17841784
# Corresponds to the JSON property `nextPageToken`
17851785
# @return [String]
17861786
attr_accessor :next_page_token
@@ -1800,8 +1800,8 @@ def update!(**args)
18001800
class GoogleCloudChannelV1ListSkuGroupsResponse
18011801
include Google::Apis::Core::Hashable
18021802

1803-
# A token to retrieve the next page of results. Pass to ListSkuGroups.page_token
1804-
# to obtain that page.
1803+
# A token to retrieve the next page of results. Pass to ListSkuGroupsRequest.
1804+
# page_token to obtain that page.
18051805
# Corresponds to the JSON property `nextPageToken`
18061806
# @return [String]
18071807
attr_accessor :next_page_token
@@ -2704,6 +2704,18 @@ def update!(**args)
27042704
class GoogleCloudChannelV1RegisterSubscriberRequest
27052705
include Google::Apis::Core::Hashable
27062706

2707+
# Optional. Resource name of the account. Required if integrator is not provided.
2708+
# Otherwise, leave this field empty/unset.
2709+
# Corresponds to the JSON property `account`
2710+
# @return [String]
2711+
attr_accessor :account
2712+
2713+
# Optional. Resource name of the integrator. Required if account is not provided.
2714+
# Otherwise, leave this field empty/unset.
2715+
# Corresponds to the JSON property `integrator`
2716+
# @return [String]
2717+
attr_accessor :integrator
2718+
27072719
# Required. Service account that provides subscriber access to the registered
27082720
# topic.
27092721
# Corresponds to the JSON property `serviceAccount`
@@ -2716,6 +2728,8 @@ def initialize(**args)
27162728

27172729
# Update properties of this object
27182730
def update!(**args)
2731+
@account = args[:account] if args.key?(:account)
2732+
@integrator = args[:integrator] if args.key?(:integrator)
27192733
@service_account = args[:service_account] if args.key?(:service_account)
27202734
end
27212735
end
@@ -3621,6 +3635,18 @@ def update!(**args)
36213635
class GoogleCloudChannelV1UnregisterSubscriberRequest
36223636
include Google::Apis::Core::Hashable
36233637

3638+
# Optional. Resource name of the account. Required if integrator is not provided.
3639+
# Otherwise, leave this field empty/unset.
3640+
# Corresponds to the JSON property `account`
3641+
# @return [String]
3642+
attr_accessor :account
3643+
3644+
# Optional. Resource name of the integrator. Required if account is not provided.
3645+
# Otherwise, leave this field empty/unset.
3646+
# Corresponds to the JSON property `integrator`
3647+
# @return [String]
3648+
attr_accessor :integrator
3649+
36243650
# Required. Service account to unregister from subscriber access to the topic.
36253651
# Corresponds to the JSON property `serviceAccount`
36263652
# @return [String]
@@ -3632,6 +3658,8 @@ def initialize(**args)
36323658

36333659
# Update properties of this object
36343660
def update!(**args)
3661+
@account = args[:account] if args.key?(:account)
3662+
@integrator = args[:integrator] if args.key?(:integrator)
36353663
@service_account = args[:service_account] if args.key?(:service_account)
36363664
end
36373665
end
@@ -4022,6 +4050,15 @@ class GoogleCloudChannelV1alpha1Entitlement
40224050
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter>]
40234051
attr_accessor :parameters
40244052

4053+
# Optional. Price reference ID for the offer. Optional field only for offers
4054+
# that require additional price information. Used to guarantee that the pricing
4055+
# is consistent between quoting the offer and placing the order. Yet to be
4056+
# implemented: this field is currently not evaluated in the API if populated in
4057+
# a request.
4058+
# Corresponds to the JSON property `priceReferenceId`
4059+
# @return [String]
4060+
attr_accessor :price_reference_id
4061+
40254062
# Service provisioned for an entitlement.
40264063
# Corresponds to the JSON property `provisionedService`
40274064
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService]
@@ -4073,6 +4110,7 @@ def update!(**args)
40734110
@num_units = args[:num_units] if args.key?(:num_units)
40744111
@offer = args[:offer] if args.key?(:offer)
40754112
@parameters = args[:parameters] if args.key?(:parameters)
4113+
@price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
40764114
@provisioned_service = args[:provisioned_service] if args.key?(:provisioned_service)
40774115
@provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
40784116
@purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)

generated/google-apis-cloudchannel_v1/lib/google/apis/cloudchannel_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module CloudchannelV1
1818
# Version of the google-apis-cloudchannel_v1 gem
19-
GEM_VERSION = "0.53.0"
19+
GEM_VERSION = "0.54.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240913"
25+
REVISION = "20241024"
2626
end
2727
end
2828
end

generated/google-apis-cloudchannel_v1/lib/google/apis/cloudchannel_v1/representations.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,6 +1612,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
16121612
class GoogleCloudChannelV1RegisterSubscriberRequest
16131613
# @private
16141614
class Representation < Google::Apis::Core::JsonRepresentation
1615+
property :account, as: 'account'
1616+
property :integrator, as: 'integrator'
16151617
property :service_account, as: 'serviceAccount'
16161618
end
16171619
end
@@ -1893,6 +1895,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
18931895
class GoogleCloudChannelV1UnregisterSubscriberRequest
18941896
# @private
18951897
class Representation < Google::Apis::Core::JsonRepresentation
1898+
property :account, as: 'account'
1899+
property :integrator, as: 'integrator'
18961900
property :service_account, as: 'serviceAccount'
18971901
end
18981902
end
@@ -1997,6 +2001,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
19972001
property :offer, as: 'offer'
19982002
collection :parameters, as: 'parameters', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter::Representation
19992003

2004+
property :price_reference_id, as: 'priceReferenceId'
20002005
property :provisioned_service, as: 'provisionedService', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService::Representation
20012006

20022007
property :provisioning_state, as: 'provisioningState'

0 commit comments

Comments
 (0)