Reference documentation and code samples for the Cloud OS Login V1beta API class Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::ServiceStub.
REST service stub for the OsLoginService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_ssh_public_key
def create_ssh_public_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsLogin::Common::SshPublicKey
Baseline implementation for the create_ssh_public_key REST call
- request_pb (::Google::Cloud::OsLogin::V1beta::CreateSshPublicKeyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::OsLogin::Common::SshPublicKey)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsLogin::Common::SshPublicKey) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_posix_account
def delete_posix_account(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_posix_account REST call
- request_pb (::Google::Cloud::OsLogin::V1beta::DeletePosixAccountRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_ssh_public_key
def delete_ssh_public_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_ssh_public_key REST call
- request_pb (::Google::Cloud::OsLogin::V1beta::DeleteSshPublicKeyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_login_profile
def get_login_profile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsLogin::V1beta::LoginProfile
Baseline implementation for the get_login_profile REST call
- request_pb (::Google::Cloud::OsLogin::V1beta::GetLoginProfileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::OsLogin::V1beta::LoginProfile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsLogin::V1beta::LoginProfile) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_ssh_public_key
def get_ssh_public_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsLogin::Common::SshPublicKey
Baseline implementation for the get_ssh_public_key REST call
- request_pb (::Google::Cloud::OsLogin::V1beta::GetSshPublicKeyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::OsLogin::Common::SshPublicKey)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsLogin::Common::SshPublicKey) — A result object deserialized from the server's reply
- (::ArgumentError)
#import_ssh_public_key
def import_ssh_public_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsLogin::V1beta::ImportSshPublicKeyResponse
Baseline implementation for the import_ssh_public_key REST call
- request_pb (::Google::Cloud::OsLogin::V1beta::ImportSshPublicKeyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::OsLogin::V1beta::ImportSshPublicKeyResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsLogin::V1beta::ImportSshPublicKeyResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#sign_ssh_public_key
def sign_ssh_public_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse
Baseline implementation for the sign_ssh_public_key REST call
- request_pb (::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsLogin::V1beta::SignSshPublicKeyResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_ssh_public_key
def update_ssh_public_key(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsLogin::Common::SshPublicKey
Baseline implementation for the update_ssh_public_key REST call
- request_pb (::Google::Cloud::OsLogin::V1beta::UpdateSshPublicKeyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::OsLogin::Common::SshPublicKey)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsLogin::Common::SshPublicKey) — A result object deserialized from the server's reply
- (::ArgumentError)