public final class IamPolicyAnalysisQuery extends com.google.protobuf.GeneratedMessageV3 implements IamPolicyAnalysisQueryOrBuilder
IAM policy analysis query message.Protobuf type
google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery| Modifier and Type | Class and Description |
|---|---|
static class |
IamPolicyAnalysisQuery.AccessSelector
Specifies roles and/or permissions to analyze, to determine both the
identities possessing them and the resources they control.
|
static interface |
IamPolicyAnalysisQuery.AccessSelectorOrBuilder |
static class |
IamPolicyAnalysisQuery.Builder
IAM policy analysis query message.
|
static class |
IamPolicyAnalysisQuery.IdentitySelector
Specifies an identity for which to determine resource access, based on
roles assigned either directly to them or to the groups they belong to,
directly or indirectly.
|
static interface |
IamPolicyAnalysisQuery.IdentitySelectorOrBuilder |
static class |
IamPolicyAnalysisQuery.ResourceSelector
Specifies the resource to analyze for access policies, which may be set
directly on the resource, or on ancestors such as organizations, folders or
projects.
|
static interface |
IamPolicyAnalysisQuery.ResourceSelectorOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_SELECTOR_FIELD_NUMBER |
static int |
IDENTITY_SELECTOR_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
RESOURCE_SELECTOR_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
IamPolicyAnalysisQuery.AccessSelector |
getAccessSelector()
Optional.
|
IamPolicyAnalysisQuery.AccessSelectorOrBuilder |
getAccessSelectorOrBuilder()
Optional.
|
static IamPolicyAnalysisQuery |
getDefaultInstance() |
IamPolicyAnalysisQuery |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
IamPolicyAnalysisQuery.IdentitySelector |
getIdentitySelector()
Optional.
|
IamPolicyAnalysisQuery.IdentitySelectorOrBuilder |
getIdentitySelectorOrBuilder()
Optional.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<IamPolicyAnalysisQuery> |
getParserForType() |
IamPolicyAnalysisQuery.ResourceSelector |
getResourceSelector()
Optional.
|
IamPolicyAnalysisQuery.ResourceSelectorOrBuilder |
getResourceSelectorOrBuilder()
Optional.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAccessSelector()
Optional.
|
int |
hashCode() |
boolean |
hasIdentitySelector()
Optional.
|
boolean |
hasResourceSelector()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static IamPolicyAnalysisQuery.Builder |
newBuilder() |
static IamPolicyAnalysisQuery.Builder |
newBuilder(IamPolicyAnalysisQuery prototype) |
IamPolicyAnalysisQuery.Builder |
newBuilderForType() |
protected IamPolicyAnalysisQuery.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static IamPolicyAnalysisQuery |
parseDelimitedFrom(InputStream input) |
static IamPolicyAnalysisQuery |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisQuery |
parseFrom(byte[] data) |
static IamPolicyAnalysisQuery |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisQuery |
parseFrom(ByteBuffer data) |
static IamPolicyAnalysisQuery |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisQuery |
parseFrom(com.google.protobuf.ByteString data) |
static IamPolicyAnalysisQuery |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisQuery |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IamPolicyAnalysisQuery |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IamPolicyAnalysisQuery |
parseFrom(InputStream input) |
static IamPolicyAnalysisQuery |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IamPolicyAnalysisQuery> |
parser() |
IamPolicyAnalysisQuery.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PARENT_FIELD_NUMBER
public static final int RESOURCE_SELECTOR_FIELD_NUMBER
public static final int IDENTITY_SELECTOR_FIELD_NUMBER
public static final int ACCESS_SELECTOR_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getParent()
Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as "organizations/123") or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED];getParent in interface IamPolicyAnalysisQueryOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as "organizations/123") or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED];getParentBytes in interface IamPolicyAnalysisQueryOrBuilderpublic boolean hasResourceSelector()
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
hasResourceSelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.ResourceSelector getResourceSelector()
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
getResourceSelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder()
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
getResourceSelectorOrBuilder in interface IamPolicyAnalysisQueryOrBuilderpublic boolean hasIdentitySelector()
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
hasIdentitySelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector()
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
getIdentitySelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder()
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
getIdentitySelectorOrBuilder in interface IamPolicyAnalysisQueryOrBuilderpublic boolean hasAccessSelector()
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
hasAccessSelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.AccessSelector getAccessSelector()
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
getAccessSelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder()
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
getAccessSelectorOrBuilder in interface IamPolicyAnalysisQueryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static IamPolicyAnalysisQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IamPolicyAnalysisQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IamPolicyAnalysisQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IamPolicyAnalysisQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IamPolicyAnalysisQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IamPolicyAnalysisQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IamPolicyAnalysisQuery parseFrom(InputStream input) throws IOException
IOExceptionpublic static IamPolicyAnalysisQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IamPolicyAnalysisQuery parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static IamPolicyAnalysisQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IamPolicyAnalysisQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static IamPolicyAnalysisQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic IamPolicyAnalysisQuery.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static IamPolicyAnalysisQuery.Builder newBuilder()
public static IamPolicyAnalysisQuery.Builder newBuilder(IamPolicyAnalysisQuery prototype)
public IamPolicyAnalysisQuery.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected IamPolicyAnalysisQuery.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static IamPolicyAnalysisQuery getDefaultInstance()
public static com.google.protobuf.Parser<IamPolicyAnalysisQuery> parser()
public com.google.protobuf.Parser<IamPolicyAnalysisQuery> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public IamPolicyAnalysisQuery getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.