Package com.google.cloud.apihub.v1
Interface AuthConfig.Oauth2ClientCredentialsConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthConfig.Oauth2ClientCredentialsConfig,AuthConfig.Oauth2ClientCredentialsConfig.Builder
- Enclosing class:
- AuthConfig
public static interface AuthConfig.Oauth2ClientCredentialsConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getClientId
String getClientId()Required. The client identifier.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clientId.
-
getClientIdBytes
com.google.protobuf.ByteString getClientIdBytes()Required. The client identifier.
string client_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clientId.
-
hasClientSecret
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:
- Whether the clientSecret field is set.
-
getClientSecret
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:
- The clientSecret.
-
getClientSecretOrBuilder
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];
-