Show / Hide Table of Contents

Class GroupsResource.MembershipsResource.GetMembershipGraphRequest

Get a membership graph of just a member or both a member and a group. Note: This feature is only available to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium accounts. If the account of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be returned. Given a member, the response will contain all membership paths from the member. Given both a group and a member, the response will contain all membership paths between the group and the member.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Operation>
CloudIdentityBaseServiceRequest<Operation>
GroupsResource.MembershipsResource.GetMembershipGraphRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Operation>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
CloudIdentityBaseServiceRequest<Operation>.Xgafv
CloudIdentityBaseServiceRequest<Operation>.AccessToken
CloudIdentityBaseServiceRequest<Operation>.Alt
CloudIdentityBaseServiceRequest<Operation>.Callback
CloudIdentityBaseServiceRequest<Operation>.Fields
CloudIdentityBaseServiceRequest<Operation>.Key
CloudIdentityBaseServiceRequest<Operation>.OauthToken
CloudIdentityBaseServiceRequest<Operation>.PrettyPrint
CloudIdentityBaseServiceRequest<Operation>.QuotaUser
CloudIdentityBaseServiceRequest<Operation>.UploadType
CloudIdentityBaseServiceRequest<Operation>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class GetMembershipGraphRequest : CloudIdentityBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest

Constructors

GetMembershipGraphRequest(IClientService, String)

Constructs a new GetMembershipGraph request.

Declaration
public GetMembershipGraphRequest(IClientService service, string parent)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
System.String parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.MethodName

Parent

Required. Resource name of the group to search transitive memberships in. Format: groups/{group}, where group is the unique ID assigned to the Group to which the Membership belongs to. group can be a wildcard collection id "-". When a group is specified, the membership graph will be constrained to paths between the member (defined in the query) and the parent. If a wildcard collection is provided, all membership paths connected to the member will be returned.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
System.String

Query

Required. A CEL expression that MUST include member specification AND label(s). Certain groups are uniquely identified by both a 'member_key_id' and a 'member_key_namespace', which requires an additional query input: 'member_key_namespace'. Example query: member_key_id == &apos;member_key_id_value&apos; &amp;amp;&amp;amp; in labels

Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.RestPath

Methods

InitParameters()

Initializes GetMembershipGraph parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudIdentity.v1.CloudIdentityBaseServiceRequest<Google.Apis.CloudIdentity.v1.Data.Operation>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top