Skip to content

Commit 4344dfe

Browse files
feat: Automated regeneration of chromemanagement v1 client (#26563)
Auto-created at 2026-05-24 10:57:16 +0000 using the toys pull request generator.
1 parent ce73752 commit 4344dfe

6 files changed

Lines changed: 275 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71050,6 +71050,8 @@
7105071050
"/chromemanagement:v1/GoogleChromeManagementVersionsV1CertificateProvisioningProcess/signatureAlgorithm": signature_algorithm
7105171051
"/chromemanagement:v1/GoogleChromeManagementVersionsV1CertificateProvisioningProcess/startTime": start_time
7105271052
"/chromemanagement:v1/GoogleChromeManagementVersionsV1CertificateProvisioningProcess/subjectPublicKeyInfo": subject_public_key_info
71053+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1CheckEnablementStatusResponse": google_chrome_management_versions_v1_check_enablement_status_response
71054+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1CheckEnablementStatusResponse/insightsState": insights_state
7105371055
"/chromemanagement:v1/GoogleChromeManagementVersionsV1ChromeBrowserProfile": google_chrome_management_versions_v1_chrome_browser_profile
7105471056
"/chromemanagement:v1/GoogleChromeManagementVersionsV1ChromeBrowserProfile/affiliationState": affiliation_state
7105571057
"/chromemanagement:v1/GoogleChromeManagementVersionsV1ChromeBrowserProfile/annotatedLocation": annotated_location
@@ -71147,6 +71149,14 @@
7114771149
"/chromemanagement:v1/GoogleChromeManagementVersionsV1DeviceTrustConfig/serviceProvider": service_provider
7114871150
"/chromemanagement:v1/GoogleChromeManagementVersionsV1DeviceTrustConfig/urlMatchers": url_matchers
7114971151
"/chromemanagement:v1/GoogleChromeManagementVersionsV1DeviceTrustConfig/urlMatchers/url_matcher": url_matcher
71152+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1DisableInsightsRequest": google_chrome_management_versions_v1_disable_insights_request
71153+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1DisableInsightsResponse": google_chrome_management_versions_v1_disable_insights_response
71154+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1DisableInsightsResponse/insightsState": insights_state
71155+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1EnableInsightsRequest": google_chrome_management_versions_v1_enable_insights_request
71156+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1EnableInsightsRequest/targetOus": target_ous
71157+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1EnableInsightsRequest/targetOus/target_ou": target_ou
71158+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1EnableInsightsResponse": google_chrome_management_versions_v1_enable_insights_response
71159+
"/chromemanagement:v1/GoogleChromeManagementVersionsV1EnableInsightsResponse/insightsState": insights_state
7115071160
"/chromemanagement:v1/GoogleChromeManagementVersionsV1GenericCaConnection": google_chrome_management_versions_v1_generic_ca_connection
7115171161
"/chromemanagement:v1/GoogleChromeManagementVersionsV1GenericCaConnection/caConnectionAdapterConfigReference": ca_connection_adapter_config_reference
7115271162
"/chromemanagement:v1/GoogleChromeManagementVersionsV1GenericProfile": google_chrome_management_versions_v1_generic_profile
@@ -71385,6 +71395,12 @@
7138571395
"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.patch": patch_customer_connector_config
7138671396
"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.patch/name": name
7138771397
"/chromemanagement:v1/chromemanagement.customers.connectorConfigs.patch/updateMask": update_mask
71398+
"/chromemanagement:v1/chromemanagement.customers.enterprise.securityInsights.checkEnablementStatus": check_customer_enterprise_security_insight_enablement_status
71399+
"/chromemanagement:v1/chromemanagement.customers.enterprise.securityInsights.checkEnablementStatus/customer": customer
71400+
"/chromemanagement:v1/chromemanagement.customers.enterprise.securityInsights.disable": disable_customer_enterprise_security_insight
71401+
"/chromemanagement:v1/chromemanagement.customers.enterprise.securityInsights.disable/customer": customer
71402+
"/chromemanagement:v1/chromemanagement.customers.enterprise.securityInsights.enable": enable_customer_enterprise_security_insight
71403+
"/chromemanagement:v1/chromemanagement.customers.enterprise.securityInsights.enable/customer": customer
7138871404
"/chromemanagement:v1/chromemanagement.customers.profiles.commands.create": create_customer_profile_command
7138971405
"/chromemanagement:v1/chromemanagement.customers.profiles.commands.create/parent": parent
7139071406
"/chromemanagement:v1/chromemanagement.customers.profiles.commands.get": get_customer_profile_command

generated/google-apis-chromemanagement_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-chromemanagement_v1
22

3+
### v0.77.0 (2026-05-24)
4+
5+
* Regenerated from discovery document revision 20260520
6+
37
### v0.76.0 (2026-05-10)
48

59
* Regenerated from discovery document revision 20260505

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

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4613,6 +4613,25 @@ def update!(**args)
46134613
end
46144614
end
46154615

4616+
# Response from checking the enablement status of insights for the customer.
4617+
class GoogleChromeManagementVersionsV1CheckEnablementStatusResponse
4618+
include Google::Apis::Core::Hashable
4619+
4620+
# The state of the insights feature.
4621+
# Corresponds to the JSON property `insightsState`
4622+
# @return [String]
4623+
attr_accessor :insights_state
4624+
4625+
def initialize(**args)
4626+
update!(**args)
4627+
end
4628+
4629+
# Update properties of this object
4630+
def update!(**args)
4631+
@insights_state = args[:insights_state] if args.key?(:insights_state)
4632+
end
4633+
end
4634+
46164635
# A representation of a Chrome browser profile.
46174636
class GoogleChromeManagementVersionsV1ChromeBrowserProfile
46184637
include Google::Apis::Core::Hashable
@@ -5309,6 +5328,79 @@ def update!(**args)
53095328
end
53105329
end
53115330

5331+
# Request to disable insights for the customer.
5332+
class GoogleChromeManagementVersionsV1DisableInsightsRequest
5333+
include Google::Apis::Core::Hashable
5334+
5335+
def initialize(**args)
5336+
update!(**args)
5337+
end
5338+
5339+
# Update properties of this object
5340+
def update!(**args)
5341+
end
5342+
end
5343+
5344+
# Response from disabling insights for the customer.
5345+
class GoogleChromeManagementVersionsV1DisableInsightsResponse
5346+
include Google::Apis::Core::Hashable
5347+
5348+
# The state of the insights feature.
5349+
# Corresponds to the JSON property `insightsState`
5350+
# @return [String]
5351+
attr_accessor :insights_state
5352+
5353+
def initialize(**args)
5354+
update!(**args)
5355+
end
5356+
5357+
# Update properties of this object
5358+
def update!(**args)
5359+
@insights_state = args[:insights_state] if args.key?(:insights_state)
5360+
end
5361+
end
5362+
5363+
# Request to enable insights for the customer.
5364+
class GoogleChromeManagementVersionsV1EnableInsightsRequest
5365+
include Google::Apis::Core::Hashable
5366+
5367+
# Optional. The Organizational Units to set up required connectors for.
5368+
# Organizational Units are provided as paths relative to root. If this field is
5369+
# not set, connectors will be set up at root OU (as if it were set to ["/"]).
5370+
# Example: ["/corp/sales", "/eng"]
5371+
# Corresponds to the JSON property `targetOus`
5372+
# @return [Array<String>]
5373+
attr_accessor :target_ous
5374+
5375+
def initialize(**args)
5376+
update!(**args)
5377+
end
5378+
5379+
# Update properties of this object
5380+
def update!(**args)
5381+
@target_ous = args[:target_ous] if args.key?(:target_ous)
5382+
end
5383+
end
5384+
5385+
# Response from enabling insights for the customer.
5386+
class GoogleChromeManagementVersionsV1EnableInsightsResponse
5387+
include Google::Apis::Core::Hashable
5388+
5389+
# The state of the insights feature.
5390+
# Corresponds to the JSON property `insightsState`
5391+
# @return [String]
5392+
attr_accessor :insights_state
5393+
5394+
def initialize(**args)
5395+
update!(**args)
5396+
end
5397+
5398+
# Update properties of this object
5399+
def update!(**args)
5400+
@insights_state = args[:insights_state] if args.key?(:insights_state)
5401+
end
5402+
end
5403+
53125404
# Describes a generic Certificate Authority Connection.
53135405
class GoogleChromeManagementVersionsV1GenericCaConnection
53145406
include Google::Apis::Core::Hashable

generated/google-apis-chromemanagement_v1/lib/google/apis/chromemanagement_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 ChromemanagementV1
1818
# Version of the google-apis-chromemanagement_v1 gem
19-
GEM_VERSION = "0.76.0"
19+
GEM_VERSION = "0.77.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 = "20260505"
25+
REVISION = "20260520"
2626
end
2727
end
2828
end

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

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
646646
include Google::Apis::Core::JsonObjectSupport
647647
end
648648

649+
class GoogleChromeManagementVersionsV1CheckEnablementStatusResponse
650+
class Representation < Google::Apis::Core::JsonRepresentation; end
651+
652+
include Google::Apis::Core::JsonObjectSupport
653+
end
654+
649655
class GoogleChromeManagementVersionsV1ChromeBrowserProfile
650656
class Representation < Google::Apis::Core::JsonRepresentation; end
651657

@@ -736,6 +742,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
736742
include Google::Apis::Core::JsonObjectSupport
737743
end
738744

745+
class GoogleChromeManagementVersionsV1DisableInsightsRequest
746+
class Representation < Google::Apis::Core::JsonRepresentation; end
747+
748+
include Google::Apis::Core::JsonObjectSupport
749+
end
750+
751+
class GoogleChromeManagementVersionsV1DisableInsightsResponse
752+
class Representation < Google::Apis::Core::JsonRepresentation; end
753+
754+
include Google::Apis::Core::JsonObjectSupport
755+
end
756+
757+
class GoogleChromeManagementVersionsV1EnableInsightsRequest
758+
class Representation < Google::Apis::Core::JsonRepresentation; end
759+
760+
include Google::Apis::Core::JsonObjectSupport
761+
end
762+
763+
class GoogleChromeManagementVersionsV1EnableInsightsResponse
764+
class Representation < Google::Apis::Core::JsonRepresentation; end
765+
766+
include Google::Apis::Core::JsonObjectSupport
767+
end
768+
739769
class GoogleChromeManagementVersionsV1GenericCaConnection
740770
class Representation < Google::Apis::Core::JsonRepresentation; end
741771

@@ -2149,6 +2179,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
21492179
end
21502180
end
21512181

2182+
class GoogleChromeManagementVersionsV1CheckEnablementStatusResponse
2183+
# @private
2184+
class Representation < Google::Apis::Core::JsonRepresentation
2185+
property :insights_state, as: 'insightsState'
2186+
end
2187+
end
2188+
21522189
class GoogleChromeManagementVersionsV1ChromeBrowserProfile
21532190
# @private
21542191
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2337,6 +2374,33 @@ class Representation < Google::Apis::Core::JsonRepresentation
23372374
end
23382375
end
23392376

2377+
class GoogleChromeManagementVersionsV1DisableInsightsRequest
2378+
# @private
2379+
class Representation < Google::Apis::Core::JsonRepresentation
2380+
end
2381+
end
2382+
2383+
class GoogleChromeManagementVersionsV1DisableInsightsResponse
2384+
# @private
2385+
class Representation < Google::Apis::Core::JsonRepresentation
2386+
property :insights_state, as: 'insightsState'
2387+
end
2388+
end
2389+
2390+
class GoogleChromeManagementVersionsV1EnableInsightsRequest
2391+
# @private
2392+
class Representation < Google::Apis::Core::JsonRepresentation
2393+
collection :target_ous, as: 'targetOus'
2394+
end
2395+
end
2396+
2397+
class GoogleChromeManagementVersionsV1EnableInsightsResponse
2398+
# @private
2399+
class Representation < Google::Apis::Core::JsonRepresentation
2400+
property :insights_state, as: 'insightsState'
2401+
end
2402+
end
2403+
23402404
class GoogleChromeManagementVersionsV1GenericCaConnection
23412405
# @private
23422406
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,103 @@ def patch_customer_connector_config(name, google_chrome_management_versions_v1_c
691691
execute_or_queue_command(command, &block)
692692
end
693693

694+
# Gets the setting state of the insights feature for the customer.
695+
# @param [String] customer
696+
# Required. The customer to check the enablement status for. Format: customers/`
697+
# customer_id`
698+
# @param [String] fields
699+
# Selector specifying which fields to include in a partial response.
700+
# @param [String] quota_user
701+
# Available to use for quota purposes for server-side applications. Can be any
702+
# arbitrary string assigned to a user, but should not exceed 40 characters.
703+
# @param [Google::Apis::RequestOptions] options
704+
# Request-specific options
705+
#
706+
# @yield [result, err] Result & error if block supplied
707+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CheckEnablementStatusResponse] parsed result object
708+
# @yieldparam err [StandardError] error object if request failed
709+
#
710+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CheckEnablementStatusResponse]
711+
#
712+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
713+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
714+
# @raise [Google::Apis::AuthorizationError] Authorization is required
715+
def check_customer_enterprise_security_insight_enablement_status(customer, fields: nil, quota_user: nil, options: nil, &block)
716+
command = make_simple_command(:get, 'v1/{+customer}/enterprise/securityInsights:checkEnablementStatus', options)
717+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CheckEnablementStatusResponse::Representation
718+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CheckEnablementStatusResponse
719+
command.params['customer'] = customer unless customer.nil?
720+
command.query['fields'] = fields unless fields.nil?
721+
command.query['quotaUser'] = quota_user unless quota_user.nil?
722+
execute_or_queue_command(command, &block)
723+
end
724+
725+
# Disables insights for the customer.
726+
# @param [String] customer
727+
# Required. The customer to disable insights for. Format: customers/`customer`
728+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DisableInsightsRequest] google_chrome_management_versions_v1_disable_insights_request_object
729+
# @param [String] fields
730+
# Selector specifying which fields to include in a partial response.
731+
# @param [String] quota_user
732+
# Available to use for quota purposes for server-side applications. Can be any
733+
# arbitrary string assigned to a user, but should not exceed 40 characters.
734+
# @param [Google::Apis::RequestOptions] options
735+
# Request-specific options
736+
#
737+
# @yield [result, err] Result & error if block supplied
738+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DisableInsightsResponse] parsed result object
739+
# @yieldparam err [StandardError] error object if request failed
740+
#
741+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DisableInsightsResponse]
742+
#
743+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
744+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745+
# @raise [Google::Apis::AuthorizationError] Authorization is required
746+
def disable_customer_enterprise_security_insight(customer, google_chrome_management_versions_v1_disable_insights_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
747+
command = make_simple_command(:post, 'v1/{+customer}/enterprise/securityInsights:disable', options)
748+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DisableInsightsRequest::Representation
749+
command.request_object = google_chrome_management_versions_v1_disable_insights_request_object
750+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DisableInsightsResponse::Representation
751+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DisableInsightsResponse
752+
command.params['customer'] = customer unless customer.nil?
753+
command.query['fields'] = fields unless fields.nil?
754+
command.query['quotaUser'] = quota_user unless quota_user.nil?
755+
execute_or_queue_command(command, &block)
756+
end
757+
758+
# Enables insights for the customer and sets up required chrome connectors.
759+
# @param [String] customer
760+
# Required. The customer to enable insights for. Format: customers/`customer`
761+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1EnableInsightsRequest] google_chrome_management_versions_v1_enable_insights_request_object
762+
# @param [String] fields
763+
# Selector specifying which fields to include in a partial response.
764+
# @param [String] quota_user
765+
# Available to use for quota purposes for server-side applications. Can be any
766+
# arbitrary string assigned to a user, but should not exceed 40 characters.
767+
# @param [Google::Apis::RequestOptions] options
768+
# Request-specific options
769+
#
770+
# @yield [result, err] Result & error if block supplied
771+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1EnableInsightsResponse] parsed result object
772+
# @yieldparam err [StandardError] error object if request failed
773+
#
774+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1EnableInsightsResponse]
775+
#
776+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
777+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
778+
# @raise [Google::Apis::AuthorizationError] Authorization is required
779+
def enable_customer_enterprise_security_insight(customer, google_chrome_management_versions_v1_enable_insights_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
780+
command = make_simple_command(:post, 'v1/{+customer}/enterprise/securityInsights:enable', options)
781+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1EnableInsightsRequest::Representation
782+
command.request_object = google_chrome_management_versions_v1_enable_insights_request_object
783+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1EnableInsightsResponse::Representation
784+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1EnableInsightsResponse
785+
command.params['customer'] = customer unless customer.nil?
786+
command.query['fields'] = fields unless fields.nil?
787+
command.query['quotaUser'] = quota_user unless quota_user.nil?
788+
execute_or_queue_command(command, &block)
789+
end
790+
694791
# Deletes the data collected from a Chrome browser profile.
695792
# @param [String] name
696793
# Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`

0 commit comments

Comments
 (0)