Class ContactGroupsResource.BatchGetRequest
Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.
Inheritance
ContactGroupsResource.BatchGetRequest
Inherited Members
Namespace: Google.Apis.PeopleService.v1
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class ContactGroupsResource.BatchGetRequest : PeopleServiceBaseServiceRequest<BatchGetContactGroupsResponse>, IClientServiceRequest<BatchGetContactGroupsResponse>, IClientServiceRequest
Constructors
BatchGetRequest(IClientService)
Constructs a new BatchGet request.
Declaration
public BatchGetRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
GroupFields
Optional. A field mask to restrict which fields on the group are returned. Defaults to metadata,
groupType, memberCount, and name if not set or set to empty. Valid fields are: * clientData *
groupType * memberCount * metadata * name
Declaration
[RequestParameter("groupFields", RequestParameterType.Query)]
public virtual object GroupFields { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MaxMembers
Optional. Specifies the maximum number of members to return for each group. Defaults to 0 if not set, which will return zero members.
Declaration
[RequestParameter("maxMembers", RequestParameterType.Query)]
public virtual int? MaxMembers { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ResourceNames
Required. The resource names of the contact groups to get. There is a maximum of 200 resource names.
Declaration
[RequestParameter("resourceNames", RequestParameterType.Query)]
public virtual Repeatable<string> ResourceNames { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes BatchGet parameter list.
Declaration
protected override void InitParameters()