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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PrivilegedAccess.GcpIamAccessImplements
PrivilegedAccess.GcpIamAccessOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static PrivilegedAccess.GcpIamAccess.Builder newBuilder()
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess.Builder |
newBuilder(PrivilegedAccess.GcpIamAccess prototype)
public static PrivilegedAccess.GcpIamAccess.Builder newBuilder(PrivilegedAccess.GcpIamAccess prototype)
Parameter | |
---|---|
Name | Description |
prototype |
PrivilegedAccess.GcpIamAccess |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess.Builder |
parseDelimitedFrom(InputStream input)
public static PrivilegedAccess.GcpIamAccess parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivilegedAccess.GcpIamAccess parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static PrivilegedAccess.GcpIamAccess parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivilegedAccess.GcpIamAccess parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PrivilegedAccess.GcpIamAccess parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivilegedAccess.GcpIamAccess parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PrivilegedAccess.GcpIamAccess parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivilegedAccess.GcpIamAccess parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static PrivilegedAccess.GcpIamAccess parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivilegedAccess.GcpIamAccess parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PrivilegedAccess.GcpIamAccess parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivilegedAccess.GcpIamAccess parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PrivilegedAccess.GcpIamAccess> parser()
Returns | |
---|---|
Type | Description |
Parser<GcpIamAccess> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public PrivilegedAccess.GcpIamAccess getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess |
getParserForType()
public Parser<PrivilegedAccess.GcpIamAccess> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<GcpIamAccess> |
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 |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess.RoleBinding |
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];
Returns | |
---|---|
Type | Description |
List<RoleBinding> |
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 |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess.RoleBindingOrBuilder |
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 |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public PrivilegedAccess.GcpIamAccess.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PrivilegedAccess.GcpIamAccess.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public PrivilegedAccess.GcpIamAccess.Builder toBuilder()
Returns | |
---|---|
Type | Description |
PrivilegedAccess.GcpIamAccess.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |