target.apidocs.com.google.api.services.migrationcenter.v1.MigrationCenterAPI.Projects.Locations.PreferenceSets.html Maven / Gradle / Ivy
MigrationCenterAPI.Projects.Locations.PreferenceSets (Migration Center API v1-rev20240620-2.0.0)
com.google.api.services.migrationcenter.v1
Class MigrationCenterAPI.Projects.Locations.PreferenceSets
- java.lang.Object
-
- com.google.api.services.migrationcenter.v1.MigrationCenterAPI.Projects.Locations.PreferenceSets
-
- Enclosing class:
- MigrationCenterAPI.Projects.Locations
public class MigrationCenterAPI.Projects.Locations.PreferenceSets
extends Object
The "preferenceSets" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
MigrationCenterAPI.Projects.Locations.PreferenceSets.Create
class
MigrationCenterAPI.Projects.Locations.PreferenceSets.Delete
class
MigrationCenterAPI.Projects.Locations.PreferenceSets.Get
class
MigrationCenterAPI.Projects.Locations.PreferenceSets.List
class
MigrationCenterAPI.Projects.Locations.PreferenceSets.Patch
-
Constructor Summary
Constructors
Constructor and Description
PreferenceSets()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MigrationCenterAPI.Projects.Locations.PreferenceSets.Create
create(String parent,
PreferenceSet content)
Creates a new preference set in a given project and location.
MigrationCenterAPI.Projects.Locations.PreferenceSets.Delete
delete(String name)
Deletes a preference set.
MigrationCenterAPI.Projects.Locations.PreferenceSets.Get
get(String name)
Gets the details of a preference set.
MigrationCenterAPI.Projects.Locations.PreferenceSets.List
list(String parent)
Lists all the preference sets in a given project and location.
MigrationCenterAPI.Projects.Locations.PreferenceSets.Patch
patch(String name,
PreferenceSet content)
Updates the parameters of a preference set.
-
-
Method Detail
-
create
public MigrationCenterAPI.Projects.Locations.PreferenceSets.Create create(String parent,
PreferenceSet content)
throws IOException
Creates a new preference set in a given project and location.
Create a request for the method "preferenceSets.create".
This request holds the parameters needed by the migrationcenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Value for parent.
content
- the PreferenceSet
- Returns:
- the request
- Throws:
IOException
-
delete
public MigrationCenterAPI.Projects.Locations.PreferenceSets.Delete delete(String name)
throws IOException
Deletes a preference set.
Create a request for the method "preferenceSets.delete".
This request holds the parameters needed by the migrationcenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Name of the group resource.
- Returns:
- the request
- Throws:
IOException
-
get
public MigrationCenterAPI.Projects.Locations.PreferenceSets.Get get(String name)
throws IOException
Gets the details of a preference set.
Create a request for the method "preferenceSets.get".
This request holds the parameters needed by the migrationcenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Name of the resource.
- Returns:
- the request
- Throws:
IOException
-
list
public MigrationCenterAPI.Projects.Locations.PreferenceSets.List list(String parent)
throws IOException
Lists all the preference sets in a given project and location.
Create a request for the method "preferenceSets.list".
This request holds the parameters needed by the migrationcenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Parent value for `ListPreferenceSetsRequest`.
- Returns:
- the request
- Throws:
IOException
-
patch
public MigrationCenterAPI.Projects.Locations.PreferenceSets.Patch patch(String name,
PreferenceSet content)
throws IOException
Updates the parameters of a preference set.
Create a request for the method "preferenceSets.patch".
This request holds the parameters needed by the migrationcenter server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Output only. Name of the preference set.
content
- the PreferenceSet
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy