diff --git a/api_names_out.yaml b/api_names_out.yaml index 88c83e32632..4fd19ae3c1a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -70663,6 +70663,7 @@ "/cloudcommerceprocurement:v1/Account/inputProperties/input_property": input_property "/cloudcommerceprocurement:v1/Account/name": name "/cloudcommerceprocurement:v1/Account/provider": provider +"/cloudcommerceprocurement:v1/Account/resellerParentBillingAccount": reseller_parent_billing_account "/cloudcommerceprocurement:v1/Account/state": state "/cloudcommerceprocurement:v1/Account/updateTime": update_time "/cloudcommerceprocurement:v1/Approval": approval @@ -70737,6 +70738,7 @@ "/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.approve/name": name "/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.get": get_provider_account "/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.get/name": name +"/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.get/view": view "/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.list": list_provider_accounts "/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.list/pageSize": page_size "/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.list/pageToken": page_token diff --git a/generated/google-apis-cloudcommerceprocurement_v1/CHANGELOG.md b/generated/google-apis-cloudcommerceprocurement_v1/CHANGELOG.md index 3a9264131c4..296451b64b1 100644 --- a/generated/google-apis-cloudcommerceprocurement_v1/CHANGELOG.md +++ b/generated/google-apis-cloudcommerceprocurement_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-cloudcommerceprocurement_v1 +### v0.4.0 (2025-09-21) + +* Regenerated from discovery document revision 20250914 + ### v0.3.0 (2025-09-14) * Regenerated from discovery document revision 20250907 diff --git a/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/classes.rb b/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/classes.rb index 92e3d9357b1..c90e82320e1 100644 --- a/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/classes.rb +++ b/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/classes.rb @@ -59,6 +59,14 @@ class Account # @return [String] attr_accessor :provider + # The reseller parent billing account of the account's corresponding billing + # account, applicable only when the corresponding billing account is a + # subaccount of a reseller. Included in responses only for view + # ACCOUNT_VIEW_FULL. Format: billingAccounts/`billing_account_id` + # Corresponds to the JSON property `resellerParentBillingAccount` + # @return [String] + attr_accessor :reseller_parent_billing_account + # Output only. The state of the account. This is used to decide whether the # customer is in good standing with the provider and is able to make purchases. # An account might not be able to make a purchase if the billing account is @@ -83,6 +91,7 @@ def update!(**args) @input_properties = args[:input_properties] if args.key?(:input_properties) @name = args[:name] if args.key?(:name) @provider = args[:provider] if args.key?(:provider) + @reseller_parent_billing_account = args[:reseller_parent_billing_account] if args.key?(:reseller_parent_billing_account) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end diff --git a/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/gem_version.rb b/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/gem_version.rb index f8a8849195b..dd5b87edd61 100644 --- a/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/gem_version.rb +++ b/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module CloudcommerceprocurementV1 # Version of the google-apis-cloudcommerceprocurement_v1 gem - GEM_VERSION = "0.3.0" + GEM_VERSION = "0.4.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250907" + REVISION = "20250914" end end end diff --git a/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/representations.rb b/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/representations.rb index 33b84dc2049..1d41890c5ba 100644 --- a/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/representations.rb +++ b/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/representations.rb @@ -121,6 +121,7 @@ class Representation < Google::Apis::Core::JsonRepresentation hash :input_properties, as: 'inputProperties' property :name, as: 'name' property :provider, as: 'provider' + property :reseller_parent_billing_account, as: 'resellerParentBillingAccount' property :state, as: 'state' property :update_time, as: 'updateTime' end diff --git a/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/service.rb b/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/service.rb index 051427b576c..58db48a4726 100644 --- a/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/service.rb +++ b/generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/service.rb @@ -88,6 +88,8 @@ def approve_account(name, approve_account_request_object = nil, fields: nil, quo # Gets a requested Account resource. # @param [String] name # Required. The name of the account to retrieve. + # @param [String] view + # Optional. What information to include in the response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -105,11 +107,12 @@ def approve_account(name, approve_account_request_object = nil, fields: nil, quo # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_provider_account(name, fields: nil, quota_user: nil, options: nil, &block) + def get_provider_account(name, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::CloudcommerceprocurementV1::Account::Representation command.response_class = Google::Apis::CloudcommerceprocurementV1::Account command.params['name'] = name unless name.nil? + command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)