google-apis-admin_directory_v1 0.57.0 → 0.59.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 688f69ab10b604e77920850b71ed85a6cbe29d3d97d728293e4850a32f88e9e3
4
- data.tar.gz: 381ee585f53b7542babd8ec10ef92a56cf98fe2c0b4ffb48167fd69d823c82f1
3
+ metadata.gz: 5a603bec4b386436a93b55dcf70299f62c9a0f6b8b7f629177fad915419cb218
4
+ data.tar.gz: eeaf9ca70f6b4190f5b639b6ca4a35f3f0ea714723ee9f400df0054f3ebb2189
5
5
  SHA512:
6
- metadata.gz: 060ef4dae487b86000e33771dd0a6344e60d5f76798d3592e081cd463f4e794681288bb75d18a022115605c329953e1333bbe2755ad4b8e8b7207f6b293cb55d
7
- data.tar.gz: 2a0109d16ab9685997dde9b464d4b7619371d4854ca2b2dc1faba49ba967776015f70b53e9e8bbb18fa039eed20bd76cb7d9d358688524245ac059a99a60fbe7
6
+ metadata.gz: 7d6037769afe98448fc479e6fb8fda9ecc93883257a1b794497566e7a029b3fa4a1b631ce2ade79c0de6b36bdac8515dcd3a7b9ae637d691a3e88cb461b87ad5
7
+ data.tar.gz: 7d870c7c256bed7a57ab1e378ce9cc16c3177f78a14c22cd49af8f9c4a4a0336a8fb58e0ca2f0c0971ab6d8fc678ac38e4ec342a5358f0707805b3716e0ef8ff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.59.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241126
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.58.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240709
11
+
3
12
  ### v0.57.0 (2024-06-16)
4
13
 
5
14
  * Regenerated from discovery document revision 20240611
@@ -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,29 @@ module Google
3920
3954
  # @return [String]
3921
3955
  attr_accessor :assignee_type
3922
3956
 
3957
+ # Optional. Note: Feature is available to Enterprise Standard, Enterprise Plus,
3958
+ # Google Workspace for Education Plus and Cloud Identity Premium customers. No
3959
+ # additional setup is needed to use the feature. The condition associated with
3960
+ # this role assignment. A `RoleAssignment` with the `condition` field set will
3961
+ # only take effect when the resource being accessed meets the condition. If `
3962
+ # condition` is empty, the role (`role_id`) is applied to the actor (`
3963
+ # assigned_to`) at the scope (`scope_type`) unconditionally. Currently, only two
3964
+ # conditions are supported: - To make the `RoleAssignment` only applicable to [
3965
+ # Security Groups](https://cloud.google.com/identity/docs/groups#group_types): `
3966
+ # api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['
3967
+ # groups.security']) && resource.type == 'cloudidentity.googleapis.com/Group'` -
3968
+ # To make the `RoleAssignment` not applicable to [Security Groups](https://cloud.
3969
+ # google.com/identity/docs/groups#group_types): `!api.getAttribute('
3970
+ # cloudidentity.googleapis.com/groups.labels', []).hasAny(['groups.security']) &&
3971
+ # resource.type == 'cloudidentity.googleapis.com/Group'` Currently, the two
3972
+ # condition strings have to be verbatim and they only work with the following [
3973
+ # pre-built administrator roles](https://support.google.com/a/answer/2405986): -
3974
+ # Groups Editor - Groups Reader The condition follows [Cloud IAM condition
3975
+ # syntax](https://cloud.google.com/iam/docs/conditions-overview).
3976
+ # Corresponds to the JSON property `condition`
3977
+ # @return [String]
3978
+ attr_accessor :condition
3979
+
3923
3980
  # ETag of the resource.
3924
3981
  # Corresponds to the JSON property `etag`
3925
3982
  # @return [String]
@@ -3959,6 +4016,7 @@ module Google
3959
4016
  def update!(**args)
3960
4017
  @assigned_to = args[:assigned_to] if args.key?(:assigned_to)
3961
4018
  @assignee_type = args[:assignee_type] if args.key?(:assignee_type)
4019
+ @condition = args[:condition] if args.key?(:condition)
3962
4020
  @etag = args[:etag] if args.key?(:etag)
3963
4021
  @kind = args[:kind] if args.key?(:kind)
3964
4022
  @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.57.0"
19
+ GEM_VERSION = "0.59.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 = "20240611"
25
+ REVISION = "20241126"
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
@@ -4028,7 +4028,12 @@ module Google
4028
4028
  # sometimes fail as the user isn't fully created due to propagation delay in our
4029
4029
  # backends. Check the error details for the "User creation is not complete"
4030
4030
  # message to see if this is the case. Retrying the calls after some time can
4031
- # help in this case.
4031
+ # help in this case. If `resolveConflictAccount` is set to `true`, a `202`
4032
+ # response code means that a conflicting unmanaged account exists and was
4033
+ # invited to join the organization. A `409` response code means that a
4034
+ # conflicting account exists so the user wasn't created based on the [handling
4035
+ # unmanaged user accounts](https://support.google.com/a/answer/11112794) option
4036
+ # selected.
4032
4037
  # @param [Google::Apis::AdminDirectoryV1::User] user_object
4033
4038
  # @param [Boolean] resolve_conflict_account
4034
4039
  # Optional. If set to `true`, the option selected for [handling unmanaged 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.57.0
4
+ version: 0.59.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-06-16 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.57.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.59.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.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Admin SDK API DirectoryV1