class Resource(__builtin__.object)
    A class for interacting with a resource.
 
  Methods defined here:
__init__(self)
delete = method(self, **kwargs)
Deletes the authenticated user's current location.
 
Args:
get = method(self, **kwargs)
Returns the authenticated user's current location.
 
Args:
  granularity: string, Granularity of the requested location.
 
Returns:
  An object of the form
 
    { # A Location resource identifies a user's position at a particular time. It may include metadata about the user's position, such as a venue if the location was recorded at the time of a check-in.
      "kind": "latitude#location", # Kind of this item.
      "altitude": "", # Altitude of the location, in meters. Optional.
      "longitude": "", # Longitude of the location, in decimal degrees.
      "activityId": "", # Unique ID of the Buzz message that corresponds to the check-in associated with this location. Available only for check-in locations. Optional.
      "latitude": "", # Latitude of the location, in decimal degrees.
      "altitudeAccuracy": "", # Accuracy of the altitude value, in meters. Optional.
      "timestampMs": "", # Timestamp of the Location Resource, in milliseconds since the epoch (UTC). This is also the Location Resource's unique id.
      "speed": "", # Ground speed of the user at the time this location was recorded, in meters per second. Non-negative. Optional.
      "heading": "", # Direction of travel of the user when this location was recorded. In degrees, clockwise relative to true north. Optional.
      "accuracy": "", # Accuracy of the latitude and longitude coordinates, in non-negative meters. Optional.
    }
insert = method(self, **kwargs)
Updates or creates the user's current location.
 
Args:
  body: object, The request body. (required)
    The object takes the form of:
 
{ # A Location resource identifies a user's position at a particular time. It may include metadata about the user's position, such as a venue if the location was recorded at the time of a check-in.
    "kind": "latitude#location", # Kind of this item.
    "altitude": "", # Altitude of the location, in meters. Optional.
    "longitude": "", # Longitude of the location, in decimal degrees.
    "activityId": "", # Unique ID of the Buzz message that corresponds to the check-in associated with this location. Available only for check-in locations. Optional.
    "latitude": "", # Latitude of the location, in decimal degrees.
    "altitudeAccuracy": "", # Accuracy of the altitude value, in meters. Optional.
    "timestampMs": "", # Timestamp of the Location Resource, in milliseconds since the epoch (UTC). This is also the Location Resource's unique id.
    "speed": "", # Ground speed of the user at the time this location was recorded, in meters per second. Non-negative. Optional.
    "heading": "", # Direction of travel of the user when this location was recorded. In degrees, clockwise relative to true north. Optional.
    "accuracy": "", # Accuracy of the latitude and longitude coordinates, in non-negative meters. Optional.
  }
 
 
Returns:
  An object of the form
 
    { # A Location resource identifies a user's position at a particular time. It may include metadata about the user's position, such as a venue if the location was recorded at the time of a check-in.
      "kind": "latitude#location", # Kind of this item.
      "altitude": "", # Altitude of the location, in meters. Optional.
      "longitude": "", # Longitude of the location, in decimal degrees.
      "activityId": "", # Unique ID of the Buzz message that corresponds to the check-in associated with this location. Available only for check-in locations. Optional.
      "latitude": "", # Latitude of the location, in decimal degrees.
      "altitudeAccuracy": "", # Accuracy of the altitude value, in meters. Optional.
      "timestampMs": "", # Timestamp of the Location Resource, in milliseconds since the epoch (UTC). This is also the Location Resource's unique id.
      "speed": "", # Ground speed of the user at the time this location was recorded, in meters per second. Non-negative. Optional.
      "heading": "", # Direction of travel of the user when this location was recorded. In degrees, clockwise relative to true north. Optional.
      "accuracy": "", # Accuracy of the latitude and longitude coordinates, in non-negative meters. Optional.
    }

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)