public interface AssetOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAncestors(int index)
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
com.google.protobuf.ByteString |
getAncestorsBytes(int index)
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
int |
getAncestorsCount()
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
List<String> |
getAncestorsList()
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
String |
getAssetType()
Type of the asset.
|
com.google.protobuf.ByteString |
getAssetTypeBytes()
Type of the asset.
|
com.google.iam.v1.Policy |
getIamPolicy()
Representation of the actual Cloud IAM policy set on a cloud resource.
|
com.google.protobuf.ByteString |
getIamPolicyName()
Cloud IAM policy name of the Cloud IAM policy set on a cloud resource.
|
com.google.iam.v1.PolicyOrBuilder |
getIamPolicyOrBuilder()
Representation of the actual Cloud IAM policy set on a cloud resource.
|
String |
getName()
The full name of the asset.
|
com.google.protobuf.ByteString |
getNameBytes()
The full name of the asset.
|
Resource |
getResource()
Representation of the resource.
|
ResourceOrBuilder |
getResourceOrBuilder()
Representation of the resource.
|
boolean |
hasIamPolicy()
Representation of the actual Cloud IAM policy set on a cloud resource.
|
boolean |
hasResource()
Representation of the resource.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;com.google.protobuf.ByteString getNameBytes()
The full name of the asset. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;String getAssetType()
Type of the asset. Example: "compute.googleapis.com/Disk".
string asset_type = 2;com.google.protobuf.ByteString getAssetTypeBytes()
Type of the asset. Example: "compute.googleapis.com/Disk".
string asset_type = 2;boolean hasResource()
Representation of the resource.
.google.cloud.asset.v1p2beta1.Resource resource = 3;Resource getResource()
Representation of the resource.
.google.cloud.asset.v1p2beta1.Resource resource = 3;ResourceOrBuilder getResourceOrBuilder()
Representation of the resource.
.google.cloud.asset.v1p2beta1.Resource resource = 3;boolean hasIamPolicy()
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.
.google.iam.v1.Policy iam_policy = 4;com.google.iam.v1.Policy 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.
.google.iam.v1.Policy iam_policy = 4;com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder()
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.
.google.iam.v1.Policy iam_policy = 4;com.google.protobuf.ByteString getIamPolicyName()
Cloud IAM policy name of the Cloud IAM policy set on a cloud resource. For each resource, there must be at most one Cloud IAM policy name associated with it.
bytes iam_policy_name = 5;List<String> getAncestorsList()
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, represented as a list of relative resource names. Ancestry path starts with the closest CRM ancestor and ending at a visible root. If the asset is a CRM project/ folder/organization, this starts from the asset itself. Example: ["projects/123456789", "folders/5432", "organizations/1234"]
repeated string ancestors = 6;int getAncestorsCount()
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, represented as a list of relative resource names. Ancestry path starts with the closest CRM ancestor and ending at a visible root. If the asset is a CRM project/ folder/organization, this starts from the asset itself. Example: ["projects/123456789", "folders/5432", "organizations/1234"]
repeated string ancestors = 6;String getAncestors(int index)
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, represented as a list of relative resource names. Ancestry path starts with the closest CRM ancestor and ending at a visible root. If the asset is a CRM project/ folder/organization, this starts from the asset itself. Example: ["projects/123456789", "folders/5432", "organizations/1234"]
repeated string ancestors = 6;index - The index of the element to return.com.google.protobuf.ByteString getAncestorsBytes(int index)
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, represented as a list of relative resource names. Ancestry path starts with the closest CRM ancestor and ending at a visible root. If the asset is a CRM project/ folder/organization, this starts from the asset itself. Example: ["projects/123456789", "folders/5432", "organizations/1234"]
repeated string ancestors = 6;index - The index of the value to return.Copyright © 2020 Google LLC. All rights reserved.