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 classAnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.BuilderThe 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 intATTACHED_RESOURCE_FIELD_NUMBERstatic intFOLDERS_FIELD_NUMBERstatic intORGANIZATION_FIELD_NUMBERstatic intPOLICY_FIELD_NUMBERstatic intPROJECT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAttachedResource()The full resource name of the resource associated with this IAM policy.com.google.protobuf.ByteStringgetAttachedResourceBytes()The full resource name of the resource associated with this IAM policy.static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicygetDefaultInstance()AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFolders(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}.intgetFoldersCount()The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ProtocolStringListgetFoldersList()The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.StringgetOrganization()The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.protobuf.ByteStringgetOrganizationBytes()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.PolicygetPolicy()The IAM policy directly set on the given resource.com.google.iam.v1.PolicyOrBuildergetPolicyOrBuilder()The IAM policy directly set on the given resource.StringgetProject()The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.com.google.protobuf.ByteStringgetProjectBytes()The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.intgetSerializedSize()inthashCode()booleanhasPolicy()The IAM policy directly set on the given resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.BuildernewBuilder()static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.BuildernewBuilder(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy prototype)AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.BuildernewBuilderForType()protected AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseDelimitedFrom(InputStream input)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(byte[] data)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(com.google.protobuf.ByteString data)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(com.google.protobuf.CodedInputStream input)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(InputStream input)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(ByteBuffer data)static AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy>parser()AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
getAttachedResourcein 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:
getAttachedResourceBytesin 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:
hasPolicyin 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:
getPolicyin 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:
getPolicyOrBuilderin 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:
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.
-
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
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:
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.
-
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:
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-