Skip to content

Commit c27492f

Browse files
feat: Automated regeneration of chromemanagement v1 client (#26266)
Auto-created at 2026-04-26 09:38:28 +0000 using the toys pull request generator.
1 parent ee88047 commit c27492f

6 files changed

Lines changed: 47 additions & 29 deletions

File tree

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70245,6 +70245,9 @@
7024570245
"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.list/pageSize": page_size
7024670246
"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.list/pageToken": page_token
7024770247
"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.list/parent": parent
70248+
"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.patch": patch_customer_connector_config
70249+
"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.patch/name": name
70250+
"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.patch/updateMask": update_mask
7024870251
"/chromemanagement:v1/chromemanagement.customers.profiles.commands.create": create_customer_profile_command
7024970252
"/chromemanagement:v1/chromemanagement.customers.profiles.commands.create/parent": parent
7025070253
"/chromemanagement:v1/chromemanagement.customers.profiles.commands.get": get_customer_profile_command

generated/google-apis-chromemanagement_v1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-chromemanagement_v1
22

3-
### v0.75.0 (2026-04-19)
3+
### v0.75.0 (2026-04-26)
44

5-
* Regenerated from discovery document revision 20260417
5+
* Regenerated from discovery document revision 20260424
66

77
### v0.74.0 (2025-12-14)
88

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

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4911,7 +4911,7 @@ def update!(**args)
49114911
class GoogleChromeManagementVersionsV1ConnectorConfig
49124912
include Google::Apis::Core::Hashable
49134913

4914-
# The details of the connector config. LINT.IfChange
4914+
# The details of the connector config.
49154915
# Corresponds to the JSON property `details`
49164916
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigDetails]
49174917
attr_accessor :details
@@ -4921,13 +4921,6 @@ class GoogleChromeManagementVersionsV1ConnectorConfig
49214921
# @return [String]
49224922
attr_accessor :display_name
49234923

4924-
# Optional. This checksum is computed by the server based on the value of other
4925-
# fields, and may be sent on update and delete requests to ensure the client has
4926-
# an up-to-date value before proceeding.
4927-
# Corresponds to the JSON property `etag`
4928-
# @return [String]
4929-
attr_accessor :etag
4930-
49314924
# Identifier. Format: customers/`customer`/connectorConfigs/`connector_config`
49324925
# Corresponds to the JSON property `name`
49334926
# @return [String]
@@ -4951,14 +4944,13 @@ def initialize(**args)
49514944
def update!(**args)
49524945
@details = args[:details] if args.key?(:details)
49534946
@display_name = args[:display_name] if args.key?(:display_name)
4954-
@etag = args[:etag] if args.key?(:etag)
49554947
@name = args[:name] if args.key?(:name)
49564948
@status = args[:status] if args.key?(:status)
49574949
@type = args[:type] if args.key?(:type)
49584950
end
49594951
end
49604952

4961-
# The details of the connector config. LINT.IfChange
4953+
# The details of the connector config.
49624954
class GoogleChromeManagementVersionsV1ConnectorConfigDetails
49634955
include Google::Apis::Core::Hashable
49644956

@@ -5043,8 +5035,8 @@ class GoogleChromeManagementVersionsV1ConnectorConfigStatus
50435035
attr_accessor :state
50445036

50455037
# Output only. Field recording time of most recent modification of the status.
5046-
# For ENABLED, this is the time the status was changed to ENABLED. For
5047-
# DISABLED_BY_FAILURES, this is the time of the most recent failed attempt to
5038+
# For `ENABLED`, this is the time the status was changed to `ENABLED`. For `
5039+
# DISABLED_BY_FAILURES`, this is the time of the most recent failed attempt to
50485040
# send an event to this config.
50495041
# Corresponds to the JSON property `updateTime`
50505042
# @return [String]
@@ -5392,11 +5384,6 @@ class GoogleChromeManagementVersionsV1ListConnectorConfigsResponse
53925384
# @return [String]
53935385
attr_accessor :next_page_token
53945386

5395-
# The total size of the connector configs list.
5396-
# Corresponds to the JSON property `totalSize`
5397-
# @return [Fixnum]
5398-
attr_accessor :total_size
5399-
54005387
def initialize(**args)
54015388
update!(**args)
54025389
end
@@ -5405,7 +5392,6 @@ def initialize(**args)
54055392
def update!(**args)
54065393
@connector_configs = args[:connector_configs] if args.key?(:connector_configs)
54075394
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5408-
@total_size = args[:total_size] if args.key?(:total_size)
54095395
end
54105396
end
54115397

generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ChromemanagementV1
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
22072207
property :details, as: 'details', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigDetails, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigDetails::Representation
22082208

22092209
property :display_name, as: 'displayName'
2210-
property :etag, as: 'etag'
22112210
property :name, as: 'name'
22122211
property :status, as: 'status', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigStatus, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigStatus::Representation
22132212

@@ -2348,7 +2347,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
23482347
collection :connector_configs, as: 'connectorConfigs', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig::Representation
23492348

23502349
property :next_page_token, as: 'nextPageToken'
2351-
property :total_size, as: 'totalSize'
23522350
end
23532351
end
23542352

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

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,6 @@ def create_customer_connector_config(parent, google_chrome_management_versions_v
557557
# Deletes a connector config.
558558
# @param [String] name
559559
# Required. Format: customers/`customer`/connectorConfigs/`connector_config`
560-
# @param [String] etag
561-
# Optional. The etag of the connector config. If an etag is provided and does
562-
# not match the current etag of the connector config, deletion will be blocked
563-
# and an ABORTED error will be returned.
564560
# @param [String] fields
565561
# Selector specifying which fields to include in a partial response.
566562
# @param [String] quota_user
@@ -578,12 +574,11 @@ def create_customer_connector_config(parent, google_chrome_management_versions_v
578574
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
579575
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
580576
# @raise [Google::Apis::AuthorizationError] Authorization is required
581-
def delete_customer_connector_config(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
577+
def delete_customer_connector_config(name, fields: nil, quota_user: nil, options: nil, &block)
582578
command = make_simple_command(:delete, 'v1/{+name}', options)
583579
command.response_representation = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty::Representation
584580
command.response_class = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty
585581
command.params['name'] = name unless name.nil?
586-
command.query['etag'] = etag unless etag.nil?
587582
command.query['fields'] = fields unless fields.nil?
588583
command.query['quotaUser'] = quota_user unless quota_user.nil?
589584
execute_or_queue_command(command, &block)
@@ -660,6 +655,42 @@ def list_customer_connector_configs(parent, page_size: nil, page_token: nil, fie
660655
execute_or_queue_command(command, &block)
661656
end
662657

658+
# Updates a connector config.
659+
# @param [String] name
660+
# Identifier. Format: customers/`customer`/connectorConfigs/`connector_config`
661+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig] google_chrome_management_versions_v1_connector_config_object
662+
# @param [String] update_mask
663+
# Optional. The update mask that can be used to specify which fields to update.
664+
# @param [String] fields
665+
# Selector specifying which fields to include in a partial response.
666+
# @param [String] quota_user
667+
# Available to use for quota purposes for server-side applications. Can be any
668+
# arbitrary string assigned to a user, but should not exceed 40 characters.
669+
# @param [Google::Apis::RequestOptions] options
670+
# Request-specific options
671+
#
672+
# @yield [result, err] Result & error if block supplied
673+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig] parsed result object
674+
# @yieldparam err [StandardError] error object if request failed
675+
#
676+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig]
677+
#
678+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
679+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
680+
# @raise [Google::Apis::AuthorizationError] Authorization is required
681+
def patch_customer_connector_config(name, google_chrome_management_versions_v1_connector_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
682+
command = make_simple_command(:patch, 'v1/{+name}', options)
683+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig::Representation
684+
command.request_object = google_chrome_management_versions_v1_connector_config_object
685+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig::Representation
686+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig
687+
command.params['name'] = name unless name.nil?
688+
command.query['updateMask'] = update_mask unless update_mask.nil?
689+
command.query['fields'] = fields unless fields.nil?
690+
command.query['quotaUser'] = quota_user unless quota_user.nil?
691+
execute_or_queue_command(command, &block)
692+
end
693+
663694
# Deletes the data collected from a Chrome browser profile.
664695
# @param [String] name
665696
# Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`

0 commit comments

Comments
 (0)