Package com.google.cloud.iap.v1
Interface OAuth2OrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OAuth2,OAuth2.Builder
@Generated
public interface OAuth2OrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.com.google.protobuf.ByteStringThe OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.Input only.com.google.protobuf.ByteStringInput only.Output only.com.google.protobuf.ByteStringOutput only.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()The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
string client_id = 1;- Returns:
- The clientId.
-
getClientIdBytes
com.google.protobuf.ByteString getClientIdBytes()The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
string client_id = 1;- Returns:
- The bytes for clientId.
-
getClientSecret
String getClientSecret()Input only. The OAuth 2.0 client secret created while registering the client ID.
string client_secret = 2 [(.google.api.field_behavior) = INPUT_ONLY];- Returns:
- The clientSecret.
-
getClientSecretBytes
com.google.protobuf.ByteString getClientSecretBytes()Input only. The OAuth 2.0 client secret created while registering the client ID.
string client_secret = 2 [(.google.api.field_behavior) = INPUT_ONLY];- Returns:
- The bytes for clientSecret.
-
getClientSecretSha256
String getClientSecretSha256()Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved.
string client_secret_sha256 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The clientSecretSha256.
-
getClientSecretSha256Bytes
com.google.protobuf.ByteString getClientSecretSha256Bytes()Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved.
string client_secret_sha256 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for clientSecretSha256.
-