|
GData JavaScript Client 1.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--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 |
{String|undefined} $t
{String|undefined} relationship
{String|undefined} type
<static> <final> String RELATIONSHIP_ALLOW
<static> <final> String RELATIONSHIP_DENY
<static> <final> String TYPE_COUNTRY
<static> <final> String TYPE_URI
Constructor Detail |
google.gdata.mediarss.MediaRestriction(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: content, relationship, and type
Method Detail |
String|undefined getContent()
String|undefined getRelationship()
String|undefined getType()
void setContent(<String|undefined> content)
content
- Distributor URIs or country codes or undefined for none
void setRelationship(<String|undefined> relationship)
relationship
- Type of relationship, either 'allow' or 'deny' or undefined for none
void setType(<String|undefined> type)
type
- Type of restriction, either 'country' or 'uri' or undefined for none
|
GData JavaScript Client 1.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |