Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.FleetsResource

The "fleets" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.FleetsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GKEHub.v1beta
Assembly: Google.Apis.GKEHub.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.FleetsResource

Constructors

FleetsResource(IClientService)

Constructs a new resource.

Declaration
public FleetsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Fleet, string)

Creates a fleet.

Declaration
public virtual ProjectsResource.LocationsResource.FleetsResource.CreateRequest Create(Fleet body, string parent)
Parameters
Type Name Description
Fleet body

The body of the request.

string parent

Required. The parent (project and location) where the Fleet will be created. Specified in the format projects/*/locations/*.

Returns
Type Description
ProjectsResource.LocationsResource.FleetsResource.CreateRequest

Delete(string)

Removes a Fleet. There must be no memberships remaining in the Fleet.

Declaration
public virtual ProjectsResource.LocationsResource.FleetsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The Fleet resource name in the format projects/*/locations/*/fleets/*.

Returns
Type Description
ProjectsResource.LocationsResource.FleetsResource.DeleteRequest

Get(string)

Returns the details of a fleet.

Declaration
public virtual ProjectsResource.LocationsResource.FleetsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The Fleet resource name in the format projects/*/locations/*/fleets/*.

Returns
Type Description
ProjectsResource.LocationsResource.FleetsResource.GetRequest

List(string)

Returns all fleets within an organization or a project that the caller has access to.

Declaration
public virtual ProjectsResource.LocationsResource.FleetsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The organization or project to list for Fleets under, in the format organizations/*/locations/* or projects/*/locations/*.

Returns
Type Description
ProjectsResource.LocationsResource.FleetsResource.ListRequest

Patch(Fleet, string)

Updates a fleet.

Declaration
public virtual ProjectsResource.LocationsResource.FleetsResource.PatchRequest Patch(Fleet body, string name)
Parameters
Type Name Description
Fleet body

The body of the request.

string name

Output only. The full, unique resource name of this fleet in the format of projects/{project}/locations/{location}/fleets/{fleet}. Each Google Cloud project can have at most one fleet resource, named "default".

Returns
Type Description
ProjectsResource.LocationsResource.FleetsResource.PatchRequest
In this article
Back to top Generated by DocFX