Class ProjectApiKey.Owner
-
- All Implemented Interfaces:
public final class ProjectApiKey.Owner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectApiKey.Owner.BuilderA builder for Owner.
public final classProjectApiKey.Owner.ServiceAccountThe service account that owns a project API key.
public final classProjectApiKey.Owner.Typeuserorservice_accountpublic final classProjectApiKey.Owner.UserThe user that owns a project API key.
-
Method Summary
Modifier and Type Method Description final Optional<ProjectApiKey.Owner.ServiceAccount>serviceAccount()The service account that owns a project API key. final Optional<ProjectApiKey.Owner.Type>type()userorservice_accountfinal Optional<ProjectApiKey.Owner.User>user()The user that owns a project API key. final JsonField<ProjectApiKey.Owner.ServiceAccount>_serviceAccount()Returns the raw JSON value of serviceAccount. final JsonField<ProjectApiKey.Owner.Type>_type()Returns the raw JSON value of type. final JsonField<ProjectApiKey.Owner.User>_user()Returns the raw JSON value of user. final Map<String, JsonValue>_additionalProperties()final ProjectApiKey.Owner.BuildertoBuilder()final ProjectApiKey.Ownervalidate()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.Builderbuilder()Returns a mutable builder for constructing an instance of Owner. -
-
Method Detail
-
serviceAccount
final Optional<ProjectApiKey.Owner.ServiceAccount> serviceAccount()
The service account that owns a project API key.
-
type
final Optional<ProjectApiKey.Owner.Type> type()
userorservice_account
-
user
final Optional<ProjectApiKey.Owner.User> user()
The user that owns a project API key.
-
_serviceAccount
final JsonField<ProjectApiKey.Owner.ServiceAccount> _serviceAccount()
Returns the raw JSON value of serviceAccount.
Unlike serviceAccount, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<ProjectApiKey.Owner.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_user
final JsonField<ProjectApiKey.Owner.User> _user()
Returns the raw JSON value of user.
Unlike user, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectApiKey.Owner.Builder toBuilder()
-
validate
final ProjectApiKey.Owner 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.Builder builder()
Returns a mutable builder for constructing an instance of Owner.
-
-
-
-