GData JavaScript Client 2.0

Class google.gdata.mediarss.MediaRestriction

Object
   |
   +--google.gdata.mediarss.MediaRestriction

class google.gdata.mediarss.MediaRestriction


Describes a media restriction.
Defined in gdata.js


Field Summary
 {string|undefined} $t
          Distributor URIs or country codes.
 {string|undefined} relationship
          Type of relationship, either 'allow' or 'deny'.
 {string|undefined} type
          Type of restriction, either 'country' or 'uri'.
<static>  <final> {string} RELATIONSHIP_ALLOW
          Allow only the given restriction.
<static>  <final> {string} RELATIONSHIP_DENY
          Deny the given restriction.
<static>  <final> {string} TYPE_COUNTRY
          Restriction is a country identifier.
<static>  <final> {string} TYPE_URI
          Restriction is a URI.
 
Constructor Summary
google.gdata.mediarss.MediaRestriction(<Object> opt_params)
            Constructs a media restriction using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 string|undefined getContent()
           Returns the distributor URIs or country codes.
 string|undefined getRelationship()
           Returns the type of relationship, either 'allow' or 'deny'.
 string|undefined getType()
           Returns the type of restriction, either 'country' or 'uri'.
 void setContent(<string|undefined> content)
           Sets the distributor URIs or country codes.
 void setRelationship(<string|undefined> relationship)
           Sets the type of relationship, either 'allow' or 'deny'.
 void setType(<string|undefined> type)
           Sets the type of restriction, either 'country' or 'uri'.

Field Detail

$t

{string|undefined} $t

relationship

{string|undefined} relationship

type

{string|undefined} type

RELATIONSHIP_ALLOW

<static> <final> {string} RELATIONSHIP_ALLOW

RELATIONSHIP_DENY

<static> <final> {string} RELATIONSHIP_DENY

TYPE_COUNTRY

<static> <final> {string} TYPE_COUNTRY

TYPE_URI

<static> <final> {string} TYPE_URI

Constructor Detail

google.gdata.mediarss.MediaRestriction

google.gdata.mediarss.MediaRestriction(<Object> opt_params)

Method Detail

getContent

string|undefined getContent()

getRelationship

string|undefined getRelationship()

getType

string|undefined getType()

setContent

void setContent(<string|undefined> content)

setRelationship

void setRelationship(<string|undefined> relationship)

setType

void setType(<string|undefined> type)

GData JavaScript Client 2.0

Documentation generated by JSDoc on Tue Sep 22 18:28:55 2009