OptionalattributesOptionalauthControls how the Postgres role authenticates when a client opens a database connection. Supported values:
postgres_role). No static password exists for roles using this method.If auth_method is left unspecified, a meaningful authentication method is derived from the identity_type:
NOTE: for the
This field is set when the role is created and cannot be changed.
When replacing an existing role with replace_existing=true, omit this
field or supply its current value. A differing value returns
INVALID_PARAMETER_VALUE and rejects the entire request, including changes
to mutable fields.
With * or masks containing only mutable fields, supplied values are ignored.
Including this field as an explicit path in update_mask returns
INVALID_PARAMETER_VALUE.
OptionalidentityThe type of role. When specifying a managed-identity, the chosen role_id must be a valid:
This field is set when the role is created and cannot be changed.
When replacing an existing role with replace_existing=true, omit this
field or supply its current value. A differing value returns
INVALID_PARAMETER_VALUE and rejects the entire request, including changes
to mutable fields.
With * or masks containing only mutable fields, supplied values are ignored.
Including this field as an explicit path in update_mask returns
INVALID_PARAMETER_VALUE.
OptionalmembershipAn enum value for a standard role that this role is a member of.
OptionalpostgresThe name of the Postgres role.
This expects a valid Postgres identifier as specified in the link below. https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
Required when creating the Role.
If you wish to create a Postgres Role backed by a managed
This field is set when the role is created and cannot be changed.
When replacing an existing role with replace_existing=true, omit this
field or supply its current value. A differing value returns
INVALID_PARAMETER_VALUE and rejects the entire request, including changes
to mutable fields.
With * or masks containing only mutable fields, supplied values are ignored.
Including this field as an explicit path in update_mask returns
INVALID_PARAMETER_VALUE.
The desired API-exposed Postgres role attribute to associate with the role. Optional.