Skip to content

Commit 740d451

Browse files
feat: Automated regeneration of serviceconsumermanagement v1 client (#24714)
Auto-created at 2025-10-26 09:39:04 +0000 using the toys pull request generator.
1 parent 609b5d9 commit 740d451

File tree

6 files changed

+39
-3
lines changed

6 files changed

+39
-3
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350509,6 +350509,8 @@
350509350509
"/serviceconsumermanagement:v1/ListOperationsResponse/nextPageToken": next_page_token
350510350510
"/serviceconsumermanagement:v1/ListOperationsResponse/operations": operations
350511350511
"/serviceconsumermanagement:v1/ListOperationsResponse/operations/operation": operation
350512+
"/serviceconsumermanagement:v1/ListOperationsResponse/unreachable": unreachable
350513+
"/serviceconsumermanagement:v1/ListOperationsResponse/unreachable/unreachable": unreachable
350512350514
"/serviceconsumermanagement:v1/ListTenancyUnitsResponse": list_tenancy_units_response
350513350515
"/serviceconsumermanagement:v1/ListTenancyUnitsResponse/nextPageToken": next_page_token
350514350516
"/serviceconsumermanagement:v1/ListTenancyUnitsResponse/tenancyUnits": tenancy_units
@@ -350847,6 +350849,7 @@
350847350849
"/serviceconsumermanagement:v1/V1Beta1ServiceIdentity": v1_beta1_service_identity
350848350850
"/serviceconsumermanagement:v1/V1Beta1ServiceIdentity/email": email
350849350851
"/serviceconsumermanagement:v1/V1Beta1ServiceIdentity/name": name
350852+
"/serviceconsumermanagement:v1/V1Beta1ServiceIdentity/projectRole": project_role
350850350853
"/serviceconsumermanagement:v1/V1Beta1ServiceIdentity/tag": tag
350851350854
"/serviceconsumermanagement:v1/V1Beta1ServiceIdentity/uniqueId": unique_id
350852350855
"/serviceconsumermanagement:v1/V1DefaultIdentity": v1_default_identity
@@ -350892,6 +350895,7 @@
350892350895
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.list/name": name
350893350896
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.list/pageSize": page_size
350894350897
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.list/pageToken": page_token
350898+
"/serviceconsumermanagement:v1/serviceconsumermanagement.operations.list/returnPartialSuccess": return_partial_success
350895350899
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.search": search_services
350896350900
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.search/pageSize": page_size
350897350901
"/serviceconsumermanagement:v1/serviceconsumermanagement.services.search/pageToken": page_token

generated/google-apis-serviceconsumermanagement_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-serviceconsumermanagement_v1
22

3+
### v0.63.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251023
6+
37
### v0.62.0 (2025-09-28)
48

59
* Regenerated from discovery document revision 20250919

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,6 +2084,13 @@ class ListOperationsResponse
20842084
# @return [Array<Google::Apis::ServiceconsumermanagementV1::Operation>]
20852085
attr_accessor :operations
20862086

2087+
# Unordered list. Unreachable resources. Populated when the request sets `
2088+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
2089+
# when attempting to list all resources across all supported locations.
2090+
# Corresponds to the JSON property `unreachable`
2091+
# @return [Array<String>]
2092+
attr_accessor :unreachable
2093+
20872094
def initialize(**args)
20882095
update!(**args)
20892096
end
@@ -2092,6 +2099,7 @@ def initialize(**args)
20922099
def update!(**args)
20932100
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
20942101
@operations = args[:operations] if args.key?(:operations)
2102+
@unreachable = args[:unreachable] if args.key?(:unreachable)
20952103
end
20962104
end
20972105

@@ -4625,6 +4633,15 @@ class V1Beta1ServiceIdentity
46254633
# @return [String]
46264634
attr_accessor :name
46274635

4636+
# The project-level IAM role defined in the service agent's grant configuration.
4637+
# This is the standard role intended for this service agent. This field is
4638+
# populated regardless of the `skip_role_attach` option in the request. If `
4639+
# skip_role_attach` is true, the caller can use this value to know which role
4640+
# they are responsible for granting.
4641+
# Corresponds to the JSON property `projectRole`
4642+
# @return [String]
4643+
attr_accessor :project_role
4644+
46284645
# The P4 service identity configuration tag. This must be defined in
46294646
# activation_grants. If not specified when creating the account, the tag is set
46304647
# to "default".
@@ -4645,6 +4662,7 @@ def initialize(**args)
46454662
def update!(**args)
46464663
@email = args[:email] if args.key?(:email)
46474664
@name = args[:name] if args.key?(:name)
4665+
@project_role = args[:project_role] if args.key?(:project_role)
46484666
@tag = args[:tag] if args.key?(:tag)
46494667
@unique_id = args[:unique_id] if args.key?(:unique_id)
46504668
end

generated/google-apis-serviceconsumermanagement_v1/lib/google/apis/serviceconsumermanagement_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 ServiceconsumermanagementV1
1818
# Version of the google-apis-serviceconsumermanagement_v1 gem
19-
GEM_VERSION = "0.62.0"
19+
GEM_VERSION = "0.63.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 = "20250919"
25+
REVISION = "20251023"
2626
end
2727
end
2828
end

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
11691169
property :next_page_token, as: 'nextPageToken'
11701170
collection :operations, as: 'operations', class: Google::Apis::ServiceconsumermanagementV1::Operation, decorator: Google::Apis::ServiceconsumermanagementV1::Operation::Representation
11711171

1172+
collection :unreachable, as: 'unreachable'
11721173
end
11731174
end
11741175

@@ -1769,6 +1770,7 @@ class V1Beta1ServiceIdentity
17691770
class Representation < Google::Apis::Core::JsonRepresentation
17701771
property :email, as: 'email'
17711772
property :name, as: 'name'
1773+
property :project_role, as: 'projectRole'
17721774
property :tag, as: 'tag'
17731775
property :unique_id, as: 'uniqueId'
17741776
end

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,13 @@ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
165165
# The standard list page size.
166166
# @param [String] page_token
167167
# The standard list page token.
168+
# @param [Boolean] return_partial_success
169+
# When set to `true`, operations that are reachable are returned as normal, and
170+
# those that are unreachable are returned in the [ListOperationsResponse.
171+
# unreachable] field. This can only be `true` when reading across collections e.
172+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
173+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
174+
# explicitly documented otherwise in service or product specific documentation.
168175
# @param [String] fields
169176
# Selector specifying which fields to include in a partial response.
170177
# @param [String] quota_user
@@ -182,14 +189,15 @@ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
182189
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
183190
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
184191
# @raise [Google::Apis::AuthorizationError] Authorization is required
185-
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
192+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
186193
command = make_simple_command(:get, 'v1/{+name}', options)
187194
command.response_representation = Google::Apis::ServiceconsumermanagementV1::ListOperationsResponse::Representation
188195
command.response_class = Google::Apis::ServiceconsumermanagementV1::ListOperationsResponse
189196
command.params['name'] = name unless name.nil?
190197
command.query['filter'] = filter unless filter.nil?
191198
command.query['pageSize'] = page_size unless page_size.nil?
192199
command.query['pageToken'] = page_token unless page_token.nil?
200+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
193201
command.query['fields'] = fields unless fields.nil?
194202
command.query['quotaUser'] = quota_user unless quota_user.nil?
195203
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)