Class ServiceAccountCreateResponse.ApiKey
-
- All Implemented Interfaces:
public final class ServiceAccountCreateResponse.ApiKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classServiceAccountCreateResponse.ApiKey.BuilderA builder for ApiKey.
-
Method Summary
Modifier and Type Method Description final Stringid()final LongcreatedAt()final Stringname()final JsonValue_object_()The object type, which is always organization.project.service_account.api_keyExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("organization.project.service_account.api_key")final Stringvalue()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>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final ServiceAccountCreateResponse.ApiKey.BuildertoBuilder()final ServiceAccountCreateResponse.ApiKeyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ServiceAccountCreateResponse.ApiKey.Builderbuilder()Returns a mutable builder for constructing an instance of ApiKey. -
-
Method Detail
-
_object_
final JsonValue _object_()
The object type, which is always
organization.project.service_account.api_keyExpected to always return the following:
JsonValue.from("organization.project.service_account.api_key")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_value
final JsonField<String> _value()
Returns the raw JSON value of value.
Unlike value, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ServiceAccountCreateResponse.ApiKey.Builder toBuilder()
-
validate
final ServiceAccountCreateResponse.ApiKey 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 ServiceAccountCreateResponse.ApiKey.Builder builder()
Returns a mutable builder for constructing an instance of ApiKey.
The following fields are required:
.id() .createdAt() .name() .value()
-
-
-
-