Google Cloud Network Services V1beta1 Client - Class Target (0.13.1)

Reference documentation and code samples for the Google Cloud Network Services V1beta1 Client class Target.

Specifies a list of targets to which this ExtensionBinding should attach.

Generated from protobuf message google.cloud.networkservices.v1beta1.ExtensionBinding.Target

Namespace

Google \ Cloud \ NetworkServices \ V1beta1 \ ExtensionBinding

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resources string[]

Optional. The reference to the target resource, to which this binding should attach. Exactly one of resources or scope must be set.

↳ scope Target\Scope

Optional. Specifies the scope of resources to which this binding should attach. Exactly one of resources or scope must be set.

getResources

Optional. The reference to the target resource, to which this binding should attach. Exactly one of resources or scope must be set.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setResources

Optional. The reference to the target resource, to which this binding should attach. Exactly one of resources or scope must be set.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getScope

Optional. Specifies the scope of resources to which this binding should attach. Exactly one of resources or scope must be set.

Returns
Type Description
Target\Scope|null

hasScope

clearScope

setScope

Optional. Specifies the scope of resources to which this binding should attach. Exactly one of resources or scope must be set.

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