public final class GcpUserAccessBinding extends GeneratedMessageV3 implements GcpUserAccessBindingOrBuilder
Restricts access to Cloud Console and Google Cloud APIs for a set of users
using Context-Aware Access.
Protobuf type google.identity.accesscontextmanager.v1.GcpUserAccessBinding
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ACCESS_LEVELS_FIELD_NUMBER
public static final int ACCESS_LEVELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GROUP_KEY_FIELD_NUMBER
public static final int GROUP_KEY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GcpUserAccessBinding getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GcpUserAccessBinding.Builder newBuilder()
newBuilder(GcpUserAccessBinding prototype)
public static GcpUserAccessBinding.Builder newBuilder(GcpUserAccessBinding prototype)
parseDelimitedFrom(InputStream input)
public static GcpUserAccessBinding parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GcpUserAccessBinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GcpUserAccessBinding parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GcpUserAccessBinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GcpUserAccessBinding parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcpUserAccessBinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static GcpUserAccessBinding parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GcpUserAccessBinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static GcpUserAccessBinding parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GcpUserAccessBinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GcpUserAccessBinding parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GcpUserAccessBinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GcpUserAccessBinding> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAccessLevels(int index)
public String getAccessLevels(int index)
Required. Access level that a user must have to be granted access. Only one access
level is supported, not multiple. This repeated field must have exactly
one element.
Example: "accessPolicies/9522/accessLevels/device_trusted"
repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The accessLevels at the given index.
|
getAccessLevelsBytes(int index)
public ByteString getAccessLevelsBytes(int index)
Required. Access level that a user must have to be granted access. Only one access
level is supported, not multiple. This repeated field must have exactly
one element.
Example: "accessPolicies/9522/accessLevels/device_trusted"
repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the accessLevels at the given index.
|
getAccessLevelsCount()
public int getAccessLevelsCount()
Required. Access level that a user must have to be granted access. Only one access
level is supported, not multiple. This repeated field must have exactly
one element.
Example: "accessPolicies/9522/accessLevels/device_trusted"
repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
int | The count of accessLevels.
|
getAccessLevelsList()
public ProtocolStringList getAccessLevelsList()
Required. Access level that a user must have to be granted access. Only one access
level is supported, not multiple. This repeated field must have exactly
one element.
Example: "accessPolicies/9522/accessLevels/device_trusted"
repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getDefaultInstanceForType()
public GcpUserAccessBinding getDefaultInstanceForType()
getGroupKey()
public String getGroupKey()
Required. Immutable. Google Group id whose members are subject to this binding's restrictions.
See "id" in the G Suite Directory API's Groups resource.
If a group's email address/alias is changed, this resource will continue
to point at the changed group. This field does not accept group email
addresses or aliases.
Example: "01d520gv4vjcrht"
string group_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
String | The groupKey.
|
getGroupKeyBytes()
public ByteString getGroupKeyBytes()
Required. Immutable. Google Group id whose members are subject to this binding's restrictions.
See "id" in the G Suite Directory API's Groups resource.
If a group's email address/alias is changed, this resource will continue
to point at the changed group. This field does not accept group email
addresses or aliases.
Example: "01d520gv4vjcrht"
string group_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
ByteString | The bytes for groupKey.
|
getName()
Immutable. Assigned by the server during creation. The last segment has an arbitrary
length and has only URI unreserved characters (as defined by
RFC 3986 Section 2.3).
Should not be specified by the client during creation.
Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Immutable. Assigned by the server during creation. The last segment has an arbitrary
length and has only URI unreserved characters (as defined by
RFC 3986 Section 2.3).
Should not be specified by the client during creation.
Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<GcpUserAccessBinding> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GcpUserAccessBinding.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GcpUserAccessBinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GcpUserAccessBinding.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides