google-apis-admin_directory_v1 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/admin_directory_v1/classes.rb +28 -28
- data/lib/google/apis/admin_directory_v1/gem_version.rb +2 -2
- data/lib/google/apis/admin_directory_v1/representations.rb +15 -15
- data/lib/google/apis/admin_directory_v1/service.rb +4 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e71a6ce55133d58cc765ecf8066f2fa43ddbee2859666d4e3538fef1fd9d29fc
|
4
|
+
data.tar.gz: 51e06eacc5b3dfe894b0e705fd687bf5264ed1067ded17a04f40b2b10f82eb95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29e2d71c36e98e3397e942e463846c40c7c4249b6ddf61b96106875431d646ec2725c2e84bfa323cd8ac98ba8399960d64b7240a5781c8130336fb292bb44a3a
|
7
|
+
data.tar.gz: 55be2349ca2e496f3fb9de9d581e0846b6a44ded829d6361ae4a19c47f07dea87b3b5be8a1f6ce05824f02336681b969a3285c6770d77c1b3d641c6b5ad2486a
|
data/CHANGELOG.md
CHANGED
@@ -909,7 +909,7 @@ module Google
|
|
909
909
|
|
910
910
|
# List of recent device users, in descending order, by last login time.
|
911
911
|
# Corresponds to the JSON property `recentUsers`
|
912
|
-
# @return [Array<Google::Apis::AdminDirectoryV1::
|
912
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser>]
|
913
913
|
attr_accessor :recent_users
|
914
914
|
|
915
915
|
# List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-
|
@@ -1195,6 +1195,32 @@ module Google
|
|
1195
1195
|
end
|
1196
1196
|
end
|
1197
1197
|
|
1198
|
+
# List of recent device users, in descending order, by last login time.
|
1199
|
+
class RecentUser
|
1200
|
+
include Google::Apis::Core::Hashable
|
1201
|
+
|
1202
|
+
# The user's email address. This is only present if the user type is `
|
1203
|
+
# USER_TYPE_MANAGED`.
|
1204
|
+
# Corresponds to the JSON property `email`
|
1205
|
+
# @return [String]
|
1206
|
+
attr_accessor :email
|
1207
|
+
|
1208
|
+
# The type of the user.
|
1209
|
+
# Corresponds to the JSON property `type`
|
1210
|
+
# @return [String]
|
1211
|
+
attr_accessor :type
|
1212
|
+
|
1213
|
+
def initialize(**args)
|
1214
|
+
update!(**args)
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
# Update properties of this object
|
1218
|
+
def update!(**args)
|
1219
|
+
@email = args[:email] if args.key?(:email)
|
1220
|
+
@type = args[:type] if args.key?(:type)
|
1221
|
+
end
|
1222
|
+
end
|
1223
|
+
|
1198
1224
|
#
|
1199
1225
|
class ScreenshotFile
|
1200
1226
|
include Google::Apis::Core::Hashable
|
@@ -3063,32 +3089,6 @@ module Google
|
|
3063
3089
|
end
|
3064
3090
|
end
|
3065
3091
|
|
3066
|
-
# List of recent device users, in descending order, by last login time.
|
3067
|
-
class RecentUsers
|
3068
|
-
include Google::Apis::Core::Hashable
|
3069
|
-
|
3070
|
-
# The user's email address. This is only present if the user type is `
|
3071
|
-
# USER_TYPE_MANAGED`.
|
3072
|
-
# Corresponds to the JSON property `email`
|
3073
|
-
# @return [String]
|
3074
|
-
attr_accessor :email
|
3075
|
-
|
3076
|
-
# The type of the user.
|
3077
|
-
# Corresponds to the JSON property `type`
|
3078
|
-
# @return [String]
|
3079
|
-
attr_accessor :type
|
3080
|
-
|
3081
|
-
def initialize(**args)
|
3082
|
-
update!(**args)
|
3083
|
-
end
|
3084
|
-
|
3085
|
-
# Update properties of this object
|
3086
|
-
def update!(**args)
|
3087
|
-
@email = args[:email] if args.key?(:email)
|
3088
|
-
@type = args[:type] if args.key?(:type)
|
3089
|
-
end
|
3090
|
-
end
|
3091
|
-
|
3092
3092
|
#
|
3093
3093
|
class Role
|
3094
3094
|
include Google::Apis::Core::Hashable
|
@@ -3178,7 +3178,7 @@ module Google
|
|
3178
3178
|
end
|
3179
3179
|
end
|
3180
3180
|
|
3181
|
-
#
|
3181
|
+
# Defines an assignment of a role.
|
3182
3182
|
class RoleAssignment
|
3183
3183
|
include Google::Apis::Core::Hashable
|
3184
3184
|
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210427"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -163,6 +163,12 @@ module Google
|
|
163
163
|
include Google::Apis::Core::JsonObjectSupport
|
164
164
|
end
|
165
165
|
|
166
|
+
class RecentUser
|
167
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
168
|
+
|
169
|
+
include Google::Apis::Core::JsonObjectSupport
|
170
|
+
end
|
171
|
+
|
166
172
|
class ScreenshotFile
|
167
173
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
168
174
|
|
@@ -406,12 +412,6 @@ module Google
|
|
406
412
|
include Google::Apis::Core::JsonObjectSupport
|
407
413
|
end
|
408
414
|
|
409
|
-
class RecentUsers
|
410
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
-
|
412
|
-
include Google::Apis::Core::JsonObjectSupport
|
413
|
-
end
|
414
|
-
|
415
415
|
class Role
|
416
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
417
|
|
@@ -836,7 +836,7 @@ module Google
|
|
836
836
|
property :org_unit_path, as: 'orgUnitPath'
|
837
837
|
property :os_version, as: 'osVersion'
|
838
838
|
property :platform_version, as: 'platformVersion'
|
839
|
-
collection :recent_users, as: 'recentUsers', class: Google::Apis::AdminDirectoryV1::
|
839
|
+
collection :recent_users, as: 'recentUsers', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::RecentUser::Representation
|
840
840
|
|
841
841
|
collection :screenshot_files, as: 'screenshotFiles', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::ScreenshotFile, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::ScreenshotFile::Representation
|
842
842
|
|
@@ -916,6 +916,14 @@ module Google
|
|
916
916
|
end
|
917
917
|
end
|
918
918
|
|
919
|
+
class RecentUser
|
920
|
+
# @private
|
921
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
922
|
+
property :email, as: 'email'
|
923
|
+
property :type, as: 'type'
|
924
|
+
end
|
925
|
+
end
|
926
|
+
|
919
927
|
class ScreenshotFile
|
920
928
|
# @private
|
921
929
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1382,14 +1390,6 @@ module Google
|
|
1382
1390
|
end
|
1383
1391
|
end
|
1384
1392
|
|
1385
|
-
class RecentUsers
|
1386
|
-
# @private
|
1387
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1388
|
-
property :email, as: 'email'
|
1389
|
-
property :type, as: 'type'
|
1390
|
-
end
|
1391
|
-
end
|
1392
|
-
|
1393
1393
|
class Role
|
1394
1394
|
# @private
|
1395
1395
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4053,6 +4053,8 @@ module Google
|
|
4053
4053
|
# @param [String] user_key
|
4054
4054
|
# Identifies the user in the API request. The value can be the user's primary
|
4055
4055
|
# email address, alias email address, or unique user ID.
|
4056
|
+
# @param [String] event
|
4057
|
+
# Events to watch for.
|
4056
4058
|
# @param [String] fields
|
4057
4059
|
# Selector specifying which fields to include in a partial response.
|
4058
4060
|
# @param [String] quota_user
|
@@ -4070,11 +4072,12 @@ module Google
|
|
4070
4072
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4071
4073
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4072
4074
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4073
|
-
def list_user_aliases(user_key, fields: nil, quota_user: nil, options: nil, &block)
|
4075
|
+
def list_user_aliases(user_key, event: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4074
4076
|
command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/aliases', options)
|
4075
4077
|
command.response_representation = Google::Apis::AdminDirectoryV1::Aliases::Representation
|
4076
4078
|
command.response_class = Google::Apis::AdminDirectoryV1::Aliases
|
4077
4079
|
command.params['userKey'] = user_key unless user_key.nil?
|
4080
|
+
command.query['event'] = event unless event.nil?
|
4078
4081
|
command.query['fields'] = fields unless fields.nil?
|
4079
4082
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4080
4083
|
execute_or_queue_command(command, &block)
|
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.
|
4
|
+
version: 0.8.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: 2021-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-admin_directory_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.8.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-admin_directory_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Admin SDK API DirectoryV1
|