GoogleApi.CloudIdentity.V1.Model.ModifyMembershipRolesRequest (google_api_cloud_identity v0.20.0) View Source

The request message for MembershipsService.ModifyMembershipRoles.

Attributes

  • addRoles (type: list(GoogleApi.CloudIdentity.V1.Model.MembershipRole.t), default: nil) - The MembershipRoles to be added. Adding or removing roles in the same request as updating roles is not supported. Must not be set if update_roles_params is set.
  • removeRoles (type: list(String.t), default: nil) - The names of the MembershipRoles to be removed. Adding or removing roles in the same request as updating roles is not supported. It is not possible to remove the MEMBER MembershipRole. If you wish to delete a Membership, call MembershipsService.DeleteMembership instead. Must not contain MEMBER. Must not be set if update_roles_params is set.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudIdentity.V1.Model.ModifyMembershipRolesRequest{
  addRoles: [GoogleApi.CloudIdentity.V1.Model.MembershipRole.t()],
  removeRoles: [String.t()]
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.