Class BetaApiKeyServiceAccountActor
-
- All Implemented Interfaces:
public final class BetaApiKeyServiceAccountActor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaApiKeyServiceAccountActor.BuilderA builder for BetaApiKeyServiceAccountActor.
-
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 BetaApiKeyServiceAccountActor.BuildertoBuilder()final BetaApiKeyServiceAccountActorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaApiKeyServiceAccountActor.Builderbuilder()Returns a mutable builder for constructing an instance of BetaApiKeyServiceAccountActor. final static BetaApiKeyServiceAccountActorof(String serviceAccountId)Returns an immutable instance of BetaApiKeyServiceAccountActor 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 BetaApiKeyServiceAccountActor.Builder toBuilder()
-
validate
final BetaApiKeyServiceAccountActor 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 BetaApiKeyServiceAccountActor.Builder builder()
Returns a mutable builder for constructing an instance of BetaApiKeyServiceAccountActor.
The following fields are required:
.serviceAccountId()
-
of
final static BetaApiKeyServiceAccountActor of(String serviceAccountId)
Returns an immutable instance of BetaApiKeyServiceAccountActor with the required serviceAccountId set to the given value.
-
-
-
-