public static final class Asset.Builder extends GeneratedMessageV3.Builder<Asset.Builder> implements AssetOrBuilder
Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM policies, and other non-GCP assets.Protobuf type
google.cloud.asset.v1p5beta1.Asset
Modifier and Type | Method and Description |
---|---|
Asset.Builder |
addAllAncestors(Iterable<String> values)
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
Asset.Builder |
addAllOrgPolicy(Iterable<? extends com.google.cloud.orgpolicy.v1.Policy> values)
Representation of the Cloud Organization Policy set on an asset.
|
Asset.Builder |
addAncestors(String value)
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
Asset.Builder |
addAncestorsBytes(ByteString value)
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
Asset.Builder |
addOrgPolicy(int index,
com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
Representation of the Cloud Organization Policy set on an asset.
|
Asset.Builder |
addOrgPolicy(int index,
com.google.cloud.orgpolicy.v1.Policy value)
Representation of the Cloud Organization Policy set on an asset.
|
Asset.Builder |
addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
Representation of the Cloud Organization Policy set on an asset.
|
Asset.Builder |
addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value)
Representation of the Cloud Organization Policy set on an asset.
|
com.google.cloud.orgpolicy.v1.Policy.Builder |
addOrgPolicyBuilder()
Representation of the Cloud Organization Policy set on an asset.
|
com.google.cloud.orgpolicy.v1.Policy.Builder |
addOrgPolicyBuilder(int index)
Representation of the Cloud Organization Policy set on an asset.
|
Asset.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Asset |
build() |
Asset |
buildPartial() |
Asset.Builder |
clear() |
Asset.Builder |
clearAccessContextPolicy() |
Asset.Builder |
clearAccessLevel()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; |
Asset.Builder |
clearAccessPolicy()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; |
Asset.Builder |
clearAncestors()
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
Asset.Builder |
clearAssetType()
Type of the asset.
|
Asset.Builder |
clearField(Descriptors.FieldDescriptor field) |
Asset.Builder |
clearIamPolicy()
Representation of the actual Cloud IAM policy set on a cloud resource.
|
Asset.Builder |
clearName()
The full name of the asset.
|
Asset.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Asset.Builder |
clearOrgPolicy()
Representation of the Cloud Organization Policy set on an asset.
|
Asset.Builder |
clearResource()
Representation of the resource.
|
Asset.Builder |
clearServicePerimeter()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; |
Asset.Builder |
clone() |
Asset.AccessContextPolicyCase |
getAccessContextPolicyCase() |
com.google.identity.accesscontextmanager.v1.AccessLevel |
getAccessLevel()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; |
com.google.identity.accesscontextmanager.v1.AccessLevel.Builder |
getAccessLevelBuilder()
.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.AccessPolicy.Builder |
getAccessPolicyBuilder()
.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.
|
ProtocolStringList |
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.
|
Asset |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
com.google.iam.v1.Policy |
getIamPolicy()
Representation of the actual Cloud IAM policy set on a cloud resource.
|
com.google.iam.v1.Policy.Builder |
getIamPolicyBuilder()
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.
|
com.google.cloud.orgpolicy.v1.Policy.Builder |
getOrgPolicyBuilder(int index)
Representation of the Cloud Organization Policy set on an asset.
|
List<com.google.cloud.orgpolicy.v1.Policy.Builder> |
getOrgPolicyBuilderList()
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.
|
Resource.Builder |
getResourceBuilder()
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.ServicePerimeter.Builder |
getServicePerimeterBuilder()
.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; |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Asset.Builder |
mergeAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value)
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; |
Asset.Builder |
mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value)
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; |
Asset.Builder |
mergeFrom(Asset other) |
Asset.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Asset.Builder |
mergeFrom(Message other) |
Asset.Builder |
mergeIamPolicy(com.google.iam.v1.Policy value)
Representation of the actual Cloud IAM policy set on a cloud resource.
|
Asset.Builder |
mergeResource(Resource value)
Representation of the resource.
|
Asset.Builder |
mergeServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value)
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; |
Asset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Asset.Builder |
removeOrgPolicy(int index)
Representation of the Cloud Organization Policy set on an asset.
|
Asset.Builder |
setAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel.Builder builderForValue)
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; |
Asset.Builder |
setAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value)
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; |
Asset.Builder |
setAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder builderForValue)
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; |
Asset.Builder |
setAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value)
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; |
Asset.Builder |
setAncestors(int index,
String value)
Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
represented as a list of relative resource names.
|
Asset.Builder |
setAssetType(String value)
Type of the asset.
|
Asset.Builder |
setAssetTypeBytes(ByteString value)
Type of the asset.
|
Asset.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Asset.Builder |
setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue)
Representation of the actual Cloud IAM policy set on a cloud resource.
|
Asset.Builder |
setIamPolicy(com.google.iam.v1.Policy value)
Representation of the actual Cloud IAM policy set on a cloud resource.
|
Asset.Builder |
setName(String value)
The full name of the asset.
|
Asset.Builder |
setNameBytes(ByteString value)
The full name of the asset.
|
Asset.Builder |
setOrgPolicy(int index,
com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
Representation of the Cloud Organization Policy set on an asset.
|
Asset.Builder |
setOrgPolicy(int index,
com.google.cloud.orgpolicy.v1.Policy value)
Representation of the Cloud Organization Policy set on an asset.
|
Asset.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Asset.Builder |
setResource(Resource.Builder builderForValue)
Representation of the resource.
|
Asset.Builder |
setResource(Resource value)
Representation of the resource.
|
Asset.Builder |
setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder builderForValue)
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; |
Asset.Builder |
setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value)
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; |
Asset.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Asset.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Asset build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Asset buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Asset.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Asset.Builder>
public Asset.Builder mergeFrom(Asset other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Asset.Builder>
public Asset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Asset.Builder>
IOException
public Asset.AccessContextPolicyCase getAccessContextPolicyCase()
getAccessContextPolicyCase
in interface AssetOrBuilder
public Asset.Builder clearAccessContextPolicy()
public 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;
getName
in interface AssetOrBuilder
public 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;
getNameBytes
in interface AssetOrBuilder
public Asset.Builder setName(String value)
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;
value
- The name to set.public Asset.Builder clearName()
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;
public Asset.Builder setNameBytes(ByteString value)
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;
value
- The bytes for name to set.public String getAssetType()
Type of the asset. Example: "compute.googleapis.com/Disk".
string asset_type = 2;
getAssetType
in interface AssetOrBuilder
public ByteString getAssetTypeBytes()
Type of the asset. Example: "compute.googleapis.com/Disk".
string asset_type = 2;
getAssetTypeBytes
in interface AssetOrBuilder
public Asset.Builder setAssetType(String value)
Type of the asset. Example: "compute.googleapis.com/Disk".
string asset_type = 2;
value
- The assetType to set.public Asset.Builder clearAssetType()
Type of the asset. Example: "compute.googleapis.com/Disk".
string asset_type = 2;
public Asset.Builder setAssetTypeBytes(ByteString value)
Type of the asset. Example: "compute.googleapis.com/Disk".
string asset_type = 2;
value
- The bytes for assetType to set.public boolean hasResource()
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
hasResource
in interface AssetOrBuilder
public Resource getResource()
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
getResource
in interface AssetOrBuilder
public Asset.Builder setResource(Resource value)
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
public Asset.Builder setResource(Resource.Builder builderForValue)
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
public Asset.Builder mergeResource(Resource value)
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
public Asset.Builder clearResource()
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
public Resource.Builder getResourceBuilder()
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
public ResourceOrBuilder getResourceOrBuilder()
Representation of the resource.
.google.cloud.asset.v1p5beta1.Resource resource = 3;
getResourceOrBuilder
in interface AssetOrBuilder
public 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;
hasIamPolicy
in interface AssetOrBuilder
public 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;
getIamPolicy
in interface AssetOrBuilder
public Asset.Builder setIamPolicy(com.google.iam.v1.Policy value)
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;
public Asset.Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue)
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;
public Asset.Builder mergeIamPolicy(com.google.iam.v1.Policy value)
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;
public Asset.Builder clearIamPolicy()
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;
public com.google.iam.v1.Policy.Builder getIamPolicyBuilder()
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;
public 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;
getIamPolicyOrBuilder
in interface AssetOrBuilder
public 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;
getOrgPolicyList
in interface AssetOrBuilder
public 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;
getOrgPolicyCount
in interface AssetOrBuilder
public 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;
getOrgPolicy
in interface AssetOrBuilder
public Asset.Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value)
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;
public Asset.Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
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;
public Asset.Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value)
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;
public Asset.Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value)
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;
public Asset.Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
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;
public Asset.Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
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;
public Asset.Builder addAllOrgPolicy(Iterable<? extends com.google.cloud.orgpolicy.v1.Policy> values)
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;
public Asset.Builder clearOrgPolicy()
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;
public Asset.Builder removeOrgPolicy(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;
public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(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;
public 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;
getOrgPolicyOrBuilder
in interface AssetOrBuilder
public 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;
getOrgPolicyOrBuilderList
in interface AssetOrBuilder
public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder()
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;
public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(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;
public List<com.google.cloud.orgpolicy.v1.Policy.Builder> getOrgPolicyBuilderList()
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;
public boolean hasAccessPolicy()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
hasAccessPolicy
in interface AssetOrBuilder
public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
getAccessPolicy
in interface AssetOrBuilder
public Asset.Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value)
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
public Asset.Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder builderForValue)
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
public Asset.Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value)
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
public Asset.Builder clearAccessPolicy()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAccessPolicyBuilder()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder()
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
getAccessPolicyOrBuilder
in interface AssetOrBuilder
public boolean hasAccessLevel()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
hasAccessLevel
in interface AssetOrBuilder
public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
getAccessLevel
in interface AssetOrBuilder
public Asset.Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value)
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
public Asset.Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel.Builder builderForValue)
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
public Asset.Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value)
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
public Asset.Builder clearAccessLevel()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccessLevelBuilder()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder()
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
getAccessLevelOrBuilder
in interface AssetOrBuilder
public boolean hasServicePerimeter()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
hasServicePerimeter
in interface AssetOrBuilder
public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
getServicePerimeter
in interface AssetOrBuilder
public Asset.Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value)
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
public Asset.Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder builderForValue)
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
public Asset.Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value)
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
public Asset.Builder clearServicePerimeter()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getServicePerimeterBuilder()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder()
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
getServicePerimeterOrBuilder
in interface AssetOrBuilder
public ProtocolStringList 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;
getAncestorsList
in interface AssetOrBuilder
public 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;
getAncestorsCount
in interface AssetOrBuilder
public 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;
getAncestors
in interface AssetOrBuilder
index
- The index of the element to return.public 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;
getAncestorsBytes
in interface AssetOrBuilder
index
- The index of the value to return.public Asset.Builder setAncestors(int index, String value)
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 to set the value at.value
- The ancestors to set.public Asset.Builder addAncestors(String value)
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;
value
- The ancestors to add.public Asset.Builder addAllAncestors(Iterable<String> values)
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;
values
- The ancestors to add.public Asset.Builder clearAncestors()
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;
public Asset.Builder addAncestorsBytes(ByteString value)
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;
value
- The bytes of the ancestors to add.public final Asset.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Asset.Builder>
public final Asset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Asset.Builder>
Copyright © 2022 Google LLC. All rights reserved.