Skip to content
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
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
Loading