ProjectsLocationsClustersResource class
Methods
-
create(Cluster request, String parent, {String? clusterId, String? requestId, bool? validateOnly, String? $fields})
→ Future<Operation>
-
Creates a new Cluster in a given project and location.
-
createsecondary(Cluster request, String parent, {String? clusterId, String? requestId, bool? validateOnly, String? $fields})
→ Future<Operation>
-
Creates a cluster of type SECONDARY in the given location using the
primary cluster as the source.
-
delete(String name, {String? etag, bool? force, String? requestId, bool? validateOnly, String? $fields})
→ Future<Operation>
-
Deletes a single Cluster.
-
generateClientCertificate(GenerateClientCertificateRequest request, String parent, {String? $fields})
→ Future<GenerateClientCertificateResponse>
-
Generate a client certificate signed by a Cluster CA.
-
get(String name, {String? view, String? $fields})
→ Future<Cluster>
-
Gets details of a single Cluster.
-
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields})
→ Future<ListClustersResponse>
-
Lists Clusters in a given project and location.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(Cluster request, String name, {bool? allowMissing, String? requestId, String? updateMask, bool? validateOnly, String? $fields})
→ Future<Operation>
-
Updates the parameters of a single Cluster.
-
promote(PromoteClusterRequest request, String name, {String? $fields})
→ Future<Operation>
-
Promotes a SECONDARY cluster.
-
restore(RestoreClusterRequest request, String parent, {String? $fields})
→ Future<Operation>
-
Creates a new Cluster in a given project and location, with a volume
restored from the provided source, either a backup ID or a point-in-time
and a source cluster.
-
toString()
→ String
-
A string representation of this object.
inherited