class Resource(__builtin__.object)
    A class for interacting with a resource.
 
  Methods defined here:
__init__(self)
get = method(self, **kwargs)
Gets the visibility of an existing activity.
 
Args:
  activityId: string, ID of the activity to get the visibility. (required)
 
Returns:
  An object of the form
 
    {
      "kind": "orkut#visibility", # Identifies this resource as a visibility item. Value: "orkut#visibility"
      "visibility": "A String", # The visibility of the resource. Possible values are:
          # - default: not hidden by the user
          # - hidden: hidden
      "links": [ # List of resources for the visibility item.
        { # Links to resources related to the parent object.
          "href": "A String", # URL of the link.
          "type": "A String", # Media type of the link.
          "rel": "A String", # Relation between the resource and the parent object.
          "title": "A String", # Title of the link.
        },
      ],
    }
patch = method(self, **kwargs)
Updates the visibility of an existing activity. This method supports patch semantics.
 
Args:
  body: object, The request body. (required)
    The object takes the form of:
 
{
    "kind": "orkut#visibility", # Identifies this resource as a visibility item. Value: "orkut#visibility"
    "visibility": "A String", # The visibility of the resource. Possible values are:
        # - default: not hidden by the user
        # - hidden: hidden
    "links": [ # List of resources for the visibility item.
      { # Links to resources related to the parent object.
        "href": "A String", # URL of the link.
        "type": "A String", # Media type of the link.
        "rel": "A String", # Relation between the resource and the parent object.
        "title": "A String", # Title of the link.
      },
    ],
  }
 
  activityId: string, ID of the activity. (required)
 
Returns:
  An object of the form
 
    {
      "kind": "orkut#visibility", # Identifies this resource as a visibility item. Value: "orkut#visibility"
      "visibility": "A String", # The visibility of the resource. Possible values are:
          # - default: not hidden by the user
          # - hidden: hidden
      "links": [ # List of resources for the visibility item.
        { # Links to resources related to the parent object.
          "href": "A String", # URL of the link.
          "type": "A String", # Media type of the link.
          "rel": "A String", # Relation between the resource and the parent object.
          "title": "A String", # Title of the link.
        },
      ],
    }
update = method(self, **kwargs)
Updates the visibility of an existing activity.
 
Args:
  body: object, The request body. (required)
    The object takes the form of:
 
{
    "kind": "orkut#visibility", # Identifies this resource as a visibility item. Value: "orkut#visibility"
    "visibility": "A String", # The visibility of the resource. Possible values are:
        # - default: not hidden by the user
        # - hidden: hidden
    "links": [ # List of resources for the visibility item.
      { # Links to resources related to the parent object.
        "href": "A String", # URL of the link.
        "type": "A String", # Media type of the link.
        "rel": "A String", # Relation between the resource and the parent object.
        "title": "A String", # Title of the link.
      },
    ],
  }
 
  activityId: string, ID of the activity. (required)
 
Returns:
  An object of the form
 
    {
      "kind": "orkut#visibility", # Identifies this resource as a visibility item. Value: "orkut#visibility"
      "visibility": "A String", # The visibility of the resource. Possible values are:
          # - default: not hidden by the user
          # - hidden: hidden
      "links": [ # List of resources for the visibility item.
        { # Links to resources related to the parent object.
          "href": "A String", # URL of the link.
          "type": "A String", # Media type of the link.
          "rel": "A String", # Relation between the resource and the parent object.
          "title": "A String", # Title of the link.
        },
      ],
    }

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