Skip to content

Commit 1775db8

Browse files
feat: Automated regeneration of cloudcommerceprocurement v1 client (#24331)
Auto-created at 2025-09-21 09:43:33 +0000 using the toys pull request generator.
1 parent ad742ec commit 1775db8

File tree

6 files changed

+22
-3
lines changed

6 files changed

+22
-3
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70683,6 +70683,7 @@
7068370683
"/cloudcommerceprocurement:v1/Account/inputProperties/input_property": input_property
7068470684
"/cloudcommerceprocurement:v1/Account/name": name
7068570685
"/cloudcommerceprocurement:v1/Account/provider": provider
70686+
"/cloudcommerceprocurement:v1/Account/resellerParentBillingAccount": reseller_parent_billing_account
7068670687
"/cloudcommerceprocurement:v1/Account/state": state
7068770688
"/cloudcommerceprocurement:v1/Account/updateTime": update_time
7068870689
"/cloudcommerceprocurement:v1/Approval": approval
@@ -70757,6 +70758,7 @@
7075770758
"/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.approve/name": name
7075870759
"/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.get": get_provider_account
7075970760
"/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.get/name": name
70761+
"/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.get/view": view
7076070762
"/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.list": list_provider_accounts
7076170763
"/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.list/pageSize": page_size
7076270764
"/cloudcommerceprocurement:v1/cloudcommerceprocurement.providers.accounts.list/pageToken": page_token

generated/google-apis-cloudcommerceprocurement_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-cloudcommerceprocurement_v1
22

3+
### v0.4.0 (2025-09-21)
4+
5+
* Regenerated from discovery document revision 20250914
6+
37
### v0.3.0 (2025-09-14)
48

59
* Regenerated from discovery document revision 20250907

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ class Account
5959
# @return [String]
6060
attr_accessor :provider
6161

62+
# The reseller parent billing account of the account's corresponding billing
63+
# account, applicable only when the corresponding billing account is a
64+
# subaccount of a reseller. Included in responses only for view
65+
# ACCOUNT_VIEW_FULL. Format: billingAccounts/`billing_account_id`
66+
# Corresponds to the JSON property `resellerParentBillingAccount`
67+
# @return [String]
68+
attr_accessor :reseller_parent_billing_account
69+
6270
# Output only. The state of the account. This is used to decide whether the
6371
# customer is in good standing with the provider and is able to make purchases.
6472
# An account might not be able to make a purchase if the billing account is
@@ -83,6 +91,7 @@ def update!(**args)
8391
@input_properties = args[:input_properties] if args.key?(:input_properties)
8492
@name = args[:name] if args.key?(:name)
8593
@provider = args[:provider] if args.key?(:provider)
94+
@reseller_parent_billing_account = args[:reseller_parent_billing_account] if args.key?(:reseller_parent_billing_account)
8695
@state = args[:state] if args.key?(:state)
8796
@update_time = args[:update_time] if args.key?(:update_time)
8897
end

generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_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 CloudcommerceprocurementV1
1818
# Version of the google-apis-cloudcommerceprocurement_v1 gem
19-
GEM_VERSION = "0.3.0"
19+
GEM_VERSION = "0.4.0"
2020

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
121121
hash :input_properties, as: 'inputProperties'
122122
property :name, as: 'name'
123123
property :provider, as: 'provider'
124+
property :reseller_parent_billing_account, as: 'resellerParentBillingAccount'
124125
property :state, as: 'state'
125126
property :update_time, as: 'updateTime'
126127
end

generated/google-apis-cloudcommerceprocurement_v1/lib/google/apis/cloudcommerceprocurement_v1/service.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ def approve_account(name, approve_account_request_object = nil, fields: nil, quo
8888
# Gets a requested Account resource.
8989
# @param [String] name
9090
# Required. The name of the account to retrieve.
91+
# @param [String] view
92+
# Optional. What information to include in the response.
9193
# @param [String] fields
9294
# Selector specifying which fields to include in a partial response.
9395
# @param [String] quota_user
@@ -105,11 +107,12 @@ def approve_account(name, approve_account_request_object = nil, fields: nil, quo
105107
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
106108
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
107109
# @raise [Google::Apis::AuthorizationError] Authorization is required
108-
def get_provider_account(name, fields: nil, quota_user: nil, options: nil, &block)
110+
def get_provider_account(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
109111
command = make_simple_command(:get, 'v1/{+name}', options)
110112
command.response_representation = Google::Apis::CloudcommerceprocurementV1::Account::Representation
111113
command.response_class = Google::Apis::CloudcommerceprocurementV1::Account
112114
command.params['name'] = name unless name.nil?
115+
command.query['view'] = view unless view.nil?
113116
command.query['fields'] = fields unless fields.nil?
114117
command.query['quotaUser'] = quota_user unless quota_user.nil?
115118
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)