gogol-indexing-0.4.0: Google Indexing SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Indexing.URLNotifications.GetMetadata

Contents

Description

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.

See: Indexing API Reference for indexing.urlNotifications.getMetadata.

Synopsis

REST Resource

type URLNotificationsGetMetadataResource = "v3" :> ("urlNotifications" :> ("metadata" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "url" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] URLNotificationMetadata))))))))) Source #

A resource alias for indexing.urlNotifications.getMetadata method which the URLNotificationsGetMetadata request conforms to.

Creating a Request

urlNotificationsGetMetadata :: URLNotificationsGetMetadata Source #

Creates a value of URLNotificationsGetMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data URLNotificationsGetMetadata Source #

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.

See: urlNotificationsGetMetadata smart constructor.

Instances
Eq URLNotificationsGetMetadata Source # 
Instance details

Defined in Network.Google.Resource.Indexing.URLNotifications.GetMetadata

Data URLNotificationsGetMetadata Source # 
Instance details

Defined in Network.Google.Resource.Indexing.URLNotifications.GetMetadata

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> URLNotificationsGetMetadata -> c URLNotificationsGetMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URLNotificationsGetMetadata #

toConstr :: URLNotificationsGetMetadata -> Constr #

dataTypeOf :: URLNotificationsGetMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URLNotificationsGetMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URLNotificationsGetMetadata) #

gmapT :: (forall b. Data b => b -> b) -> URLNotificationsGetMetadata -> URLNotificationsGetMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URLNotificationsGetMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URLNotificationsGetMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> URLNotificationsGetMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> URLNotificationsGetMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> URLNotificationsGetMetadata -> m URLNotificationsGetMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URLNotificationsGetMetadata -> m URLNotificationsGetMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URLNotificationsGetMetadata -> m URLNotificationsGetMetadata #

Show URLNotificationsGetMetadata Source # 
Instance details

Defined in Network.Google.Resource.Indexing.URLNotifications.GetMetadata

Generic URLNotificationsGetMetadata Source # 
Instance details

Defined in Network.Google.Resource.Indexing.URLNotifications.GetMetadata

Associated Types

type Rep URLNotificationsGetMetadata :: Type -> Type #

GoogleRequest URLNotificationsGetMetadata Source # 
Instance details

Defined in Network.Google.Resource.Indexing.URLNotifications.GetMetadata

type Rep URLNotificationsGetMetadata Source # 
Instance details

Defined in Network.Google.Resource.Indexing.URLNotifications.GetMetadata

type Rep URLNotificationsGetMetadata = D1 (MetaData "URLNotificationsGetMetadata" "Network.Google.Resource.Indexing.URLNotifications.GetMetadata" "gogol-indexing-0.4.0-5wowHjNGXCH8wA73fTmgxO" False) (C1 (MetaCons "URLNotificationsGetMetadata'" PrefixI True) ((S1 (MetaSel (Just "_ungmXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ungmUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ungmAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ungmURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ungmUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ungmCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes URLNotificationsGetMetadata Source # 
Instance details

Defined in Network.Google.Resource.Indexing.URLNotifications.GetMetadata

type Scopes URLNotificationsGetMetadata = "https://www.googleapis.com/auth/indexing" ': ([] :: [Symbol])
type Rs URLNotificationsGetMetadata Source # 
Instance details

Defined in Network.Google.Resource.Indexing.URLNotifications.GetMetadata

Request Lenses

ungmUploadProtocol :: Lens' URLNotificationsGetMetadata (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

ungmURL :: Lens' URLNotificationsGetMetadata (Maybe Text) Source #

URL that is being queried.

ungmUploadType :: Lens' URLNotificationsGetMetadata (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").