Class EventsResource.GetRequest
Returns an event based on its Google Calendar ID. To retrieve an event using its iCalendar ID, call the events.list method using the iCalUID parameter.
Inheritance
Inherited Members
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class EventsResource.GetRequest : CalendarBaseServiceRequest<Event>, IClientServiceRequest<Event>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string calendarId, string eventId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | calendarId | |
string | eventId |
Properties
AlwaysIncludeEmail
Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
Declaration
[RequestParameter("alwaysIncludeEmail", RequestParameterType.Query)]
public virtual bool? AlwaysIncludeEmail { get; set; }
Property Value
Type | Description |
---|---|
bool? |
CalendarId
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
Declaration
[RequestParameter("calendarId", RequestParameterType.Path)]
public virtual string CalendarId { get; }
Property Value
Type | Description |
---|---|
string |
EventId
Event identifier.
Declaration
[RequestParameter("eventId", RequestParameterType.Path)]
public virtual string EventId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MaxAttendees
The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
Declaration
[RequestParameter("maxAttendees", RequestParameterType.Query)]
public virtual int? MaxAttendees { get; set; }
Property Value
Type | Description |
---|---|
int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
TimeZone
Time zone used in the response. Optional. The default is the time zone of the calendar.
Declaration
[RequestParameter("timeZone", RequestParameterType.Query)]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()