Interface PushCredentialsRequestOrBuilder (0.81.0)

public interface PushCredentialsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApplicationDefaultCredentials()

public abstract PushCredentialsRequest.OAuthToken getApplicationDefaultCredentials()

Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other tooling within the user conainer: https://cloud.google.com/docs/authentication/application-default-credentials

.google.cloud.workstations.v1beta.PushCredentialsRequest.OAuthToken application_default_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PushCredentialsRequest.OAuthToken

The applicationDefaultCredentials.

getApplicationDefaultCredentialsOrBuilder()

public abstract PushCredentialsRequest.OAuthTokenOrBuilder getApplicationDefaultCredentialsOrBuilder()

Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other tooling within the user conainer: https://cloud.google.com/docs/authentication/application-default-credentials

.google.cloud.workstations.v1beta.PushCredentialsRequest.OAuthToken application_default_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PushCredentialsRequest.OAuthTokenOrBuilder

getWorkstation()

public abstract String getWorkstation()

Required. Name of the workstation for which the credentials should be pushed.

string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The workstation.

getWorkstationBytes()

public abstract ByteString getWorkstationBytes()

Required. Name of the workstation for which the credentials should be pushed.

string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for workstation.

hasApplicationDefaultCredentials()

public abstract boolean hasApplicationDefaultCredentials()

Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other tooling within the user conainer: https://cloud.google.com/docs/authentication/application-default-credentials

.google.cloud.workstations.v1beta.PushCredentialsRequest.OAuthToken application_default_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the applicationDefaultCredentials field is set.