Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ServersResource

The "servers" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ServersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: projects/{project}/locations/{location}/servers/{server}

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: projects/{project}/locations/{location}/servers/{server}

Returns
Type Description
ProjectsResource.LocationsResource.ServersResource.StopRequest
In this article
Back to top Generated by DocFX