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
System.Object
ResourcesResource.CalendarsResource.UpdateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class 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 | |
| System.String | customer | |
| System.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 |
|---|---|
| System.String |
Customer
The unique ID for the customer's G Suite 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 |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.CalendarResource>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.CalendarResource>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.CalendarResource>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.CalendarResource>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Admin.Directory.directory_v1.DirectoryBaseServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.CalendarResource>.InitParameters()