Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of cloudchannel v1 client #20469

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61688,6 +61688,7 @@
"/cloudchannel:v1/GoogleCloudChannelV1QueryEligibleBillingAccountsResponse/skuPurchaseGroups": sku_purchase_groups
"/cloudchannel:v1/GoogleCloudChannelV1QueryEligibleBillingAccountsResponse/skuPurchaseGroups/sku_purchase_group": sku_purchase_group
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberRequest": google_cloud_channel_v1_register_subscriber_request
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberRequest/account": account
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberRequest/integrator": integrator
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberRequest/serviceAccount": service_account
"/cloudchannel:v1/GoogleCloudChannelV1RegisterSubscriberResponse": google_cloud_channel_v1_register_subscriber_response
Expand Down Expand Up @@ -61795,6 +61796,7 @@
"/cloudchannel:v1/GoogleCloudChannelV1TrialSettings/endTime": end_time
"/cloudchannel:v1/GoogleCloudChannelV1TrialSettings/trial": trial
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberRequest": google_cloud_channel_v1_unregister_subscriber_request
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberRequest/account": account
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberRequest/integrator": integrator
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberRequest/serviceAccount": service_account
"/cloudchannel:v1/GoogleCloudChannelV1UnregisterSubscriberResponse": google_cloud_channel_v1_unregister_subscriber_response
Expand Down Expand Up @@ -61843,6 +61845,7 @@
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/offer": offer
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/parameters": parameters
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/parameters/parameter": parameter
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/priceReferenceId": price_reference_id
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/provisionedService": provisioned_service
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/provisioningState": provisioning_state
"/cloudchannel:v1/GoogleCloudChannelV1alpha1Entitlement/purchaseOrderId": purchase_order_id
Expand Down Expand Up @@ -62143,10 +62146,14 @@
"/cloudchannel:v1/cloudchannel.integrators.register/account": account
"/cloudchannel:v1/cloudchannel.integrators.register/integrator": integrator
"/cloudchannel:v1/cloudchannel.integrators.register/serviceAccount": service_account
"/cloudchannel:v1/cloudchannel.integrators.registerSubscriber": register_integrator_subscriber
"/cloudchannel:v1/cloudchannel.integrators.registerSubscriber/integrator": integrator
"/cloudchannel:v1/cloudchannel.integrators.unregister": unregister_integrator
"/cloudchannel:v1/cloudchannel.integrators.unregister/account": account
"/cloudchannel:v1/cloudchannel.integrators.unregister/integrator": integrator
"/cloudchannel:v1/cloudchannel.integrators.unregister/serviceAccount": service_account
"/cloudchannel:v1/cloudchannel.integrators.unregisterSubscriber": unregister_integrator_subscriber
"/cloudchannel:v1/cloudchannel.integrators.unregisterSubscriber/integrator": integrator
"/cloudchannel:v1/cloudchannel.operations.cancel": cancel_operation
"/cloudchannel:v1/cloudchannel.operations.cancel/name": name
"/cloudchannel:v1/cloudchannel.operations.delete": delete_operation
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-cloudchannel_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-cloudchannel_v1

### v0.54.0 (2024-10-27)

* Regenerated from discovery document revision 20241024

### v0.53.0 (2024-09-15)

* Regenerated from discovery document revision 20240913
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def update!(**args)
end
end

# Request message for CloudChannelService.ChangeParametersRequest.
# Request message for CloudChannelService.ChangeParameters.
class GoogleCloudChannelV1ChangeParametersRequest
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -1779,8 +1779,8 @@ class GoogleCloudChannelV1ListSkuGroupBillableSkusResponse
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillableSku>]
attr_accessor :billable_skus

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

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

# Optional. Resource name of the account. Required if integrator is not provided.
# Otherwise, leave this field empty/unset.
# Corresponds to the JSON property `account`
# @return [String]
attr_accessor :account

# Optional. Resource name of the integrator. Required if account is not provided.
# Otherwise, leave this field empty/unset.
# Corresponds to the JSON property `integrator`
# @return [String]
attr_accessor :integrator

# Required. Service account that provides subscriber access to the registered
# topic.
# Corresponds to the JSON property `serviceAccount`
Expand All @@ -2716,6 +2728,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@account = args[:account] if args.key?(:account)
@integrator = args[:integrator] if args.key?(:integrator)
@service_account = args[:service_account] if args.key?(:service_account)
end
end
Expand Down Expand Up @@ -3621,6 +3635,18 @@ def update!(**args)
class GoogleCloudChannelV1UnregisterSubscriberRequest
include Google::Apis::Core::Hashable

# Optional. Resource name of the account. Required if integrator is not provided.
# Otherwise, leave this field empty/unset.
# Corresponds to the JSON property `account`
# @return [String]
attr_accessor :account

# Optional. Resource name of the integrator. Required if account is not provided.
# Otherwise, leave this field empty/unset.
# Corresponds to the JSON property `integrator`
# @return [String]
attr_accessor :integrator

# Required. Service account to unregister from subscriber access to the topic.
# Corresponds to the JSON property `serviceAccount`
# @return [String]
Expand All @@ -3632,6 +3658,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@account = args[:account] if args.key?(:account)
@integrator = args[:integrator] if args.key?(:integrator)
@service_account = args[:service_account] if args.key?(:service_account)
end
end
Expand Down Expand Up @@ -4022,6 +4050,15 @@ class GoogleCloudChannelV1alpha1Entitlement
# @return [Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter>]
attr_accessor :parameters

# Optional. Price reference ID for the offer. Optional field only for offers
# that require additional price information. Used to guarantee that the pricing
# is consistent between quoting the offer and placing the order. Yet to be
# implemented: this field is currently not evaluated in the API if populated in
# a request.
# Corresponds to the JSON property `priceReferenceId`
# @return [String]
attr_accessor :price_reference_id

# Service provisioned for an entitlement.
# Corresponds to the JSON property `provisionedService`
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ProvisionedService]
Expand Down Expand Up @@ -4073,6 +4110,7 @@ def update!(**args)
@num_units = args[:num_units] if args.key?(:num_units)
@offer = args[:offer] if args.key?(:offer)
@parameters = args[:parameters] if args.key?(:parameters)
@price_reference_id = args[:price_reference_id] if args.key?(:price_reference_id)
@provisioned_service = args[:provisioned_service] if args.key?(:provisioned_service)
@provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
@purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module CloudchannelV1
# Version of the google-apis-cloudchannel_v1 gem
GEM_VERSION = "0.53.0"
GEM_VERSION = "0.54.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240913"
REVISION = "20241024"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1612,6 +1612,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleCloudChannelV1RegisterSubscriberRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :account, as: 'account'
property :integrator, as: 'integrator'
property :service_account, as: 'serviceAccount'
end
end
Expand Down Expand Up @@ -1893,6 +1895,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleCloudChannelV1UnregisterSubscriberRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :account, as: 'account'
property :integrator, as: 'integrator'
property :service_account, as: 'serviceAccount'
end
end
Expand Down Expand Up @@ -1997,6 +2001,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :offer, as: 'offer'
collection :parameters, as: 'parameters', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Parameter::Representation

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

property :provisioning_state, as: 'provisioningState'
Expand Down
Loading
Loading