google-apis-oslogin_v1beta 0.22.0 → 0.24.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/oslogin_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/oslogin_v1beta/service.rb +41 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a5def4a2228f6d39594785384fb3ff5c3c1195bc2b1f355bd6b7f3b08853ce7
|
4
|
+
data.tar.gz: 97216b2caebcc89fede5bf344db331511032d670e9e7e0dc9d74c8dee8b5e2a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63c82312a1d7988bfb09556f06ce2245f8a796c84ea9a28bd613d99896d1bfbb3d5e428b2ca6f0bffcf587b944d8d81c4af2db17cf9cdbf4392c2d782cc86a79
|
7
|
+
data.tar.gz: 380e72cee2668956c0faa98341b0a368581343ce67249662d5a3595b0d0b271bf7769710e9ed89eb924332db56de5fae1ba0ce9f37f87db89e8a5c1bb93877cb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-oslogin_v1beta
|
2
2
|
|
3
|
+
### v0.24.0 (2023-12-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231217
|
6
|
+
|
7
|
+
### v0.23.0 (2023-10-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231001
|
10
|
+
|
3
11
|
### v0.22.0 (2023-09-10)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230903
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OsloginV1beta
|
18
18
|
# Version of the google-apis-oslogin_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231217"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -97,6 +97,10 @@ module Google
|
|
97
97
|
# @param [Google::Apis::OsloginV1beta::SshPublicKey] ssh_public_key_object
|
98
98
|
# @param [String] project_id
|
99
99
|
# The project ID of the Google Cloud Platform project.
|
100
|
+
# @param [Array<String>, String] regions
|
101
|
+
# Optional. The regions to which to assert that the key was written. If
|
102
|
+
# unspecified, defaults to all regions. Regions are listed at https://cloud.
|
103
|
+
# google.com/about/locations#region.
|
100
104
|
# @param [String] view
|
101
105
|
# The view configures whether to retrieve security keys information.
|
102
106
|
# @param [String] fields
|
@@ -116,7 +120,7 @@ module Google
|
|
116
120
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
117
121
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
118
122
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
119
|
-
def import_user_ssh_public_key(parent, ssh_public_key_object = nil, project_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
123
|
+
def import_user_ssh_public_key(parent, ssh_public_key_object = nil, project_id: nil, regions: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
120
124
|
command = make_simple_command(:post, 'v1beta/{+parent}:importSshPublicKey', options)
|
121
125
|
command.request_representation = Google::Apis::OsloginV1beta::SshPublicKey::Representation
|
122
126
|
command.request_object = ssh_public_key_object
|
@@ -124,6 +128,7 @@ module Google
|
|
124
128
|
command.response_class = Google::Apis::OsloginV1beta::ImportSshPublicKeyResponse
|
125
129
|
command.params['parent'] = parent unless parent.nil?
|
126
130
|
command.query['projectId'] = project_id unless project_id.nil?
|
131
|
+
command.query['regions'] = regions unless regions.nil?
|
127
132
|
command.query['view'] = view unless view.nil?
|
128
133
|
command.query['fields'] = fields unless fields.nil?
|
129
134
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -162,6 +167,41 @@ module Google
|
|
162
167
|
execute_or_queue_command(command, &block)
|
163
168
|
end
|
164
169
|
|
170
|
+
# Signs an SSH public key for a user to authenticate to an instance.
|
171
|
+
# @param [String] parent
|
172
|
+
# The parent project and zone for the signing request. This is needed to
|
173
|
+
# properly ensure per-organization ISS processing and potentially to provide for
|
174
|
+
# the possibility of zone-specific certificates used in the signing process.
|
175
|
+
# @param [Google::Apis::OsloginV1beta::SignSshPublicKeyRequest] sign_ssh_public_key_request_object
|
176
|
+
# @param [String] fields
|
177
|
+
# Selector specifying which fields to include in a partial response.
|
178
|
+
# @param [String] quota_user
|
179
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
180
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
181
|
+
# @param [Google::Apis::RequestOptions] options
|
182
|
+
# Request-specific options
|
183
|
+
#
|
184
|
+
# @yield [result, err] Result & error if block supplied
|
185
|
+
# @yieldparam result [Google::Apis::OsloginV1beta::SignSshPublicKeyResponse] parsed result object
|
186
|
+
# @yieldparam err [StandardError] error object if request failed
|
187
|
+
#
|
188
|
+
# @return [Google::Apis::OsloginV1beta::SignSshPublicKeyResponse]
|
189
|
+
#
|
190
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
191
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
192
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
193
|
+
def sign_location_ssh_public_key(parent, sign_ssh_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
194
|
+
command = make_simple_command(:post, 'v1beta/{+parent}:signSshPublicKey', options)
|
195
|
+
command.request_representation = Google::Apis::OsloginV1beta::SignSshPublicKeyRequest::Representation
|
196
|
+
command.request_object = sign_ssh_public_key_request_object
|
197
|
+
command.response_representation = Google::Apis::OsloginV1beta::SignSshPublicKeyResponse::Representation
|
198
|
+
command.response_class = Google::Apis::OsloginV1beta::SignSshPublicKeyResponse
|
199
|
+
command.params['parent'] = parent unless parent.nil?
|
200
|
+
command.query['fields'] = fields unless fields.nil?
|
201
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
202
|
+
execute_or_queue_command(command, &block)
|
203
|
+
end
|
204
|
+
|
165
205
|
# Signs an SSH public key for a user to authenticate to an instance.
|
166
206
|
# @param [String] parent
|
167
207
|
# The parent project and zone for the signing request. This is needed to
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-oslogin_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.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: 2023-
|
11
|
+
date: 2023-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.24.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|