google-cloud-os_login-v1beta 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/os_login/v1beta/os_login_service/client.rb +5 -1
- data/lib/google/cloud/os_login/v1beta/os_login_service/rest/client.rb +5 -1
- data/lib/google/cloud/os_login/v1beta/version.rb +1 -1
- data/lib/google/cloud/oslogin/v1beta/oslogin_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/cloud/oslogin/v1beta/oslogin.rb +5 -0
- 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: 516349558967d0ea0f48d644b8c04e7977073af2cbbf8192733b56bd127258d7
|
4
|
+
data.tar.gz: b6fb165b5a441ebe63a61bd5bde2848343fd518221b7df4191ac1ac5c3ad6a5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e423bac14d0fd8afd237d273712530c5d8609e07864bdfb10782ae04d47895712c0d007c1663c1ff26d5f47e0a7d740c5dbb83bb5d48c27964f60303066b69b5
|
7
|
+
data.tar.gz: c895595945ffc995499266d2be1e9e12f1501bd66a1fda09235d0556f9c78374f3f64c6971d2240ccf2d9e5b123d997cc5c07c4b6ffc83fb41ccebd1febb6bb9
|
@@ -633,7 +633,7 @@ module Google
|
|
633
633
|
# @param options [::Gapic::CallOptions, ::Hash]
|
634
634
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
635
635
|
#
|
636
|
-
# @overload import_ssh_public_key(parent: nil, ssh_public_key: nil, project_id: nil, view: nil)
|
636
|
+
# @overload import_ssh_public_key(parent: nil, ssh_public_key: nil, project_id: nil, view: nil, regions: nil)
|
637
637
|
# Pass arguments to `import_ssh_public_key` via keyword arguments. Note that at
|
638
638
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
639
639
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -646,6 +646,10 @@ module Google
|
|
646
646
|
# The project ID of the Google Cloud Platform project.
|
647
647
|
# @param view [::Google::Cloud::OsLogin::V1beta::LoginProfileView]
|
648
648
|
# The view configures whether to retrieve security keys information.
|
649
|
+
# @param regions [::Array<::String>]
|
650
|
+
# Optional. The regions to which to assert that the key was written.
|
651
|
+
# If unspecified, defaults to all regions.
|
652
|
+
# Regions are listed at https://cloud.google.com/about/locations#region.
|
649
653
|
#
|
650
654
|
# @yield [response, operation] Access the result along with the RPC operation
|
651
655
|
# @yieldparam response [::Google::Cloud::OsLogin::V1beta::ImportSshPublicKeyResponse]
|
@@ -588,7 +588,7 @@ module Google
|
|
588
588
|
# @param options [::Gapic::CallOptions, ::Hash]
|
589
589
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
590
590
|
#
|
591
|
-
# @overload import_ssh_public_key(parent: nil, ssh_public_key: nil, project_id: nil, view: nil)
|
591
|
+
# @overload import_ssh_public_key(parent: nil, ssh_public_key: nil, project_id: nil, view: nil, regions: nil)
|
592
592
|
# Pass arguments to `import_ssh_public_key` via keyword arguments. Note that at
|
593
593
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
594
594
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -601,6 +601,10 @@ module Google
|
|
601
601
|
# The project ID of the Google Cloud Platform project.
|
602
602
|
# @param view [::Google::Cloud::OsLogin::V1beta::LoginProfileView]
|
603
603
|
# The view configures whether to retrieve security keys information.
|
604
|
+
# @param regions [::Array<::String>]
|
605
|
+
# Optional. The regions to which to assert that the key was written.
|
606
|
+
# If unspecified, defaults to all regions.
|
607
|
+
# Regions are listed at https://cloud.google.com/about/locations#region.
|
604
608
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
605
609
|
# @yieldparam result [::Google::Cloud::OsLogin::V1beta::ImportSshPublicKeyResponse]
|
606
610
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -13,7 +13,7 @@ require 'google/protobuf/empty_pb'
|
|
13
13
|
require 'google/protobuf/field_mask_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n)google/cloud/oslogin/v1beta/oslogin.proto\x12\x1bgoogle.cloud.oslogin.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/oslogin/common/common.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xdd\x02\n\x0cLoginProfile\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x0eposix_accounts\x18\x02 \x03(\x0b\x32).google.cloud.oslogin.common.PosixAccount\x12U\n\x0fssh_public_keys\x18\x03 \x03(\x0b\x32<.google.cloud.oslogin.v1beta.LoginProfile.SshPublicKeysEntry\x12?\n\rsecurity_keys\x18\x05 \x03(\x0b\x32(.google.cloud.oslogin.v1beta.SecurityKey\x1a_\n\x12SshPublicKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKey:\x02\x38\x01\"\xa0\x01\n\x19\x43reateSshPublicKeyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\"V\n\x19\x44\x65letePosixAccountRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/PosixAccount\"V\n\x19\x44\x65leteSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\xaf\x01\n\x16GetLoginProfileRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1boslogin.googleapis.com/User\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x11\n\tsystem_id\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.oslogin.v1beta.LoginProfileView\"S\n\x16GetSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\
|
16
|
+
descriptor_data = "\n)google/cloud/oslogin/v1beta/oslogin.proto\x12\x1bgoogle.cloud.oslogin.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/oslogin/common/common.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xdd\x02\n\x0cLoginProfile\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x0eposix_accounts\x18\x02 \x03(\x0b\x32).google.cloud.oslogin.common.PosixAccount\x12U\n\x0fssh_public_keys\x18\x03 \x03(\x0b\x32<.google.cloud.oslogin.v1beta.LoginProfile.SshPublicKeysEntry\x12?\n\rsecurity_keys\x18\x05 \x03(\x0b\x32(.google.cloud.oslogin.v1beta.SecurityKey\x1a_\n\x12SshPublicKeysEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKey:\x02\x38\x01\"\xa0\x01\n\x19\x43reateSshPublicKeyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\"V\n\x19\x44\x65letePosixAccountRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/PosixAccount\"V\n\x19\x44\x65leteSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\xaf\x01\n\x16GetLoginProfileRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1boslogin.googleapis.com/User\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x11\n\tsystem_id\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.oslogin.v1beta.LoginProfileView\"S\n\x16GetSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\"\x84\x02\n\x19ImportSshPublicKeyRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xfa\x41%\x12#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.oslogin.v1beta.LoginProfileView\x12\x14\n\x07regions\x18\x05 \x03(\tB\x03\xe0\x41\x01\"o\n\x1aImportSshPublicKeyResponse\x12@\n\rlogin_profile\x18\x01 \x01(\x0b\x32).google.cloud.oslogin.v1beta.LoginProfile\x12\x0f\n\x07\x64\x65tails\x18\x02 \x01(\t\"\xcf\x01\n\x19UpdateSshPublicKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#oslogin.googleapis.com/SshPublicKey\x12\x46\n\x0essh_public_key\x18\x02 \x01(\x0b\x32).google.cloud.oslogin.common.SshPublicKeyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x86\x02\n\x0bSecurityKey\x12\x12\n\npublic_key\x18\x01 \x01(\t\x12\x13\n\x0bprivate_key\x18\x02 \x01(\t\x12O\n\x14universal_two_factor\x18\x03 \x01(\x0b\x32/.google.cloud.oslogin.v1beta.UniversalTwoFactorH\x00\x12:\n\tweb_authn\x18\x04 \x01(\x0b\x32%.google.cloud.oslogin.v1beta.WebAuthnH\x00\x12\x1c\n\x0f\x64\x65vice_nickname\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x0f\n\rprotocol_typeB\x12\n\x10_device_nickname\"$\n\x12UniversalTwoFactor\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\t\"\x19\n\x08WebAuthn\x12\r\n\x05rp_id\x18\x01 \x01(\t\"A\n\x17SignSshPublicKeyRequest\x12\x16\n\x0essh_public_key\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\"9\n\x18SignSshPublicKeyResponse\x12\x1d\n\x15signed_ssh_public_key\x18\x01 \x01(\t*S\n\x10LoginProfileView\x12\"\n\x1eLOGIN_PROFILE_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x10\n\x0cSECURITY_KEY\x10\x02\x32\xf2\x0e\n\x0eOsLoginService\x12\xcf\x01\n\x12\x43reateSshPublicKey\x12\x36.google.cloud.oslogin.v1beta.CreateSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"V\x82\xd3\xe4\x93\x02\x38\"&/v1beta/{parent=users/*}/sshPublicKeys:\x0essh_public_key\xda\x41\x15parent,ssh_public_key\x12\x96\x01\n\x12\x44\x65letePosixAccount\x12\x36.google.cloud.oslogin.v1beta.DeletePosixAccountRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v1beta/{name=users/*/projects/*}\xda\x41\x04name\x12\x9b\x01\n\x12\x44\x65leteSshPublicKey\x12\x36.google.cloud.oslogin.v1beta.DeleteSshPublicKeyRequest\x1a\x16.google.protobuf.Empty\"5\x82\xd3\xe4\x93\x02(*&/v1beta/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\xa5\x01\n\x0fGetLoginProfile\x12\x33.google.cloud.oslogin.v1beta.GetLoginProfileRequest\x1a).google.cloud.oslogin.v1beta.LoginProfile\"2\x82\xd3\xe4\x93\x02%\x12#/v1beta/{name=users/*}/loginProfile\xda\x41\x04name\x12\xa8\x01\n\x0fGetSshPublicKey\x12\x33.google.cloud.oslogin.v1beta.GetSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"5\x82\xd3\xe4\x93\x02(\x12&/v1beta/{name=users/*/sshPublicKeys/*}\xda\x41\x04name\x12\x85\x02\n\x12ImportSshPublicKey\x12\x36.google.cloud.oslogin.v1beta.ImportSshPublicKeyRequest\x1a\x37.google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse\"~\x82\xd3\xe4\x93\x02=\"+/v1beta/{parent=users/*}:importSshPublicKey:\x0essh_public_key\xda\x41\x15parent,ssh_public_key\xda\x41 parent,ssh_public_key,project_id\x12\xef\x01\n\x12UpdateSshPublicKey\x12\x36.google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest\x1a).google.cloud.oslogin.common.SshPublicKey\"v\x82\xd3\xe4\x93\x02\x38\x32&/v1beta/{name=users/*/sshPublicKeys/*}:\x0essh_public_key\xda\x41\x13name,ssh_public_key\xda\x41\x1fname,ssh_public_key,update_mask\x12\xa9\x02\n\x10SignSshPublicKey\x12\x34.google.cloud.oslogin.v1beta.SignSshPublicKeyRequest\x1a\x35.google.cloud.oslogin.v1beta.SignSshPublicKeyResponse\"\xa7\x01\x82\xd3\xe4\x93\x02\x88\x01\"</v1beta/{parent=users/*/projects/*/zones/*}:signSshPublicKey:\x01*ZE\"@/v1beta/{parent=users/*/projects/*/locations/*}:signSshPublicKey:\x01*\xda\x41\x15parent,ssh_public_key\x1a\xdd\x01\xca\x41\x16oslogin.googleapis.com\xd2\x41\xc0\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/compute,https://www.googleapis.com/auth/compute.readonlyB\xc9\x01\n\x1f\x63om.google.cloud.oslogin.v1betaB\x0cOsLoginProtoP\x01Z9cloud.google.com/go/oslogin/apiv1beta/osloginpb;osloginpb\xaa\x02\x1bGoogle.Cloud.OsLogin.V1Beta\xca\x02\x1bGoogle\\Cloud\\OsLogin\\V1beta\xea\x02\x1eGoogle::Cloud::OsLogin::V1betab\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -304,6 +304,19 @@ module Google
|
|
304
304
|
# seconds: 360 # 6 minutes
|
305
305
|
# total_poll_timeout:
|
306
306
|
# seconds: 54000 # 90 minutes
|
307
|
+
# @!attribute [rw] auto_populated_fields
|
308
|
+
# @return [::Array<::String>]
|
309
|
+
# List of top-level fields of the request message, that should be
|
310
|
+
# automatically populated by the client libraries based on their
|
311
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
312
|
+
#
|
313
|
+
# Example of a YAML configuration:
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# method_settings:
|
317
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
318
|
+
# auto_populated_fields:
|
319
|
+
# - request_id
|
307
320
|
class MethodSettings
|
308
321
|
include ::Google::Protobuf::MessageExts
|
309
322
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -125,6 +125,11 @@ module Google
|
|
125
125
|
# @!attribute [rw] view
|
126
126
|
# @return [::Google::Cloud::OsLogin::V1beta::LoginProfileView]
|
127
127
|
# The view configures whether to retrieve security keys information.
|
128
|
+
# @!attribute [rw] regions
|
129
|
+
# @return [::Array<::String>]
|
130
|
+
# Optional. The regions to which to assert that the key was written.
|
131
|
+
# If unspecified, defaults to all regions.
|
132
|
+
# Regions are listed at https://cloud.google.com/about/locations#region.
|
128
133
|
class ImportSshPublicKeyRequest
|
129
134
|
include ::Google::Protobuf::MessageExts
|
130
135
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-os_login-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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:
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.
|
217
|
+
rubygems_version: 3.5.3
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: You can use OS Login to manage access to your VM instances using IAM roles.
|