Class ContactGroupsResource.DeleteRequest
Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.
Inheritance
System.Object
ContactGroupsResource.DeleteRequest
Inherited Members
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.PeopleService.v1
Assembly: Google.Apis.PeopleService.v1.dll
Syntax
public class DeleteRequest : PeopleServiceBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, String)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string resourceName)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | resourceName |
Properties
DeleteContacts
Optional. Set to true to also delete the contacts in the specified group.
Declaration
[RequestParameter("deleteContacts", RequestParameterType.Query)]
public virtual bool? DeleteContacts { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PeopleService.v1.Data.Empty>.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.PeopleService.v1.Data.Empty>.MethodName
ResourceName
Required. The resource name of the contact group to delete.
Declaration
[RequestParameter("resourceName", RequestParameterType.Path)]
public virtual string ResourceName { get; }
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.PeopleService.v1.Data.Empty>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.PeopleService.v1.PeopleServiceBaseServiceRequest<Google.Apis.PeopleService.v1.Data.Empty>.InitParameters()