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 AccountConnector.

AccountConnector encapsulates what a platform administrator needs to
configure for users to connect to the service providers, which includes,
among other fields, the OAuth client ID, client secret, and authorization and
token endpoints.

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

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ provider_oauth_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.ProviderOAuthConfig` Optional. Provider OAuth config. |
| `↳ name` | `string` Identifier. The resource name of the accountConnector, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`. |
| `↳ create_time` | `Google\Protobuf\Timestamp` Output only. The timestamp when the accountConnector was created. |
| `↳ update_time` | `Google\Protobuf\Timestamp` Output only. The timestamp when the accountConnector was updated. |
| `↳ annotations` | `array|Google\Protobuf\Internal\MapField` Optional. Allows users to store small amounts of arbitrary data. |
| `↳ etag` | `string` Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
| `↳ labels` | `array|Google\Protobuf\Internal\MapField` Optional. Labels as key value pairs |
| `↳ oauth_start_uri` | `string` Output only. Start OAuth flow by clicking on this URL. |

### getProviderOauthConfig

Optional. Provider OAuth config.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.ProviderOAuthConfig|null` |   |

### hasProviderOauthConfig

### setProviderOauthConfig

Optional. Provider OAuth config.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.ProviderOAuthConfig` |

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

### getName

Identifier. The resource name of the accountConnector, in the format
`projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.

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

### setName

Identifier. The resource name of the accountConnector, in the format
`projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.

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

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

### getCreateTime

Output only. The timestamp when the accountConnector was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The timestamp when the accountConnector was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getUpdateTime

Output only. The timestamp when the accountConnector was updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The timestamp when the accountConnector was updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getAnnotations

Optional. Allows users to store small amounts of arbitrary data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setAnnotations

Optional. Allows users to store small amounts of arbitrary data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

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

### getEtag

Optional. This checksum is computed by the server based on the value of
other fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.

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

### setEtag

Optional. This checksum is computed by the server based on the value of
other fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.

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

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

### getLabels

Optional. Labels as key value pairs

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setLabels

Optional. Labels as key value pairs

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

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

### getOauthStartUri

Output only. Start OAuth flow by clicking on this URL.

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

### setOauthStartUri

Output only. Start OAuth flow by clicking on this URL.

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

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

### getAccountConnectorConfig

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