google-apis-admin_directory_v1 0.58.0 → 0.60.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c2a8818ff590122c0de138e04acb7ff4bee1a2bbc807ddbf8935f176f49be43
4
- data.tar.gz: 4b5f19d8b1b6e059650b21faff97e83903cf7741b736628845883f0bc3773bfb
3
+ metadata.gz: '08dc4e1c07063804043ad7bca5eab6085092cb6e45131510e0d3ba4e0e59c4f9'
4
+ data.tar.gz: f75fc932f2ad174bd49eb7a109b1090205969e9f948b18ccc8b6ed6dc1d68acd
5
5
  SHA512:
6
- metadata.gz: 43b863cb7b9cdfd3bcc45d98e04036e2a5ceddb5ce6821bd4aa358305f50359781e7038ed5b0fee22a48da7eeff7c1f29d45fea065b03726ca605a9f70fcfba7
7
- data.tar.gz: 8bb56cb483d9cde1ea77c80c8c934c6f0a5b0b510ce4dfdba77ba921a4406ab4b59e88133b1d5a2d26b374fc78c14aba2bd08472c94717e6406c963144f0ccbc
6
+ metadata.gz: 421cf761ad4331113b25b3c552b8c4bb9add967073d067ae4e1313e88e40cce33572b5f42abbc7e972f1f4a74457bd8626f9f979785652b6b870a73fb4567b4e
7
+ data.tar.gz: b3427ba40e75ace87ba79d0216496b3a0e6d6ed0a4cee817cb09d026d05429fcc2193a465ebcc5045c7f956070559a3fcbbaded52df35f9068eea0a188f090a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.60.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241210
6
+
7
+ ### v0.59.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241126
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.58.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240709
@@ -673,6 +673,31 @@ module Google
673
673
  end
674
674
  end
675
675
 
676
+ # Represents a data capacity with some amount of current usage in bytes.
677
+ class ByteUsage
678
+ include Google::Apis::Core::Hashable
679
+
680
+ # Output only. The total capacity value, in bytes.
681
+ # Corresponds to the JSON property `capacityBytes`
682
+ # @return [Fixnum]
683
+ attr_accessor :capacity_bytes
684
+
685
+ # Output only. The current usage value, in bytes.
686
+ # Corresponds to the JSON property `usedBytes`
687
+ # @return [Fixnum]
688
+ attr_accessor :used_bytes
689
+
690
+ def initialize(**args)
691
+ update!(**args)
692
+ end
693
+
694
+ # Update properties of this object
695
+ def update!(**args)
696
+ @capacity_bytes = args[:capacity_bytes] if args.key?(:capacity_bytes)
697
+ @used_bytes = args[:used_bytes] if args.key?(:used_bytes)
698
+ end
699
+ end
700
+
676
701
  # Public API: Resources.calendars
677
702
  class CalendarResource
678
703
  include Google::Apis::Core::Hashable
@@ -1042,6 +1067,11 @@ module Google
1042
1067
  # @return [String]
1043
1068
  attr_accessor :device_license_type
1044
1069
 
1070
+ # Represents a data capacity with some amount of current usage in bytes.
1071
+ # Corresponds to the JSON property `diskSpaceUsage`
1072
+ # @return [Google::Apis::AdminDirectoryV1::ByteUsage]
1073
+ attr_accessor :disk_space_usage
1074
+
1045
1075
  # Reports of disk space and other info about mounted/connected volumes.
1046
1076
  # Corresponds to the JSON property `diskVolumeReports`
1047
1077
  # @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport>]
@@ -1285,6 +1315,7 @@ module Google
1285
1315
  @device_files = args[:device_files] if args.key?(:device_files)
1286
1316
  @device_id = args[:device_id] if args.key?(:device_id)
1287
1317
  @device_license_type = args[:device_license_type] if args.key?(:device_license_type)
1318
+ @disk_space_usage = args[:disk_space_usage] if args.key?(:disk_space_usage)
1288
1319
  @disk_volume_reports = args[:disk_volume_reports] if args.key?(:disk_volume_reports)
1289
1320
  @dock_mac_address = args[:dock_mac_address] if args.key?(:dock_mac_address)
1290
1321
  @etag = args[:etag] if args.key?(:etag)
@@ -2149,13 +2180,22 @@ module Google
2149
2180
  # following commands support adding payload: * `SET_VOLUME`: Payload is a
2150
2181
  # stringified JSON object in the form: ` "volume": 50 `. The volume has to be an
2151
2182
  # integer in the range [0,100]. * `DEVICE_START_CRD_SESSION`: Payload is
2152
- # optionally a stringified JSON object in the form: ` "ackedUserPresence": true `
2153
- # . `ackedUserPresence` is a boolean. By default, `ackedUserPresence` is set to `
2154
- # false`. To start a Chrome Remote Desktop session for an active device, set `
2155
- # ackedUserPresence` to `true`. * `REBOOT`: Payload is a stringified JSON object
2156
- # in the form: ` "user_session_delay_seconds": 300 `. The delay has to be in the
2157
- # range [0, 300]. * `FETCH_SUPPORT_PACKET`: Payload is optionally a stringified
2158
- # JSON object in the form: `"supportPacketDetails":` "issueCaseId":
2183
+ # optionally a stringified JSON object in the form: ` "ackedUserPresence": true,
2184
+ # "crdSessionType": string `. `ackedUserPresence` is a boolean. By default, `
2185
+ # ackedUserPresence` is set to `false`. To start a Chrome Remote Desktop session
2186
+ # for an active device, set `ackedUserPresence` to `true`. `crdSessionType` can
2187
+ # only select from values `private` (which grants the remote admin exclusive
2188
+ # control of the ChromeOS device) or `shared` (which allows the admin and the
2189
+ # local user to share control of the ChromeOS device). If not set, `
2190
+ # crdSessionType` defaults to `shared`. * `REBOOT`: Payload is a stringified
2191
+ # JSON object in the form: ` "user_session_delay_seconds": 300 `. The `
2192
+ # user_session_delay_seconds` is the amount of seconds to wait before rebooting
2193
+ # the device if a user is logged in. It has to be an integer in the range [0,300]
2194
+ # . When payload is not present for reboot, 0 delay is the default. Note: This
2195
+ # only applies if an actual user is logged in, including a Guest. If the device
2196
+ # is in the login screen or in Kiosk mode the value is not respected and the
2197
+ # device immediately reboots. * `FETCH_SUPPORT_PACKET`: Payload is optionally a
2198
+ # stringified JSON object in the form: `"supportPacketDetails":` "issueCaseId":
2159
2199
  # optional_support_case_id_string, "issueDescription":
2160
2200
  # optional_issue_description_string, "requestedDataCollectors": []`` The list of
2161
2201
  # available `data_collector_enums` are as following: Chrome System Information (
@@ -3344,13 +3384,7 @@ module Google
3344
3384
  class OrgUnit
3345
3385
  include Google::Apis::Core::Hashable
3346
3386
 
3347
- # Determines if a sub-organizational unit can inherit the settings of the parent
3348
- # organization. The default value is `false`, meaning a sub-organizational unit
3349
- # inherits the settings of the nearest parent organizational unit. This field is
3350
- # deprecated. Setting it to `true` is no longer supported and can have
3351
- # _unintended consequences_. For more information about inheritance and users in
3352
- # an organization structure, see the [administration help center](https://
3353
- # support.google.com/a/answer/4352075).
3387
+ # This field is deprecated and setting its value has no effect.
3354
3388
  # Corresponds to the JSON property `blockInheritance`
3355
3389
  # @return [Boolean]
3356
3390
  attr_accessor :block_inheritance
@@ -3920,6 +3954,35 @@ module Google
3920
3954
  # @return [String]
3921
3955
  attr_accessor :assignee_type
3922
3956
 
3957
+ # Optional. The condition associated with this role assignment. Note: Feature is
3958
+ # available to Enterprise Standard, Enterprise Plus, Google Workspace for
3959
+ # Education Plus and Cloud Identity Premium customers. A `RoleAssignment` with
3960
+ # the `condition` field set will only take effect when the resource being
3961
+ # accessed meets the condition. If `condition` is empty, the role (`role_id`) is
3962
+ # applied to the actor (`assigned_to`) at the scope (`scope_type`)
3963
+ # unconditionally. Currently, the following conditions are supported: - To make
3964
+ # the `RoleAssignment` only applicable to [Security Groups](https://cloud.google.
3965
+ # com/identity/docs/groups#group_types): `api.getAttribute('cloudidentity.
3966
+ # googleapis.com/groups.labels', []).hasAny(['groups.security']) && resource.
3967
+ # type == 'cloudidentity.googleapis.com/Group'` - To make the `RoleAssignment`
3968
+ # not applicable to [Security Groups](https://cloud.google.com/identity/docs/
3969
+ # groups#group_types): `!api.getAttribute('cloudidentity.googleapis.com/groups.
3970
+ # labels', []).hasAny(['groups.security']) && resource.type == 'cloudidentity.
3971
+ # googleapis.com/Group'` Currently, the condition strings have to be verbatim
3972
+ # and they only work with the following [pre-built administrator roles](https://
3973
+ # support.google.com/a/answer/2405986): - Groups Editor - Groups Reader The
3974
+ # condition follows [Cloud IAM condition syntax](https://cloud.google.com/iam/
3975
+ # docs/conditions-overview). Additional conditions related to Locked Groups are
3976
+ # available under Open Beta. - To make the `RoleAssignment` not applicable to [
3977
+ # Locked Groups](https://cloud.google.com/identity/docs/groups#group_types): `!
3978
+ # api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['
3979
+ # groups.locked']) && resource.type == 'cloudidentity.googleapis.com/Group'`
3980
+ # This condition can also be used in conjunction with a Security-related
3981
+ # condition.
3982
+ # Corresponds to the JSON property `condition`
3983
+ # @return [String]
3984
+ attr_accessor :condition
3985
+
3923
3986
  # ETag of the resource.
3924
3987
  # Corresponds to the JSON property `etag`
3925
3988
  # @return [String]
@@ -3959,6 +4022,7 @@ module Google
3959
4022
  def update!(**args)
3960
4023
  @assigned_to = args[:assigned_to] if args.key?(:assigned_to)
3961
4024
  @assignee_type = args[:assignee_type] if args.key?(:assignee_type)
4025
+ @condition = args[:condition] if args.key?(:condition)
3962
4026
  @etag = args[:etag] if args.key?(:etag)
3963
4027
  @kind = args[:kind] if args.key?(:kind)
3964
4028
  @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AdminDirectoryV1
18
18
  # Version of the google-apis-admin_directory_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
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240709"
25
+ REVISION = "20241210"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class ByteUsage
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class CalendarResource
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -942,6 +948,14 @@ module Google
942
948
  end
943
949
  end
944
950
 
951
+ class ByteUsage
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ property :capacity_bytes, :numeric_string => true, as: 'capacityBytes'
955
+ property :used_bytes, :numeric_string => true, as: 'usedBytes'
956
+ end
957
+ end
958
+
945
959
  class CalendarResource
946
960
  # @private
947
961
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1030,6 +1044,8 @@ module Google
1030
1044
 
1031
1045
  property :device_id, as: 'deviceId'
1032
1046
  property :device_license_type, as: 'deviceLicenseType'
1047
+ property :disk_space_usage, as: 'diskSpaceUsage', class: Google::Apis::AdminDirectoryV1::ByteUsage, decorator: Google::Apis::AdminDirectoryV1::ByteUsage::Representation
1048
+
1033
1049
  collection :disk_volume_reports, as: 'diskVolumeReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::Representation
1034
1050
 
1035
1051
  property :dock_mac_address, as: 'dockMacAddress'
@@ -1748,6 +1764,7 @@ module Google
1748
1764
  class Representation < Google::Apis::Core::JsonRepresentation
1749
1765
  property :assigned_to, as: 'assignedTo'
1750
1766
  property :assignee_type, as: 'assigneeType'
1767
+ property :condition, as: 'condition'
1751
1768
  property :etag, as: 'etag'
1752
1769
  property :kind, as: 'kind'
1753
1770
  property :org_unit_id, as: 'orgUnitId'
@@ -1624,7 +1624,7 @@ module Google
1624
1624
  # @param [String] user_key
1625
1625
  # Email or immutable ID of the user if only those groups are to be listed, the
1626
1626
  # given user is a member of. If it's an ID, it should match with the ID of the
1627
- # user object.
1627
+ # user object. Cannot be used with the `customer` parameter.
1628
1628
  # @param [String] fields
1629
1629
  # Selector specifying which fields to include in a partial response.
1630
1630
  # @param [String] quota_user
@@ -43,10 +43,10 @@ module Google
43
43
  # View customer related information
44
44
  AUTH_ADMIN_DIRECTORY_CUSTOMER_READONLY = 'https://www.googleapis.com/auth/admin.directory.customer.readonly'
45
45
 
46
- # View and manage your Chrome OS devices' metadata
46
+ # View and manage your ChromeOS devices' metadata
47
47
  AUTH_ADMIN_DIRECTORY_DEVICE_CHROMEOS = 'https://www.googleapis.com/auth/admin.directory.device.chromeos'
48
48
 
49
- # View your Chrome OS devices' metadata
49
+ # View your ChromeOS devices' metadata
50
50
  AUTH_ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY = 'https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly'
51
51
 
52
52
  # View and manage your mobile devices' metadata
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-admin_directory_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-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-15 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-admin_directory_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.60.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_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.6
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Admin SDK API DirectoryV1