google-apis-chromemanagement_v1 0.58.0 → 0.60.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.58.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241023"
25
+ REVISION = "20241216"
26
26
  end
27
27
  end
28
28
  end
@@ -586,6 +586,120 @@ module Google
586
586
  include Google::Apis::Core::JsonObjectSupport
587
587
  end
588
588
 
589
+ class GoogleChromeManagementVersionsV1AttestationCredential
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class GoogleChromeManagementVersionsV1CertificateProvisioningProcess
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class GoogleChromeManagementVersionsV1ChromeBrowserProfile
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GoogleChromeManagementVersionsV1ChromeOsDevice
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class GoogleChromeManagementVersionsV1ChromeOsUserSession
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class GoogleChromeManagementVersionsV1DeviceInfo
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class GoogleChromeManagementVersionsV1ReportingData
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionData
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class GoogleChromeManagementVersionsV1ReportingDataPolicyData
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class GoogleChromeManagementVersionsV1SignDataMetadata
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class GoogleChromeManagementVersionsV1SignDataResponse
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
673
+ class GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class GoogleChromeManagementVersionsV1alpha1SignDataMetadata
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
697
+ class GoogleChromeManagementVersionsV1alpha1SignDataResponse
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
589
703
  class GoogleProtobufEmpty
590
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
705
 
@@ -1664,6 +1778,240 @@ module Google
1664
1778
  end
1665
1779
  end
1666
1780
 
1781
+ class GoogleChromeManagementVersionsV1AttestationCredential
1782
+ # @private
1783
+ class Representation < Google::Apis::Core::JsonRepresentation
1784
+ property :key_rotation_time, as: 'keyRotationTime'
1785
+ property :key_trust_level, as: 'keyTrustLevel'
1786
+ property :key_type, as: 'keyType'
1787
+ property :public_key, :base64 => true, as: 'publicKey'
1788
+ end
1789
+ end
1790
+
1791
+ class GoogleChromeManagementVersionsV1CertificateProvisioningProcess
1792
+ # @private
1793
+ class Representation < Google::Apis::Core::JsonRepresentation
1794
+ property :ca_connection_adapter_config_reference, as: 'caConnectionAdapterConfigReference'
1795
+ property :chrome_os_device, as: 'chromeOsDevice', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsDevice::Representation
1796
+
1797
+ property :chrome_os_user_session, as: 'chromeOsUserSession', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsUserSession, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsUserSession::Representation
1798
+
1799
+ property :failure_message, as: 'failureMessage'
1800
+ property :issued_certificate, as: 'issuedCertificate'
1801
+ property :name, as: 'name'
1802
+ property :profile_adapter_config_reference, as: 'profileAdapterConfigReference'
1803
+ property :provisioning_profile_id, as: 'provisioningProfileId'
1804
+ property :sign_data, :base64 => true, as: 'signData'
1805
+ property :signature, :base64 => true, as: 'signature'
1806
+ property :signature_algorithm, as: 'signatureAlgorithm'
1807
+ property :start_time, as: 'startTime'
1808
+ property :subject_public_key_info, :base64 => true, as: 'subjectPublicKeyInfo'
1809
+ end
1810
+ end
1811
+
1812
+ class GoogleChromeManagementVersionsV1ChromeBrowserProfile
1813
+ # @private
1814
+ class Representation < Google::Apis::Core::JsonRepresentation
1815
+ property :affiliation_state, as: 'affiliationState'
1816
+ property :annotated_location, as: 'annotatedLocation'
1817
+ property :annotated_user, as: 'annotatedUser'
1818
+ property :attestation_credential, as: 'attestationCredential', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1AttestationCredential, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1AttestationCredential::Representation
1819
+
1820
+ property :browser_channel, as: 'browserChannel'
1821
+ property :browser_version, as: 'browserVersion'
1822
+ property :device_info, as: 'deviceInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DeviceInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DeviceInfo::Representation
1823
+
1824
+ property :display_name, as: 'displayName'
1825
+ property :etag, as: 'etag'
1826
+ property :extension_count, :numeric_string => true, as: 'extensionCount'
1827
+ property :first_enrollment_time, as: 'firstEnrollmentTime'
1828
+ property :identity_provider, as: 'identityProvider'
1829
+ property :last_activity_time, as: 'lastActivityTime'
1830
+ property :last_policy_fetch_time, as: 'lastPolicyFetchTime'
1831
+ property :last_policy_sync_time, as: 'lastPolicySyncTime'
1832
+ property :last_status_report_time, as: 'lastStatusReportTime'
1833
+ property :name, as: 'name'
1834
+ property :os_platform_type, as: 'osPlatformType'
1835
+ property :os_platform_version, as: 'osPlatformVersion'
1836
+ property :os_version, as: 'osVersion'
1837
+ property :policy_count, :numeric_string => true, as: 'policyCount'
1838
+ property :profile_id, as: 'profileId'
1839
+ property :profile_permanent_id, as: 'profilePermanentId'
1840
+ property :reporting_data, as: 'reportingData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingData::Representation
1841
+
1842
+ property :user_email, as: 'userEmail'
1843
+ property :user_id, as: 'userId'
1844
+ end
1845
+ end
1846
+
1847
+ class GoogleChromeManagementVersionsV1ChromeOsDevice
1848
+ # @private
1849
+ class Representation < Google::Apis::Core::JsonRepresentation
1850
+ property :device_directory_api_id, as: 'deviceDirectoryApiId'
1851
+ property :serial_number, as: 'serialNumber'
1852
+ end
1853
+ end
1854
+
1855
+ class GoogleChromeManagementVersionsV1ChromeOsUserSession
1856
+ # @private
1857
+ class Representation < Google::Apis::Core::JsonRepresentation
1858
+ property :chrome_os_device, as: 'chromeOsDevice', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsDevice::Representation
1859
+
1860
+ property :user_directory_api_id, as: 'userDirectoryApiId'
1861
+ property :user_primary_email, as: 'userPrimaryEmail'
1862
+ end
1863
+ end
1864
+
1865
+ class GoogleChromeManagementVersionsV1DeviceInfo
1866
+ # @private
1867
+ class Representation < Google::Apis::Core::JsonRepresentation
1868
+ property :affiliated_device_id, as: 'affiliatedDeviceId'
1869
+ property :device_type, as: 'deviceType'
1870
+ property :hostname, as: 'hostname'
1871
+ property :machine, as: 'machine'
1872
+ end
1873
+ end
1874
+
1875
+ class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
1876
+ # @private
1877
+ class Representation < Google::Apis::Core::JsonRepresentation
1878
+ collection :chrome_browser_profiles, as: 'chromeBrowserProfiles', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile::Representation
1879
+
1880
+ property :next_page_token, as: 'nextPageToken'
1881
+ property :total_size, :numeric_string => true, as: 'totalSize'
1882
+ end
1883
+ end
1884
+
1885
+ class GoogleChromeManagementVersionsV1ReportingData
1886
+ # @private
1887
+ class Representation < Google::Apis::Core::JsonRepresentation
1888
+ property :browser_executable_path, as: 'browserExecutablePath'
1889
+ collection :extension_data, as: 'extensionData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionData::Representation
1890
+
1891
+ collection :extension_policy_data, as: 'extensionPolicyData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData::Representation
1892
+
1893
+ property :installed_browser_version, as: 'installedBrowserVersion'
1894
+ collection :policy_data, as: 'policyData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData::Representation
1895
+
1896
+ property :profile_path, as: 'profilePath'
1897
+ end
1898
+ end
1899
+
1900
+ class GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData
1901
+ # @private
1902
+ class Representation < Google::Apis::Core::JsonRepresentation
1903
+ property :source, as: 'source'
1904
+ end
1905
+ end
1906
+
1907
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionData
1908
+ # @private
1909
+ class Representation < Google::Apis::Core::JsonRepresentation
1910
+ property :description, as: 'description'
1911
+ property :extension_id, as: 'extensionId'
1912
+ property :extension_type, as: 'extensionType'
1913
+ property :homepage_uri, as: 'homepageUri'
1914
+ property :installation_type, as: 'installationType'
1915
+ property :is_disabled, as: 'isDisabled'
1916
+ property :is_webstore_extension, as: 'isWebstoreExtension'
1917
+ property :manifest_version, as: 'manifestVersion'
1918
+ property :name, as: 'name'
1919
+ collection :permissions, as: 'permissions'
1920
+ property :version, as: 'version'
1921
+ end
1922
+ end
1923
+
1924
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData
1925
+ # @private
1926
+ class Representation < Google::Apis::Core::JsonRepresentation
1927
+ property :extension_id, as: 'extensionId'
1928
+ property :extension_name, as: 'extensionName'
1929
+ collection :policy_data, as: 'policyData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData::Representation
1930
+
1931
+ end
1932
+ end
1933
+
1934
+ class GoogleChromeManagementVersionsV1ReportingDataPolicyData
1935
+ # @private
1936
+ class Representation < Google::Apis::Core::JsonRepresentation
1937
+ collection :conflicts, as: 'conflicts', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData::Representation
1938
+
1939
+ property :error, as: 'error'
1940
+ property :name, as: 'name'
1941
+ property :source, as: 'source'
1942
+ property :value, as: 'value'
1943
+ end
1944
+ end
1945
+
1946
+ class GoogleChromeManagementVersionsV1SignDataMetadata
1947
+ # @private
1948
+ class Representation < Google::Apis::Core::JsonRepresentation
1949
+ property :start_time, as: 'startTime'
1950
+ end
1951
+ end
1952
+
1953
+ class GoogleChromeManagementVersionsV1SignDataResponse
1954
+ # @private
1955
+ class Representation < Google::Apis::Core::JsonRepresentation
1956
+ property :certificate_provisioning_process, as: 'certificateProvisioningProcess', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CertificateProvisioningProcess, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CertificateProvisioningProcess::Representation
1957
+
1958
+ end
1959
+ end
1960
+
1961
+ class GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess
1962
+ # @private
1963
+ class Representation < Google::Apis::Core::JsonRepresentation
1964
+ property :ca_connection_adapter_config_reference, as: 'caConnectionAdapterConfigReference'
1965
+ property :chrome_os_device, as: 'chromeOsDevice', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice::Representation
1966
+
1967
+ property :chrome_os_user_session, as: 'chromeOsUserSession', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession::Representation
1968
+
1969
+ property :failure_message, as: 'failureMessage'
1970
+ property :issued_certificate, as: 'issuedCertificate'
1971
+ property :name, as: 'name'
1972
+ property :profile_adapter_config_reference, as: 'profileAdapterConfigReference'
1973
+ property :provisioning_profile_id, as: 'provisioningProfileId'
1974
+ property :sign_data, :base64 => true, as: 'signData'
1975
+ property :signature, :base64 => true, as: 'signature'
1976
+ property :signature_algorithm, as: 'signatureAlgorithm'
1977
+ property :start_time, as: 'startTime'
1978
+ property :subject_public_key_info, :base64 => true, as: 'subjectPublicKeyInfo'
1979
+ end
1980
+ end
1981
+
1982
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
1983
+ # @private
1984
+ class Representation < Google::Apis::Core::JsonRepresentation
1985
+ property :device_directory_api_id, as: 'deviceDirectoryApiId'
1986
+ property :serial_number, as: 'serialNumber'
1987
+ end
1988
+ end
1989
+
1990
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession
1991
+ # @private
1992
+ class Representation < Google::Apis::Core::JsonRepresentation
1993
+ property :chrome_os_device, as: 'chromeOsDevice', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice::Representation
1994
+
1995
+ property :user_directory_api_id, as: 'userDirectoryApiId'
1996
+ property :user_primary_email, as: 'userPrimaryEmail'
1997
+ end
1998
+ end
1999
+
2000
+ class GoogleChromeManagementVersionsV1alpha1SignDataMetadata
2001
+ # @private
2002
+ class Representation < Google::Apis::Core::JsonRepresentation
2003
+ property :start_time, as: 'startTime'
2004
+ end
2005
+ end
2006
+
2007
+ class GoogleChromeManagementVersionsV1alpha1SignDataResponse
2008
+ # @private
2009
+ class Representation < Google::Apis::Core::JsonRepresentation
2010
+ property :certificate_provisioning_process, as: 'certificateProvisioningProcess', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess::Representation
2011
+
2012
+ end
2013
+ end
2014
+
1667
2015
  class GoogleProtobufEmpty
1668
2016
  # @private
1669
2017
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -32,7 +32,7 @@ module Google
32
32
  # Chromemanagement = Google::Apis::ChromemanagementV1 # Alias the module
33
33
  # service = Chromemanagement::ChromeManagementService.new
34
34
  #
35
- # @see http://developers.google.com/chrome/management/
35
+ # @see https://developers.google.com/chrome/management/
36
36
  class ChromeManagementService < Google::Apis::Core::BaseService
37
37
  DEFAULT_ENDPOINT_TEMPLATE = "https://chromemanagement.$UNIVERSE_DOMAIN$/"
38
38
 
@@ -292,6 +292,133 @@ module Google
292
292
  execute_or_queue_command(command, &block)
293
293
  end
294
294
 
295
+ # Deletes the data collected from a Chrome browser profile.
296
+ # @param [String] name
297
+ # Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`
298
+ # @param [String] fields
299
+ # Selector specifying which fields to include in a partial response.
300
+ # @param [String] quota_user
301
+ # Available to use for quota purposes for server-side applications. Can be any
302
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
303
+ # @param [Google::Apis::RequestOptions] options
304
+ # Request-specific options
305
+ #
306
+ # @yield [result, err] Result & error if block supplied
307
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty] parsed result object
308
+ # @yieldparam err [StandardError] error object if request failed
309
+ #
310
+ # @return [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty]
311
+ #
312
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
313
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
314
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
315
+ def delete_customer_profile(name, fields: nil, quota_user: nil, options: nil, &block)
316
+ command = make_simple_command(:delete, 'v1/{+name}', options)
317
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty::Representation
318
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty
319
+ command.params['name'] = name unless name.nil?
320
+ command.query['fields'] = fields unless fields.nil?
321
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
322
+ execute_or_queue_command(command, &block)
323
+ end
324
+
325
+ # Gets a Chrome browser profile with customer ID and profile permanent ID.
326
+ # @param [String] name
327
+ # Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`
328
+ # @param [String] fields
329
+ # Selector specifying which fields to include in a partial response.
330
+ # @param [String] quota_user
331
+ # Available to use for quota purposes for server-side applications. Can be any
332
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
333
+ # @param [Google::Apis::RequestOptions] options
334
+ # Request-specific options
335
+ #
336
+ # @yield [result, err] Result & error if block supplied
337
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile] parsed result object
338
+ # @yieldparam err [StandardError] error object if request failed
339
+ #
340
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile]
341
+ #
342
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
343
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
344
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
345
+ def get_customer_profile(name, fields: nil, quota_user: nil, options: nil, &block)
346
+ command = make_simple_command(:get, 'v1/{+name}', options)
347
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile::Representation
348
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile
349
+ command.params['name'] = name unless name.nil?
350
+ command.query['fields'] = fields unless fields.nil?
351
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
352
+ execute_or_queue_command(command, &block)
353
+ end
354
+
355
+ # Lists Chrome browser profiles of a customer based on the given search and
356
+ # sorting criteria.
357
+ # @param [String] parent
358
+ # Required. Format: customers/`customer_id`
359
+ # @param [String] filter
360
+ # Optional. The filter used to filter profiles. The following fields can be used
361
+ # in the filter: - profile_id - display_name - user_email - last_activity_time -
362
+ # last_policy_sync_time - last_status_report_time - first_enrollment_time -
363
+ # os_platform_type - os_version - browser_version - browser_channel -
364
+ # policy_count - extension_count - identity_provider - affiliation_state - ouId
365
+ # Any of the above fields can be used to specify a filter, and filtering by
366
+ # multiple fields is supported with AND operator. String type fields and enum
367
+ # type fields support '=' and '!=' operators. The integer type and the timestamp
368
+ # type fields support '=', '!=', '<', '>', '<=' and '>=' operators. Timestamps
369
+ # expect an RFC-3339 formatted string (e.g. 2012-04-21T11:30:00-04:00). Wildcard
370
+ # '*' can be used with a string type field filter. In addition, string literal
371
+ # filtering is also supported, for example, 'ABC' as a filter maps to a filter
372
+ # that checks if any of the filterable string type fields contains 'ABC'.
373
+ # Organization unit number can be used as a filtering criteria here by
374
+ # specifying 'ouId = $`your_org_unit_id`', please note that only single OU ID
375
+ # matching is supported.
376
+ # @param [String] order_by
377
+ # Optional. The fields used to specify the ordering of the results. The
378
+ # supported fields are: - profile_id - display_name - user_email -
379
+ # last_activity_time - last_policy_sync_time - last_status_report_time -
380
+ # first_enrollment_time - os_platform_type - os_version - browser_version -
381
+ # browser_channel - policy_count - extension_count - identity_provider -
382
+ # affiliation_state By default, sorting is in ascending order, to specify
383
+ # descending order for a field, a suffix " desc" should be added to the field
384
+ # name. The default ordering is the descending order of last_status_report_time.
385
+ # @param [Fixnum] page_size
386
+ # Optional. The maximum number of profiles to return. The default page size is
387
+ # 100 if page_size is unspecified, and the maximum page size allowed is 200.
388
+ # @param [String] page_token
389
+ # Optional. The page token used to retrieve a specific page of the listing
390
+ # request.
391
+ # @param [String] fields
392
+ # Selector specifying which fields to include in a partial response.
393
+ # @param [String] quota_user
394
+ # Available to use for quota purposes for server-side applications. Can be any
395
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
396
+ # @param [Google::Apis::RequestOptions] options
397
+ # Request-specific options
398
+ #
399
+ # @yield [result, err] Result & error if block supplied
400
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse] parsed result object
401
+ # @yieldparam err [StandardError] error object if request failed
402
+ #
403
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse]
404
+ #
405
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
406
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
407
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
408
+ def list_customer_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
409
+ command = make_simple_command(:get, 'v1/{+parent}/profiles', options)
410
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse::Representation
411
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
412
+ command.params['parent'] = parent unless parent.nil?
413
+ command.query['filter'] = filter unless filter.nil?
414
+ command.query['orderBy'] = order_by unless order_by.nil?
415
+ command.query['pageSize'] = page_size unless page_size.nil?
416
+ command.query['pageToken'] = page_token unless page_token.nil?
417
+ command.query['fields'] = fields unless fields.nil?
418
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
419
+ execute_or_queue_command(command, &block)
420
+ end
421
+
295
422
  # Count of Chrome Browsers that have been recently enrolled, have new policy to
296
423
  # be synced, or have no recent activity.
297
424
  # @param [String] customer
@@ -25,7 +25,7 @@ module Google
25
25
  # administrators to view, manage and gain insights on their Chrome OS and Chrome
26
26
  # Browser devices.
27
27
  #
28
- # @see http://developers.google.com/chrome/management/
28
+ # @see https://developers.google.com/chrome/management/
29
29
  module ChromemanagementV1
30
30
  # Version of the Chrome Management API this client connects to.
31
31
  # This is NOT the gem version.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-27 00:00:00.000000000 Z
11
+ date: 2025-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.60.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Chrome Management API V1