Class OrganizationsResource.ListRequest
Lists Organization resources that are visible to the user and satisfy the specified filter. This method returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the list.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v1beta1
Assembly: Google.Apis.CloudResourceManager.v1beta1.dll
Syntax
public class OrganizationsResource.ListRequest : CloudResourceManagerBaseServiceRequest<ListOrganizationsResponse>, IClientServiceRequest<ListOrganizationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Filter
An optional query string used to filter the Organizations to return in the response. Filter rules are
case-insensitive. Organizations may be filtered by owner.directoryCustomerId
or by domain
, where the
domain is a G Suite domain, for example: * Filter owner.directorycustomerid:123456789
returns
Organization resources with owner.directory_customer_id
equal to 123456789
. * Filter
domain:google.com
returns Organization resources corresponding to the domain google.com
. This field
is optional.
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
The maximum number of Organizations to return in the response. This field is optional.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A pagination token returned from a previous call to ListOrganizations
that indicates from where
listing should continue. This field is optional.
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()