class ProjectsLocationsGroups extends Resource (View source)

The "groups" collection of methods.

Typical usage is:

 $vmmigrationService = new Google\Service\VMMigrationService(...);
 $groups = $vmmigrationService->projects_locations_groups;

Methods

addGroupMigration(string $group, AddGroupMigrationRequest $postBody, array $optParams = [])

Adds a MigratingVm to a Group. (groups.addGroupMigration)

create(string $parent, Group $postBody, array $optParams = [])

Creates a new Group in a given project and location. (groups.create)

delete(string $name, array $optParams = [])

Deletes a single Group. (groups.delete)

get(string $name, array $optParams = [])

Gets details of a single Group. (groups.get)

listProjectsLocationsGroups(string $parent, array $optParams = [])

Lists Groups in a given project and location.

patch(string $name, Group $postBody, array $optParams = [])

Updates the parameters of a single Group. (groups.patch)

removeGroupMigration(string $group, RemoveGroupMigrationRequest $postBody, array $optParams = [])

Removes a MigratingVm from a Group. (groups.removeGroupMigration)

Details

Operation addGroupMigration(string $group, AddGroupMigrationRequest $postBody, array $optParams = [])

Adds a MigratingVm to a Group. (groups.addGroupMigration)

Parameters

string $group

Required. The full path name of the Group to add to.

AddGroupMigrationRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation create(string $parent, Group $postBody, array $optParams = [])

Creates a new Group in a given project and location. (groups.create)

Parameters

string $parent

Required. The Group's parent.

Group $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single Group. (groups.delete)

Parameters

string $name

Required. The Group name.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Group get(string $name, array $optParams = [])

Gets details of a single Group. (groups.get)

Parameters

string $name

Required. The group name.

array $optParams

Optional parameters.

Return Value

Group

Exceptions

Exception

ListGroupsResponse listProjectsLocationsGroups(string $parent, array $optParams = [])

Lists Groups in a given project and location.

(groups.listProjectsLocationsGroups)

Parameters

string $parent

Required. The parent, which owns this collection of groups.

array $optParams

Optional parameters.

Return Value

ListGroupsResponse

Exceptions

Exception

Operation patch(string $name, Group $postBody, array $optParams = [])

Updates the parameters of a single Group. (groups.patch)

Parameters

string $name

Output only. The Group name.

Group $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation removeGroupMigration(string $group, RemoveGroupMigrationRequest $postBody, array $optParams = [])

Removes a MigratingVm from a Group. (groups.removeGroupMigration)

Parameters

string $group

Required. The name of the Group.

RemoveGroupMigrationRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception