0.16.0 (latest) 0.15.0 0.14.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1 Client class SecretBased.

The name of the secret containing the access token.

Represents secret-based OAuth credentials.

Generated from protobuf message `google.cloud.geminidataanalytics.v1.OAuthCredentials.SecretBased`

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1 \\ OAuthCredentials

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ client_id` | `string` Required. An OAuth client ID. |
| `↳ client_secret` | `string` Required. An OAuth client secret. |

### getClientId

Required. An OAuth client ID.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setClientId

Required. An OAuth client ID.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getClientSecret

Required. An OAuth client secret.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setClientSecret

Required. An OAuth client secret.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |