Class ResourcesResource.CalendarsResource.ListRequest
Retrieves a list of calendar resources for an account.
Inheritance
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class ResourcesResource.CalendarsResource.ListRequest : DirectoryBaseServiceRequest<CalendarResources>, IClientServiceRequest<CalendarResources>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string customer)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | customer |
Properties
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
MaxResults
Maximum number of results to return.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OrderBy
Field(s) to sort results by in either ascending or descending order. Supported fields include
resourceId
, resourceName
, capacity
, buildingId
, and floorName
. If no order is specified,
defaults to ascending. Should be of the form "field [asc|desc], field [asc|desc], ...". For example
buildingId, capacity desc
would return results sorted first by buildingId
in ascending order
then by capacity
in descending order.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageToken
Token to specify the next page in the list.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Query
String query used to filter results. Should be of the form "field operator value" where field can be
any of supported fields and operators can be any of supported operations. Operators include '=' for
exact match, '!=' for mismatch and ':' for prefix match or HAS match where applicable. For prefix
match, the value should always be followed by a *. Logical operators NOT and AND are supported (in
this order of precedence). Supported fields include generatedResourceName
, name
, buildingId
,
floor_name
, capacity
, featureInstances.feature.name
, resourceEmail
, resourceCategory
. For
example buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone
.
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()