Google Cloud Resource Manager V3 Client - Class CreateTagBindingRequest (0.5.0)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class CreateTagBindingRequest.

The request message to create a TagBinding.

Generated from protobuf message google.cloud.resourcemanager.v3.CreateTagBindingRequest

Methods

build

Parameter
NameDescription
tagBinding Google\Cloud\ResourceManager\V3\TagBinding

Required. The TagBinding to be created.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\CreateTagBindingRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tag_binding Google\Cloud\ResourceManager\V3\TagBinding

Required. The TagBinding to be created.

↳ validate_only bool

Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.

getTagBinding

Required. The TagBinding to be created.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\TagBinding|null

hasTagBinding

clearTagBinding

setTagBinding

Required. The TagBinding to be created.

Parameter
NameDescription
var Google\Cloud\ResourceManager\V3\TagBinding
Returns
TypeDescription
$this

getValidateOnly

Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.

Returns
TypeDescription
bool

setValidateOnly

Optional. Set to true to perform the validations necessary for creating the resource, but not actually perform the action.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this