google-apis-admin_directory_v1 0.80.0 → 0.82.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 +8 -0
- data/lib/google/apis/admin_directory_v1/classes.rb +27 -0
- data/lib/google/apis/admin_directory_v1/gem_version.rb +2 -2
- data/lib/google/apis/admin_directory_v1/representations.rb +15 -0
- data/lib/google/apis/admin_directory_v1/service.rb +16 -9
- 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: e8dc315881a83a01e368011ef6bdd04494a71eba92342f563c3c9d961e23fff6
|
|
4
|
+
data.tar.gz: daaa1cf73e2e980c034283fde78810fc10c7c48db647a9b5363d796d6a58aa66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bee1ffcabd6766a16d9457e173b3457dd9d28a844df34476a8dc2897c72ec0cd582c8d8474363082c8cc4ca2c9993ef3d5ea5bc51fe1afac7665d6b95fe2d689
|
|
7
|
+
data.tar.gz: 39a4d36e25a203af165468487862da87c0e0e3a777f55eb6b09a12a726475a4fa0ef56acc94f04062e50faeb63b083fba94bc3b6b232942ec1a1c4d5fd93f730
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-admin_directory_v1
|
|
2
2
|
|
|
3
|
+
### v0.82.0 (2026-09-20)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260914
|
|
6
|
+
|
|
7
|
+
### v0.81.0 (2026-09-06)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260902
|
|
10
|
+
|
|
3
11
|
### v0.80.0 (2026-08-02)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260729
|
|
@@ -2525,6 +2525,26 @@ module Google
|
|
|
2525
2525
|
end
|
|
2526
2526
|
end
|
|
2527
2527
|
|
|
2528
|
+
# Details regarding the expiration of this role assignment. Used to
|
|
2529
|
+
# automatically revoke access when the time limit is reached.
|
|
2530
|
+
class ExpirationDetails
|
|
2531
|
+
include Google::Apis::Core::Hashable
|
|
2532
|
+
|
|
2533
|
+
# The specific timestamp when the role assignment expires.
|
|
2534
|
+
# Corresponds to the JSON property `expireTime`
|
|
2535
|
+
# @return [String]
|
|
2536
|
+
attr_accessor :expire_time
|
|
2537
|
+
|
|
2538
|
+
def initialize(**args)
|
|
2539
|
+
update!(**args)
|
|
2540
|
+
end
|
|
2541
|
+
|
|
2542
|
+
# Update properties of this object
|
|
2543
|
+
def update!(**args)
|
|
2544
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
2545
|
+
end
|
|
2546
|
+
end
|
|
2547
|
+
|
|
2528
2548
|
# External identifier used to link and identify this group across external
|
|
2529
2549
|
# directory systems.
|
|
2530
2550
|
class ExternalId
|
|
@@ -4146,6 +4166,12 @@ module Google
|
|
|
4146
4166
|
# @return [String]
|
|
4147
4167
|
attr_accessor :etag
|
|
4148
4168
|
|
|
4169
|
+
# Details regarding the expiration of this role assignment. Used to
|
|
4170
|
+
# automatically revoke access when the time limit is reached.
|
|
4171
|
+
# Corresponds to the JSON property `expirationDetails`
|
|
4172
|
+
# @return [Google::Apis::AdminDirectoryV1::ExpirationDetails]
|
|
4173
|
+
attr_accessor :expiration_details
|
|
4174
|
+
|
|
4149
4175
|
# The type of the API resource. This is always `admin#directory#roleAssignment`.
|
|
4150
4176
|
# Corresponds to the JSON property `kind`
|
|
4151
4177
|
# @return [String]
|
|
@@ -4182,6 +4208,7 @@ module Google
|
|
|
4182
4208
|
@assignee_type = args[:assignee_type] if args.key?(:assignee_type)
|
|
4183
4209
|
@condition = args[:condition] if args.key?(:condition)
|
|
4184
4210
|
@etag = args[:etag] if args.key?(:etag)
|
|
4211
|
+
@expiration_details = args[:expiration_details] if args.key?(:expiration_details)
|
|
4185
4212
|
@kind = args[:kind] if args.key?(:kind)
|
|
4186
4213
|
@org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
|
|
4187
4214
|
@role_assignment_id = args[:role_assignment_id] if args.key?(:role_assignment_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.
|
|
19
|
+
GEM_VERSION = "0.82.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260914"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -382,6 +382,12 @@ module Google
|
|
|
382
382
|
include Google::Apis::Core::JsonObjectSupport
|
|
383
383
|
end
|
|
384
384
|
|
|
385
|
+
class ExpirationDetails
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
385
391
|
class ExternalId
|
|
386
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
393
|
|
|
@@ -1453,6 +1459,13 @@ module Google
|
|
|
1453
1459
|
end
|
|
1454
1460
|
end
|
|
1455
1461
|
|
|
1462
|
+
class ExpirationDetails
|
|
1463
|
+
# @private
|
|
1464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1465
|
+
property :expire_time, as: 'expireTime'
|
|
1466
|
+
end
|
|
1467
|
+
end
|
|
1468
|
+
|
|
1456
1469
|
class ExternalId
|
|
1457
1470
|
# @private
|
|
1458
1471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1839,6 +1852,8 @@ module Google
|
|
|
1839
1852
|
property :assignee_type, as: 'assigneeType'
|
|
1840
1853
|
property :condition, as: 'condition'
|
|
1841
1854
|
property :etag, as: 'etag'
|
|
1855
|
+
property :expiration_details, as: 'expirationDetails', class: Google::Apis::AdminDirectoryV1::ExpirationDetails, decorator: Google::Apis::AdminDirectoryV1::ExpirationDetails::Representation
|
|
1856
|
+
|
|
1842
1857
|
property :kind, as: 'kind'
|
|
1843
1858
|
property :org_unit_id, as: 'orgUnitId'
|
|
1844
1859
|
property :role_assignment_id, :numeric_string => true, as: 'roleAssignmentId'
|
|
@@ -4123,17 +4123,24 @@ module Google
|
|
|
4123
4123
|
# sometimes fail as the user isn't fully created due to propagation delay in our
|
|
4124
4124
|
# backends. Check the error details for the "User creation is not complete"
|
|
4125
4125
|
# message to see if this is the case. Retrying the calls after some time can
|
|
4126
|
-
# help in this case. If `
|
|
4127
|
-
#
|
|
4128
|
-
#
|
|
4129
|
-
# conflicting
|
|
4130
|
-
# unmanaged
|
|
4131
|
-
#
|
|
4126
|
+
# help in this case. If `resolve_conflict_account` is set to `true`, the option
|
|
4127
|
+
# selected for [Find and add unmanaged users](https://knowledge.workspace.google.
|
|
4128
|
+
# com/admin/users/find-and-add-unmanaged-users) will apply to resolve
|
|
4129
|
+
# conflicting accounts: - A `200` response code indicates the user was created (
|
|
4130
|
+
# or replaced an existing unmanaged personal account). - A `202` response code
|
|
4131
|
+
# means that a conflicting unmanaged personal account exists and was invited to
|
|
4132
|
+
# join the organization. - A `409` response code means that a conflicting
|
|
4133
|
+
# account exists so the user wasn't created (e.g. based on the option selected
|
|
4134
|
+
# to preserve the account, or if the email conflicts with an unmanaged work
|
|
4135
|
+
# account or existing managed user). For details on resolving duplicate account
|
|
4136
|
+
# errors, see [Resolve duplicate account errors](https://knowledge.workspace.
|
|
4137
|
+
# google.com/p/duplicate-account-errors) and [Transfer unmanaged work accounts](
|
|
4138
|
+
# https://knowledge.workspace.google.com/p/unmanaged-work-accounts).
|
|
4132
4139
|
# @param [Google::Apis::AdminDirectoryV1::User] user_object
|
|
4133
4140
|
# @param [Boolean] resolve_conflict_account
|
|
4134
|
-
# Optional.
|
|
4135
|
-
#
|
|
4136
|
-
# false`
|
|
4141
|
+
# Optional. Applies the option selected for [Find and add unmanaged users](https:
|
|
4142
|
+
# //knowledge.workspace.google.com/admin/users/find-and-add-unmanaged-users) to
|
|
4143
|
+
# resolve conflicting accounts when set to `true`. Default: `false`
|
|
4137
4144
|
# @param [String] fields
|
|
4138
4145
|
# Selector specifying which fields to include in a partial response.
|
|
4139
4146
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-admin_directory_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.82.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-admin_directory_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.82.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|