Class BetaServiceAccountWorkspaceMember
-
- All Implemented Interfaces:
public final class BetaServiceAccountWorkspaceMember
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaServiceAccountWorkspaceMember.BuilderA builder for BetaServiceAccountWorkspaceMember.
-
Method Summary
Modifier and Type Method Description final Optional<String>createdByActorId()Tagged ID ( user_.../svac_...) of the actor who created this membership.final Optional<Boolean>implicit()True when this is the implicit default-workspace membership every service account has when no explicit membership exists. final StringserviceAccountId()Tagged service account ID ( svac_...).final StringworkspaceId()Tagged workspace ID ( wrkspc_...).final BetaWorkspaceRoleworkspaceRole()Role of the service account in this workspace. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("service_account_workspace_member")final JsonField<String>_createdByActorId()Returns the raw JSON value of createdByActorId. final JsonField<Boolean>_implicit()Returns the raw JSON value of implicit. final JsonField<String>_serviceAccountId()Returns the raw JSON value of serviceAccountId. final JsonField<String>_workspaceId()Returns the raw JSON value of workspaceId. final JsonField<BetaWorkspaceRole>_workspaceRole()Returns the raw JSON value of workspaceRole. final Map<String, JsonValue>_additionalProperties()final BetaServiceAccountWorkspaceMember.BuildertoBuilder()final BetaServiceAccountWorkspaceMembervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaServiceAccountWorkspaceMember.Builderbuilder()Returns a mutable builder for constructing an instance of BetaServiceAccountWorkspaceMember. -
-
Method Detail
-
createdByActorId
final Optional<String> createdByActorId()
Tagged ID (
user_.../svac_...) of the actor who created this membership.
-
implicit
final Optional<Boolean> implicit()
True when this is the implicit default-workspace membership every service account has when no explicit membership exists. Implicit memberships have role
workspace_userand cannot be removed.
-
serviceAccountId
final String serviceAccountId()
Tagged service account ID (
svac_...).
-
workspaceId
final String workspaceId()
Tagged workspace ID (
wrkspc_...).
-
workspaceRole
final BetaWorkspaceRole workspaceRole()
Role of the service account in this workspace. Service accounts cannot hold the
workspace_billingrole.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("service_account_workspace_member")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_createdByActorId
final JsonField<String> _createdByActorId()
Returns the raw JSON value of createdByActorId.
Unlike createdByActorId, this method doesn't throw if the JSON field has an unexpected type.
-
_implicit
final JsonField<Boolean> _implicit()
Returns the raw JSON value of implicit.
Unlike implicit, this method doesn't throw if the JSON field has an unexpected type.
-
_serviceAccountId
final JsonField<String> _serviceAccountId()
Returns the raw JSON value of serviceAccountId.
Unlike serviceAccountId, this method doesn't throw if the JSON field has an unexpected type.
-
_workspaceId
final JsonField<String> _workspaceId()
Returns the raw JSON value of workspaceId.
Unlike workspaceId, this method doesn't throw if the JSON field has an unexpected type.
-
_workspaceRole
final JsonField<BetaWorkspaceRole> _workspaceRole()
Returns the raw JSON value of workspaceRole.
Unlike workspaceRole, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaServiceAccountWorkspaceMember.Builder toBuilder()
-
validate
final BetaServiceAccountWorkspaceMember 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 BetaServiceAccountWorkspaceMember.Builder builder()
Returns a mutable builder for constructing an instance of BetaServiceAccountWorkspaceMember.
The following fields are required:
.createdByActorId() .implicit() .serviceAccountId() .workspaceId() .workspaceRole()
-
-
-
-