
target.apidocs.com.google.api.services.cloudidentity.v1.CloudIdentity.Groups.Memberships.html Maven / Gradle / Ivy
CloudIdentity.Groups.Memberships (Cloud Identity API v1-rev20190219-1.26.0)
com.google.api.services.cloudidentity.v1
Class CloudIdentity.Groups.Memberships
- java.lang.Object
-
- com.google.api.services.cloudidentity.v1.CloudIdentity.Groups.Memberships
-
- Enclosing class:
- CloudIdentity.Groups
public class CloudIdentity.Groups.Memberships
extends Object
The "memberships" collection of methods.
-
-
Nested Class Summary
Nested Classes
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
-
Constructor Summary
Constructors
Constructor and Description
Memberships()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CloudIdentity.Groups.Memberships.Create
create(String parent,
Membership content)
Creates a Membership.
CloudIdentity.Groups.Memberships.Delete
delete(String name)
Deletes a Membership.
CloudIdentity.Groups.Memberships.Get
get(String name)
Retrieves a Membership.
CloudIdentity.Groups.Memberships.List
list(String parent)
List Memberships within a Group.
CloudIdentity.Groups.Memberships.Lookup
lookup(String parent)
Looks up [resource name](https://cloud.google.com/apis/design/resource_names) of a Membership
within a Group by member's EntityKey.
-
-
Method Detail
-
create
public CloudIdentity.Groups.Memberships.Create create(String parent,
Membership content)
throws IOException
Creates a Membership.
Create a request for the method "memberships.create".
This request holds the parameters needed by the cloudidentity server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- [Resource name](https://cloud.google.com/apis/design/resource_names) of the
Group to create
Membership within. Format: `groups/{group_id}`, where
`group_id` is the unique ID assigned
to the Group.
content
- the Membership
- Returns:
- the request
- Throws:
IOException
-
delete
public CloudIdentity.Groups.Memberships.Delete delete(String name)
throws IOException
Deletes a Membership.
Create a request for the method "memberships.delete".
This request holds the parameters needed by the cloudidentity server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- [Resource name](https://cloud.google.com/apis/design/resource_names) of the
Membership to be
deleted.
Format: `groups/{group_id}/memberships/{member_id}`, where `group_id` is
the
unique ID assigned to the Group to which Membership belongs to, and
member_id is the
unique ID assigned to the member.
- Returns:
- the request
- Throws:
IOException
-
get
public CloudIdentity.Groups.Memberships.Get get(String name)
throws IOException
Retrieves a Membership.
Create a request for the method "memberships.get".
This request holds the parameters needed by the cloudidentity server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- [Resource name](https://cloud.google.com/apis/design/resource_names) of the
Membership to be
retrieved.
Format: `groups/{group_id}/memberships/{member_id}`, where `group_id` is
the
unique id assigned to the Group to which Membership belongs to, and
`member_id` is the
unique ID assigned to the member.
- Returns:
- the request
- Throws:
IOException
-
list
public CloudIdentity.Groups.Memberships.List list(String parent)
throws IOException
List Memberships within a Group.
Create a request for the method "memberships.list".
This request holds the parameters needed by the cloudidentity server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- [Resource name](https://cloud.google.com/apis/design/resource_names) of the
Group to list
Memberships within.
Format: `groups/{group_id}`, where `group_id` is the unique ID
assigned to
the Group.
- Returns:
- the request
- Throws:
IOException
-
lookup
public CloudIdentity.Groups.Memberships.Lookup lookup(String parent)
throws IOException
Looks up [resource name](https://cloud.google.com/apis/design/resource_names) of a Membership
within a Group by member's EntityKey.
Create a request for the method "memberships.lookup".
This request holds the parameters needed by the cloudidentity server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- [Resource name](https://cloud.google.com/apis/design/resource_names) of the
Group to lookup
Membership within.
Format: `groups/{group_id}`, where `group_id` is the unique ID assigned
to
the Group.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy