# Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::Credentials (v0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Data Analytics API with Gemini V1 API class Google::Cloud::GeminiDataAnalytics::V1::Credentials.

Represents different forms of credential specification.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #oauth

    def oauth() -> ::Google::Cloud::GeminiDataAnalytics::V1::OAuthCredentials

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::OAuthCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-OAuthCredentials)) --- OAuth credentials.

### #oauth=

    def oauth=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::OAuthCredentials

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::OAuthCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-OAuthCredentials)) --- OAuth credentials.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::OAuthCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-OAuthCredentials)) --- OAuth credentials.