Class UrlNotificationsResource.GetMetadataRequest
Gets metadata about a Web Document. This method can only be used to query URLs that were previously seen
in successful Indexing API notifications. Includes the latest UrlNotification received via this API.
Inheritance
UrlNotificationsResource.GetMetadataRequest
Inherited Members
Namespace: Google.Apis.Indexing.v3
Assembly: Google.Apis.Indexing.v3.dll
Syntax
public class UrlNotificationsResource.GetMetadataRequest : IndexingBaseServiceRequest<UrlNotificationMetadata>, IClientServiceRequest<UrlNotificationMetadata>, IClientServiceRequest
Constructors
GetMetadataRequest(IClientService)
Constructs a new GetMetadata request.
Declaration
public GetMetadataRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
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.UrlNotificationMetadata>.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.UrlNotificationMetadata>.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.UrlNotificationMetadata>.RestPath
Url
URL that is being queried.
Declaration
[RequestParameter("url", RequestParameterType.Query)]
public virtual string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes GetMetadata parameter list.
Declaration
protected override void InitParameters()