# Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::Credentials (v0.11.0)

0.11.0 (latest) 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::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::V1beta::OAuthCredentials

**Returns**

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

### #oauth=

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

**Parameter**

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

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