Class RbacConnectorScopePermissionResource
-
- All Implemented Interfaces:
public final class RbacConnectorScopePermissionResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRbacConnectorScopePermissionResource.BuilderA builder for RbacConnectorScopePermissionResource.
-
Method Summary
Modifier and Type Method Description final StringconnectorId()ID of the connector the permission applies to. final Stringscope()OAuth scope the permission names — the role may receive this scope when tokens are minted for the connector. final JsonValue_type()Kind of resource the permission applies to. final JsonField<String>_connectorId()Returns the raw JSON value of connectorId. final JsonField<String>_scope()Returns the raw JSON value of scope. final Map<String, JsonValue>_additionalProperties()final RbacConnectorScopePermissionResource.BuildertoBuilder()final RbacConnectorScopePermissionResourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RbacConnectorScopePermissionResource.Builderbuilder()Returns a mutable builder for constructing an instance of RbacConnectorScopePermissionResource. -
-
Method Detail
-
connectorId
final String connectorId()
ID of the connector the permission applies to.
-
scope
final String scope()
OAuth scope the permission names — the role may receive this scope when tokens are minted for the connector.
Subject to the same encoding rule as
tool_name: a scope containing characters outside[a-zA-Z0-9_-](or colliding with a reserved form) appears server-encoded in a stable{prefix}_{32-hex}form. OAuth scopes routinely contain:and/, so most appear encoded.
-
_type
final JsonValue _type()
Kind of resource the permission applies to.
Expected to always return the following:
JsonValue.from("connector_scope")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.
-
_scope
final JsonField<String> _scope()
Returns the raw JSON value of scope.
Unlike scope, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RbacConnectorScopePermissionResource.Builder toBuilder()
-
validate
final RbacConnectorScopePermissionResource 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 RbacConnectorScopePermissionResource.Builder builder()
Returns a mutable builder for constructing an instance of RbacConnectorScopePermissionResource.
The following fields are required:
.connectorId() .scope()
-
-
-
-