Class ProjectApiKey.Owner.ServiceAccount
-
- All Implemented Interfaces:
public final class ProjectApiKey.Owner.ServiceAccountThe service account that owns a project API key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectApiKey.Owner.ServiceAccount.BuilderA builder for ServiceAccount.
-
Method Summary
Modifier and Type Method Description final Stringid()The identifier, which can be referenced in API endpoints final LongcreatedAt()The Unix timestamp (in seconds) of when the service account was created. final Stringname()The name of the service account. final Stringrole()The service account's project role. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_role()Returns the raw JSON value of role. final Map<String, JsonValue>_additionalProperties()final ProjectApiKey.Owner.ServiceAccount.BuildertoBuilder()final ProjectApiKey.Owner.ServiceAccountvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectApiKey.Owner.ServiceAccount.Builderbuilder()Returns a mutable builder for constructing an instance of ServiceAccount. -
-
Method Detail
-
createdAt
final Long createdAt()
The Unix timestamp (in seconds) of when the service account was created.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_role
final JsonField<String> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectApiKey.Owner.ServiceAccount.Builder toBuilder()
-
validate
final ProjectApiKey.Owner.ServiceAccount 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 ProjectApiKey.Owner.ServiceAccount.Builder builder()
Returns a mutable builder for constructing an instance of ServiceAccount.
The following fields are required:
.id() .createdAt() .name() .role()
-
-
-
-