Send feedback
Class PrivilegedAccess.GcpIamAccess (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
public static final class PrivilegedAccess . GcpIamAccess extends GeneratedMessageV3 implements PrivilegedAccess . GcpIamAccessOrBuilder
GcpIamAccess represents IAM based access control on a Google Cloud
resource. Refer to https://cloud.google.com/iam/docs to understand more
about IAM.
Protobuf type google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value
Type
Description
int
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
ROLE_BINDINGS_FIELD_NUMBER
public static final int ROLE_BINDINGS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static PrivilegedAccess . GcpIamAccess getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static PrivilegedAccess . GcpIamAccess . Builder newBuilder ()
newBuilder(PrivilegedAccess.GcpIamAccess prototype)
public static PrivilegedAccess . GcpIamAccess . Builder newBuilder ( PrivilegedAccess . GcpIamAccess prototype )
public static PrivilegedAccess . GcpIamAccess parseDelimitedFrom ( InputStream input )
public static PrivilegedAccess . GcpIamAccess parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static PrivilegedAccess . GcpIamAccess parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivilegedAccess . GcpIamAccess parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static PrivilegedAccess . GcpIamAccess parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivilegedAccess . GcpIamAccess parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static PrivilegedAccess . GcpIamAccess parseFrom ( CodedInputStream input )
public static PrivilegedAccess . GcpIamAccess parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static PrivilegedAccess . GcpIamAccess parseFrom ( InputStream input )
public static PrivilegedAccess . GcpIamAccess parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static PrivilegedAccess . GcpIamAccess parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivilegedAccess . GcpIamAccess parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<PrivilegedAccess . GcpIamAccess > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public PrivilegedAccess . GcpIamAccess getDefaultInstanceForType ()
getParserForType()
public Parser<PrivilegedAccess . GcpIamAccess > getParserForType ()
Overrides
getResource()
public String getResource ()
Required. Name of the resource.
string resource = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The resource.
getResourceBytes()
public ByteString getResourceBytes ()
Required. Name of the resource.
string resource = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for resource.
getResourceType()
public String getResourceType ()
Required. The type of this resource.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The resourceType.
getResourceTypeBytes()
public ByteString getResourceTypeBytes ()
Required. The type of this resource.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for resourceType.
getRoleBindings(int index)
public PrivilegedAccess . GcpIamAccess . RoleBinding getRoleBindings ( int index )
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
index
int
getRoleBindingsCount()
public int getRoleBindingsCount ()
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
getRoleBindingsList()
public List<PrivilegedAccess . GcpIamAccess . RoleBinding > getRoleBindingsList ()
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
getRoleBindingsOrBuilder(int index)
public PrivilegedAccess . GcpIamAccess . RoleBindingOrBuilder getRoleBindingsOrBuilder ( int index )
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
index
int
getRoleBindingsOrBuilderList()
public List <? extends PrivilegedAccess . GcpIamAccess . RoleBindingOrBuilder > getRoleBindingsOrBuilderList ()
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
List <? extends com.google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBindingOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public PrivilegedAccess . GcpIamAccess . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PrivilegedAccess . GcpIamAccess . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public PrivilegedAccess . GcpIamAccess . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-03 UTC."],[],[]]