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

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

Specifies the scope of resources to which this binding should attach.

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

Namespace

Google \ Cloud \ NetworkServices \ V1beta1 \ ExtensionBinding \ Target

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent resource name specification, in the format: projects/{project_number}.

↳ resource_types int[]

Required. Type of the resource to which the binding should attach. Limited to 1 resource type.

getParent

Required. Parent resource name specification, in the format: projects/{project_number}.

Returns
Type Description
string

setParent

Required. Parent resource name specification, in the format: projects/{project_number}.

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceTypes

Required. Type of the resource to which the binding should attach.

Limited to 1 resource type.

Returns
Type Description
Google\Protobuf\RepeatedField<int>

setResourceTypes

Required. Type of the resource to which the binding should attach.

Limited to 1 resource type.

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