Show / Hide Table of Contents

Class OrganizationsResource.UserGroupsResource

The "userGroups" collection of methods.

Inheritance
object
OrganizationsResource.UserGroupsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GoogleMarketingPlatformAdminAPI.v1alpha
Assembly: Google.Apis.GoogleMarketingPlatformAdminAPI.v1alpha.dll
Syntax
public class OrganizationsResource.UserGroupsResource

Constructors

UserGroupsResource(IClientService)

Constructs a new resource.

Declaration
public UserGroupsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Members

Gets the Members resource.

Declaration
public virtual OrganizationsResource.UserGroupsResource.MembersResource Members { get; }
Property Value
Type Description
OrganizationsResource.UserGroupsResource.MembersResource

Methods

Create(UserGroup, string)

Creates a user group in the specified GMP organization.

Declaration
public virtual OrganizationsResource.UserGroupsResource.CreateRequest Create(UserGroup body, string parent)
Parameters
Type Name Description
UserGroup body

The body of the request.

string parent

Required. The parent resource where this UserGroup will be created. Format: organizations/{org_id}

Returns
Type Description
OrganizationsResource.UserGroupsResource.CreateRequest

Delete(string)

Deletes a user group in the specified GMP organization.

Declaration
public virtual OrganizationsResource.UserGroupsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the user group to delete. Format: organizations/{org_id}/userGroups/{user_group_id}

Returns
Type Description
OrganizationsResource.UserGroupsResource.DeleteRequest

Get(string)

Looks up a single user group.

Declaration
public virtual OrganizationsResource.UserGroupsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the UserGroup to retrieve. Format: organizations/{org_id}/userGroups/{user_group_id}

Returns
Type Description
OrganizationsResource.UserGroupsResource.GetRequest

List(string)

Returns a list of user groups in the specified GMP organization.

Declaration
public virtual OrganizationsResource.UserGroupsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent org where this UserGroup will be listed. Format: organizations/{org_id}

Returns
Type Description
OrganizationsResource.UserGroupsResource.ListRequest

Patch(UserGroup, string)

Updates a user group in the specified GMP organization.

Declaration
public virtual OrganizationsResource.UserGroupsResource.PatchRequest Patch(UserGroup body, string name)
Parameters
Type Name Description
UserGroup body

The body of the request.

string name

Identifier. Resource name of this UserGroup. Format: organizations/{org_id}/userGroups/{user_group_id} Example: "organizations/123abc/userGroups/456def"

Returns
Type Description
OrganizationsResource.UserGroupsResource.PatchRequest
In this article
Back to top Generated by DocFX