google-apis-oslogin_v1alpha 0.21.0 → 0.23.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_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/oslogin_v1alpha/service.rb +42 -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: 3bb52ab860ba0dbdf4b2a42bcdc2ebf426133f5f1e43bb59e5f05462084b8bd9
|
4
|
+
data.tar.gz: fc70ab91eb9b1c751c1faf05c3d207ddace8c6f6d70e629ae3cacb088a66f99c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc302963286522330a11a092f49400554bdcaf2719bbffe16590282d11fc61c8795a1264a068e7fee4f147cc2fcd531b82d1057c060dd6efd743e97445097f31
|
7
|
+
data.tar.gz: a9d561a8d9870ae26269c84223318588c8622f272b403bd06f4f2641ff4135726041e8e32028da2a23492f86ea341d93dea4bf47618cd4540dd4ddbe2b448927
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-oslogin_v1alpha
|
2
2
|
|
3
|
+
### v0.23.0 (2023-12-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231217
|
6
|
+
|
7
|
+
### v0.22.0 (2023-10-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231001
|
10
|
+
|
3
11
|
### v0.21.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 OsloginV1alpha
|
18
18
|
# Version of the google-apis-oslogin_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.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
|
@@ -100,6 +100,10 @@ module Google
|
|
100
100
|
# @param [Google::Apis::OsloginV1alpha::SshPublicKey] ssh_public_key_object
|
101
101
|
# @param [String] project_id
|
102
102
|
# The project ID of the Google Cloud Platform project.
|
103
|
+
# @param [Array<String>, String] regions
|
104
|
+
# Optional. The regions to which to assert that the key was written. If
|
105
|
+
# unspecified, defaults to all regions. Regions are listed at https://cloud.
|
106
|
+
# google.com/about/locations#region.
|
103
107
|
# @param [String] view
|
104
108
|
# The view configures whether to retrieve security keys information.
|
105
109
|
# @param [String] fields
|
@@ -119,7 +123,7 @@ module Google
|
|
119
123
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
120
124
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
121
125
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
122
|
-
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)
|
126
|
+
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)
|
123
127
|
command = make_simple_command(:post, 'v1alpha/{+parent}:importSshPublicKey', options)
|
124
128
|
command.request_representation = Google::Apis::OsloginV1alpha::SshPublicKey::Representation
|
125
129
|
command.request_object = ssh_public_key_object
|
@@ -127,6 +131,7 @@ module Google
|
|
127
131
|
command.response_class = Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse
|
128
132
|
command.params['parent'] = parent unless parent.nil?
|
129
133
|
command.query['projectId'] = project_id unless project_id.nil?
|
134
|
+
command.query['regions'] = regions unless regions.nil?
|
130
135
|
command.query['view'] = view unless view.nil?
|
131
136
|
command.query['fields'] = fields unless fields.nil?
|
132
137
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -168,6 +173,42 @@ module Google
|
|
168
173
|
execute_or_queue_command(command, &block)
|
169
174
|
end
|
170
175
|
|
176
|
+
# Signs an SSH public key for a user to authenticate to a virtual machine on
|
177
|
+
# Google Compute Engine.
|
178
|
+
# @param [String] parent
|
179
|
+
# The parent project and zone for the signing request. This is needed to
|
180
|
+
# properly ensure per-organization ISS processing and potentially to provide for
|
181
|
+
# the possibility of zone-specific certificates used in the signing process.
|
182
|
+
# @param [Google::Apis::OsloginV1alpha::SignSshPublicKeyRequest] sign_ssh_public_key_request_object
|
183
|
+
# @param [String] fields
|
184
|
+
# Selector specifying which fields to include in a partial response.
|
185
|
+
# @param [String] quota_user
|
186
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
187
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
188
|
+
# @param [Google::Apis::RequestOptions] options
|
189
|
+
# Request-specific options
|
190
|
+
#
|
191
|
+
# @yield [result, err] Result & error if block supplied
|
192
|
+
# @yieldparam result [Google::Apis::OsloginV1alpha::SignSshPublicKeyResponse] parsed result object
|
193
|
+
# @yieldparam err [StandardError] error object if request failed
|
194
|
+
#
|
195
|
+
# @return [Google::Apis::OsloginV1alpha::SignSshPublicKeyResponse]
|
196
|
+
#
|
197
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
198
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
199
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
200
|
+
def sign_location_ssh_public_key(parent, sign_ssh_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
201
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}:signSshPublicKey', options)
|
202
|
+
command.request_representation = Google::Apis::OsloginV1alpha::SignSshPublicKeyRequest::Representation
|
203
|
+
command.request_object = sign_ssh_public_key_request_object
|
204
|
+
command.response_representation = Google::Apis::OsloginV1alpha::SignSshPublicKeyResponse::Representation
|
205
|
+
command.response_class = Google::Apis::OsloginV1alpha::SignSshPublicKeyResponse
|
206
|
+
command.params['parent'] = parent unless parent.nil?
|
207
|
+
command.query['fields'] = fields unless fields.nil?
|
208
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
209
|
+
execute_or_queue_command(command, &block)
|
210
|
+
end
|
211
|
+
|
171
212
|
# Signs an SSH public key for a user to authenticate to a virtual machine on
|
172
213
|
# Google Compute Engine.
|
173
214
|
# @param [String] parent
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-oslogin_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|