Class ProjectsResource.LocationsResource.GroupsResource
The "groups" collection of methods.
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1alpha1
Assembly: Google.Apis.VMMigrationService.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.GroupsResource
Constructors
GroupsResource(IClientService)
Constructs a new resource.
Declaration
public GroupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AddGroupMigration(AddGroupMigrationRequest, string)
Adds a MigratingVm to a Group.
Declaration
public virtual ProjectsResource.LocationsResource.GroupsResource.AddGroupMigrationRequest AddGroupMigration(AddGroupMigrationRequest body, string group)
Parameters
Type | Name | Description |
---|---|---|
AddGroupMigrationRequest | body | The body of the request. |
string | group | Required. The full path name of the Group to add to. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GroupsResource.AddGroupMigrationRequest |
Create(Group, string)
Creates a new Group in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.GroupsResource.CreateRequest Create(Group body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Group | body | The body of the request. |
string | parent | Required. The Group's parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GroupsResource.CreateRequest |
Delete(string)
Deletes a single Group.
Declaration
public virtual ProjectsResource.LocationsResource.GroupsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The Group name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GroupsResource.DeleteRequest |
Get(string)
Gets details of a single Group.
Declaration
public virtual ProjectsResource.LocationsResource.GroupsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The group name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GroupsResource.GetRequest |
List(string)
Lists Groups in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.GroupsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of groups. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GroupsResource.ListRequest |
Patch(Group, string)
Updates the parameters of a single Group.
Declaration
public virtual ProjectsResource.LocationsResource.GroupsResource.PatchRequest Patch(Group body, string name)
Parameters
Type | Name | Description |
---|---|---|
Group | body | The body of the request. |
string | name | Output only. The Group name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GroupsResource.PatchRequest |
RemoveGroupMigration(RemoveGroupMigrationRequest, string)
Removes a MigratingVm from a Group.
Declaration
public virtual ProjectsResource.LocationsResource.GroupsResource.RemoveGroupMigrationRequest RemoveGroupMigration(RemoveGroupMigrationRequest body, string group)
Parameters
Type | Name | Description |
---|---|---|
RemoveGroupMigrationRequest | body | The body of the request. |
string | group | Required. The name of the Group. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GroupsResource.RemoveGroupMigrationRequest |