google-apis-admin_directory_v1 0.7.0 → 0.12.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: e1d839b31e8dc508bfc1fb3a727148ce5d7198e9c5b48f0cbbc6c35ac19c76c3
4
- data.tar.gz: 1cc577851648e5e904c40acf6e16b371bd7ace9b7f8d7431ca11b6d1124b845f
3
+ metadata.gz: 37078aa084a236fcd2fb7f2f2b58ac254731914dcd7ed7c3940ceafb27f72d97
4
+ data.tar.gz: 0e2a562ad1f3b58a4949ebbf880c8d376f1bb91419be57a4b4843bdf3ed1d1ad
5
5
  SHA512:
6
- metadata.gz: 5f0e22a4e5d8a1ad7fbfcce5962491968e4076f67de126bde9d8c6032256f8ac1524e8b186b320f70c8b65193dfccb5507d72d289344146b2d96793164d69ae5
7
- data.tar.gz: e6ae1e55d38265bcb2163d400d58dc506ec3fef512f8569f1da1c1743db7f1ac6788c12b3fde8aafe6eab1f5fe442beef18201d328b4e456873ed27ec212b49d
6
+ metadata.gz: 321138ab07bded241ad0f620783b091942d8635855aa208c5acf354abdd4186ddf1155241350e839bd895627db0398bb73b2d26c25fb248a6ffc4250a08619f5
7
+ data.tar.gz: 273a527e92752c5836c44b76fc09047c187ad7a01e224af4b5de7ffafbebf2e8cf8934e25808d9d83226283cf19f2b6f52d059812fa145337aef0ebdf65581b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.12.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.11.0 (2021-06-24)
8
+
9
+ * Regenerated from discovery document revision 20210622
10
+
11
+ ### v0.10.0 (2021-06-02)
12
+
13
+ * Regenerated from discovery document revision 20210531
14
+ * Regenerated using generator version 0.3.0
15
+
16
+ ### v0.9.0 (2021-05-19)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.8.0 (2021-04-28)
21
+
22
+ * Regenerated from discovery document revision 20210427
23
+
3
24
  ### v0.7.0 (2021-03-24)
4
25
 
5
26
  * Regenerated from discovery document revision 20210323
@@ -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
@@ -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.7.0"
19
+ GEM_VERSION = "0.12.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.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210323"
25
+ REVISION = "20210622"
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
@@ -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
@@ -1921,8 +1921,6 @@ module Google
1921
1921
  # Users resource](/admin-sdk/directory/v1/reference/users).
1922
1922
  # @param [String] org_unit_path
1923
1923
  # The full path of the organizational unit or its unique ID.
1924
- # @param [Boolean] allow_plus
1925
- # Parses org unit path without url decode to allow for plus in ou name
1926
1924
  # @param [String] fields
1927
1925
  # Selector specifying which fields to include in a partial response.
1928
1926
  # @param [String] quota_user
@@ -1940,11 +1938,10 @@ module Google
1940
1938
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1941
1939
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1942
1940
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1943
- def delete_org_unit(customer_id, org_unit_path, allow_plus: nil, fields: nil, quota_user: nil, options: nil, &block)
1941
+ def delete_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, options: nil, &block)
1944
1942
  command = make_simple_command(:delete, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
1945
1943
  command.params['customerId'] = customer_id unless customer_id.nil?
1946
1944
  command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
1947
- command.query['allowPlus'] = allow_plus unless allow_plus.nil?
1948
1945
  command.query['fields'] = fields unless fields.nil?
1949
1946
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1950
1947
  execute_or_queue_command(command, &block)
@@ -1958,8 +1955,6 @@ module Google
1958
1955
  # Users resource](/admin-sdk/directory/v1/reference/users).
1959
1956
  # @param [String] org_unit_path
1960
1957
  # The full path of the organizational unit or its unique ID.
1961
- # @param [Boolean] allow_plus
1962
- # Parses org unit path without url decode to allow for plus in ou name
1963
1958
  # @param [String] fields
1964
1959
  # Selector specifying which fields to include in a partial response.
1965
1960
  # @param [String] quota_user
@@ -1977,13 +1972,12 @@ module Google
1977
1972
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1978
1973
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1979
1974
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1980
- def get_org_unit(customer_id, org_unit_path, allow_plus: nil, fields: nil, quota_user: nil, options: nil, &block)
1975
+ def get_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, options: nil, &block)
1981
1976
  command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
1982
1977
  command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
1983
1978
  command.response_class = Google::Apis::AdminDirectoryV1::OrgUnit
1984
1979
  command.params['customerId'] = customer_id unless customer_id.nil?
1985
1980
  command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
1986
- command.query['allowPlus'] = allow_plus unless allow_plus.nil?
1987
1981
  command.query['fields'] = fields unless fields.nil?
1988
1982
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1989
1983
  execute_or_queue_command(command, &block)
@@ -2075,8 +2069,6 @@ module Google
2075
2069
  # @param [String] org_unit_path
2076
2070
  # The full path of the organizational unit or its unique ID.
2077
2071
  # @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
2078
- # @param [Boolean] allow_plus
2079
- # Parses org unit path without url decode to allow for plus in ou name
2080
2072
  # @param [String] fields
2081
2073
  # Selector specifying which fields to include in a partial response.
2082
2074
  # @param [String] quota_user
@@ -2094,7 +2086,7 @@ module Google
2094
2086
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2095
2087
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2096
2088
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2097
- def patch_org_unit(customer_id, org_unit_path, org_unit_object = nil, allow_plus: nil, fields: nil, quota_user: nil, options: nil, &block)
2089
+ def patch_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2098
2090
  command = make_simple_command(:patch, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
2099
2091
  command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
2100
2092
  command.request_object = org_unit_object
@@ -2102,7 +2094,6 @@ module Google
2102
2094
  command.response_class = Google::Apis::AdminDirectoryV1::OrgUnit
2103
2095
  command.params['customerId'] = customer_id unless customer_id.nil?
2104
2096
  command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
2105
- command.query['allowPlus'] = allow_plus unless allow_plus.nil?
2106
2097
  command.query['fields'] = fields unless fields.nil?
2107
2098
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2108
2099
  execute_or_queue_command(command, &block)
@@ -2117,8 +2108,6 @@ module Google
2117
2108
  # @param [String] org_unit_path
2118
2109
  # The full path of the organizational unit or its unique ID.
2119
2110
  # @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
2120
- # @param [Boolean] allow_plus
2121
- # Parses org unit path without url decode to allow for plus in ou name
2122
2111
  # @param [String] fields
2123
2112
  # Selector specifying which fields to include in a partial response.
2124
2113
  # @param [String] quota_user
@@ -2136,7 +2125,7 @@ module Google
2136
2125
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2137
2126
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2138
2127
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2139
- def update_org_unit(customer_id, org_unit_path, org_unit_object = nil, allow_plus: nil, fields: nil, quota_user: nil, options: nil, &block)
2128
+ def update_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2140
2129
  command = make_simple_command(:put, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
2141
2130
  command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
2142
2131
  command.request_object = org_unit_object
@@ -2144,7 +2133,6 @@ module Google
2144
2133
  command.response_class = Google::Apis::AdminDirectoryV1::OrgUnit
2145
2134
  command.params['customerId'] = customer_id unless customer_id.nil?
2146
2135
  command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
2147
- command.query['allowPlus'] = allow_plus unless allow_plus.nil?
2148
2136
  command.query['fields'] = fields unless fields.nil?
2149
2137
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2150
2138
  execute_or_queue_command(command, &block)
@@ -4053,6 +4041,8 @@ module Google
4053
4041
  # @param [String] user_key
4054
4042
  # Identifies the user in the API request. The value can be the user's primary
4055
4043
  # email address, alias email address, or unique user ID.
4044
+ # @param [String] event
4045
+ # Events to watch for.
4056
4046
  # @param [String] fields
4057
4047
  # Selector specifying which fields to include in a partial response.
4058
4048
  # @param [String] quota_user
@@ -4070,11 +4060,12 @@ module Google
4070
4060
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4071
4061
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4072
4062
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4073
- def list_user_aliases(user_key, fields: nil, quota_user: nil, options: nil, &block)
4063
+ def list_user_aliases(user_key, event: nil, fields: nil, quota_user: nil, options: nil, &block)
4074
4064
  command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/aliases', options)
4075
4065
  command.response_representation = Google::Apis::AdminDirectoryV1::Aliases::Representation
4076
4066
  command.response_class = Google::Apis::AdminDirectoryV1::Aliases
4077
4067
  command.params['userKey'] = user_key unless user_key.nil?
4068
+ command.query['event'] = event unless event.nil?
4078
4069
  command.query['fields'] = fields unless fields.nil?
4079
4070
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4080
4071
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-admin_directory_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.12.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-29 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Admin SDK API DirectoryV1. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.12.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-admin_directory_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Admin SDK API DirectoryV1