Interface BackendServiceIAPOrBuilder (1.40.0)

public interface BackendServiceIAPOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.

optional bool enabled = 1018689;

Returns
TypeDescription
boolean

The enabled.

getOauth2ClientId()

public abstract String getOauth2ClientId()

OAuth2 client ID to use for the authentication flow.

optional string oauth2_client_id = 314017611;

Returns
TypeDescription
String

The oauth2ClientId.

getOauth2ClientIdBytes()

public abstract ByteString getOauth2ClientIdBytes()

OAuth2 client ID to use for the authentication flow.

optional string oauth2_client_id = 314017611;

Returns
TypeDescription
ByteString

The bytes for oauth2ClientId.

getOauth2ClientSecret()

public abstract String getOauth2ClientSecret()

OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly

optional string oauth2_client_secret = 50999520;

Returns
TypeDescription
String

The oauth2ClientSecret.

getOauth2ClientSecretBytes()

public abstract ByteString getOauth2ClientSecretBytes()

OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly

optional string oauth2_client_secret = 50999520;

Returns
TypeDescription
ByteString

The bytes for oauth2ClientSecret.

getOauth2ClientSecretSha256()

public abstract String getOauth2ClientSecretSha256()

[Output Only] SHA256 hash value for the field oauth2_client_secret above.

optional string oauth2_client_secret_sha256 = 112903782;

Returns
TypeDescription
String

The oauth2ClientSecretSha256.

getOauth2ClientSecretSha256Bytes()

public abstract ByteString getOauth2ClientSecretSha256Bytes()

[Output Only] SHA256 hash value for the field oauth2_client_secret above.

optional string oauth2_client_secret_sha256 = 112903782;

Returns
TypeDescription
ByteString

The bytes for oauth2ClientSecretSha256.

hasEnabled()

public abstract boolean hasEnabled()

Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.

optional bool enabled = 1018689;

Returns
TypeDescription
boolean

Whether the enabled field is set.

hasOauth2ClientId()

public abstract boolean hasOauth2ClientId()

OAuth2 client ID to use for the authentication flow.

optional string oauth2_client_id = 314017611;

Returns
TypeDescription
boolean

Whether the oauth2ClientId field is set.

hasOauth2ClientSecret()

public abstract boolean hasOauth2ClientSecret()

OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly

optional string oauth2_client_secret = 50999520;

Returns
TypeDescription
boolean

Whether the oauth2ClientSecret field is set.

hasOauth2ClientSecretSha256()

public abstract boolean hasOauth2ClientSecretSha256()

[Output Only] SHA256 hash value for the field oauth2_client_secret above.

optional string oauth2_client_secret_sha256 = 112903782;

Returns
TypeDescription
boolean

Whether the oauth2ClientSecretSha256 field is set.