Class ProjectApiKey.Owner.ServiceAccount.Builder
-
- All Implemented Interfaces:
public final class ProjectApiKey.Owner.ServiceAccount.BuilderA builder for ServiceAccount.
-
-
Method Summary
-
-
Method Detail
-
id
final ProjectApiKey.Owner.ServiceAccount.Builder id(String id)
The identifier, which can be referenced in API endpoints
-
id
final ProjectApiKey.Owner.ServiceAccount.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final ProjectApiKey.Owner.ServiceAccount.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) of when the service account was created.
-
createdAt
final ProjectApiKey.Owner.ServiceAccount.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final ProjectApiKey.Owner.ServiceAccount.Builder name(String name)
The name of the service account.
-
name
final ProjectApiKey.Owner.ServiceAccount.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
role
final ProjectApiKey.Owner.ServiceAccount.Builder role(String role)
The service account's project role.
-
role
final ProjectApiKey.Owner.ServiceAccount.Builder role(JsonField<String> role)
Sets Builder.role to an arbitrary JSON value.
You should usually call Builder.role with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ProjectApiKey.Owner.ServiceAccount.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ProjectApiKey.Owner.ServiceAccount.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ProjectApiKey.Owner.ServiceAccount.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ProjectApiKey.Owner.ServiceAccount.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ProjectApiKey.Owner.ServiceAccount.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ProjectApiKey.Owner.ServiceAccount build()
Returns an immutable instance of ServiceAccount.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .name() .role()
-
-
-
-