public interface AssetOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Asset.AccessContextPolicyCase |
getAccessContextPolicyCase() |
com.google.identity.accesscontextmanager.v1.AccessLevel |
getAccessLevel()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; |
com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder |
getAccessLevelOrBuilder()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; |
com.google.identity.accesscontextmanager.v1.AccessPolicy |
getAccessPolicy()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; |
com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder |
getAccessPolicyOrBuilder()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; |
String |
getAncestors(int index)
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
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.
|
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.iam.v1.PolicyOrBuilder |
getIamPolicyOrBuilder()
Representation of the actual Cloud IAM policy set on a cloud resource.
|
String |
getName()
The full name of the asset.
|
ByteString |
getNameBytes()
The full name of the asset.
|
com.google.cloud.orgpolicy.v1.Policy |
getOrgPolicy(int index)
Representation of the Cloud Organization Policy set on an asset.
|
int |
getOrgPolicyCount()
Representation of the Cloud Organization Policy set on an asset.
|
List<com.google.cloud.orgpolicy.v1.Policy> |
getOrgPolicyList()
Representation of the Cloud Organization Policy set on an asset.
|
com.google.cloud.orgpolicy.v1.PolicyOrBuilder |
getOrgPolicyOrBuilder(int index)
Representation of the Cloud Organization Policy set on an asset.
|
List<? extends com.google.cloud.orgpolicy.v1.PolicyOrBuilder> |
getOrgPolicyOrBuilderList()
Representation of the Cloud Organization Policy set on an asset.
|
Resource |
getResource()
Representation of the resource.
|
ResourceOrBuilder |
getResourceOrBuilder()
Representation of the resource.
|
com.google.identity.accesscontextmanager.v1.ServicePerimeter |
getServicePerimeter()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; |
com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder |
getServicePerimeterOrBuilder()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; |
boolean |
hasAccessLevel()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; |
boolean |
hasAccessPolicy()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; |
boolean |
hasIamPolicy()
Representation of the actual Cloud IAM policy set on a cloud resource.
|
boolean |
hasResource()
Representation of the resource.
|
boolean |
hasServicePerimeter()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String 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;
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;
ByteString getAssetTypeBytes()
Type of the asset. Example: "compute.googleapis.com/Disk".
string asset_type = 2;
boolean hasResource()
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
Resource getResource()
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
ResourceOrBuilder getResourceOrBuilder()
Representation of the resource.
.google.cloud.asset.v1p5beta1.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;
List<com.google.cloud.orgpolicy.v1.Policy> getOrgPolicyList()
Representation of the Cloud Organization Policy set on an asset. For each asset, there could be multiple Organization policies with different constraints.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index)
Representation of the Cloud Organization Policy set on an asset. For each asset, there could be multiple Organization policies with different constraints.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
int getOrgPolicyCount()
Representation of the Cloud Organization Policy set on an asset. For each asset, there could be multiple Organization policies with different constraints.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
List<? extends com.google.cloud.orgpolicy.v1.PolicyOrBuilder> getOrgPolicyOrBuilderList()
Representation of the Cloud Organization Policy set on an asset. For each asset, there could be multiple Organization policies with different constraints.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index)
Representation of the Cloud Organization Policy set on an asset. For each asset, there could be multiple Organization policies with different constraints.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
boolean hasAccessPolicy()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
boolean hasAccessLevel()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
boolean hasServicePerimeter()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
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 ends at 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 = 10;
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 ends at 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 = 10;
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 ends at 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 = 10;
index
- The index of the element to return.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 ends at 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 = 10;
index
- The index of the value to return.Asset.AccessContextPolicyCase getAccessContextPolicyCase()
Copyright © 2022 Google LLC. All rights reserved.