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

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.
  • updateRolesParams (type: list(GoogleApi.CloudIdentity.V1.Model.UpdateMembershipRolesParams.t), default: nil) - The MembershipRoles to be updated. Updating roles in the same request as adding or removing roles is not supported. Must not be set if either add_roles or remove_roles is set.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudIdentity.V1.Model.ModifyMembershipRolesRequest{
  addRoles: [GoogleApi.CloudIdentity.V1.Model.MembershipRole.t()] | nil,
  removeRoles: [String.t()] | nil,
  updateRolesParams:
    [GoogleApi.CloudIdentity.V1.Model.UpdateMembershipRolesParams.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.