Class FoldersResource.ContactsResource.SendTestMessageRequest
Allows a contact admin to send a test message to contact to verify that it has been configured correctly.
Inheritance
FoldersResource.ContactsResource.SendTestMessageRequest
Inherited Members
Namespace: Google.Apis.Essentialcontacts.v1
Assembly: Google.Apis.Essentialcontacts.v1.dll
Syntax
public class FoldersResource.ContactsResource.SendTestMessageRequest : EssentialcontactsBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest
Constructors
SendTestMessageRequest(IClientService, GoogleCloudEssentialcontactsV1SendTestMessageRequest, string)
Constructs a new SendTestMessage request.
Declaration
public SendTestMessageRequest(IClientService service, GoogleCloudEssentialcontactsV1SendTestMessageRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudEssentialcontactsV1SendTestMessageRequest | body | |
string | resource |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Resource
Required. The name of the resource to send the test message for. All contacts must either be set directly on this resource or inherited from another resource that is an ancestor of this one. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
Declaration
[RequestParameter("resource", RequestParameterType.Path)]
public virtual string Resource { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SendTestMessage parameter list.
Declaration
protected override void InitParameters()