# Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::AccountConnector (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotations

    def annotations() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Allows users to store small amounts of arbitrary data.

### #annotations=

    def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Allows users to store small amounts of arbitrary data.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Allows users to store small amounts of arbitrary data.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the accountConnector was created.

### #etag

    def etag() -> ::String

**Returns**

- (::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.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels as key value pairs

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels as key value pairs
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels as key value pairs

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The resource name of the accountConnector, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
**Returns**

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

### #oauth_start_uri

    def oauth_start_uri() -> ::String

**Returns**

- (::String) --- Output only. Start OAuth flow by clicking on this URL.

### #provider_oauth_config

    def provider_oauth_config() -> ::Google::Cloud::DeveloperConnect::V1::ProviderOAuthConfig

**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::ProviderOAuthConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-ProviderOAuthConfig)) --- Optional. Provider OAuth config.

### #provider_oauth_config=

    def provider_oauth_config=(value) -> ::Google::Cloud::DeveloperConnect::V1::ProviderOAuthConfig

**Parameter**

- **value** ([::Google::Cloud::DeveloperConnect::V1::ProviderOAuthConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-ProviderOAuthConfig)) --- Optional. Provider OAuth config.
**Returns**

- ([::Google::Cloud::DeveloperConnect::V1::ProviderOAuthConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Cloud-DeveloperConnect-V1-ProviderOAuthConfig)) --- Optional. Provider OAuth config.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the accountConnector was updated.