Show / Hide Table of Contents

Class PlacesResource.PhotosResource

The "photos" collection of methods.

Inheritance
object
PlacesResource.PhotosResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.MapsPlaces.v1
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class PlacesResource.PhotosResource

Constructors

PhotosResource(IClientService)

Constructs a new resource.

Declaration
public PhotosResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

GetMedia(string)

Get a photo media with a photo reference string.

Declaration
public virtual PlacesResource.PhotosResource.GetMediaRequest GetMedia(string name)
Parameters
Type Name Description
string name

Required. The resource name of a photo media in the format: places/{place_id}/photos/{photo_reference}/media. The resource name of a photo as returned in a Place object's photos.name field comes with the format places/{place_id}/photos/{photo_reference}. You need to append /media at the end of the photo resource to get the photo media resource name.

Returns
Type Description
PlacesResource.PhotosResource.GetMediaRequest
In this article
Back to top Generated by DocFX