Class ProjectsResource.LocationsResource.TargetProjectsResource
The "targetProjects" collection of methods.
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1alpha1
Assembly: Google.Apis.VMMigrationService.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.TargetProjectsResource
Constructors
TargetProjectsResource(IClientService)
Constructs a new resource.
Declaration
public TargetProjectsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(TargetProject, string)
Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the
only supported value for location is global
.
Declaration
public virtual ProjectsResource.LocationsResource.TargetProjectsResource.CreateRequest Create(TargetProject body, string parent)
Parameters
Type | Name | Description |
---|---|---|
TargetProject | body | The body of the request. |
string | parent | Required. The TargetProject's parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TargetProjectsResource.CreateRequest |
Delete(string)
Deletes a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported
value for location is global
.
Declaration
public virtual ProjectsResource.LocationsResource.TargetProjectsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The TargetProject name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TargetProjectsResource.DeleteRequest |
Get(string)
Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only
supported value for location is global
.
Declaration
public virtual ProjectsResource.LocationsResource.TargetProjectsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The TargetProject name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TargetProjectsResource.GetRequest |
List(string)
Lists TargetProjects in a given project. NOTE: TargetProject is a global resource; hence the only
supported value for location is global
.
Declaration
public virtual ProjectsResource.LocationsResource.TargetProjectsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of targets. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TargetProjectsResource.ListRequest |
Patch(TargetProject, string)
Updates the parameters of a single TargetProject. NOTE: TargetProject is a global resource; hence
the only supported value for location is global
.
Declaration
public virtual ProjectsResource.LocationsResource.TargetProjectsResource.PatchRequest Patch(TargetProject body, string name)
Parameters
Type | Name | Description |
---|---|---|
TargetProject | body | The body of the request. |
string | name | Output only. The name of the target project. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TargetProjectsResource.PatchRequest |