Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GDataCalendarAccessRule: GData Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GData Reference Manual">
<link rel="up" href="ch14.html" title="Google Calendar API">
<link rel="prev" href="GDataCalendarEvent.html" title="GDataCalendarEvent">
<link rel="next" href="ch15.html" title="Google Contacts API">
<meta name="generator" content="GTK-Doc V1.26.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GDataCalendarAccessRule.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GDataCalendarAccessRule.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch14.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GDataCalendarEvent.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch15.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GDataCalendarAccessRule"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GDataCalendarAccessRule.top_of_page"></a>GDataCalendarAccessRule</span></h2>
<p>GDataCalendarAccessRule — GData Calendar access rule object</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GDataCalendarAccessRule.stability-level"></a><h2>Stability Level</h2>
<acronym title="The intention of a Stable interface is to enable arbitrary third parties to
develop applications to these interfaces, release them, and have confidence that
they will run on all minor releases of the product (after the one in which the
interface was introduced, and within the same major release). Even at a major
release, incompatible changes are expected to be rare, and to have strong
justifications.
"><span class="acronym">Stable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="GDataCalendarAccessRule.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody><tr>
<td class="function_type">
<a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="returnvalue">GDataCalendarAccessRule</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataCalendarAccessRule.html#gdata-calendar-access-rule-new" title="gdata_calendar_access_rule_new ()">gdata_calendar_access_rule_new</a> <span class="c_punctuation">()</span>
</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataCalendarAccessRule.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataCalendarAccessRule.html#GDATA-CALENDAR-ACCESS-ROLE-READ:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_READ">GDATA_CALENDAR_ACCESS_ROLE_READ</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataCalendarAccessRule.html#GDATA-CALENDAR-ACCESS-ROLE-FREE-BUSY:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY">GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataCalendarAccessRule.html#GDATA-CALENDAR-ACCESS-ROLE-EDITOR:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_EDITOR">GDATA_CALENDAR_ACCESS_ROLE_EDITOR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataCalendarAccessRule.html#GDATA-CALENDAR-ACCESS-ROLE-OWNER:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_OWNER">GDATA_CALENDAR_ACCESS_ROLE_OWNER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataCalendarAccessRule.html#GDATA-CALENDAR-ACCESS-ROLE-ROOT:CAPS" title="GDATA_CALENDAR_ACCESS_ROLE_ROOT">GDATA_CALENDAR_ACCESS_ROLE_ROOT</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataCalendarAccessRule.html#GDataCalendarAccessRule-struct" title="GDataCalendarAccessRule">GDataCalendarAccessRule</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataCalendarAccessRule.html#GDataCalendarAccessRuleClass" title="GDataCalendarAccessRuleClass">GDataCalendarAccessRuleClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataCalendarAccessRule.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="GDataParsable.html" title="GDataParsable">GDataParsable</a>
        <span class="lineart">╰──</span> <a class="link" href="GDataEntry.html" title="GDataEntry">GDataEntry</a>
            <span class="lineart">╰──</span> <a class="link" href="GDataAccessRule.html" title="GDataAccessRule">GDataAccessRule</a>
                <span class="lineart">╰──</span> GDataCalendarAccessRule
</pre>
</div>
<div class="refsect1">
<a name="GDataCalendarAccessRule.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gdata/services/calendar/gdata-calendar-access-rule.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GDataCalendarAccessRule.description"></a><h2>Description</h2>
<p><a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="type">GDataCalendarAccessRule</span></a> is a subclass of <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> to represent an
access rule affecting users of a shared calendar in Google Calendar.</p>
</div>
<div class="refsect1">
<a name="GDataCalendarAccessRule.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gdata-calendar-access-rule-new"></a><h3>gdata_calendar_access_rule_new ()</h3>
<pre class="programlisting"><a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="returnvalue">GDataCalendarAccessRule</span></a> *
gdata_calendar_access_rule_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);</pre>
<p>Creates a new <a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="type">GDataCalendarAccessRule</span></a> with the given ID and default
properties.</p>
<div class="refsect3">
<a name="gdata-calendar-access-rule-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>the access rule's ID, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-calendar-access-rule-new.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="type">GDataCalendarAccessRule</span></a>; unref with
<a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix23.html#api-index-0.17.2">0.17.2</a></p>
</div>
</div>
<div class="refsect1">
<a name="GDataCalendarAccessRule.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-READ:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_READ</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_READ "http://schemas.google.com/gCal/2005#read"
</pre>
<p>The users specified by the <a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="type">GDataCalendarAccessRule</span></a> have read-only access to
the calendar.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-FREE-BUSY:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_FREE_BUSY "http://schemas.google.com/gCal/2005#freebusy"
</pre>
<p>The users specified by the <a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="type">GDataCalendarAccessRule</span></a> can only see the
free/busy information on the calendar; not event details.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-EDITOR:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_EDITOR</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_EDITOR "http://schemas.google.com/gCal/2005#editor"
</pre>
<p>The users specified by the <a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="type">GDataCalendarAccessRule</span></a> have full edit access to
the calendar, except they can’t change the calendar’s access rules.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-OWNER:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_OWNER</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_OWNER "http://schemas.google.com/gCal/2005#owner"
</pre>
<p>The users specified by the <a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="type">GDataCalendarAccessRule</span></a> have full owner access
to the calendar.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-CALENDAR-ACCESS-ROLE-ROOT:CAPS"></a><h3>GDATA_CALENDAR_ACCESS_ROLE_ROOT</h3>
<pre class="programlisting">#define GDATA_CALENDAR_ACCESS_ROLE_ROOT "http://schemas.google.com/gCal/2005#root"
</pre>
<p>The users specified by the <a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="type">GDataCalendarAccessRule</span></a> have full administrator
access to the calendar server. This is only available in Google Apps For
Your Domain.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarAccessRule-struct"></a><h3>GDataCalendarAccessRule</h3>
<pre class="programlisting">typedef struct _GDataCalendarAccessRule GDataCalendarAccessRule;</pre>
<p>All the fields in the <a class="link" href="GDataCalendarAccessRule.html" title="GDataCalendarAccessRule"><span class="type">GDataCalendarAccessRule</span></a> structure are private and
should never be accessed directly.</p>
<p class="since">Since: <a class="link" href="ix23.html#api-index-0.17.2">0.17.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataCalendarAccessRuleClass"></a><h3>GDataCalendarAccessRuleClass</h3>
<pre class="programlisting">typedef struct {
} GDataCalendarAccessRuleClass;
</pre>
<p>All the fields in the <a class="link" href="GDataCalendarAccessRule.html#GDataCalendarAccessRuleClass" title="GDataCalendarAccessRuleClass"><span class="type">GDataCalendarAccessRuleClass</span></a> structure are private
and should never be accessed directly.</p>
<p class="since">Since: <a class="link" href="ix23.html#api-index-0.17.2">0.17.2</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.26.1</div>
</body>
</html>