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