Reference documentation and code samples for the Google Cloud Asset V1beta1 Client class Asset.
Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM policies, and other non-GCP assets.
Generated from protobuf message google.cloud.asset.v1beta1.Asset
Namespace
Google \ Cloud \ Asset \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The full name of the asset. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
. See Resource Names
for more information.
↳ asset_type
string
Type of the asset. Example: "google.compute.Disk".
↳ resource
↳ iam_policy
Google\Cloud\Iam\V1\Policy
Representation of the actual Cloud IAM policy set on a cloud resource. For each resource, there must be at most one Cloud IAM policy set on it.
getName
The full name of the asset. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Resource Names for more information.
string
setName
The full name of the asset. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
.
See Resource Names for more information.
var
string
$this
getAssetType
Type of the asset. Example: "google.compute.Disk".
string
setAssetType
Type of the asset. Example: "google.compute.Disk".
var
string
$this
getResource
Representation of the resource.
setResource
Representation of the resource.
$this
getIamPolicy
Representation of the actual Cloud IAM policy set on a cloud resource. For each resource, there must be at most one Cloud IAM policy set on it.
setIamPolicy
Representation of the actual Cloud IAM policy set on a cloud resource. For each resource, there must be at most one Cloud IAM policy set on it.
$this