Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- LatLng
- Photo
- UpdatePhotoRequest
- Status
- PhotoResponse
- Operation
- Empty
- StatusDetailsItem
- ListPhotosResponse
- Connection
- BatchUpdatePhotosResponse
- BatchDeletePhotosResponse
- Pose
- UploadRef
- Xgafv
- OperationMetadata
- PhotoTransferStatus
- BatchUpdatePhotosRequest
- BatchDeletePhotosRequest
- Place
- PhotoMapsPublishStatus
- Level
- OperationResponse
- BatchGetPhotosResponse
- PhotoId
Synopsis
- streetViewPublishService :: ServiceConfig
- streetViewPublishScope :: Proxy '["https://www.googleapis.com/auth/streetviewpublish"]
- data LatLng
- latLng :: LatLng
- llLatitude :: Lens' LatLng (Maybe Double)
- llLongitude :: Lens' LatLng (Maybe Double)
- data Photo
- photo :: Photo
- pThumbnailURL :: Lens' Photo (Maybe Text)
- pMapsPublishStatus :: Lens' Photo (Maybe PhotoMapsPublishStatus)
- pConnections :: Lens' Photo [Connection]
- pShareLink :: Lens' Photo (Maybe Text)
- pUploadReference :: Lens' Photo (Maybe UploadRef)
- pCaptureTime :: Lens' Photo (Maybe UTCTime)
- pPose :: Lens' Photo (Maybe Pose)
- pDownloadURL :: Lens' Photo (Maybe Text)
- pTransferStatus :: Lens' Photo (Maybe PhotoTransferStatus)
- pPlaces :: Lens' Photo [Place]
- pViewCount :: Lens' Photo (Maybe Int64)
- pPhotoId :: Lens' Photo (Maybe PhotoId)
- data UpdatePhotoRequest
- updatePhotoRequest :: UpdatePhotoRequest
- uprPhoto :: Lens' UpdatePhotoRequest (Maybe Photo)
- uprUpdateMask :: Lens' UpdatePhotoRequest (Maybe GFieldMask)
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data PhotoResponse
- photoResponse :: PhotoResponse
- prPhoto :: Lens' PhotoResponse (Maybe Photo)
- prStatus :: Lens' PhotoResponse (Maybe Status)
- data Operation
- operation :: Operation
- oDone :: Lens' Operation (Maybe Bool)
- oError :: Lens' Operation (Maybe Status)
- oResponse :: Lens' Operation (Maybe OperationResponse)
- oName :: Lens' Operation (Maybe Text)
- oMetadata :: Lens' Operation (Maybe OperationMetadata)
- data Empty
- empty :: Empty
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data ListPhotosResponse
- listPhotosResponse :: ListPhotosResponse
- lprNextPageToken :: Lens' ListPhotosResponse (Maybe Text)
- lprPhotos :: Lens' ListPhotosResponse [Photo]
- data Connection
- connection :: Connection
- cTarget :: Lens' Connection (Maybe PhotoId)
- data BatchUpdatePhotosResponse
- batchUpdatePhotosResponse :: BatchUpdatePhotosResponse
- buprResults :: Lens' BatchUpdatePhotosResponse [PhotoResponse]
- data BatchDeletePhotosResponse
- batchDeletePhotosResponse :: BatchDeletePhotosResponse
- bdprStatus :: Lens' BatchDeletePhotosResponse [Status]
- data Pose
- pose :: Pose
- pRoll :: Lens' Pose (Maybe Double)
- pHeading :: Lens' Pose (Maybe Double)
- pLatLngPair :: Lens' Pose (Maybe LatLng)
- pAccuracyMeters :: Lens' Pose (Maybe Double)
- pAltitude :: Lens' Pose (Maybe Double)
- pLevel :: Lens' Pose (Maybe Level)
- pPitch :: Lens' Pose (Maybe Double)
- data UploadRef
- uploadRef :: UploadRef
- urUploadURL :: Lens' UploadRef (Maybe Text)
- data Xgafv
- data OperationMetadata
- operationMetadata :: HashMap Text JSONValue -> OperationMetadata
- omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)
- data PhotoTransferStatus
- data BatchUpdatePhotosRequest
- batchUpdatePhotosRequest :: BatchUpdatePhotosRequest
- buprUpdatePhotoRequests :: Lens' BatchUpdatePhotosRequest [UpdatePhotoRequest]
- data BatchDeletePhotosRequest
- batchDeletePhotosRequest :: BatchDeletePhotosRequest
- bdprPhotoIds :: Lens' BatchDeletePhotosRequest [Text]
- data Place
- place :: Place
- pLanguageCode :: Lens' Place (Maybe Text)
- pName :: Lens' Place (Maybe Text)
- pPlaceId :: Lens' Place (Maybe Text)
- data PhotoMapsPublishStatus
- data Level
- level :: Level
- lName :: Lens' Level (Maybe Text)
- lNumber :: Lens' Level (Maybe Double)
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data BatchGetPhotosResponse
- batchGetPhotosResponse :: BatchGetPhotosResponse
- bgprResults :: Lens' BatchGetPhotosResponse [PhotoResponse]
- data PhotoId
- photoId :: PhotoId
- piId :: Lens' PhotoId (Maybe Text)
Service Configuration
streetViewPublishService :: ServiceConfig Source #
Default request referring to version v1
of the Street View Publish API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
streetViewPublishScope :: Proxy '["https://www.googleapis.com/auth/streetviewpublish"] Source #
Publish and manage your 360 photos on Google Street View
LatLng
An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.
See: latLng
smart constructor.
Instances
Eq LatLng Source # | |
Data LatLng Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LatLng -> c LatLng # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LatLng # toConstr :: LatLng -> Constr # dataTypeOf :: LatLng -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LatLng) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LatLng) # gmapT :: (forall b. Data b => b -> b) -> LatLng -> LatLng # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LatLng -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LatLng -> r # gmapQ :: (forall d. Data d => d -> u) -> LatLng -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> LatLng -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng # | |
Show LatLng Source # | |
Generic LatLng Source # | |
ToJSON LatLng Source # | |
FromJSON LatLng Source # | |
type Rep LatLng Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product type Rep LatLng = D1 (MetaData "LatLng" "Network.Google.StreetViewPublish.Types.Product" "gogol-streetviewpublish-0.4.0-hUlDUTRvH6EXX72hhSGUR" False) (C1 (MetaCons "LatLng'" PrefixI True) (S1 (MetaSel (Just "_llLatitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_llLongitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))) |
Creates a value of LatLng
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
llLatitude :: Lens' LatLng (Maybe Double) Source #
The latitude in degrees. It must be in the range [-90.0, +90.0].
llLongitude :: Lens' LatLng (Maybe Double) Source #
The longitude in degrees. It must be in the range [-180.0, +180.0].
Photo
Photo is used to store 360 photos along with photo metadata.
See: photo
smart constructor.
Instances
Creates a value of Photo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pThumbnailURL :: Lens' Photo (Maybe Text) Source #
Output only. The thumbnail URL for showing a preview of the given photo.
pMapsPublishStatus :: Lens' Photo (Maybe PhotoMapsPublishStatus) Source #
Output only. Status in Google Maps, whether this photo was published, or rejected for a possibly specified reason.
pConnections :: Lens' Photo [Connection] Source #
Connections to other photos. A connection represents the link from this photo to another photo.
pUploadReference :: Lens' Photo (Maybe UploadRef) Source #
Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
pCaptureTime :: Lens' Photo (Maybe UTCTime) Source #
Absolute time when the photo was captured. When the photo has no exif timestamp, this is used to set a timestamp in the photo metadata.
pDownloadURL :: Lens' Photo (Maybe Text) Source #
Output only. The download URL for the photo bytes. This field is set only when GetPhotoRequest.view is set to PhotoView.INCLUDE_DOWNLOAD_URL.
pTransferStatus :: Lens' Photo (Maybe PhotoTransferStatus) Source #
Output only. Status of rights transfer on this photo.
pPhotoId :: Lens' Photo (Maybe PhotoId) Source #
Required when updating a photo. Output only when creating a photo. Identifier for the photo, which is unique among all photos in Google.
UpdatePhotoRequest
data UpdatePhotoRequest Source #
Request to update the metadata of a Photo. Updating the pixels of a photo is not supported.
See: updatePhotoRequest
smart constructor.
Instances
updatePhotoRequest :: UpdatePhotoRequest Source #
Creates a value of UpdatePhotoRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uprPhoto :: Lens' UpdatePhotoRequest (Maybe Photo) Source #
Required. Photo object containing the new metadata.
uprUpdateMask :: Lens' UpdatePhotoRequest (Maybe GFieldMask) Source #
Mask that identifies fields on the photo metadata to update. If not present, the old Photo metadata will be entirely replaced with the new Photo metadata in this request. The update fails if invalid fields are specified. Multiple fields can be specified in a comma-delimited list. The following fields are valid: * `pose.heading` * `pose.latLngPair` * `pose.pitch` * `pose.roll` * `pose.level` * `pose.altitude` * `connections` * `places` Note: Repeated fields in updateMask mean the entire set of repeated values will be replaced with the new contents. For example, if updateMask contains `connections` and `UpdatePhotoRequest.photo.connections` is empty, all connections will be removed.
Status
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.
See: status
smart constructor.
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status # toConstr :: Status -> Constr # dataTypeOf :: Status -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) # gmapT :: (forall b. Data b => b -> b) -> Status -> Status # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.StreetViewPublish.Types.Product" "gogol-streetviewpublish-0.4.0-hUlDUTRvH6EXX72hhSGUR" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There is a common set of message types for APIs to use.
sCode :: Lens' Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
sMessage :: Lens' Status (Maybe Text) Source #
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
PhotoResponse
data PhotoResponse Source #
Response payload for a single Photo in batch operations including BatchGetPhotos and BatchUpdatePhotos.
See: photoResponse
smart constructor.
Instances
photoResponse :: PhotoResponse Source #
Creates a value of PhotoResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prPhoto :: Lens' PhotoResponse (Maybe Photo) Source #
The Photo resource, if the request was successful.
prStatus :: Lens' PhotoResponse (Maybe Status) Source #
The status for the operation to get or update a single photo in the batch request.
Operation
This resource represents a long-running operation that is the result of a network API call.
See: operation
smart constructor.
Instances
oDone :: Lens' Operation (Maybe Bool) Source #
If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
oError :: Lens' Operation (Maybe Status) Source #
The error result of the operation in case of failure or cancellation.
oResponse :: Lens' Operation (Maybe OperationResponse) Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
oName :: Lens' Operation (Maybe Text) Source #
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should have the format of `operations/some/unique/name`.
oMetadata :: Lens' Operation (Maybe OperationMetadata) Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
StatusDetailsItem
data StatusDetailsItem Source #
Instances
Creates a value of StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
ListPhotosResponse
data ListPhotosResponse Source #
Response to list all photos that belong to a user.
See: listPhotosResponse
smart constructor.
Instances
listPhotosResponse :: ListPhotosResponse Source #
Creates a value of ListPhotosResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lprNextPageToken :: Lens' ListPhotosResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results in the list.
lprPhotos :: Lens' ListPhotosResponse [Photo] Source #
List of photos. The maximum number of items returned is based on the pageSize field in the request.
Connection
data Connection Source #
A connection is the link from a source photo to a destination photo.
See: connection
smart constructor.
Instances
connection :: Connection Source #
Creates a value of Connection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cTarget :: Lens' Connection (Maybe PhotoId) Source #
Required. The destination of the connection from the containing photo to another photo.
BatchUpdatePhotosResponse
data BatchUpdatePhotosResponse Source #
Response to batch update of metadata of one or more Photos.
See: batchUpdatePhotosResponse
smart constructor.
Instances
batchUpdatePhotosResponse :: BatchUpdatePhotosResponse Source #
Creates a value of BatchUpdatePhotosResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
buprResults :: Lens' BatchUpdatePhotosResponse [PhotoResponse] Source #
List of results for each individual Photo updated, in the same order as the request.
BatchDeletePhotosResponse
data BatchDeletePhotosResponse Source #
Response to batch delete of one or more Photos.
See: batchDeletePhotosResponse
smart constructor.
Instances
batchDeletePhotosResponse :: BatchDeletePhotosResponse Source #
Creates a value of BatchDeletePhotosResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdprStatus :: Lens' BatchDeletePhotosResponse [Status] Source #
The status for the operation to delete a single Photo in the batch request.
Pose
Raw pose measurement for an entity.
See: pose
smart constructor.
Instances
Creates a value of Pose
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pRoll :: Lens' Pose (Maybe Double) Source #
Roll, measured in degrees. Value must be >= 0 and <360. A value of 0 means level with the horizon. NaN indicates an unmeasured quantity.
pHeading :: Lens' Pose (Maybe Double) Source #
Compass heading, measured at the center of the photo in degrees clockwise from North. Value must be >=0 and <360. NaN indicates an unmeasured quantity.
pLatLngPair :: Lens' Pose (Maybe LatLng) Source #
Latitude and longitude pair of the pose, as explained here: https://cloud.google.com/datastore/docs/reference/rest/Shared.Types/LatLng When creating a Photo, if the latitude and longitude pair are not provided here, the geolocation from the exif header will be used. If the latitude and longitude pair is not provided and cannot be found in the exif header, the create photo process will fail.
pAccuracyMeters :: Lens' Pose (Maybe Double) Source #
The estimated horizontal accuracy of this pose in meters with 68% confidence (one standard deviation). For example, on Android, this value is available from this method: https://developer.android.com/reference/android/location/Location#getAccuracy(). Other platforms have different methods of obtaining similar accuracy estimations.
pAltitude :: Lens' Pose (Maybe Double) Source #
Altitude of the pose in meters above WGS84 ellipsoid. NaN indicates an unmeasured quantity.
pLevel :: Lens' Pose (Maybe Level) Source #
Level (the floor in a building) used to configure vertical navigation.
pPitch :: Lens' Pose (Maybe Double) Source #
Pitch, measured at the center of the photo in degrees. Value must be >=-90 and <= 90. A value of -90 means looking directly down, and a value of 90 means looking directly up. NaN indicates an unmeasured quantity.
UploadRef
Upload reference for media files.
See: uploadRef
smart constructor.
Instances
Eq UploadRef Source # | |
Data UploadRef Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UploadRef -> c UploadRef # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UploadRef # toConstr :: UploadRef -> Constr # dataTypeOf :: UploadRef -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UploadRef) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UploadRef) # gmapT :: (forall b. Data b => b -> b) -> UploadRef -> UploadRef # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UploadRef -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UploadRef -> r # gmapQ :: (forall d. Data d => d -> u) -> UploadRef -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> UploadRef -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UploadRef -> m UploadRef # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadRef -> m UploadRef # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UploadRef -> m UploadRef # | |
Show UploadRef Source # | |
Generic UploadRef Source # | |
ToJSON UploadRef Source # | |
FromJSON UploadRef Source # | |
type Rep UploadRef Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product type Rep UploadRef = D1 (MetaData "UploadRef" "Network.Google.StreetViewPublish.Types.Product" "gogol-streetviewpublish-0.4.0-hUlDUTRvH6EXX72hhSGUR" True) (C1 (MetaCons "UploadRef'" PrefixI True) (S1 (MetaSel (Just "_urUploadURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))) |
uploadRef :: UploadRef Source #
Creates a value of UploadRef
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
urUploadURL :: Lens' UploadRef (Maybe Text) Source #
Required. An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
Xgafv
V1 error format.
Instances
OperationMetadata
data OperationMetadata Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
See: operationMetadata
smart constructor.
Instances
Creates a value of OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
PhotoTransferStatus
data PhotoTransferStatus Source #
Output only. Status of rights transfer on this photo.
TransferStatusUnknown |
|
NeverTransferred |
|
Pending |
|
Completed |
|
Rejected |
|
Expired |
|
Cancelled |
|
ReceivedViaTransfer |
|
Instances
BatchUpdatePhotosRequest
data BatchUpdatePhotosRequest Source #
Request to update the metadata of photos. Updating the pixels of photos is not supported.
See: batchUpdatePhotosRequest
smart constructor.
Instances
batchUpdatePhotosRequest :: BatchUpdatePhotosRequest Source #
Creates a value of BatchUpdatePhotosRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
buprUpdatePhotoRequests :: Lens' BatchUpdatePhotosRequest [UpdatePhotoRequest] Source #
Required. List of UpdatePhotoRequests.
BatchDeletePhotosRequest
data BatchDeletePhotosRequest Source #
Request to delete multiple Photos.
See: batchDeletePhotosRequest
smart constructor.
Instances
batchDeletePhotosRequest :: BatchDeletePhotosRequest Source #
Creates a value of BatchDeletePhotosRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bdprPhotoIds :: Lens' BatchDeletePhotosRequest [Text] Source #
Required. IDs of the Photos. For HTTP GET requests, the URL query parameter should be `photoIds=&photoIds=&...`.
Place
Place metadata for an entity.
See: place
smart constructor.
Instances
Eq Place Source # | |
Data Place Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Place -> c Place # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Place # dataTypeOf :: Place -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Place) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Place) # gmapT :: (forall b. Data b => b -> b) -> Place -> Place # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Place -> r # gmapQ :: (forall d. Data d => d -> u) -> Place -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Place -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Place -> m Place # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Place -> m Place # | |
Show Place Source # | |
Generic Place Source # | |
ToJSON Place Source # | |
FromJSON Place Source # | |
type Rep Place Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product type Rep Place = D1 (MetaData "Place" "Network.Google.StreetViewPublish.Types.Product" "gogol-streetviewpublish-0.4.0-hUlDUTRvH6EXX72hhSGUR" False) (C1 (MetaCons "Place'" PrefixI True) (S1 (MetaSel (Just "_pLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pPlaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Place
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pLanguageCode :: Lens' Place (Maybe Text) Source #
Output-only. The language_code that the name is localized with. This should be the language_code specified in the request, but may be a fallback.
pName :: Lens' Place (Maybe Text) Source #
Output-only. The name of the place, localized to the language_code.
pPlaceId :: Lens' Place (Maybe Text) Source #
Place identifier, as described in https://developers.google.com/places/place-id.
PhotoMapsPublishStatus
data PhotoMapsPublishStatus Source #
Output only. Status in Google Maps, whether this photo was published, or rejected for a possibly specified reason.
UnspecifiedMapsPublishStatus |
|
Published |
|
RejectedUnknown |
|
Instances
Level
Level information containing level number and its corresponding name.
See: level
smart constructor.
Instances
Eq Level Source # | |
Data Level Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Level -> c Level # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Level # dataTypeOf :: Level -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Level) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Level) # gmapT :: (forall b. Data b => b -> b) -> Level -> Level # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Level -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Level -> r # gmapQ :: (forall d. Data d => d -> u) -> Level -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Level -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Level -> m Level # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Level -> m Level # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Level -> m Level # | |
Show Level Source # | |
Generic Level Source # | |
ToJSON Level Source # | |
FromJSON Level Source # | |
type Rep Level Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product type Rep Level = D1 (MetaData "Level" "Network.Google.StreetViewPublish.Types.Product" "gogol-streetviewpublish-0.4.0-hUlDUTRvH6EXX72hhSGUR" False) (C1 (MetaCons "Level'" PrefixI True) (S1 (MetaSel (Just "_lName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))) |
lName :: Lens' Level (Maybe Text) Source #
Required. A name assigned to this Level, restricted to 3 characters. Consider how the elevator buttons would be labeled for this level if there was an elevator.
lNumber :: Lens' Level (Maybe Double) Source #
Floor number, used for ordering. 0 indicates the ground level, 1 indicates the first level above ground level, -1 indicates the first level under ground level. Non-integer values are OK.
OperationResponse
data OperationResponse Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
See: operationResponse
smart constructor.
Instances
Creates a value of OperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
BatchGetPhotosResponse
data BatchGetPhotosResponse Source #
Response to batch get of Photos.
See: batchGetPhotosResponse
smart constructor.
Instances
batchGetPhotosResponse :: BatchGetPhotosResponse Source #
Creates a value of BatchGetPhotosResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bgprResults :: Lens' BatchGetPhotosResponse [PhotoResponse] Source #
List of results for each individual Photo requested, in the same order as the requests in BatchGetPhotos.
PhotoId
Identifier for a Photo.
See: photoId
smart constructor.
Instances
Eq PhotoId Source # | |
Data PhotoId Source # | |
Defined in Network.Google.StreetViewPublish.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PhotoId -> c PhotoId # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PhotoId # toConstr :: PhotoId -> Constr # dataTypeOf :: PhotoId -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PhotoId) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PhotoId) # gmapT :: (forall b. Data b => b -> b) -> PhotoId -> PhotoId # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PhotoId -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PhotoId -> r # gmapQ :: (forall d. Data d => d -> u) -> PhotoId -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> PhotoId -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> PhotoId -> m PhotoId # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PhotoId -> m PhotoId # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PhotoId -> m PhotoId # | |
Show PhotoId Source # | |
Generic PhotoId Source # | |
ToJSON PhotoId Source # | |
FromJSON PhotoId Source # | |
type Rep PhotoId Source # | |