Class ProjectsResource.LocationsResource.PreferenceSetsResource
The "preferenceSets" collection of methods.
Inherited Members
Namespace: Google.Apis.MigrationCenterAPI.v1alpha1
Assembly: Google.Apis.MigrationCenterAPI.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.PreferenceSetsResource
Constructors
PreferenceSetsResource(IClientService)
Constructs a new resource.
Declaration
public PreferenceSetsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(PreferenceSet, string)
Creates a new preference set in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.PreferenceSetsResource.CreateRequest Create(PreferenceSet body, string parent)
Parameters
Type | Name | Description |
---|---|---|
PreferenceSet | body | The body of the request. |
string | parent | Required. Value for parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PreferenceSetsResource.CreateRequest |
Delete(string)
Deletes a preference set.
Declaration
public virtual ProjectsResource.LocationsResource.PreferenceSetsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the group resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PreferenceSetsResource.DeleteRequest |
Get(string)
Gets the details of a preference set.
Declaration
public virtual ProjectsResource.LocationsResource.PreferenceSetsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PreferenceSetsResource.GetRequest |
List(string)
Lists all the preference sets in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.PreferenceSetsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PreferenceSetsResource.ListRequest |
Patch(PreferenceSet, string)
Updates the parameters of a preference set.
Declaration
public virtual ProjectsResource.LocationsResource.PreferenceSetsResource.PatchRequest Patch(PreferenceSet body, string name)
Parameters
Type | Name | Description |
---|---|---|
PreferenceSet | body | The body of the request. |
string | name | Output only. Name of the preference set. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.PreferenceSetsResource.PatchRequest |