Class ProjectsResource.ZonesResource.ClustersResource.ListRequest
Lists all clusters owned by a project in either the specified zone or all zones.
Inheritance
ProjectsResource.ZonesResource.ClustersResource.ListRequest
Inherited Members
Namespace: Google.Apis.Container.v1beta1
Assembly: Google.Apis.Container.v1beta1.dll
Syntax
public class ProjectsResource.ZonesResource.ClustersResource.ListRequest : ContainerBaseServiceRequest<ListClustersResponse>, IClientServiceRequest<ListClustersResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string projectId, string zone)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId | |
string | zone |
Properties
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
Parent
The parent (project and location) where the clusters will be listed. Specified in the format
projects/*/locations/*
. Location "-" matches all zones and all regions.
Declaration
[RequestParameter("parent", RequestParameterType.Query)]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Zone
Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field.
Declaration
[RequestParameter("zone", RequestParameterType.Path)]
public virtual string Zone { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()