public static final class IamPolicySearchResult.Builder extends GeneratedMessageV3.Builder<IamPolicySearchResult.Builder> implements IamPolicySearchResultOrBuilder
A result of IAM Policy search, containing information of an IAM policy.Protobuf type
google.cloud.asset.v1.IamPolicySearchResult
Modifier and Type | Method and Description |
---|---|
IamPolicySearchResult.Builder |
addAllFolders(Iterable<String> values)
The folder(s) that the IAM policy belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
IamPolicySearchResult.Builder |
addFolders(String value)
The folder(s) that the IAM policy belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
IamPolicySearchResult.Builder |
addFoldersBytes(ByteString value)
The folder(s) that the IAM policy belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
IamPolicySearchResult.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
IamPolicySearchResult |
build() |
IamPolicySearchResult |
buildPartial() |
IamPolicySearchResult.Builder |
clear() |
IamPolicySearchResult.Builder |
clearAssetType()
The type of the resource associated with this IAM policy.
|
IamPolicySearchResult.Builder |
clearExplanation()
Explanation about the IAM policy search result.
|
IamPolicySearchResult.Builder |
clearField(Descriptors.FieldDescriptor field) |
IamPolicySearchResult.Builder |
clearFolders()
The folder(s) that the IAM policy belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
IamPolicySearchResult.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
IamPolicySearchResult.Builder |
clearOrganization()
The organization that the IAM policy belongs to, in the form
of organizations/{ORGANIZATION_NUMBER}.
|
IamPolicySearchResult.Builder |
clearPolicy()
The IAM policy directly set on the given resource.
|
IamPolicySearchResult.Builder |
clearProject()
The project that the associated GCP resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
IamPolicySearchResult.Builder |
clearResource()
The full resource name of the resource associated with this IAM policy.
|
IamPolicySearchResult.Builder |
clone() |
String |
getAssetType()
The type of the resource associated with this IAM policy.
|
ByteString |
getAssetTypeBytes()
The type of the resource associated with this IAM policy.
|
IamPolicySearchResult |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
IamPolicySearchResult.Explanation |
getExplanation()
Explanation about the IAM policy search result.
|
IamPolicySearchResult.Explanation.Builder |
getExplanationBuilder()
Explanation about the IAM policy search result.
|
IamPolicySearchResult.ExplanationOrBuilder |
getExplanationOrBuilder()
Explanation about the IAM policy search result.
|
String |
getFolders(int index)
The folder(s) that the IAM policy belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ByteString |
getFoldersBytes(int index)
The folder(s) that the IAM policy belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
int |
getFoldersCount()
The folder(s) that the IAM policy belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ProtocolStringList |
getFoldersList()
The folder(s) that the IAM policy belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
String |
getOrganization()
The organization that the IAM policy belongs to, in the form
of organizations/{ORGANIZATION_NUMBER}.
|
ByteString |
getOrganizationBytes()
The organization that the IAM policy belongs to, in the form
of organizations/{ORGANIZATION_NUMBER}.
|
com.google.iam.v1.Policy |
getPolicy()
The IAM policy directly set on the given resource.
|
com.google.iam.v1.Policy.Builder |
getPolicyBuilder()
The IAM policy directly set on the given resource.
|
com.google.iam.v1.PolicyOrBuilder |
getPolicyOrBuilder()
The IAM policy directly set on the given resource.
|
String |
getProject()
The project that the associated GCP resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
ByteString |
getProjectBytes()
The project that the associated GCP resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
String |
getResource()
The full resource name of the resource associated with this IAM policy.
|
ByteString |
getResourceBytes()
The full resource name of the resource associated with this IAM policy.
|
boolean |
hasExplanation()
Explanation about the IAM policy search result.
|
boolean |
hasPolicy()
The IAM policy directly set on the given resource.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
IamPolicySearchResult.Builder |
mergeExplanation(IamPolicySearchResult.Explanation value)
Explanation about the IAM policy search result.
|
IamPolicySearchResult.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
IamPolicySearchResult.Builder |
mergeFrom(IamPolicySearchResult other) |
IamPolicySearchResult.Builder |
mergeFrom(Message other) |
IamPolicySearchResult.Builder |
mergePolicy(com.google.iam.v1.Policy value)
The IAM policy directly set on the given resource.
|
IamPolicySearchResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
IamPolicySearchResult.Builder |
setAssetType(String value)
The type of the resource associated with this IAM policy.
|
IamPolicySearchResult.Builder |
setAssetTypeBytes(ByteString value)
The type of the resource associated with this IAM policy.
|
IamPolicySearchResult.Builder |
setExplanation(IamPolicySearchResult.Explanation.Builder builderForValue)
Explanation about the IAM policy search result.
|
IamPolicySearchResult.Builder |
setExplanation(IamPolicySearchResult.Explanation value)
Explanation about the IAM policy search result.
|
IamPolicySearchResult.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
IamPolicySearchResult.Builder |
setFolders(int index,
String value)
The folder(s) that the IAM policy belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
IamPolicySearchResult.Builder |
setOrganization(String value)
The organization that the IAM policy belongs to, in the form
of organizations/{ORGANIZATION_NUMBER}.
|
IamPolicySearchResult.Builder |
setOrganizationBytes(ByteString value)
The organization that the IAM policy belongs to, in the form
of organizations/{ORGANIZATION_NUMBER}.
|
IamPolicySearchResult.Builder |
setPolicy(com.google.iam.v1.Policy.Builder builderForValue)
The IAM policy directly set on the given resource.
|
IamPolicySearchResult.Builder |
setPolicy(com.google.iam.v1.Policy value)
The IAM policy directly set on the given resource.
|
IamPolicySearchResult.Builder |
setProject(String value)
The project that the associated GCP resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
IamPolicySearchResult.Builder |
setProjectBytes(ByteString value)
The project that the associated GCP resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
IamPolicySearchResult.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
IamPolicySearchResult.Builder |
setResource(String value)
The full resource name of the resource associated with this IAM policy.
|
IamPolicySearchResult.Builder |
setResourceBytes(ByteString value)
The full resource name of the resource associated with this IAM policy.
|
IamPolicySearchResult.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<IamPolicySearchResult.Builder>
public IamPolicySearchResult.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public IamPolicySearchResult getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public IamPolicySearchResult build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public IamPolicySearchResult buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public IamPolicySearchResult.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public IamPolicySearchResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public IamPolicySearchResult.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public IamPolicySearchResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public IamPolicySearchResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public IamPolicySearchResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public IamPolicySearchResult.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicySearchResult.Builder>
public IamPolicySearchResult.Builder mergeFrom(IamPolicySearchResult other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public IamPolicySearchResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicySearchResult.Builder>
IOException
public String getResource()
The full resource name of the resource associated with this IAM policy. 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. To search against the `resource`: * use a field query. Example: `resource:organizations/123`
string resource = 1;
getResource
in interface IamPolicySearchResultOrBuilder
public ByteString getResourceBytes()
The full resource name of the resource associated with this IAM policy. 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. To search against the `resource`: * use a field query. Example: `resource:organizations/123`
string resource = 1;
getResourceBytes
in interface IamPolicySearchResultOrBuilder
public IamPolicySearchResult.Builder setResource(String value)
The full resource name of the resource associated with this IAM policy. 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. To search against the `resource`: * use a field query. Example: `resource:organizations/123`
string resource = 1;
value
- The resource to set.public IamPolicySearchResult.Builder clearResource()
The full resource name of the resource associated with this IAM policy. 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. To search against the `resource`: * use a field query. Example: `resource:organizations/123`
string resource = 1;
public IamPolicySearchResult.Builder setResourceBytes(ByteString value)
The full resource name of the resource associated with this IAM policy. 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. To search against the `resource`: * use a field query. Example: `resource:organizations/123`
string resource = 1;
value
- The bytes for resource to set.public String getAssetType()
The type of the resource associated with this IAM policy. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_types` field in your search request.
string asset_type = 5;
getAssetType
in interface IamPolicySearchResultOrBuilder
public ByteString getAssetTypeBytes()
The type of the resource associated with this IAM policy. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_types` field in your search request.
string asset_type = 5;
getAssetTypeBytes
in interface IamPolicySearchResultOrBuilder
public IamPolicySearchResult.Builder setAssetType(String value)
The type of the resource associated with this IAM policy. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_types` field in your search request.
string asset_type = 5;
value
- The assetType to set.public IamPolicySearchResult.Builder clearAssetType()
The type of the resource associated with this IAM policy. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_types` field in your search request.
string asset_type = 5;
public IamPolicySearchResult.Builder setAssetTypeBytes(ByteString value)
The type of the resource associated with this IAM policy. Example: `compute.googleapis.com/Disk`. To search against the `asset_type`: * specify the `asset_types` field in your search request.
string asset_type = 5;
value
- The bytes for assetType to set.public String getProject()
The project that the associated GCP resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage bucket), the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or orgnization, this field will be empty. To search against the `project`: * specify the `scope` field as this project in your search request.
string project = 2;
getProject
in interface IamPolicySearchResultOrBuilder
public ByteString getProjectBytes()
The project that the associated GCP resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage bucket), the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or orgnization, this field will be empty. To search against the `project`: * specify the `scope` field as this project in your search request.
string project = 2;
getProjectBytes
in interface IamPolicySearchResultOrBuilder
public IamPolicySearchResult.Builder setProject(String value)
The project that the associated GCP resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage bucket), the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or orgnization, this field will be empty. To search against the `project`: * specify the `scope` field as this project in your search request.
string project = 2;
value
- The project to set.public IamPolicySearchResult.Builder clearProject()
The project that the associated GCP resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage bucket), the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or orgnization, this field will be empty. To search against the `project`: * specify the `scope` field as this project in your search request.
string project = 2;
public IamPolicySearchResult.Builder setProjectBytes(ByteString value)
The project that the associated GCP resource belongs to, in the form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM instance, Cloud Storage bucket), the project field will indicate the project that contains the resource. If an IAM policy is set on a folder or orgnization, this field will be empty. To search against the `project`: * specify the `scope` field as this project in your search request.
string project = 2;
value
- The bytes for project to set.public ProtocolStringList getFoldersList()
The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 6;
getFoldersList
in interface IamPolicySearchResultOrBuilder
public int getFoldersCount()
The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 6;
getFoldersCount
in interface IamPolicySearchResultOrBuilder
public String getFolders(int index)
The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 6;
getFolders
in interface IamPolicySearchResultOrBuilder
index
- The index of the element to return.public ByteString getFoldersBytes(int index)
The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 6;
getFoldersBytes
in interface IamPolicySearchResultOrBuilder
index
- The index of the value to return.public IamPolicySearchResult.Builder setFolders(int index, String value)
The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 6;
index
- The index to set the value at.value
- The folders to set.public IamPolicySearchResult.Builder addFolders(String value)
The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 6;
value
- The folders to add.public IamPolicySearchResult.Builder addAllFolders(Iterable<String> values)
The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 6;
values
- The folders to add.public IamPolicySearchResult.Builder clearFolders()
The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 6;
public IamPolicySearchResult.Builder addFoldersBytes(ByteString value)
The folder(s) that the IAM policy belongs to, in the form of folders/{FOLDER_NUMBER}. This field is available when the IAM policy belongs to one or more folders. To search against `folders`: * use a field query. Example: `folders:(123 OR 456)` * use a free text query. Example: `123` * specify the `scope` field as this folder in your search request.
repeated string folders = 6;
value
- The bytes of the folders to add.public String getOrganization()
The organization that the IAM policy belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 7;
getOrganization
in interface IamPolicySearchResultOrBuilder
public ByteString getOrganizationBytes()
The organization that the IAM policy belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 7;
getOrganizationBytes
in interface IamPolicySearchResultOrBuilder
public IamPolicySearchResult.Builder setOrganization(String value)
The organization that the IAM policy belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 7;
value
- The organization to set.public IamPolicySearchResult.Builder clearOrganization()
The organization that the IAM policy belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 7;
public IamPolicySearchResult.Builder setOrganizationBytes(ByteString value)
The organization that the IAM policy belongs to, in the form of organizations/{ORGANIZATION_NUMBER}. This field is available when the IAM policy belongs to an organization. To search against `organization`: * use a field query. Example: `organization:123` * use a free text query. Example: `123` * specify the `scope` field as this organization in your search request.
string organization = 7;
value
- The bytes for organization to set.public boolean hasPolicy()
The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`
.google.iam.v1.Policy policy = 3;
hasPolicy
in interface IamPolicySearchResultOrBuilder
public com.google.iam.v1.Policy getPolicy()
The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`
.google.iam.v1.Policy policy = 3;
getPolicy
in interface IamPolicySearchResultOrBuilder
public IamPolicySearchResult.Builder setPolicy(com.google.iam.v1.Policy value)
The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`
.google.iam.v1.Policy policy = 3;
public IamPolicySearchResult.Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue)
The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`
.google.iam.v1.Policy policy = 3;
public IamPolicySearchResult.Builder mergePolicy(com.google.iam.v1.Policy value)
The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`
.google.iam.v1.Policy policy = 3;
public IamPolicySearchResult.Builder clearPolicy()
The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`
.google.iam.v1.Policy policy = 3;
public com.google.iam.v1.Policy.Builder getPolicyBuilder()
The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`
.google.iam.v1.Policy policy = 3;
public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
The IAM policy directly set on the given resource. Note that the original IAM policy can contain multiple bindings. This only contains the bindings that match the given query. For queries that don't contain a constrain on policies (e.g., an empty query), this contains all the bindings. To search against the `policy` bindings: * use a field query: - query by the policy contained members. Example: `policy:amy@gmail.com` - query by the policy contained roles. Example: `policy:roles/compute.admin` - query by the policy contained roles' included permissions. Example: `policy.role.permissions:compute.instances.create`
.google.iam.v1.Policy policy = 3;
getPolicyOrBuilder
in interface IamPolicySearchResultOrBuilder
public boolean hasExplanation()
Explanation about the IAM policy search result. It contains additional information to explain why the search result matches the query.
.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
hasExplanation
in interface IamPolicySearchResultOrBuilder
public IamPolicySearchResult.Explanation getExplanation()
Explanation about the IAM policy search result. It contains additional information to explain why the search result matches the query.
.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
getExplanation
in interface IamPolicySearchResultOrBuilder
public IamPolicySearchResult.Builder setExplanation(IamPolicySearchResult.Explanation value)
Explanation about the IAM policy search result. It contains additional information to explain why the search result matches the query.
.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
public IamPolicySearchResult.Builder setExplanation(IamPolicySearchResult.Explanation.Builder builderForValue)
Explanation about the IAM policy search result. It contains additional information to explain why the search result matches the query.
.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
public IamPolicySearchResult.Builder mergeExplanation(IamPolicySearchResult.Explanation value)
Explanation about the IAM policy search result. It contains additional information to explain why the search result matches the query.
.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
public IamPolicySearchResult.Builder clearExplanation()
Explanation about the IAM policy search result. It contains additional information to explain why the search result matches the query.
.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
public IamPolicySearchResult.Explanation.Builder getExplanationBuilder()
Explanation about the IAM policy search result. It contains additional information to explain why the search result matches the query.
.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
public IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder()
Explanation about the IAM policy search result. It contains additional information to explain why the search result matches the query.
.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
getExplanationOrBuilder
in interface IamPolicySearchResultOrBuilder
public final IamPolicySearchResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
public final IamPolicySearchResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Builder>
Copyright © 2022 Google LLC. All rights reserved.