google-apis-chromemanagement_v1 0.66.0 → 0.67.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 +152 -0
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromemanagement_v1/representations.rb +56 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +102 -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: 1e18738fe1dccaf570164a1d283eeeca69c48d000c9379e3f4dbe1834f0b1270
|
4
|
+
data.tar.gz: 28ec03cfc9bfd4f2ac270e7239e4230984b043820fd42efbf913880c28481ac9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b4238347f315e7353dd0109e88113d752b9bd30685de40ab20b1f31b5429b413493b4c72be59c2926d1c26de80dff8123a8ea2a0fe1830f0325a0b60a7f2eef
|
7
|
+
data.tar.gz: 428d87755ff76a6aedb217d73d9a87277bb94e9e10f701e6bb40b3f8f6105105a14ad4231518779e2afe968b213b54eea7dd9e4c719aac0f75e8cce8d5cc37e0
|
data/CHANGELOG.md
CHANGED
@@ -658,6 +658,11 @@ module Google
|
|
658
658
|
attr_accessor :kiosk_enabled
|
659
659
|
alias_method :kiosk_enabled?, :kiosk_enabled
|
660
660
|
|
661
|
+
# Output only. The version of this extension's manifest.
|
662
|
+
# Corresponds to the JSON property `manifestVersion`
|
663
|
+
# @return [Fixnum]
|
664
|
+
attr_accessor :manifest_version
|
665
|
+
|
661
666
|
# Output only. The minimum number of users using this app.
|
662
667
|
# Corresponds to the JSON property `minUserCount`
|
663
668
|
# @return [Fixnum]
|
@@ -701,6 +706,7 @@ module Google
|
|
701
706
|
@is_kiosk_only = args[:is_kiosk_only] if args.key?(:is_kiosk_only)
|
702
707
|
@is_theme = args[:is_theme] if args.key?(:is_theme)
|
703
708
|
@kiosk_enabled = args[:kiosk_enabled] if args.key?(:kiosk_enabled)
|
709
|
+
@manifest_version = args[:manifest_version] if args.key?(:manifest_version)
|
704
710
|
@min_user_count = args[:min_user_count] if args.key?(:min_user_count)
|
705
711
|
@permissions = args[:permissions] if args.key?(:permissions)
|
706
712
|
@site_access = args[:site_access] if args.key?(:site_access)
|
@@ -1576,6 +1582,11 @@ module Google
|
|
1576
1582
|
# @return [Fixnum]
|
1577
1583
|
attr_accessor :display_width_mm
|
1578
1584
|
|
1585
|
+
# Output only. EDID version.
|
1586
|
+
# Corresponds to the JSON property `edidVersion`
|
1587
|
+
# @return [String]
|
1588
|
+
attr_accessor :edid_version
|
1589
|
+
|
1579
1590
|
# Output only. Is display internal or not.
|
1580
1591
|
# Corresponds to the JSON property `internal`
|
1581
1592
|
# @return [Boolean]
|
@@ -1597,6 +1608,11 @@ module Google
|
|
1597
1608
|
# @return [Fixnum]
|
1598
1609
|
attr_accessor :model_id
|
1599
1610
|
|
1611
|
+
# Output only. Serial number.
|
1612
|
+
# Corresponds to the JSON property `serialNumber`
|
1613
|
+
# @return [Fixnum]
|
1614
|
+
attr_accessor :serial_number
|
1615
|
+
|
1600
1616
|
def initialize(**args)
|
1601
1617
|
update!(**args)
|
1602
1618
|
end
|
@@ -1606,10 +1622,12 @@ module Google
|
|
1606
1622
|
@display_height_mm = args[:display_height_mm] if args.key?(:display_height_mm)
|
1607
1623
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1608
1624
|
@display_width_mm = args[:display_width_mm] if args.key?(:display_width_mm)
|
1625
|
+
@edid_version = args[:edid_version] if args.key?(:edid_version)
|
1609
1626
|
@internal = args[:internal] if args.key?(:internal)
|
1610
1627
|
@manufacture_year = args[:manufacture_year] if args.key?(:manufacture_year)
|
1611
1628
|
@manufacturer_id = args[:manufacturer_id] if args.key?(:manufacturer_id)
|
1612
1629
|
@model_id = args[:model_id] if args.key?(:model_id)
|
1630
|
+
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
1613
1631
|
end
|
1614
1632
|
end
|
1615
1633
|
|
@@ -1627,6 +1645,11 @@ module Google
|
|
1627
1645
|
# @return [String]
|
1628
1646
|
attr_accessor :display_name
|
1629
1647
|
|
1648
|
+
# Output only. EDID version.
|
1649
|
+
# Corresponds to the JSON property `edidVersion`
|
1650
|
+
# @return [String]
|
1651
|
+
attr_accessor :edid_version
|
1652
|
+
|
1630
1653
|
# Output only. Indicates if display is internal or not.
|
1631
1654
|
# Corresponds to the JSON property `isInternal`
|
1632
1655
|
# @return [Boolean]
|
@@ -1648,6 +1671,11 @@ module Google
|
|
1648
1671
|
# @return [Fixnum]
|
1649
1672
|
attr_accessor :resolution_width
|
1650
1673
|
|
1674
|
+
# Output only. Serial number.
|
1675
|
+
# Corresponds to the JSON property `serialNumber`
|
1676
|
+
# @return [Fixnum]
|
1677
|
+
attr_accessor :serial_number
|
1678
|
+
|
1651
1679
|
def initialize(**args)
|
1652
1680
|
update!(**args)
|
1653
1681
|
end
|
@@ -1656,10 +1684,12 @@ module Google
|
|
1656
1684
|
def update!(**args)
|
1657
1685
|
@device_id = args[:device_id] if args.key?(:device_id)
|
1658
1686
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1687
|
+
@edid_version = args[:edid_version] if args.key?(:edid_version)
|
1659
1688
|
@is_internal = args[:is_internal] if args.key?(:is_internal)
|
1660
1689
|
@refresh_rate = args[:refresh_rate] if args.key?(:refresh_rate)
|
1661
1690
|
@resolution_height = args[:resolution_height] if args.key?(:resolution_height)
|
1662
1691
|
@resolution_width = args[:resolution_width] if args.key?(:resolution_width)
|
1692
|
+
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
1663
1693
|
end
|
1664
1694
|
end
|
1665
1695
|
|
@@ -4446,6 +4476,97 @@ module Google
|
|
4446
4476
|
end
|
4447
4477
|
end
|
4448
4478
|
|
4479
|
+
# A representation of a remote command for a Chrome browser profile.
|
4480
|
+
class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand
|
4481
|
+
include Google::Apis::Core::Hashable
|
4482
|
+
|
4483
|
+
# Result of the execution of a command.
|
4484
|
+
# Corresponds to the JSON property `commandResult`
|
4485
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult]
|
4486
|
+
attr_accessor :command_result
|
4487
|
+
|
4488
|
+
# Output only. State of the remote command.
|
4489
|
+
# Corresponds to the JSON property `commandState`
|
4490
|
+
# @return [String]
|
4491
|
+
attr_accessor :command_state
|
4492
|
+
|
4493
|
+
# Required. Type of the remote command. The only supported command_type is "
|
4494
|
+
# clearBrowsingData".
|
4495
|
+
# Corresponds to the JSON property `commandType`
|
4496
|
+
# @return [String]
|
4497
|
+
attr_accessor :command_type
|
4498
|
+
|
4499
|
+
# Output only. Timestamp of the issurance of the remote command.
|
4500
|
+
# Corresponds to the JSON property `issueTime`
|
4501
|
+
# @return [String]
|
4502
|
+
attr_accessor :issue_time
|
4503
|
+
|
4504
|
+
# Identifier. Format: customers/`customer_id`/profiles/`profile_permanent_id`/
|
4505
|
+
# commands/`command_id`
|
4506
|
+
# Corresponds to the JSON property `name`
|
4507
|
+
# @return [String]
|
4508
|
+
attr_accessor :name
|
4509
|
+
|
4510
|
+
# Required. Payload of the remote command. The payload for "clearBrowsingData"
|
4511
|
+
# command supports: - fields "clearCache" and "clearCookies" - values of boolean
|
4512
|
+
# type.
|
4513
|
+
# Corresponds to the JSON property `payload`
|
4514
|
+
# @return [Hash<String,Object>]
|
4515
|
+
attr_accessor :payload
|
4516
|
+
|
4517
|
+
# Output only. Valid duration of the remote command.
|
4518
|
+
# Corresponds to the JSON property `validDuration`
|
4519
|
+
# @return [String]
|
4520
|
+
attr_accessor :valid_duration
|
4521
|
+
|
4522
|
+
def initialize(**args)
|
4523
|
+
update!(**args)
|
4524
|
+
end
|
4525
|
+
|
4526
|
+
# Update properties of this object
|
4527
|
+
def update!(**args)
|
4528
|
+
@command_result = args[:command_result] if args.key?(:command_result)
|
4529
|
+
@command_state = args[:command_state] if args.key?(:command_state)
|
4530
|
+
@command_type = args[:command_type] if args.key?(:command_type)
|
4531
|
+
@issue_time = args[:issue_time] if args.key?(:issue_time)
|
4532
|
+
@name = args[:name] if args.key?(:name)
|
4533
|
+
@payload = args[:payload] if args.key?(:payload)
|
4534
|
+
@valid_duration = args[:valid_duration] if args.key?(:valid_duration)
|
4535
|
+
end
|
4536
|
+
end
|
4537
|
+
|
4538
|
+
# Result of the execution of a command.
|
4539
|
+
class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult
|
4540
|
+
include Google::Apis::Core::Hashable
|
4541
|
+
|
4542
|
+
# Output only. Timestamp of the client execution of the remote command.
|
4543
|
+
# Corresponds to the JSON property `clientExecutionTime`
|
4544
|
+
# @return [String]
|
4545
|
+
attr_accessor :client_execution_time
|
4546
|
+
|
4547
|
+
# Output only. Result code that indicates the type of error or success of the
|
4548
|
+
# command.
|
4549
|
+
# Corresponds to the JSON property `resultCode`
|
4550
|
+
# @return [String]
|
4551
|
+
attr_accessor :result_code
|
4552
|
+
|
4553
|
+
# Output only. Result type of the remote command.
|
4554
|
+
# Corresponds to the JSON property `resultType`
|
4555
|
+
# @return [String]
|
4556
|
+
attr_accessor :result_type
|
4557
|
+
|
4558
|
+
def initialize(**args)
|
4559
|
+
update!(**args)
|
4560
|
+
end
|
4561
|
+
|
4562
|
+
# Update properties of this object
|
4563
|
+
def update!(**args)
|
4564
|
+
@client_execution_time = args[:client_execution_time] if args.key?(:client_execution_time)
|
4565
|
+
@result_code = args[:result_code] if args.key?(:result_code)
|
4566
|
+
@result_type = args[:result_type] if args.key?(:result_type)
|
4567
|
+
end
|
4568
|
+
end
|
4569
|
+
|
4449
4570
|
# Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
|
4450
4571
|
# to.
|
4451
4572
|
class GoogleChromeManagementVersionsV1ChromeOsDevice
|
@@ -4592,6 +4713,37 @@ module Google
|
|
4592
4713
|
end
|
4593
4714
|
end
|
4594
4715
|
|
4716
|
+
# Response to ListChromeBrowserProfileCommands method.
|
4717
|
+
class GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse
|
4718
|
+
include Google::Apis::Core::Hashable
|
4719
|
+
|
4720
|
+
# The list of commands returned.
|
4721
|
+
# Corresponds to the JSON property `chromeBrowserProfileCommands`
|
4722
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>]
|
4723
|
+
attr_accessor :chrome_browser_profile_commands
|
4724
|
+
|
4725
|
+
# The pagination token that can be used to list the next page.
|
4726
|
+
# Corresponds to the JSON property `nextPageToken`
|
4727
|
+
# @return [String]
|
4728
|
+
attr_accessor :next_page_token
|
4729
|
+
|
4730
|
+
# Total size represents an estimated number of resources returned.
|
4731
|
+
# Corresponds to the JSON property `totalSize`
|
4732
|
+
# @return [Fixnum]
|
4733
|
+
attr_accessor :total_size
|
4734
|
+
|
4735
|
+
def initialize(**args)
|
4736
|
+
update!(**args)
|
4737
|
+
end
|
4738
|
+
|
4739
|
+
# Update properties of this object
|
4740
|
+
def update!(**args)
|
4741
|
+
@chrome_browser_profile_commands = args[:chrome_browser_profile_commands] if args.key?(:chrome_browser_profile_commands)
|
4742
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4743
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
4744
|
+
end
|
4745
|
+
end
|
4746
|
+
|
4595
4747
|
# Response to ListChromeBrowserProfiles method.
|
4596
4748
|
class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
|
4597
4749
|
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.67.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 = "20250710"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -610,6 +610,18 @@ module Google
|
|
610
610
|
include Google::Apis::Core::JsonObjectSupport
|
611
611
|
end
|
612
612
|
|
613
|
+
class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
619
|
+
class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
613
625
|
class GoogleChromeManagementVersionsV1ChromeOsDevice
|
614
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
627
|
|
@@ -640,6 +652,12 @@ module Google
|
|
640
652
|
include Google::Apis::Core::JsonObjectSupport
|
641
653
|
end
|
642
654
|
|
655
|
+
class GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
+
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
659
|
+
end
|
660
|
+
|
643
661
|
class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
|
644
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
663
|
|
@@ -853,6 +871,7 @@ module Google
|
|
853
871
|
property :is_kiosk_only, as: 'isKioskOnly'
|
854
872
|
property :is_theme, as: 'isTheme'
|
855
873
|
property :kiosk_enabled, as: 'kioskEnabled'
|
874
|
+
property :manifest_version, :numeric_string => true, as: 'manifestVersion'
|
856
875
|
property :min_user_count, as: 'minUserCount'
|
857
876
|
collection :permissions, as: 'permissions', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission::Representation
|
858
877
|
|
@@ -1100,10 +1119,12 @@ module Google
|
|
1100
1119
|
property :display_height_mm, as: 'displayHeightMm'
|
1101
1120
|
property :display_name, as: 'displayName'
|
1102
1121
|
property :display_width_mm, as: 'displayWidthMm'
|
1122
|
+
property :edid_version, as: 'edidVersion'
|
1103
1123
|
property :internal, as: 'internal'
|
1104
1124
|
property :manufacture_year, as: 'manufactureYear'
|
1105
1125
|
property :manufacturer_id, as: 'manufacturerId'
|
1106
1126
|
property :model_id, as: 'modelId'
|
1127
|
+
property :serial_number, as: 'serialNumber'
|
1107
1128
|
end
|
1108
1129
|
end
|
1109
1130
|
|
@@ -1112,10 +1133,12 @@ module Google
|
|
1112
1133
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1113
1134
|
property :device_id, :numeric_string => true, as: 'deviceId'
|
1114
1135
|
property :display_name, as: 'displayName'
|
1136
|
+
property :edid_version, as: 'edidVersion'
|
1115
1137
|
property :is_internal, as: 'isInternal'
|
1116
1138
|
property :refresh_rate, as: 'refreshRate'
|
1117
1139
|
property :resolution_height, as: 'resolutionHeight'
|
1118
1140
|
property :resolution_width, as: 'resolutionWidth'
|
1141
|
+
property :serial_number, as: 'serialNumber'
|
1119
1142
|
end
|
1120
1143
|
end
|
1121
1144
|
|
@@ -1845,6 +1868,29 @@ module Google
|
|
1845
1868
|
end
|
1846
1869
|
end
|
1847
1870
|
|
1871
|
+
class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand
|
1872
|
+
# @private
|
1873
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1874
|
+
property :command_result, as: 'commandResult', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult::Representation
|
1875
|
+
|
1876
|
+
property :command_state, as: 'commandState'
|
1877
|
+
property :command_type, as: 'commandType'
|
1878
|
+
property :issue_time, as: 'issueTime'
|
1879
|
+
property :name, as: 'name'
|
1880
|
+
hash :payload, as: 'payload'
|
1881
|
+
property :valid_duration, as: 'validDuration'
|
1882
|
+
end
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
class GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult
|
1886
|
+
# @private
|
1887
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1888
|
+
property :client_execution_time, as: 'clientExecutionTime'
|
1889
|
+
property :result_code, as: 'resultCode'
|
1890
|
+
property :result_type, as: 'resultType'
|
1891
|
+
end
|
1892
|
+
end
|
1893
|
+
|
1848
1894
|
class GoogleChromeManagementVersionsV1ChromeOsDevice
|
1849
1895
|
# @private
|
1850
1896
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1887,6 +1933,16 @@ module Google
|
|
1887
1933
|
end
|
1888
1934
|
end
|
1889
1935
|
|
1936
|
+
class GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse
|
1937
|
+
# @private
|
1938
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1939
|
+
collection :chrome_browser_profile_commands, as: 'chromeBrowserProfileCommands', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand::Representation
|
1940
|
+
|
1941
|
+
property :next_page_token, as: 'nextPageToken'
|
1942
|
+
property :total_size, :numeric_string => true, as: 'totalSize'
|
1943
|
+
end
|
1944
|
+
end
|
1945
|
+
|
1890
1946
|
class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
|
1891
1947
|
# @private
|
1892
1948
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -420,6 +420,108 @@ module Google
|
|
420
420
|
execute_or_queue_command(command, &block)
|
421
421
|
end
|
422
422
|
|
423
|
+
# Creates a Chrome browser profile remote command.
|
424
|
+
# @param [String] parent
|
425
|
+
# Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`
|
426
|
+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand] google_chrome_management_versions_v1_chrome_browser_profile_command_object
|
427
|
+
# @param [String] fields
|
428
|
+
# Selector specifying which fields to include in a partial response.
|
429
|
+
# @param [String] quota_user
|
430
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
431
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
432
|
+
# @param [Google::Apis::RequestOptions] options
|
433
|
+
# Request-specific options
|
434
|
+
#
|
435
|
+
# @yield [result, err] Result & error if block supplied
|
436
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand] parsed result object
|
437
|
+
# @yieldparam err [StandardError] error object if request failed
|
438
|
+
#
|
439
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand]
|
440
|
+
#
|
441
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
442
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
443
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
444
|
+
def create_customer_profile_command(parent, google_chrome_management_versions_v1_chrome_browser_profile_command_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
445
|
+
command = make_simple_command(:post, 'v1/{+parent}/commands', options)
|
446
|
+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand::Representation
|
447
|
+
command.request_object = google_chrome_management_versions_v1_chrome_browser_profile_command_object
|
448
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand::Representation
|
449
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand
|
450
|
+
command.params['parent'] = parent unless parent.nil?
|
451
|
+
command.query['fields'] = fields unless fields.nil?
|
452
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
453
|
+
execute_or_queue_command(command, &block)
|
454
|
+
end
|
455
|
+
|
456
|
+
# Gets a Chrome browser profile remote command.
|
457
|
+
# @param [String] name
|
458
|
+
# Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`/
|
459
|
+
# commands/`command_id`
|
460
|
+
# @param [String] fields
|
461
|
+
# Selector specifying which fields to include in a partial response.
|
462
|
+
# @param [String] quota_user
|
463
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
464
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
465
|
+
# @param [Google::Apis::RequestOptions] options
|
466
|
+
# Request-specific options
|
467
|
+
#
|
468
|
+
# @yield [result, err] Result & error if block supplied
|
469
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand] parsed result object
|
470
|
+
# @yieldparam err [StandardError] error object if request failed
|
471
|
+
#
|
472
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand]
|
473
|
+
#
|
474
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
475
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
476
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
477
|
+
def get_customer_profile_command(name, fields: nil, quota_user: nil, options: nil, &block)
|
478
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
479
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand::Representation
|
480
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand
|
481
|
+
command.params['name'] = name unless name.nil?
|
482
|
+
command.query['fields'] = fields unless fields.nil?
|
483
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
484
|
+
execute_or_queue_command(command, &block)
|
485
|
+
end
|
486
|
+
|
487
|
+
# Lists remote commands of a Chrome browser profile.
|
488
|
+
# @param [String] parent
|
489
|
+
# Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`
|
490
|
+
# @param [Fixnum] page_size
|
491
|
+
# Optional. The maximum number of commands to return. The default page size is
|
492
|
+
# 100 if page_size is unspecified, and the maximum page size allowed is 100.
|
493
|
+
# @param [String] page_token
|
494
|
+
# Optional. The page token used to retrieve a specific page of the listing
|
495
|
+
# request.
|
496
|
+
# @param [String] fields
|
497
|
+
# Selector specifying which fields to include in a partial response.
|
498
|
+
# @param [String] quota_user
|
499
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
500
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
501
|
+
# @param [Google::Apis::RequestOptions] options
|
502
|
+
# Request-specific options
|
503
|
+
#
|
504
|
+
# @yield [result, err] Result & error if block supplied
|
505
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse] parsed result object
|
506
|
+
# @yieldparam err [StandardError] error object if request failed
|
507
|
+
#
|
508
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse]
|
509
|
+
#
|
510
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
511
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
512
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
513
|
+
def list_customer_profile_commands(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
514
|
+
command = make_simple_command(:get, 'v1/{+parent}/commands', options)
|
515
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse::Representation
|
516
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse
|
517
|
+
command.params['parent'] = parent unless parent.nil?
|
518
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
519
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
520
|
+
command.query['fields'] = fields unless fields.nil?
|
521
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
522
|
+
execute_or_queue_command(command, &block)
|
523
|
+
end
|
524
|
+
|
423
525
|
# Count of Chrome Browsers that have been recently enrolled, have new policy to
|
424
526
|
# be synced, or have no recent activity.
|
425
527
|
# @param [String] customer
|
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.67.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.67.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:
|