Class BetaRbacConnectorScopePermissionResource
-
- All Implemented Interfaces:
public final class BetaRbacConnectorScopePermissionResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaRbacConnectorScopePermissionResource.BuilderA builder for BetaRbacConnectorScopePermissionResource.
-
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 BetaRbacConnectorScopePermissionResource.BuildertoBuilder()final BetaRbacConnectorScopePermissionResourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaRbacConnectorScopePermissionResource.Builderbuilder()Returns a mutable builder for constructing an instance of BetaRbacConnectorScopePermissionResource. -
-
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 BetaRbacConnectorScopePermissionResource.Builder toBuilder()
-
validate
final BetaRbacConnectorScopePermissionResource 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 BetaRbacConnectorScopePermissionResource.Builder builder()
Returns a mutable builder for constructing an instance of BetaRbacConnectorScopePermissionResource.
The following fields are required:
.connectorId() .scope()
-
-
-
-