Google Cloud Developer Connect V1 Client - Class AccountConnector (0.4.0)

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 ProviderOAuthConfig

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

Provider OAuth config.

Returns
Type Description
ProviderOAuthConfig|null

hasProviderOauthConfig

setProviderOauthConfig

Provider OAuth config.

Parameter
Name Description
var 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