public class CloudIdentity.Groups.Memberships
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudIdentity.Groups.Memberships.Create |
class |
CloudIdentity.Groups.Memberships.Delete |
class |
CloudIdentity.Groups.Memberships.Get |
class |
CloudIdentity.Groups.Memberships.List |
class |
CloudIdentity.Groups.Memberships.Lookup |
class |
CloudIdentity.Groups.Memberships.ModifyMembershipRoles |
| Constructor and Description |
|---|
Memberships() |
| Modifier and Type | Method and Description |
|---|---|
CloudIdentity.Groups.Memberships.Create |
create(java.lang.String parent,
Membership content)
Creates a `Membership`.
|
CloudIdentity.Groups.Memberships.Delete |
delete(java.lang.String name)
Deletes a `Membership`.
|
CloudIdentity.Groups.Memberships.Get |
get(java.lang.String name)
Retrieves a `Membership`.
|
CloudIdentity.Groups.Memberships.List |
list(java.lang.String parent)
Lists the `Membership`s within a `Group`.
|
CloudIdentity.Groups.Memberships.Lookup |
lookup(java.lang.String parent)
Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a
`Membership` by its `EntityKey`.
|
CloudIdentity.Groups.Memberships.ModifyMembershipRoles |
modifyMembershipRoles(java.lang.String name,
ModifyMembershipRolesRequest content)
Modifies the `MembershipRole`s of a `Membership`.
|
public CloudIdentity.Groups.Memberships.Create create(java.lang.String parent, Membership content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent `Group` resource under which to create the `Membership`.
Must be of the form
`groups/{group_id}`.content - the Membershipjava.io.IOExceptionpublic CloudIdentity.Groups.Memberships.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of
the
`Membership` to delete.
Must be of the form
`groups/{group_id}/memberships/{membership_id}`.java.io.IOExceptionpublic CloudIdentity.Groups.Memberships.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of
the
`Membership` to retrieve.
Must be of the form
`groups/{group_id}/memberships/{membership_id}`.java.io.IOExceptionpublic CloudIdentity.Groups.Memberships.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent `Group` resource under which to lookup the `Membership` name.
Must be of the
form `groups/{group_id}`.java.io.IOExceptionpublic CloudIdentity.Groups.Memberships.Lookup lookup(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent `Group` resource under which to lookup the `Membership` name.
Must be of the
form `groups/{group_id}`.java.io.IOExceptionpublic CloudIdentity.Groups.Memberships.ModifyMembershipRoles modifyMembershipRoles(java.lang.String name, ModifyMembershipRolesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.name - Required. The [resource name](https://cloud.google.com/apis/design/resource_names) of
the
`Membership` whose roles are to be modified.
Must be of the form
`groups/{group_id}/memberships/{membership_id}`.content - the ModifyMembershipRolesRequestjava.io.IOException