Class BetaRbacConnectorToolPermissionResource
-
- All Implemented Interfaces:
public final class BetaRbacConnectorToolPermissionResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaRbacConnectorToolPermissionResource.BuilderA builder for BetaRbacConnectorToolPermissionResource.
-
Method Summary
Modifier and Type Method Description final StringconnectorId()ID of the connector the permission applies to. final StringtoolName()Published name of the connector tool the permission applies to. final JsonValue_type()Kind of resource the permission applies to. final JsonField<String>_connectorId()Returns the raw JSON value of connectorId. final JsonField<String>_toolName()Returns the raw JSON value of toolName. final Map<String, JsonValue>_additionalProperties()final BetaRbacConnectorToolPermissionResource.BuildertoBuilder()final BetaRbacConnectorToolPermissionResourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaRbacConnectorToolPermissionResource.Builderbuilder()Returns a mutable builder for constructing an instance of BetaRbacConnectorToolPermissionResource. -
-
Method Detail
-
connectorId
final String connectorId()
ID of the connector the permission applies to.
-
toolName
final String toolName()
Published name of the connector tool the permission applies to.
When the published name contains characters outside
[a-zA-Z0-9_-](or collides with a reserved form), it is server-encoded into a stable{prefix}_{32-hex}form — a shortened readable prefix of the name plus a hash — from which the published name is not recoverable.
-
_type
final JsonValue _type()
Kind of resource the permission applies to.
Expected to always return the following:
JsonValue.from("connector_tool")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_connectorId
final JsonField<String> _connectorId()
Returns the raw JSON value of connectorId.
Unlike connectorId, this method doesn't throw if the JSON field has an unexpected type.
-
_toolName
final JsonField<String> _toolName()
Returns the raw JSON value of toolName.
Unlike toolName, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaRbacConnectorToolPermissionResource.Builder toBuilder()
-
validate
final BetaRbacConnectorToolPermissionResource validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaRbacConnectorToolPermissionResource.Builder builder()
Returns a mutable builder for constructing an instance of BetaRbacConnectorToolPermissionResource.
The following fields are required:
.connectorId() .toolName()
-
-
-
-