google-apis-oslogin_v1alpha 0.29.0 → 0.30.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: 92db10613ed53b704957039cf679ff23f4b907e64fcecee152e89a950555cd23
|
4
|
+
data.tar.gz: 74d159cfc9566325f1c3bf10b3ac1b1d1fdaa9faa835cda33d28be2fa02c4d85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72ce882292104990f9199c37f1a68aee190f1a2e0b577be027b8536586428e592fa1920bf95efb40d40e36296e22378134becf461f0abf1c8d534c9cb7fb5dcf
|
7
|
+
data.tar.gz: da0c1b313468b5a997f1daf74779a9308cb11a7ddc92cab2b1c4234a86f0271ef38c062d40b314d5a0ffb7cdcf798ba57078de59c980adcfe977994a9eea2f5a
|
data/CHANGELOG.md
CHANGED
@@ -38,6 +38,69 @@ module Google
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
# A request message for signing an SSH public key.
|
42
|
+
class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest
|
43
|
+
include Google::Apis::Core::Hashable
|
44
|
+
|
45
|
+
# The App Engine instance to sign the SSH public key for. Expected format:
|
46
|
+
# services/`service`/versions/`version`/instances/`instance`
|
47
|
+
# Corresponds to the JSON property `appEngineInstance`
|
48
|
+
# @return [String]
|
49
|
+
attr_accessor :app_engine_instance
|
50
|
+
|
51
|
+
# The compute instance to sign the SSH public key for. Expected format: projects/
|
52
|
+
# `project`/zones/`zone`/instances/`numeric_instance_id`
|
53
|
+
# Corresponds to the JSON property `computeInstance`
|
54
|
+
# @return [String]
|
55
|
+
attr_accessor :compute_instance
|
56
|
+
|
57
|
+
# Optional. The service account for the Compute instance. If the instance in
|
58
|
+
# question does not have a service account, this field should be left empty. If
|
59
|
+
# the wrong service account is provided, this operation will return a signed
|
60
|
+
# certificate that will not be accepted by the VM. During rollout of the new
|
61
|
+
# regionalized SignSshPublicKey API, this field will be required for all
|
62
|
+
# requests, but the VM will not initially carry out the
|
63
|
+
# Corresponds to the JSON property `serviceAccount`
|
64
|
+
# @return [String]
|
65
|
+
attr_accessor :service_account
|
66
|
+
|
67
|
+
# Required. The SSH public key to sign.
|
68
|
+
# Corresponds to the JSON property `sshPublicKey`
|
69
|
+
# @return [String]
|
70
|
+
attr_accessor :ssh_public_key
|
71
|
+
|
72
|
+
def initialize(**args)
|
73
|
+
update!(**args)
|
74
|
+
end
|
75
|
+
|
76
|
+
# Update properties of this object
|
77
|
+
def update!(**args)
|
78
|
+
@app_engine_instance = args[:app_engine_instance] if args.key?(:app_engine_instance)
|
79
|
+
@compute_instance = args[:compute_instance] if args.key?(:compute_instance)
|
80
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
81
|
+
@ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# The response message for signing an SSH public key.
|
86
|
+
class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse
|
87
|
+
include Google::Apis::Core::Hashable
|
88
|
+
|
89
|
+
# The signed SSH public key to use in the SSH handshake.
|
90
|
+
# Corresponds to the JSON property `signedSshPublicKey`
|
91
|
+
# @return [String]
|
92
|
+
attr_accessor :signed_ssh_public_key
|
93
|
+
|
94
|
+
def initialize(**args)
|
95
|
+
update!(**args)
|
96
|
+
end
|
97
|
+
|
98
|
+
# Update properties of this object
|
99
|
+
def update!(**args)
|
100
|
+
@signed_ssh_public_key = args[:signed_ssh_public_key] if args.key?(:signed_ssh_public_key)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
41
104
|
# A response message for importing an SSH public key.
|
42
105
|
class ImportSshPublicKeyResponse
|
43
106
|
include Google::Apis::Core::Hashable
|
@@ -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.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250302"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,18 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
31
43
|
class ImportSshPublicKeyResponse
|
32
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
45
|
|
@@ -94,6 +106,23 @@ module Google
|
|
94
106
|
end
|
95
107
|
end
|
96
108
|
|
109
|
+
class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest
|
110
|
+
# @private
|
111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
112
|
+
property :app_engine_instance, as: 'appEngineInstance'
|
113
|
+
property :compute_instance, as: 'computeInstance'
|
114
|
+
property :service_account, as: 'serviceAccount'
|
115
|
+
property :ssh_public_key, as: 'sshPublicKey'
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
class GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse
|
120
|
+
# @private
|
121
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
122
|
+
property :signed_ssh_public_key, as: 'signedSshPublicKey'
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
97
126
|
class ImportSshPublicKeyResponse
|
98
127
|
# @private
|
99
128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -51,6 +51,41 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
+
# Signs an SSH public key for a user to authenticate to a virtual machine on
|
55
|
+
# Google Compute Engine.
|
56
|
+
# @param [String] parent
|
57
|
+
# Required. The parent for the signing request. Format: projects/`project`/
|
58
|
+
# locations/`location`
|
59
|
+
# @param [Google::Apis::OsloginV1alpha::GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest] google_cloud_oslogin_controlplane_regional_v1alpha_sign_ssh_public_key_request_object
|
60
|
+
# @param [String] fields
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
62
|
+
# @param [String] quota_user
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
66
|
+
# Request-specific options
|
67
|
+
#
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
69
|
+
# @yieldparam result [Google::Apis::OsloginV1alpha::GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse] parsed result object
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
71
|
+
#
|
72
|
+
# @return [Google::Apis::OsloginV1alpha::GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse]
|
73
|
+
#
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
+
def sign_project_location_ssh_public_key(parent, google_cloud_oslogin_controlplane_regional_v1alpha_sign_ssh_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}:signSshPublicKey', options)
|
79
|
+
command.request_representation = Google::Apis::OsloginV1alpha::GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyRequest::Representation
|
80
|
+
command.request_object = google_cloud_oslogin_controlplane_regional_v1alpha_sign_ssh_public_key_request_object
|
81
|
+
command.response_representation = Google::Apis::OsloginV1alpha::GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse::Representation
|
82
|
+
command.response_class = Google::Apis::OsloginV1alpha::GoogleCloudOsloginControlplaneRegionalV1alphaSignSshPublicKeyResponse
|
83
|
+
command.params['parent'] = parent unless parent.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
54
89
|
# Retrieves the profile information used for logging in to a virtual machine on
|
55
90
|
# Google Compute Engine.
|
56
91
|
# @param [String] name
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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_v1alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.30.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|