Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SourcesResource

The "sources" collection of methods.

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

Constructors

SourcesResource(IClientService)

Constructs a new resource.

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

Properties

ErrorFrames

Gets the ErrorFrames resource.

Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.ErrorFramesResource ErrorFrames { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.SourcesResource.ErrorFramesResource

Methods

Create(Source, string)

Creates a new source in a given project and location.

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

The body of the request.

string parent

Required. Value for parent.

Returns
Type Description
ProjectsResource.LocationsResource.SourcesResource.CreateRequest

Delete(string)

Deletes a source.

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

Required. Name of the resource.

Returns
Type Description
ProjectsResource.LocationsResource.SourcesResource.DeleteRequest

Get(string)

Gets the details of a source.

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

Required. Name of the resource.

Returns
Type Description
ProjectsResource.LocationsResource.SourcesResource.GetRequest

List(string)

Lists all the sources in a given project and location.

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

Required. Parent value for ListSourcesRequest.

Returns
Type Description
ProjectsResource.LocationsResource.SourcesResource.ListRequest

Patch(Source, string)

Updates the parameters of a source.

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

The body of the request.

string name

Output only. The full name of the source.

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