Class ServiceAccountAddParams.Body
-
- All Implemented Interfaces:
public final class ServiceAccountAddParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classServiceAccountAddParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringserviceAccountId()Tagged service account ID to add. final BetaNoBillingWorkspaceRoleworkspaceRole()Role to assign to the service account in this workspace. final JsonField<String>_serviceAccountId()Returns the raw JSON value of serviceAccountId. final JsonField<BetaNoBillingWorkspaceRole>_workspaceRole()Returns the raw JSON value of workspaceRole. final Map<String, JsonValue>_additionalProperties()final ServiceAccountAddParams.Body.BuildertoBuilder()final ServiceAccountAddParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ServiceAccountAddParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
serviceAccountId
final String serviceAccountId()
Tagged service account ID to add.
-
workspaceRole
final BetaNoBillingWorkspaceRole workspaceRole()
Role to assign to the service account in this workspace.
-
_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.
-
_workspaceRole
final JsonField<BetaNoBillingWorkspaceRole> _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 ServiceAccountAddParams.Body.Builder toBuilder()
-
validate
final ServiceAccountAddParams.Body 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 ServiceAccountAddParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.serviceAccountId() .workspaceRole()
-
-
-
-