Class ServiceAccountUpdateParams.Body
-
- All Implemented Interfaces:
public final class ServiceAccountUpdateParams.BodyParameters for updating a project service account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classServiceAccountUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<String>name()The updated service account name. final Optional<ServiceAccountUpdateParams.Role>role()The updated service account role. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<ServiceAccountUpdateParams.Role>_role()Returns the raw JSON value of role. final Map<String, JsonValue>_additionalProperties()final ServiceAccountUpdateParams.Body.BuildertoBuilder()final ServiceAccountUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ServiceAccountUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
role
final Optional<ServiceAccountUpdateParams.Role> role()
The updated service account role.
-
_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<ServiceAccountUpdateParams.Role> _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 ServiceAccountUpdateParams.Body.Builder toBuilder()
-
validate
final ServiceAccountUpdateParams.Body 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 ServiceAccountUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-