Class ProjectsResource.LocationsResource.FleetsResource
The "fleets" collection of methods.
Inherited Members
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
|
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 |
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 |
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
|
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
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.FleetsResource.PatchRequest |