Class ResourcesResource.CalendarsResource.PatchRequest
Patches a calendar resource via Apiary Patch Orchestration.
Inheritance
System.Object
ResourcesResource.CalendarsResource.PatchRequest
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 PatchRequest : DirectoryBaseServiceRequest<CalendarResource>, IClientServiceRequest<CalendarResource>, IClientServiceRequest
Constructors
PatchRequest(IClientService, CalendarResource, String, String)
Constructs a new Patch request.
Declaration
public PatchRequest(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 Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Admin.Directory.directory_v1.DirectoryBaseServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.CalendarResource>.InitParameters()