Class: Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials
- Inherits:
-
Object
- Object
- Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/geminidataanalytics/v1beta/credentials.rb
Overview
Represents OAuth credentials.
Defined Under Namespace
Classes: SecretBased, TokenBased
Instance Attribute Summary collapse
-
#secret ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::SecretBased
Secret-based OAuth credentials.
-
#token ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::TokenBased
Token-based OAuth credentials.
Instance Attribute Details
#secret ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::SecretBased
Returns 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.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/credentials.rb', line 44 class OAuthCredentials include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The name of the secret containing the access token. # Represents secret-based OAuth credentials. # @!attribute [rw] client_id # @return [::String] # Required. An OAuth client ID. # @!attribute [rw] client_secret # @return [::String] # Required. An OAuth client secret. class SecretBased include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Read more about Looker access tokens here: # https://developers.looker.com/api/advanced-usage/looker-api-oauth # @!attribute [rw] access_token # @return [::String] # Required. The name of the secret containing the access token. class TokenBased include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#token ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::OAuthCredentials::TokenBased
Returns 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.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/credentials.rb', line 44 class OAuthCredentials include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The name of the secret containing the access token. # Represents secret-based OAuth credentials. # @!attribute [rw] client_id # @return [::String] # Required. An OAuth client ID. # @!attribute [rw] client_secret # @return [::String] # Required. An OAuth client secret. class SecretBased include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Read more about Looker access tokens here: # https://developers.looker.com/api/advanced-usage/looker-api-oauth # @!attribute [rw] access_token # @return [::String] # Required. The name of the secret containing the access token. class TokenBased include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |