Skip to content

Commit a0d8b2d

Browse files
feat: Automated regeneration of androidmanagement v1 client (#24411)
Auto-created at 2025-09-28 09:51:35 +0000 using the toys pull request generator.
1 parent 3e99124 commit a0d8b2d

File tree

6 files changed

+27
-3
lines changed

6 files changed

+27
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33550,6 +33550,8 @@
3355033550
"/androidmanagement:v1/ListOperationsResponse/nextPageToken": next_page_token
3355133551
"/androidmanagement:v1/ListOperationsResponse/operations": operations
3355233552
"/androidmanagement:v1/ListOperationsResponse/operations/operation": operation
33553+
"/androidmanagement:v1/ListOperationsResponse/unreachable": unreachable
33554+
"/androidmanagement:v1/ListOperationsResponse/unreachable/unreachable": unreachable
3355333555
"/androidmanagement:v1/ListPoliciesResponse": list_policies_response
3355433556
"/androidmanagement:v1/ListPoliciesResponse/nextPageToken": next_page_token
3355533557
"/androidmanagement:v1/ListPoliciesResponse/policies": policies
@@ -34078,6 +34080,7 @@
3407834080
"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.list/name": name
3407934081
"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.list/pageSize": page_size
3408034082
"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.list/pageToken": page_token
34083+
"/androidmanagement:v1/androidmanagement.enterprises.devices.operations.list/returnPartialSuccess": return_partial_success
3408134084
"/androidmanagement:v1/androidmanagement.enterprises.devices.patch": patch_enterprise_device
3408234085
"/androidmanagement:v1/androidmanagement.enterprises.devices.patch/name": name
3408334086
"/androidmanagement:v1/androidmanagement.enterprises.devices.patch/updateMask": update_mask

generated/google-apis-androidmanagement_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-androidmanagement_v1
22

3+
### v0.101.0 (2025-09-28)
4+
5+
* Regenerated from discovery document revision 20250924
6+
37
### v0.100.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250916

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3883,6 +3883,13 @@ class ListOperationsResponse
38833883
# @return [Array<Google::Apis::AndroidmanagementV1::Operation>]
38843884
attr_accessor :operations
38853885

3886+
# Unordered list. Unreachable resources. Populated when the request sets
3887+
# ListOperationsRequest.return_partial_success and reads across collections e.g.
3888+
# when attempting to list all resources across all supported locations.
3889+
# Corresponds to the JSON property `unreachable`
3890+
# @return [Array<String>]
3891+
attr_accessor :unreachable
3892+
38863893
def initialize(**args)
38873894
update!(**args)
38883895
end
@@ -3891,6 +3898,7 @@ def initialize(**args)
38913898
def update!(**args)
38923899
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
38933900
@operations = args[:operations] if args.key?(:operations)
3901+
@unreachable = args[:unreachable] if args.key?(:unreachable)
38943902
end
38953903
end
38963904

generated/google-apis-androidmanagement_v1/lib/google/apis/androidmanagement_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 AndroidmanagementV1
1818
# Version of the google-apis-androidmanagement_v1 gem
19-
GEM_VERSION = "0.100.0"
19+
GEM_VERSION = "0.101.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 = "20250916"
25+
REVISION = "20250924"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1978,6 +1978,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
19781978
property :next_page_token, as: 'nextPageToken'
19791979
collection :operations, as: 'operations', class: Google::Apis::AndroidmanagementV1::Operation, decorator: Google::Apis::AndroidmanagementV1::Operation::Representation
19801980

1981+
collection :unreachable, as: 'unreachable'
19811982
end
19821983
end
19831984

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,13 @@ def get_enterprise_device_operation(name, fields: nil, quota_user: nil, options:
585585
# The standard list page size.
586586
# @param [String] page_token
587587
# The standard list page token.
588+
# @param [Boolean] return_partial_success
589+
# When set to true, operations that are reachable are returned as normal, and
590+
# those that are unreachable are returned in the ListOperationsResponse.
591+
# unreachable field.This can only be true when reading across collections e.g.
592+
# when parent is set to "projects/example/locations/-".This field is not by
593+
# default supported and will result in an UNIMPLEMENTED error if set unless
594+
# explicitly documented otherwise in service or product specific documentation.
588595
# @param [String] fields
589596
# Selector specifying which fields to include in a partial response.
590597
# @param [String] quota_user
@@ -602,14 +609,15 @@ def get_enterprise_device_operation(name, fields: nil, quota_user: nil, options:
602609
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
603610
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
604611
# @raise [Google::Apis::AuthorizationError] Authorization is required
605-
def list_enterprise_device_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
612+
def list_enterprise_device_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
606613
command = make_simple_command(:get, 'v1/{+name}', options)
607614
command.response_representation = Google::Apis::AndroidmanagementV1::ListOperationsResponse::Representation
608615
command.response_class = Google::Apis::AndroidmanagementV1::ListOperationsResponse
609616
command.params['name'] = name unless name.nil?
610617
command.query['filter'] = filter unless filter.nil?
611618
command.query['pageSize'] = page_size unless page_size.nil?
612619
command.query['pageToken'] = page_token unless page_token.nil?
620+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
613621
command.query['fields'] = fields unless fields.nil?
614622
command.query['quotaUser'] = quota_user unless quota_user.nil?
615623
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)