Class ContactGroupsResource.GetRequest
Get a specific contact group owned by the authenticated user by specifying a contact group resource name.
Inheritance
ContactGroupsResource.GetRequest
Inherited Members
Namespace: Google.Apis.PeopleService.v1
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class ContactGroupsResource.GetRequest : PeopleServiceBaseServiceRequest<ContactGroup>, IClientServiceRequest<ContactGroup>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string resourceName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | resourceName |
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PeopleService.v1.Data.ContactGroup>.HttpMethod
MaxMembers
Optional. Specifies the maximum number of members to return. 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PeopleService.v1.Data.ContactGroup>.MethodName
ResourceName
Required. The resource name of the contact group to get.
Declaration
[RequestParameter("resourceName", RequestParameterType.Path)]
public virtual string ResourceName { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PeopleService.v1.Data.ContactGroup>.RestPath
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()