Cloud OS Login V1beta API - Module Google::Cloud::OsLogin::V1beta::OsLoginService::Paths (v0.13.0)

Reference documentation and code samples for the Cloud OS Login V1beta API module Google::Cloud::OsLogin::V1beta::OsLoginService::Paths.

Path helper methods for the OsLoginService API.

Methods

#posix_account_path

def posix_account_path(user:, project:) -> ::String

Create a fully-qualified PosixAccount resource string.

The resource will be in the following format:

users/{user}/projects/{project}

Parameters
  • user (String)
  • project (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#ssh_public_key_path

def ssh_public_key_path(user:, fingerprint:) -> ::String

Create a fully-qualified SshPublicKey resource string.

The resource will be in the following format:

users/{user}/sshPublicKeys/{fingerprint}

Parameters
  • user (String)
  • fingerprint (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#user_path

def user_path(user:) -> ::String

Create a fully-qualified User resource string.

The resource will be in the following format:

users/{user}

Parameter
  • user (String)
Returns
  • (::String)