Class ProjectsResource.LocationsResource.ServersResource
The "servers" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudFTP.v1alpha
Assembly: Google.Apis.CloudFTP.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.ServersResource
Constructors
ServersResource(IClientService)
Constructs a new resource.
Declaration
public ServersResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Users
Gets the Users resource.
Declaration
public virtual ProjectsResource.LocationsResource.ServersResource.UsersResource Users { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServersResource.UsersResource |
Methods
Create(Server, string)
Creates a new Server in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ServersResource.CreateRequest Create(Server body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Server | body | The body of the request. |
| string | parent | Required. Value for parent. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServersResource.CreateRequest |
Delete(string)
Deletes a single Server.
Declaration
public virtual ProjectsResource.LocationsResource.ServersResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Name of the resource |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServersResource.DeleteRequest |
Get(string)
Gets details of a single Server.
Declaration
public virtual ProjectsResource.LocationsResource.ServersResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Name of the resource |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServersResource.GetRequest |
List(string)
Lists Servers in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ServersResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Parent value for ListServersRequest |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServersResource.ListRequest |
Patch(Server, string)
Updates the parameters of a single Server.
Declaration
public virtual ProjectsResource.LocationsResource.ServersResource.PatchRequest Patch(Server body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Server | body | The body of the request. |
| string | name | Identifier. name of resource |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServersResource.PatchRequest |
Start(StartServerRequest, string)
Starts a stopping/stopped Server.
Declaration
public virtual ProjectsResource.LocationsResource.ServersResource.StartRequest Start(StartServerRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| StartServerRequest | body | The body of the request. |
| string | name | Required. Name of the resource Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServersResource.StartRequest |
Stop(StopServerRequest, string)
Stops an active Server.
Declaration
public virtual ProjectsResource.LocationsResource.ServersResource.StopRequest Stop(StopServerRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| StopServerRequest | body | The body of the request. |
| string | name | Required. Name of the resource. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServersResource.StopRequest |