Class ResourcesResource.CalendarsResource.UpdateRequest
Updates a calendar resource. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved.
Inheritance
ResourcesResource.CalendarsResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class ResourcesResource.CalendarsResource.UpdateRequest : DirectoryBaseServiceRequest<CalendarResource>, IClientServiceRequest<CalendarResource>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, CalendarResource, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, CalendarResource body, string customer, string calendarResourceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CalendarResource | body | |
string | customer | |
string | calendarResourceId |
Properties
CalendarResourceId
The unique ID of the calendar resource to update.
Declaration
[RequestParameter("calendarResourceId", RequestParameterType.Path)]
public virtual string CalendarResourceId { get; }
Property Value
Type | Description |
---|---|
string |
Customer
The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the my_customer
alias to represent your account's customer ID.
Declaration
[RequestParameter("customer", RequestParameterType.Path)]
public virtual string Customer { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()