google-apis-chromemanagement_v1 0.76.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +92 -0
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromemanagement_v1/representations.rb +64 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +97 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bba8752226f6b54258d18e78801aa4c141eb73a6267ee540db18f4f7a0fd795
|
|
4
|
+
data.tar.gz: 58eff005d880f1e472db2435ceab1dca5687f74b9c591018b4c07f80491c385f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acc8e44cda84f3a5b9484ad529687b4b5a8eaedb30f314e070d436f517e8110b7c28cbf543ca522f2e698b19bedc744d2d21d7ff453cf9005e96f7d6ac86c81a
|
|
7
|
+
data.tar.gz: 2e4cb7707cd0553452bd08b6078c388f4996627424ad0e591043bcbd201d2b48a086b4d76e61c25f19f6bb03b072f1084f090fc316bc03168186e3ea965b49d2
|
data/CHANGELOG.md
CHANGED
|
@@ -4613,6 +4613,25 @@ module Google
|
|
|
4613
4613
|
end
|
|
4614
4614
|
end
|
|
4615
4615
|
|
|
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
|
+
|
|
4616
4635
|
# A representation of a Chrome browser profile.
|
|
4617
4636
|
class GoogleChromeManagementVersionsV1ChromeBrowserProfile
|
|
4618
4637
|
include Google::Apis::Core::Hashable
|
|
@@ -5309,6 +5328,79 @@ module Google
|
|
|
5309
5328
|
end
|
|
5310
5329
|
end
|
|
5311
5330
|
|
|
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
|
+
|
|
5312
5404
|
# Describes a generic Certificate Authority Connection.
|
|
5313
5405
|
class GoogleChromeManagementVersionsV1GenericCaConnection
|
|
5314
5406
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ChromemanagementV1
|
|
18
18
|
# Version of the google-apis-chromemanagement_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.77.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260520"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -646,6 +646,12 @@ module Google
|
|
|
646
646
|
include Google::Apis::Core::JsonObjectSupport
|
|
647
647
|
end
|
|
648
648
|
|
|
649
|
+
class GoogleChromeManagementVersionsV1CheckEnablementStatusResponse
|
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
651
|
+
|
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
653
|
+
end
|
|
654
|
+
|
|
649
655
|
class GoogleChromeManagementVersionsV1ChromeBrowserProfile
|
|
650
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
651
657
|
|
|
@@ -736,6 +742,30 @@ module Google
|
|
|
736
742
|
include Google::Apis::Core::JsonObjectSupport
|
|
737
743
|
end
|
|
738
744
|
|
|
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
|
+
|
|
739
769
|
class GoogleChromeManagementVersionsV1GenericCaConnection
|
|
740
770
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
741
771
|
|
|
@@ -2149,6 +2179,13 @@ module Google
|
|
|
2149
2179
|
end
|
|
2150
2180
|
end
|
|
2151
2181
|
|
|
2182
|
+
class GoogleChromeManagementVersionsV1CheckEnablementStatusResponse
|
|
2183
|
+
# @private
|
|
2184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2185
|
+
property :insights_state, as: 'insightsState'
|
|
2186
|
+
end
|
|
2187
|
+
end
|
|
2188
|
+
|
|
2152
2189
|
class GoogleChromeManagementVersionsV1ChromeBrowserProfile
|
|
2153
2190
|
# @private
|
|
2154
2191
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2337,6 +2374,33 @@ module Google
|
|
|
2337
2374
|
end
|
|
2338
2375
|
end
|
|
2339
2376
|
|
|
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
|
+
|
|
2340
2404
|
class GoogleChromeManagementVersionsV1GenericCaConnection
|
|
2341
2405
|
# @private
|
|
2342
2406
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -691,6 +691,103 @@ module Google
|
|
|
691
691
|
execute_or_queue_command(command, &block)
|
|
692
692
|
end
|
|
693
693
|
|
|
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
|
+
|
|
694
791
|
# Deletes the data collected from a Chrome browser profile.
|
|
695
792
|
# @param [String] name
|
|
696
793
|
# Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-chromemanagement_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.77.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.77.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|