Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.TransportsResource

The "transports" collection of methods.

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

Constructors

TransportsResource(IClientService)

Constructs a new resource.

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

Methods

Create(Transport, string)

Creates a new Transport in a given project and location.

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

The body of the request.

string parent

Required. Value for parent.

Returns
Type Description
ProjectsResource.LocationsResource.TransportsResource.CreateRequest

Delete(string)

Deletes a single Transport.

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

Required. Name of the resource.

Returns
Type Description
ProjectsResource.LocationsResource.TransportsResource.DeleteRequest

Get(string)

Gets details of a single Transport.

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

Required. Name of the resource.

Returns
Type Description
ProjectsResource.LocationsResource.TransportsResource.GetRequest

List(string)

Lists Transports in a given project and location.

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

Required. Parent value for ListTransportsRequest.

Returns
Type Description
ProjectsResource.LocationsResource.TransportsResource.ListRequest

Patch(Transport, string)

Updates the parameters of a single Transport.

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

The body of the request.

string name

Identifier. Name of the resource.

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