google-cloud-os_login 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,35 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/oslogin/common.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "google.cloud.oslogin.common.PosixAccount" do
9
+ optional :primary, :bool, 1
10
+ optional :username, :string, 2
11
+ optional :uid, :int64, 3
12
+ optional :gid, :int64, 4
13
+ optional :home_directory, :string, 5
14
+ optional :shell, :string, 6
15
+ optional :gecos, :string, 7
16
+ optional :system_id, :string, 8
17
+ optional :account_id, :string, 9
18
+ end
19
+ add_message "google.cloud.oslogin.common.SshPublicKey" do
20
+ optional :key, :string, 1
21
+ optional :expiration_time_usec, :int64, 2
22
+ optional :fingerprint, :string, 3
23
+ end
24
+ end
25
+
26
+ module Google
27
+ module Cloud
28
+ module Oslogin
29
+ module Common
30
+ PosixAccount = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.common.PosixAccount").msgclass
31
+ SshPublicKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.common.SshPublicKey").msgclass
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,59 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/oslogin/v1beta/oslogin.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/cloud/oslogin/common_pb'
8
+ require 'google/protobuf/empty_pb'
9
+ require 'google/protobuf/field_mask_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_message "google.cloud.oslogin.v1beta.LoginProfile" do
12
+ optional :name, :string, 1
13
+ repeated :posix_accounts, :message, 2, "google.cloud.oslogin.common.PosixAccount"
14
+ map :ssh_public_keys, :string, :message, 3, "google.cloud.oslogin.common.SshPublicKey"
15
+ optional :suspended, :bool, 4
16
+ end
17
+ add_message "google.cloud.oslogin.v1beta.DeletePosixAccountRequest" do
18
+ optional :name, :string, 1
19
+ end
20
+ add_message "google.cloud.oslogin.v1beta.DeleteSshPublicKeyRequest" do
21
+ optional :name, :string, 1
22
+ end
23
+ add_message "google.cloud.oslogin.v1beta.GetLoginProfileRequest" do
24
+ optional :name, :string, 1
25
+ end
26
+ add_message "google.cloud.oslogin.v1beta.GetSshPublicKeyRequest" do
27
+ optional :name, :string, 1
28
+ end
29
+ add_message "google.cloud.oslogin.v1beta.ImportSshPublicKeyRequest" do
30
+ optional :parent, :string, 1
31
+ optional :ssh_public_key, :message, 2, "google.cloud.oslogin.common.SshPublicKey"
32
+ optional :project_id, :string, 3
33
+ end
34
+ add_message "google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse" do
35
+ optional :login_profile, :message, 1, "google.cloud.oslogin.v1beta.LoginProfile"
36
+ end
37
+ add_message "google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest" do
38
+ optional :name, :string, 1
39
+ optional :ssh_public_key, :message, 2, "google.cloud.oslogin.common.SshPublicKey"
40
+ optional :update_mask, :message, 3, "google.protobuf.FieldMask"
41
+ end
42
+ end
43
+
44
+ module Google
45
+ module Cloud
46
+ module Oslogin
47
+ module V1beta
48
+ LoginProfile = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.LoginProfile").msgclass
49
+ DeletePosixAccountRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.DeletePosixAccountRequest").msgclass
50
+ DeleteSshPublicKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.DeleteSshPublicKeyRequest").msgclass
51
+ GetLoginProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.GetLoginProfileRequest").msgclass
52
+ GetSshPublicKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.GetSshPublicKeyRequest").msgclass
53
+ ImportSshPublicKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.ImportSshPublicKeyRequest").msgclass
54
+ ImportSshPublicKeyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse").msgclass
55
+ UpdateSshPublicKeyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest").msgclass
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,62 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/oslogin/v1beta/oslogin.proto for package 'google.cloud.oslogin.v1beta'
3
+ # Original file comments:
4
+ # Copyright 2017 Google Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/oslogin/v1beta/oslogin_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Oslogin
25
+ module V1beta
26
+ module OsLoginService
27
+ # Cloud OS Login API
28
+ #
29
+ # The Cloud OS Login API allows you to manage users and their associated SSH
30
+ # public keys for logging into virtual machines on Google Cloud Platform.
31
+ class Service
32
+
33
+ include GRPC::GenericService
34
+
35
+ self.marshal_class_method = :encode
36
+ self.unmarshal_class_method = :decode
37
+ self.service_name = 'google.cloud.oslogin.v1beta.OsLoginService'
38
+
39
+ # Deletes a POSIX account.
40
+ rpc :DeletePosixAccount, DeletePosixAccountRequest, Google::Protobuf::Empty
41
+ # Deletes an SSH public key.
42
+ rpc :DeleteSshPublicKey, DeleteSshPublicKeyRequest, Google::Protobuf::Empty
43
+ # Retrieves the profile information used for logging in to a virtual machine
44
+ # on Google Compute Engine.
45
+ rpc :GetLoginProfile, GetLoginProfileRequest, LoginProfile
46
+ # Retrieves an SSH public key.
47
+ rpc :GetSshPublicKey, GetSshPublicKeyRequest, Google::Cloud::Oslogin::Common::SshPublicKey
48
+ # Adds an SSH public key and returns the profile information. Default POSIX
49
+ # account information is set when no username and UID exist as part of the
50
+ # login profile.
51
+ rpc :ImportSshPublicKey, ImportSshPublicKeyRequest, ImportSshPublicKeyResponse
52
+ # Updates an SSH public key and returns the profile information. This method
53
+ # supports patch semantics.
54
+ rpc :UpdateSshPublicKey, UpdateSshPublicKeyRequest, Google::Cloud::Oslogin::Common::SshPublicKey
55
+ end
56
+
57
+ Stub = Service.rpc_stub_class
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
metadata ADDED
@@ -0,0 +1,115 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google-cloud-os_login
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Google LLC
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-12-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: google-gax
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '5.10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '5.10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "<="
46
+ - !ruby/object:Gem::Version
47
+ version: 0.35.1
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "<="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.35.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: simplecov
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.9'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.9'
69
+ description: google-cloud-os_login is the official library for Google Cloud OS Login
70
+ API.
71
+ email: googleapis-packages@google.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".yardopts"
77
+ - LICENSE
78
+ - README.md
79
+ - lib/google/cloud/os_login.rb
80
+ - lib/google/cloud/os_login/credentials.rb
81
+ - lib/google/cloud/os_login/v1beta.rb
82
+ - lib/google/cloud/os_login/v1beta/doc/google/cloud/oslogin/common.rb
83
+ - lib/google/cloud/os_login/v1beta/doc/google/cloud/oslogin/v1beta/oslogin.rb
84
+ - lib/google/cloud/os_login/v1beta/doc/google/protobuf/field_mask.rb
85
+ - lib/google/cloud/os_login/v1beta/doc/overview.rb
86
+ - lib/google/cloud/os_login/v1beta/os_login_service_client.rb
87
+ - lib/google/cloud/os_login/v1beta/os_login_service_client_config.json
88
+ - lib/google/cloud/oslogin/common_pb.rb
89
+ - lib/google/cloud/oslogin/v1beta/oslogin_pb.rb
90
+ - lib/google/cloud/oslogin/v1beta/oslogin_services_pb.rb
91
+ homepage: https://github.com/googleapis/googleapis
92
+ licenses:
93
+ - Apache-2.0
94
+ metadata: {}
95
+ post_install_message:
96
+ rdoc_options: []
97
+ require_paths:
98
+ - lib
99
+ required_ruby_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 2.0.0
104
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ requirements: []
110
+ rubyforge_project:
111
+ rubygems_version: 2.7.4
112
+ signing_key:
113
+ specification_version: 4
114
+ summary: API Client library for Google Cloud OS Login API
115
+ test_files: []