diff --git a/api_names_out.yaml b/api_names_out.yaml index 5b21b371bcb..b6b9bc135a4 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -70228,6 +70228,9 @@ "/chromemanagement:v1/chromemanagement.customers.connectorConfigs.list/pageSize": page_size "/chromemanagement:v1/chromemanagement.customers.connectorConfigs.list/pageToken": page_token "/chromemanagement:v1/chromemanagement.customers.connectorConfigs.list/parent": parent +"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.patch": patch_customer_connector_config +"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.patch/name": name +"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.patch/updateMask": update_mask "/chromemanagement:v1/chromemanagement.customers.profiles.commands.create": create_customer_profile_command "/chromemanagement:v1/chromemanagement.customers.profiles.commands.create/parent": parent "/chromemanagement:v1/chromemanagement.customers.profiles.commands.get": get_customer_profile_command diff --git a/generated/google-apis-chromemanagement_v1/CHANGELOG.md b/generated/google-apis-chromemanagement_v1/CHANGELOG.md index e503139dcc8..da84497a2d5 100644 --- a/generated/google-apis-chromemanagement_v1/CHANGELOG.md +++ b/generated/google-apis-chromemanagement_v1/CHANGELOG.md @@ -1,8 +1,8 @@ # Release history for google-apis-chromemanagement_v1 -### v0.75.0 (2026-04-19) +### v0.75.0 (2026-04-26) -* Regenerated from discovery document revision 20260417 +* Regenerated from discovery document revision 20260424 ### v0.74.0 (2025-12-14) diff --git a/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/classes.rb b/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/classes.rb index 739ba42c057..4c407a16a65 100644 --- a/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/classes.rb +++ b/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/classes.rb @@ -4911,7 +4911,7 @@ def update!(**args) class GoogleChromeManagementVersionsV1ConnectorConfig include Google::Apis::Core::Hashable - # The details of the connector config. LINT.IfChange + # The details of the connector config. # Corresponds to the JSON property `details` # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigDetails] attr_accessor :details @@ -4921,13 +4921,6 @@ class GoogleChromeManagementVersionsV1ConnectorConfig # @return [String] attr_accessor :display_name - # Optional. This checksum is computed by the server based on the value of other - # fields, and may be sent on update and delete requests to ensure the client has - # an up-to-date value before proceeding. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - # Identifier. Format: customers/`customer`/connectorConfigs/`connector_config` # Corresponds to the JSON property `name` # @return [String] @@ -4951,14 +4944,13 @@ def initialize(**args) def update!(**args) @details = args[:details] if args.key?(:details) @display_name = args[:display_name] if args.key?(:display_name) - @etag = args[:etag] if args.key?(:etag) @name = args[:name] if args.key?(:name) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) end end - # The details of the connector config. LINT.IfChange + # The details of the connector config. class GoogleChromeManagementVersionsV1ConnectorConfigDetails include Google::Apis::Core::Hashable @@ -5043,8 +5035,8 @@ class GoogleChromeManagementVersionsV1ConnectorConfigStatus attr_accessor :state # Output only. Field recording time of most recent modification of the status. - # For ENABLED, this is the time the status was changed to ENABLED. For - # DISABLED_BY_FAILURES, this is the time of the most recent failed attempt to + # For `ENABLED`, this is the time the status was changed to `ENABLED`. For ` + # DISABLED_BY_FAILURES`, this is the time of the most recent failed attempt to # send an event to this config. # Corresponds to the JSON property `updateTime` # @return [String] @@ -5392,11 +5384,6 @@ class GoogleChromeManagementVersionsV1ListConnectorConfigsResponse # @return [String] attr_accessor :next_page_token - # The total size of the connector configs list. - # Corresponds to the JSON property `totalSize` - # @return [Fixnum] - attr_accessor :total_size - def initialize(**args) update!(**args) end @@ -5405,7 +5392,6 @@ def initialize(**args) def update!(**args) @connector_configs = args[:connector_configs] if args.key?(:connector_configs) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @total_size = args[:total_size] if args.key?(:total_size) end end diff --git a/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/gem_version.rb b/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/gem_version.rb index bbd3c505e14..7a481068ceb 100644 --- a/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/gem_version.rb +++ b/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/gem_version.rb @@ -22,7 +22,7 @@ module ChromemanagementV1 GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20260417" + REVISION = "20260424" end end end diff --git a/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/representations.rb b/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/representations.rb index 0d0ee9a9aa5..76c7d0a8805 100644 --- a/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/representations.rb +++ b/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/representations.rb @@ -2207,7 +2207,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :details, as: 'details', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigDetails, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigDetails::Representation property :display_name, as: 'displayName' - property :etag, as: 'etag' property :name, as: 'name' property :status, as: 'status', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigStatus, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfigStatus::Representation @@ -2348,7 +2347,6 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :connector_configs, as: 'connectorConfigs', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig::Representation property :next_page_token, as: 'nextPageToken' - property :total_size, as: 'totalSize' end end diff --git a/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/service.rb b/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/service.rb index 2ce4b55cc4c..b413519e72e 100644 --- a/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/service.rb +++ b/generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_v1/service.rb @@ -557,10 +557,6 @@ def create_customer_connector_config(parent, google_chrome_management_versions_v # Deletes a connector config. # @param [String] name # Required. Format: customers/`customer`/connectorConfigs/`connector_config` - # @param [String] etag - # Optional. The etag of the connector config. If an etag is provided and does - # not match the current etag of the connector config, deletion will be blocked - # and an ABORTED error will be returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -578,12 +574,11 @@ def create_customer_connector_config(parent, google_chrome_management_versions_v # @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 delete_customer_connector_config(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) + def delete_customer_connector_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', options) command.response_representation = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? - command.query['etag'] = etag unless etag.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -660,6 +655,42 @@ def list_customer_connector_configs(parent, page_size: nil, page_token: nil, fie execute_or_queue_command(command, &block) end + # Updates a connector config. + # @param [String] name + # Identifier. Format: customers/`customer`/connectorConfigs/`connector_config` + # @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig] google_chrome_management_versions_v1_connector_config_object + # @param [String] update_mask + # Optional. The update mask that can be used to specify which fields to update. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig] + # + # @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 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) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig::Representation + command.request_object = google_chrome_management_versions_v1_connector_config_object + command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig::Representation + command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ConnectorConfig + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Deletes the data collected from a Chrome browser profile. # @param [String] name # Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`