Class PoliciesResource.ListRequest
List policies.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1
Assembly: Google.Apis.CloudIdentity.v1.dll
Syntax
public class PoliciesResource.ListRequest : CloudIdentityBaseServiceRequest<ListPoliciesResponse>, IClientServiceRequest<ListPoliciesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Filter
Optional. A CEL expression for filtering the results. Policies can be filtered by application with this
expression: setting.type.matches('^settings/gmail\..$') Policies can be filtered by setting type with
this expression: setting.type.matches('^.\.service_status$') Policies can be filtered by customer with
this expression: customer == "customers/{customer}" Where customer is the id from the Admin SDK
Customer resource. You
may use customers/my_customer to specify your own organization. When no customer is mentioned it will
be default to customers/my_customer. You may only filter on policies for a single customer at a time.
The above clauses can be combined together in a single filter expression with the &&
and || operators, like in the following example: customer == "customers/my_customer"
&& ( setting.type.matches('^settings/gmail\..$') ||
setting.type.matches('^.\.service_status$') )
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
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
PageSize
Optional. The maximum number of results to return. The service can return fewer than this number. If
omitted or set to 0, the default is 50 results per page. The maximum allowed value is 100. page_size
values greater than 100 default to 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. The pagination token received from a prior call to PoliciesService.ListPolicies to retrieve
the next page of results. When paginating, all other parameters provided to ListPoliciesRequest must
match the call that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { 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()