Class BetaServiceAccountTarget
-
- All Implemented Interfaces:
public final class BetaServiceAccountTargetBind to a fixed service account by ID.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaServiceAccountTarget.BuilderA builder for BetaServiceAccountTarget.
-
Method Summary
Modifier and Type Method Description final StringserviceAccountId()Tagged ID of the service account to mint tokens for. final Optional<String>serviceAccountName()Service account's display name at read time. 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")final JsonField<String>_serviceAccountId()Returns the raw JSON value of serviceAccountId. final JsonField<String>_serviceAccountName()Returns the raw JSON value of serviceAccountName. final Map<String, JsonValue>_additionalProperties()final BetaServiceAccountTarget.BuildertoBuilder()final BetaServiceAccountTargetvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaServiceAccountTarget.Builderbuilder()Returns a mutable builder for constructing an instance of BetaServiceAccountTarget. final static BetaServiceAccountTargetof(String serviceAccountId)Returns an immutable instance of BetaServiceAccountTarget with the required serviceAccountId set to the given value. -
-
Method Detail
-
serviceAccountId
final String serviceAccountId()
Tagged ID of the service account to mint tokens for.
-
serviceAccountName
final Optional<String> serviceAccountName()
Service account's display name at read time. Ignored on writes.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("service_account")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.
-
_serviceAccountName
final JsonField<String> _serviceAccountName()
Returns the raw JSON value of serviceAccountName.
Unlike serviceAccountName, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaServiceAccountTarget.Builder toBuilder()
-
validate
final BetaServiceAccountTarget 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 BetaServiceAccountTarget.Builder builder()
Returns a mutable builder for constructing an instance of BetaServiceAccountTarget.
The following fields are required:
.serviceAccountId()
-
of
final static BetaServiceAccountTarget of(String serviceAccountId)
Returns an immutable instance of BetaServiceAccountTarget with the required serviceAccountId set to the given value.
-
-
-
-