class ProjectsLocationsPreferenceSets extends Resource (View source)

The "preferenceSets" collection of methods.

Typical usage is:

 $migrationcenterService = new Google\Service\MigrationCenterAPI(...);
 $preferenceSets = $migrationcenterService->projects_locations_preferenceSets;

Methods

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

Creates a new preference set in a given project and location.

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

Deletes a preference set. (preferenceSets.delete)

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

Gets the details of a preference set. (preferenceSets.get)

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

Lists all the preference sets in a given project and location.

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

Updates the parameters of a preference set. (preferenceSets.patch)

Details

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

Creates a new preference set in a given project and location.

(preferenceSets.create)

Parameters

string $parent

Required. Value for parent.

PreferenceSet $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a preference set. (preferenceSets.delete)

Parameters

string $name

Required. Name of the group resource.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets the details of a preference set. (preferenceSets.get)

Parameters

string $name

Required. Name of the resource.

array $optParams

Optional parameters.

Return Value

PreferenceSet

Exceptions

Exception

ListPreferenceSetsResponse listProjectsLocationsPreferenceSets(string $parent, array $optParams = [])

Lists all the preference sets in a given project and location.

(preferenceSets.listProjectsLocationsPreferenceSets)

Parameters

string $parent

Required. Parent value for ListPreferenceSetsRequest.

array $optParams

Optional parameters.

Return Value

ListPreferenceSetsResponse

Exceptions

Exception

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

Updates the parameters of a preference set. (preferenceSets.patch)

Parameters

string $name

Output only. Name of the preference set.

PreferenceSet $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception