Class ApiKeyServiceAccountActor
-
- All Implemented Interfaces:
public final class ApiKeyServiceAccountActor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classApiKeyServiceAccountActor.BuilderA builder for ApiKeyServiceAccountActor.
-
Method Summary
Modifier and Type Method Description final StringserviceAccountId()ID of the Service Account the API key acts as. final JsonValue_type()Principal type. final JsonField<String>_serviceAccountId()Returns the raw JSON value of serviceAccountId. final Map<String, JsonValue>_additionalProperties()final ApiKeyServiceAccountActor.BuildertoBuilder()final ApiKeyServiceAccountActorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ApiKeyServiceAccountActor.Builderbuilder()Returns a mutable builder for constructing an instance of ApiKeyServiceAccountActor. final static ApiKeyServiceAccountActorof(String serviceAccountId)Returns an immutable instance of ApiKeyServiceAccountActor with the required serviceAccountId set to the given value. -
-
Method Detail
-
serviceAccountId
final String serviceAccountId()
ID of the Service Account the API key acts as.
-
_type
final JsonValue _type()
Principal type. Always
"service_account_actor"for a Service Account.Expected to always return the following:
JsonValue.from("service_account_actor")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ApiKeyServiceAccountActor.Builder toBuilder()
-
validate
final ApiKeyServiceAccountActor 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 ApiKeyServiceAccountActor.Builder builder()
Returns a mutable builder for constructing an instance of ApiKeyServiceAccountActor.
The following fields are required:
.serviceAccountId()
-
of
final static ApiKeyServiceAccountActor of(String serviceAccountId)
Returns an immutable instance of ApiKeyServiceAccountActor with the required serviceAccountId set to the given value.
-
-
-
-