Class: Anthropic::Models::Beta::Organization::RBACRoles::BetaRBACConnectorScopePermissionResource
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::RBACRoles::BetaRBACConnectorScopePermissionResource
- Defined in:
- lib/anthropic/models/beta/organization/rbac_roles/beta_rbac_connector_scope_permission_resource.rb,
sig/anthropic/models/beta/organization/rbac_roles/beta_rbac_connector_scope_permission_resource.rbs
Instance Attribute Summary collapse
-
#connector_id ⇒ String
ID of the connector the permission applies to.
-
#scope ⇒ String
OAuth scope the permission names — the role may receive this scope when tokens are minted for the connector.
-
#type ⇒ Symbol, :connector_scope
Kind of resource the permission applies to.
Instance Method Summary collapse
-
#initialize(connector_id:, scope:, type: :connector_scope) ⇒ void
constructor
Some parameter documentations has been truncated, see BetaRBACConnectorScopePermissionResource for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(connector_id:, scope:, type: :connector_scope) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::RBACRoles::BetaRBACConnectorScopePermissionResource for more details.
|
|
# File 'lib/anthropic/models/beta/organization/rbac_roles/beta_rbac_connector_scope_permission_resource.rb', line 33
|
Instance Attribute Details
#connector_id ⇒ String
ID of the connector the permission applies to.
13 |
# File 'lib/anthropic/models/beta/organization/rbac_roles/beta_rbac_connector_scope_permission_resource.rb', line 13 required :connector_id, String |
#scope ⇒ String
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.
25 |
# File 'lib/anthropic/models/beta/organization/rbac_roles/beta_rbac_connector_scope_permission_resource.rb', line 25 required :scope, String |
#type ⇒ Symbol, :connector_scope
Kind of resource the permission applies to.
31 |
# File 'lib/anthropic/models/beta/organization/rbac_roles/beta_rbac_connector_scope_permission_resource.rb', line 31 required :type, const: :connector_scope |
Instance Method Details
#to_hash ⇒ {
22 |
# File 'sig/anthropic/models/beta/organization/rbac_roles/beta_rbac_connector_scope_permission_resource.rbs', line 22 def to_hash: -> { |