Google Cloud Asset V1 Client - Class ResourceSelector (1.9.2)

Reference documentation and code samples for the Google Cloud Asset V1 Client class ResourceSelector.

Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.

Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ full_resource_name string

Required. The full resource name of a resource of supported resource types.

getFullResourceName

Required. The full resource name of a resource of supported resource types.

Generated from protobuf field string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setFullResourceName

Required. The full resource name of a resource of supported resource types.

Generated from protobuf field string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this