google-apis-oslogin_v1 0.27.0 → 0.28.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e320df9c2d6d9fc2c599de7919770ab3fd05cf25251596b4f41e98a1ed93221
|
|
4
|
+
data.tar.gz: 36c8f31ac2ce0763ea45f9ebd25a704bfba47c4e01e9d02e49a813a76cf915e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3dc36b8f6796f7e6b9887b9183771b5d610f467290f9078a417ad1c6db166cbf0970f3797b6d70e63b675fab482bd2edb001c18bf688dd1aaa15e3f04591522
|
|
7
|
+
data.tar.gz: 8a4389d39efe10ddb9afa88655760201bb54d7a9738dd2450d2a40ecaa37aa43e2122d62030b999f47c8955df0c866f4d7d622ef9aa57cae45d2ed0c9147992d
|
data/CHANGELOG.md
CHANGED
|
@@ -177,6 +177,27 @@ module Google
|
|
|
177
177
|
end
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
+
# A request message for creating a POSIX account entry.
|
|
181
|
+
class ProvisionPosixAccountRequest
|
|
182
|
+
include Google::Apis::Core::Hashable
|
|
183
|
+
|
|
184
|
+
# Optional. The regions to wait for a POSIX account to be written to before
|
|
185
|
+
# returning a response. If unspecified, defaults to all regions. Regions are
|
|
186
|
+
# listed at https://cloud.google.com/about/locations#region.
|
|
187
|
+
# Corresponds to the JSON property `regions`
|
|
188
|
+
# @return [Array<String>]
|
|
189
|
+
attr_accessor :regions
|
|
190
|
+
|
|
191
|
+
def initialize(**args)
|
|
192
|
+
update!(**args)
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# Update properties of this object
|
|
196
|
+
def update!(**args)
|
|
197
|
+
@regions = args[:regions] if args.key?(:regions)
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
|
|
180
201
|
# A request message for signing an SSH public key.
|
|
181
202
|
class SignSshPublicKeyRequest
|
|
182
203
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module OsloginV1
|
|
18
18
|
# Version of the google-apis-oslogin_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.28.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251202"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -46,6 +46,12 @@ module Google
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
class ProvisionPosixAccountRequest
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
49
55
|
class SignSshPublicKeyRequest
|
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
57
|
|
|
@@ -107,6 +113,13 @@ module Google
|
|
|
107
113
|
end
|
|
108
114
|
end
|
|
109
115
|
|
|
116
|
+
class ProvisionPosixAccountRequest
|
|
117
|
+
# @private
|
|
118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
119
|
+
collection :regions, as: 'regions'
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
110
123
|
class SignSshPublicKeyRequest
|
|
111
124
|
# @private
|
|
112
125
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -198,6 +198,42 @@ module Google
|
|
|
198
198
|
execute_or_queue_command(command, &block)
|
|
199
199
|
end
|
|
200
200
|
|
|
201
|
+
# Adds a POSIX account and returns the profile information. Default POSIX
|
|
202
|
+
# account information is set when no username and UID exist as part of the login
|
|
203
|
+
# profile.
|
|
204
|
+
# @param [String] name
|
|
205
|
+
# Required. The unique ID for the user in format `users/`user`/projects/`project`
|
|
206
|
+
# `.
|
|
207
|
+
# @param [Google::Apis::OsloginV1::ProvisionPosixAccountRequest] provision_posix_account_request_object
|
|
208
|
+
# @param [String] fields
|
|
209
|
+
# Selector specifying which fields to include in a partial response.
|
|
210
|
+
# @param [String] quota_user
|
|
211
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
212
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
213
|
+
# @param [Google::Apis::RequestOptions] options
|
|
214
|
+
# Request-specific options
|
|
215
|
+
#
|
|
216
|
+
# @yield [result, err] Result & error if block supplied
|
|
217
|
+
# @yieldparam result [Google::Apis::OsloginV1::PosixAccount] parsed result object
|
|
218
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
219
|
+
#
|
|
220
|
+
# @return [Google::Apis::OsloginV1::PosixAccount]
|
|
221
|
+
#
|
|
222
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
223
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
224
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
225
|
+
def provision_project_posix_account(name, provision_posix_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
226
|
+
command = make_simple_command(:post, 'v1/{+name}', options)
|
|
227
|
+
command.request_representation = Google::Apis::OsloginV1::ProvisionPosixAccountRequest::Representation
|
|
228
|
+
command.request_object = provision_posix_account_request_object
|
|
229
|
+
command.response_representation = Google::Apis::OsloginV1::PosixAccount::Representation
|
|
230
|
+
command.response_class = Google::Apis::OsloginV1::PosixAccount
|
|
231
|
+
command.params['name'] = name unless name.nil?
|
|
232
|
+
command.query['fields'] = fields unless fields.nil?
|
|
233
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
234
|
+
execute_or_queue_command(command, &block)
|
|
235
|
+
end
|
|
236
|
+
|
|
201
237
|
# Create an SSH public key
|
|
202
238
|
# @param [String] parent
|
|
203
239
|
# Required. The unique ID for the user in format `users/`user``.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-oslogin_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.28.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-oslogin_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1/v0.28.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|