ProjectsLocationsGroups
class ProjectsLocationsGroups extends Resource (View source)
The "groups" collection of methods.
Typical usage is:
$migrationcenterService = new Google\Service\MigrationCenterAPI(...);
$groups = $migrationcenterService->projects_locations_groups;
Methods
addAssets(string $group, AddAssetsToGroupRequest $postBody, array $optParams = [])
Adds assets to a group. (groups.addAssets)
listProjectsLocationsGroups(string $parent, array $optParams = [])
Lists all groups in a given project and location.
removeAssets(string $group, RemoveAssetsFromGroupRequest $postBody, array $optParams = [])
Removes assets from a group. (groups.removeAssets)
Details
Operation
addAssets(string $group, AddAssetsToGroupRequest $postBody, array $optParams = [])
Adds assets to a group. (groups.addAssets)
Operation
create(string $parent, Group $postBody, array $optParams = [])
Creates a new group in a given project and location. (groups.create)
Operation
delete(string $name, array $optParams = [])
Deletes a group. (groups.delete)
Group
get(string $name, array $optParams = [])
Gets the details of a group. (groups.get)
ListGroupsResponse
listProjectsLocationsGroups(string $parent, array $optParams = [])
Lists all groups in a given project and location.
(groups.listProjectsLocationsGroups)
Operation
patch(string $name, Group $postBody, array $optParams = [])
Updates the parameters of a group. (groups.patch)
Operation
removeAssets(string $group, RemoveAssetsFromGroupRequest $postBody, array $optParams = [])
Removes assets from a group. (groups.removeAssets)