Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::ListClustersRequest.
ListClustersRequest lists clusters.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — The parent (project and location) where the clusters will be listed.
Specified in the format
projects/*/locations/*
. Location "-" matches all zones and all regions.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — The parent (project and location) where the clusters will be listed.
Specified in the format
projects/*/locations/*
. Location "-" matches all zones and all regions.
Returns
-
(::String) — The parent (project and location) where the clusters will be listed.
Specified in the format
projects/*/locations/*
. Location "-" matches all zones and all regions.
#project_id
def project_id() -> ::String
Returns
- (::String) — Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
#project_id=
def project_id=(value) -> ::String
Parameter
- value (::String) — Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
Returns
- (::String) — Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
#zone
def zone() -> ::String
Returns
- (::String) — 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.
#zone=
def zone=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.