Class ProjectsResource.LocationsResource.HostProjectRegistrationsResource.ListRequest
Lists host project registrations.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.HostProjectRegistrationsResource.ListRequest : APIhubBaseServiceRequest<GoogleCloudApihubV1ListHostProjectRegistrationsResponse>, IClientServiceRequest<GoogleCloudApihubV1ListHostProjectRegistrationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
Optional. An expression that filters the list of HostProjectRegistrations. A filter expression
consists of a field name, a comparison operator, and a value for filtering. The value must be a
string. All standard operators as documented at https://google.aip.dev/160 are supported. The
following fields in the HostProjectRegistration
are eligible for filtering: * name
- The
name of the HostProjectRegistration. * create_time
- The time at which the
HostProjectRegistration was created. The value should be in the
(RFC3339)[https://tools.ietf.org/html/rfc3339] format. * gcp_project
- The Google cloud
project associated with the HostProjectRegistration.
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
OrderBy
Optional. Hint for how to order the results.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. The maximum number of host project registrations to return. The service may return fewer than this value. If unspecified, at most 50 host project registrations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A page token, received from a previous ListHostProjectRegistrations
call. Provide
this to retrieve the subsequent page. When paginating, all other parameters (except page_size)
provided to ListHostProjectRegistrations
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 |
Parent
Required. The parent, which owns this collection of host projects. Format:
projects/*/locations/*
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
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()