Class UrlNotificationsResource.PublishRequest
Notifies that a URL has been updated or deleted.
Inheritance
UrlNotificationsResource.PublishRequest
Inherited Members
Namespace: Google.Apis.Indexing.v3
Assembly: Google.Apis.Indexing.v3.dll
Syntax
public class UrlNotificationsResource.PublishRequest : IndexingBaseServiceRequest<PublishUrlNotificationResponse>, IClientServiceRequest<PublishUrlNotificationResponse>, IClientServiceRequest
Constructors
PublishRequest(IClientService, UrlNotification)
Constructs a new Publish request.
Declaration
public PublishRequest(IClientService service, UrlNotification body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UrlNotification | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Indexing.v3.Data.PublishUrlNotificationResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Indexing.v3.Data.PublishUrlNotificationResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Indexing.v3.Data.PublishUrlNotificationResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Indexing.v3.Data.PublishUrlNotificationResponse>.GetBody()
InitParameters()
Initializes Publish parameter list.
Declaration
protected override void InitParameters()