Cloud OS Login V1beta API - Class Google::Cloud::OsLogin::V1beta::OsLoginService::Rest::ServiceStub (v0.15.1)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)