public static interface AuthConfig.Oauth2ClientCredentialsConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getClientId()
public abstract String getClientId()
Required. The client identifier.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The clientId. |
getClientIdBytes()
public abstract ByteString getClientIdBytes()
Required. The client identifier.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for clientId. |
getClientSecret()
public abstract Secret getClientSecret()
Required. Secret version reference containing the client secret.
The secretmanager.versions.access
permission should be
granted to the service account accessing the secret.
.google.cloud.apihub.v1.Secret client_secret = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Secret |
The clientSecret. |
getClientSecretOrBuilder()
public abstract SecretOrBuilder getClientSecretOrBuilder()
Required. Secret version reference containing the client secret.
The secretmanager.versions.access
permission should be
granted to the service account accessing the secret.
.google.cloud.apihub.v1.Secret client_secret = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SecretOrBuilder |
hasClientSecret()
public abstract boolean hasClientSecret()
Required. Secret version reference containing the client secret.
The secretmanager.versions.access
permission should be
granted to the service account accessing the secret.
.google.cloud.apihub.v1.Secret client_secret = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the clientSecret field is set. |