Google Cloud Agent Registry V1 Client - Class Binding (0.2.0)

Reference documentation and code samples for the Google Cloud Agent Registry V1 Client class Binding.

Represents a user-defined Binding.

Generated from protobuf message google.cloud.agentregistry.v1.Binding

Namespace

Google \ Cloud \ AgentRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ auth_provider_binding Binding\AuthProviderBinding

The binding for AuthProvider.

↳ name string

Required. Identifier. The resource name of the Binding. Format: projects/{project}/locations/{location}/bindings/{binding}.

↳ display_name string

Optional. User-defined display name for the Binding. Can have a maximum length of 63 characters.

↳ description string

Optional. User-defined description of a Binding. Can have a maximum length of 2048 characters.

↳ source Binding\Source

Optional. The source Agent of the Binding.

↳ target Binding\Target

Required. The target Agent Registry Resource of the Binding.

↳ create_time Google\Protobuf\Timestamp

Output only. Timestamp when this binding was created.

↳ update_time Google\Protobuf\Timestamp

Output only. Timestamp when this binding was last updated.

getAuthProviderBinding

The binding for AuthProvider.

Returns
Type Description
Binding\AuthProviderBinding|null

hasAuthProviderBinding

setAuthProviderBinding

The binding for AuthProvider.

Parameter
Name Description
var Binding\AuthProviderBinding
Returns
Type Description
$this

getName

Required. Identifier. The resource name of the Binding.

Format: projects/{project}/locations/{location}/bindings/{binding}.

Returns
Type Description
string

setName

Required. Identifier. The resource name of the Binding.

Format: projects/{project}/locations/{location}/bindings/{binding}.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Optional. User-defined display name for the Binding.

Can have a maximum length of 63 characters.

Returns
Type Description
string

setDisplayName

Optional. User-defined display name for the Binding.

Can have a maximum length of 63 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. User-defined description of a Binding.

Can have a maximum length of 2048 characters.

Returns
Type Description
string

setDescription

Optional. User-defined description of a Binding.

Can have a maximum length of 2048 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Optional. The source Agent of the Binding.

Returns
Type Description
Binding\Source|null

hasSource

clearSource

setSource

Optional. The source Agent of the Binding.

Parameter
Name Description
var Binding\Source
Returns
Type Description
$this

getTarget

Required. The target Agent Registry Resource of the Binding.

Returns
Type Description
Binding\Target|null

hasTarget

clearTarget

setTarget

Required. The target Agent Registry Resource of the Binding.

Parameter
Name Description
var Binding\Target
Returns
Type Description
$this

getCreateTime

Output only. Timestamp when this binding was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Timestamp when this binding was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Timestamp when this binding was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Timestamp when this binding was last updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getBinding

Returns
Type Description
string