Google Cloud Security Command Center V2 Client - Class GetValuedResourceRequest (2.0.1)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class GetValuedResourceRequest.

Request message for getting a valued resource.

Generated from protobuf message google.cloud.securitycenter.v2.GetValuedResourceRequest

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of this valued resource Valid format: organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}

getName

Required. The name of this valued resource Valid format: organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}

Returns
Type Description
string

setName

Required. The name of this valued resource Valid format: organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of this valued resource

Valid format: organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource} Please see Google\Cloud\SecurityCenter\V2\SecurityCenterClient::valuedResourceName() for help formatting this field.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\GetValuedResourceRequest