Package com.google.cloud.asset.v1
Class AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder>
com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
- All Implemented Interfaces:
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
public static final class AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder>
implements AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
The IAM policies governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].Protobuf type
google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy-
Method Summary
Modifier and TypeMethodDescriptionaddAllFolders(Iterable<String> values) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.addFolders(String value) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.addFoldersBytes(com.google.protobuf.ByteString value) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.build()clear()The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].The full resource name of the resource on which this IAM policy is set.The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.The IAM policy directly set on the given resource.The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].com.google.protobuf.ByteStringThe asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].The full resource name of the resource on which this IAM policy is set.com.google.protobuf.ByteStringThe full resource name of the resource on which this IAM policy is set.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFolders(int index) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ByteStringgetFoldersBytes(int index) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.intThe folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ProtocolStringListThe folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.protobuf.ByteStringThe organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.The IAM policy directly set on the given resource.The IAM policy directly set on the given resource.The IAM policy directly set on the given resource.The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.com.google.protobuf.ByteStringThe project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.booleanThe IAM policy directly set on the given resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePolicy(Policy value) The IAM policy directly set on the given resource.setAssetType(String value) The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].setAssetTypeBytes(com.google.protobuf.ByteString value) The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].setAttachedResource(String value) The full resource name of the resource on which this IAM policy is set.setAttachedResourceBytes(com.google.protobuf.ByteString value) The full resource name of the resource on which this IAM policy is set.setFolders(int index, String value) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.setOrganization(String value) The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.setOrganizationBytes(com.google.protobuf.ByteString value) The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.The IAM policy directly set on the given resource.setPolicy(Policy.Builder builderForValue) The IAM policy directly set on the given resource.setProject(String value) The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.setProjectBytes(com.google.protobuf.ByteString value) The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder>
-
mergeFrom
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder>- Throws:
IOException
-
getAttachedResource
The full resource name of the resource on which this IAM policy is set. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information.
string attached_resource = 1;- Specified by:
getAttachedResourcein interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The attachedResource.
-
getAttachedResourceBytes
public com.google.protobuf.ByteString getAttachedResourceBytes()The full resource name of the resource on which this IAM policy is set. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information.
string attached_resource = 1;- Specified by:
getAttachedResourceBytesin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The bytes for attachedResource.
-
setAttachedResource
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setAttachedResource(String value) The full resource name of the resource on which this IAM policy is set. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information.
string attached_resource = 1;- Parameters:
value- The attachedResource to set.- Returns:
- This builder for chaining.
-
clearAttachedResource
The full resource name of the resource on which this IAM policy is set. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information.
string attached_resource = 1;- Returns:
- This builder for chaining.
-
setAttachedResourceBytes
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setAttachedResourceBytes(com.google.protobuf.ByteString value) The full resource name of the resource on which this IAM policy is set. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/resource-name-format) for more information.
string attached_resource = 1;- Parameters:
value- The bytes for attachedResource to set.- Returns:
- This builder for chaining.
-
hasPolicy
public boolean hasPolicy()The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;- Specified by:
hasPolicyin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- Whether the policy field is set.
-
getPolicy
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;- Specified by:
getPolicyin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The policy.
-
setPolicy
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2; -
setPolicy
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setPolicy(Policy.Builder builderForValue) The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2; -
mergePolicy
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2; -
clearPolicy
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2; -
getPolicyBuilder
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2; -
getPolicyOrBuilder
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;- Specified by:
getPolicyOrBuilderin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
-
getProject
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.string project = 5;- Specified by:
getProjectin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.string project = 5;- Specified by:
getProjectBytesin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The bytes for project.
-
setProject
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.string project = 5;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.string project = 5;- Returns:
- This builder for chaining.
-
setProjectBytes
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setProjectBytes(com.google.protobuf.ByteString value) The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the IAM policy belongs to a project.string project = 5;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getFoldersList
public com.google.protobuf.ProtocolStringList getFoldersList()The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Specified by:
getFoldersListin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- A list containing the folders.
-
getFoldersCount
public int getFoldersCount()The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Specified by:
getFoldersCountin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The count of folders.
-
getFolders
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Specified by:
getFoldersin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The folders at the given index.
-
getFoldersBytes
public com.google.protobuf.ByteString getFoldersBytes(int index) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Specified by:
getFoldersBytesin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the folders at the given index.
-
setFolders
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setFolders(int index, String value) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Parameters:
index- The index to set the value at.value- The folders to set.- Returns:
- This builder for chaining.
-
addFolders
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Parameters:
value- The folders to add.- Returns:
- This builder for chaining.
-
addAllFolders
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder addAllFolders(Iterable<String> values) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Parameters:
values- The folders to add.- Returns:
- This builder for chaining.
-
clearFolders
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Returns:
- This builder for chaining.
-
addFoldersBytes
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder addFoldersBytes(com.google.protobuf.ByteString value) The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Parameters:
value- The bytes of the folders to add.- Returns:
- This builder for chaining.
-
getOrganization
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.string organization = 7;- Specified by:
getOrganizationin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The organization.
-
getOrganizationBytes
public com.google.protobuf.ByteString getOrganizationBytes()The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.string organization = 7;- Specified by:
getOrganizationBytesin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The bytes for organization.
-
setOrganization
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setOrganization(String value) The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.string organization = 7;- Parameters:
value- The organization to set.- Returns:
- This builder for chaining.
-
clearOrganization
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.string organization = 7;- Returns:
- This builder for chaining.
-
setOrganizationBytes
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setOrganizationBytes(com.google.protobuf.ByteString value) The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs (directly or cascadingly) to an organization.string organization = 7;- Parameters:
value- The bytes for organization to set.- Returns:
- This builder for chaining.
-
getAssetType
The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource]. Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported asset types.
string asset_type = 8;- Specified by:
getAssetTypein interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The assetType.
-
getAssetTypeBytes
public com.google.protobuf.ByteString getAssetTypeBytes()The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource]. Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported asset types.
string asset_type = 8;- Specified by:
getAssetTypeBytesin interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder- Returns:
- The bytes for assetType.
-
setAssetType
The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource]. Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported asset types.
string asset_type = 8;- Parameters:
value- The assetType to set.- Returns:
- This builder for chaining.
-
clearAssetType
The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource]. Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported asset types.
string asset_type = 8;- Returns:
- This builder for chaining.
-
setAssetTypeBytes
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder setAssetTypeBytes(com.google.protobuf.ByteString value) The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource]. Example: `cloudresourcemanager.googleapis.com/Project` See [Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for all supported asset types.
string asset_type = 8;- Parameters:
value- The bytes for assetType to set.- Returns:
- This builder for chaining.
-