Package com.google.cloud.asset.v1
Class AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
-
- All Implemented Interfaces:
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- AnalyzeOrgPolicyGovernedAssetsResponse
public static final class AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy extends com.google.protobuf.GeneratedMessageV3 implements AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
The IAM policies governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
Protobuf typegoogle.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
The IAM policies governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ATTACHED_RESOURCE_FIELD_NUMBER
static int
FOLDERS_FIELD_NUMBER
static int
ORGANIZATION_FIELD_NUMBER
static int
POLICY_FIELD_NUMBER
static int
PROJECT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAttachedResource()
The full resource name of the resource associated with this IAM policy.com.google.protobuf.ByteString
getAttachedResourceBytes()
The full resource name of the resource associated with this IAM policy.static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
getDefaultInstance()
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFolders(int index)
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ByteString
getFoldersBytes(int index)
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.int
getFoldersCount()
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ProtocolStringList
getFoldersList()
The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.String
getOrganization()
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.protobuf.ByteString
getOrganizationBytes()
The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.protobuf.Parser<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy>
getParserForType()
com.google.iam.v1.Policy
getPolicy()
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 this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.com.google.protobuf.ByteString
getProjectBytes()
The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.int
getSerializedSize()
int
hashCode()
boolean
hasPolicy()
The IAM policy directly set on the given resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
newBuilder()
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
newBuilder(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy prototype)
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
newBuilderForType()
protected AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseDelimitedFrom(InputStream input)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(byte[] data)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(com.google.protobuf.ByteString data)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(com.google.protobuf.CodedInputStream input)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(InputStream input)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(ByteBuffer data)
static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy>
parser()
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ATTACHED_RESOURCE_FIELD_NUMBER
public static final int ATTACHED_RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLICY_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FOLDERS_FIELD_NUMBER
public static final int FOLDERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORGANIZATION_FIELD_NUMBER
public static final int ORGANIZATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getAttachedResource
public String getAttachedResource()
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.
string attached_resource = 1;
- Specified by:
getAttachedResource
in interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
- Returns:
- The attachedResource.
-
getAttachedResourceBytes
public com.google.protobuf.ByteString getAttachedResourceBytes()
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.
string attached_resource = 1;
- Specified by:
getAttachedResourceBytes
in interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
- Returns:
- The bytes for attachedResource.
-
hasPolicy
public boolean hasPolicy()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
- Specified by:
hasPolicy
in interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
- Returns:
- Whether the policy field is set.
-
getPolicy
public com.google.iam.v1.Policy getPolicy()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
- Specified by:
getPolicy
in interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
- Returns:
- The policy.
-
getPolicyOrBuilder
public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
The IAM policy directly set on the given resource.
.google.iam.v1.Policy policy = 2;
- Specified by:
getPolicyOrBuilder
in interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
-
getProject
public String 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:
getProject
in 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:
getProjectBytes
in interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
- Returns:
- The bytes for project.
-
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:
getFoldersList
in 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:
getFoldersCount
in interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
- Returns:
- The count of folders.
-
getFolders
public String getFolders(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:
getFolders
in 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:
getFoldersBytes
in interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the folders at the given index.
-
getOrganization
public String 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:
getOrganization
in 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:
getOrganizationBytes
in interfaceAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder
- Returns:
- The bytes for organization.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder newBuilder()
-
newBuilder
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder newBuilder(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy prototype)
-
toBuilder
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-