Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials.
Represents OAuth credentials.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#secret
def secret() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::SecretBased
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::SecretBased) — Secret-based OAuth credentials.
Note: The following fields are mutually exclusive:
secret
,token
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#secret=
def secret=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::SecretBased
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::SecretBased) — Secret-based OAuth credentials.
Note: The following fields are mutually exclusive:
secret
,token
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::SecretBased) — Secret-based OAuth credentials.
Note: The following fields are mutually exclusive:
secret
,token
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#token
def token() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::TokenBased
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::TokenBased) — Token-based OAuth credentials.
Note: The following fields are mutually exclusive:
token
,secret
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#token=
def token=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::TokenBased
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::TokenBased) — Token-based OAuth credentials.
Note: The following fields are mutually exclusive:
token
,secret
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::TokenBased) — Token-based OAuth credentials.
Note: The following fields are mutually exclusive:
token
,secret
. If a field in that set is populated, all other fields in the set will automatically be cleared.