0.6.2 (latest) 0.6.1 0.5.3 0.4.1 0.3.0 0.2.2 0.1.2 Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class ProviderOAuthConfig.

ProviderOAuthConfig is the OAuth config for a provider.

Generated from protobuf message `google.cloud.developerconnect.v1.ProviderOAuthConfig`

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ system_provider_id` | `int` Optional. Immutable. Developer Connect provided OAuth. |
| `↳ scopes` | `string[]` Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again. |

### getSystemProviderId

Optional. Immutable. Developer Connect provided OAuth.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [SystemProvider](https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.SystemProvider). |

### hasSystemProviderId

### setSystemProviderId

Optional. Immutable. Developer Connect provided OAuth.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SystemProvider](https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.SystemProvider). |

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

### getScopes

Required. User selected scopes to apply to the Oauth config
In the event of changing scopes, user records under AccountConnector will
be deleted and users will re-auth again.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setScopes

Required. User selected scopes to apply to the Oauth config
In the event of changing scopes, user records under AccountConnector will
be deleted and users will re-auth again.

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

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

### getOauthProviderId

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