Class ProjectsResource.LocationsResource.ServicesResource.ListRequest
Lists Services in a given project and location.
Inheritance
Inherited Members
Namespace: Google.Apis.AgentRegistry.v1alpha
Assembly: Google.Apis.AgentRegistry.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource.ListRequest : AgentRegistryBaseServiceRequest<ListServicesResponse>, IClientServiceRequest<ListServicesResponse>, 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. A query string used to filter the list of services returned. The filter expression
must follow AIP-160 syntax. Filtering is supported on the name, display_name, description,
and labels fields. Some examples: * name = "projects/p1/locations/l1/services/s1" *
display_name = "my-service" * description : "myservice description" * labels.env = "prod"
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. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. A token identifying a page of results the server should return.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. The project and location to list services in. Expected format:
projects/{project}/locations/{location}.
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()