google-apis-admin_directory_v1 0.5.0 → 0.10.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: 04da972e97cb6c3aa569de2f653a68a2a1e593a2864c3ee1bbd9965e8827abef
4
- data.tar.gz: 2de04e2c91b2ca647c04752d3cedd199814a6586a17d1bab1df0446bbdf621ee
3
+ metadata.gz: b26780fd5ff572e32709445e093e203609227df02061069c775ef9c4f0b4aa8a
4
+ data.tar.gz: ce1697e6255b304058f5de3d37fe265e3f13ca5d42a9aecb903f12202909d600
5
5
  SHA512:
6
- metadata.gz: 1ba92604a3f28e684c49219fa174493ded9775f9ffe2f4e67ae376e5b018d2c0014e8845e1131b62a579dcb09dab88a4fd4363675cd69b9efb87894558526e14
7
- data.tar.gz: b58fe2b72e1f5abf952b082a3437f322874be195808b0390a9df28cec0361a68fe82ce037a32943f86a9b00a29f27890290ef44798ad49f8a3819ecbf6e715b4
6
+ metadata.gz: '08c707ad83f538a5f7fe4e89255ef54280ce69592a98a530343e167a69946c0257c238860177721763d35494677dcf43875c19c516877dcc48391ea764e90027'
7
+ data.tar.gz: 521876f96559d29f65d0cbf7f24ed666c8d048966093a07b8c0e417806c75f22228ce4b19ae35a345416b98ba21e6cf8d7365ec6289c60ab3ecd7eb541b4ac64
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.10.0 (2021-06-02)
4
+
5
+ * Regenerated from discovery document revision 20210531
6
+ * Regenerated using generator version 0.3.0
7
+
8
+ ### v0.9.0 (2021-05-19)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.8.0 (2021-04-28)
13
+
14
+ * Regenerated from discovery document revision 20210427
15
+
16
+ ### v0.7.0 (2021-03-24)
17
+
18
+ * Regenerated from discovery document revision 20210323
19
+
20
+ ### v0.6.0 (2021-03-17)
21
+
22
+ * Regenerated from discovery document revision 20210316
23
+
3
24
  ### v0.5.0 (2021-03-10)
4
25
 
5
26
  * Regenerated from discovery document revision 20210309
@@ -31,6 +31,12 @@ module Google
31
31
  # This is NOT the gem version.
32
32
  VERSION = 'DirectoryV1'
33
33
 
34
+ # See, add, edit, and permanently delete the printers that your organization can use with Chrome
35
+ AUTH_ADMIN_CHROME_PRINTERS = 'https://www.googleapis.com/auth/admin.chrome.printers'
36
+
37
+ # See the printers that your organization can use with Chrome
38
+ AUTH_ADMIN_CHROME_PRINTERS_READONLY = 'https://www.googleapis.com/auth/admin.chrome.printers.readonly'
39
+
34
40
  # View and manage customer related information
35
41
  AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
36
42
 
@@ -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::RecentUsers>]
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
@@ -1906,10 +1932,10 @@ module Google
1906
1932
  # @return [Google::Apis::AdminDirectoryV1::Printer]
1907
1933
  attr_accessor :printer
1908
1934
 
1909
- # Ids of failed printers.
1910
- # Corresponds to the JSON property `printerIds`
1935
+ # Id of a failed printer.
1936
+ # Corresponds to the JSON property `printerId`
1911
1937
  # @return [String]
1912
- attr_accessor :printer_ids
1938
+ attr_accessor :printer_id
1913
1939
 
1914
1940
  def initialize(**args)
1915
1941
  update!(**args)
@@ -1920,7 +1946,7 @@ module Google
1920
1946
  @error_code = args[:error_code] if args.key?(:error_code)
1921
1947
  @error_message = args[:error_message] if args.key?(:error_message)
1922
1948
  @printer = args[:printer] if args.key?(:printer)
1923
- @printer_ids = args[:printer_ids] if args.key?(:printer_ids)
1949
+ @printer_id = args[:printer_id] if args.key?(:printer_id)
1924
1950
  end
1925
1951
  end
1926
1952
 
@@ -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
 
@@ -3623,7 +3623,7 @@ module Google
3623
3623
  attr_accessor :agreed_to_terms
3624
3624
  alias_method :agreed_to_terms?, :agreed_to_terms
3625
3625
 
3626
- # Output only. List of the user's alias email addresses.
3626
+ # Output only. A list of the user's alias email addresses.
3627
3627
  # Corresponds to the JSON property `aliases`
3628
3628
  # @return [Array<String>]
3629
3629
  attr_accessor :aliases
@@ -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.5.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210309"
25
+ REVISION = "20210531"
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::RecentUsers, decorator: Google::Apis::AdminDirectoryV1::RecentUsers::Representation
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
@@ -1113,7 +1121,7 @@ module Google
1113
1121
  property :error_message, as: 'errorMessage'
1114
1122
  property :printer, as: 'printer', class: Google::Apis::AdminDirectoryV1::Printer, decorator: Google::Apis::AdminDirectoryV1::Printer::Representation
1115
1123
 
1116
- property :printer_ids, as: 'printerIds'
1124
+ property :printer_id, as: 'printerId'
1117
1125
  end
1118
1126
  end
1119
1127
 
@@ -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.5.0
4
+ version: 0.10.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-03-15 00:00:00.000000000 Z
11
+ date: 2021-06-07 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.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.10.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.13
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