Reference documentation and code samples for the Cloud OS Login V1 API class Google::Cloud::OsLogin::V1::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::V1::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::V1::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::V1::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::V1::LoginProfile
Baseline implementation for the get_login_profile REST call
- request_pb (::Google::Cloud::OsLogin::V1::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::V1::LoginProfile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsLogin::V1::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::V1::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::V1::ImportSshPublicKeyResponse
Baseline implementation for the import_ssh_public_key REST call
- request_pb (::Google::Cloud::OsLogin::V1::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::V1::ImportSshPublicKeyResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsLogin::V1::ImportSshPublicKeyResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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::V1::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)