target.apidocs.com.google.api.services.migrationcenter.v1.MigrationCenterAPI.Projects.Locations.Groups.html Maven / Gradle / Ivy
MigrationCenterAPI.Projects.Locations.Groups (Migration Center API v1-rev20240620-2.0.0)
com.google.api.services.migrationcenter.v1
Class MigrationCenterAPI.Projects.Locations.Groups
- java.lang.Object
-
- com.google.api.services.migrationcenter.v1.MigrationCenterAPI.Projects.Locations.Groups
-
- Enclosing class:
- MigrationCenterAPI.Projects.Locations
public class MigrationCenterAPI.Projects.Locations.Groups
extends Object
The "groups" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
MigrationCenterAPI.Projects.Locations.Groups.AddAssets
class
MigrationCenterAPI.Projects.Locations.Groups.Create
class
MigrationCenterAPI.Projects.Locations.Groups.Delete
class
MigrationCenterAPI.Projects.Locations.Groups.Get
class
MigrationCenterAPI.Projects.Locations.Groups.List
class
MigrationCenterAPI.Projects.Locations.Groups.Patch
class
MigrationCenterAPI.Projects.Locations.Groups.RemoveAssets
-
Constructor Summary
Constructors
Constructor and Description
Groups()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MigrationCenterAPI.Projects.Locations.Groups.AddAssets
addAssets(String group,
AddAssetsToGroupRequest content)
Adds assets to a group.
MigrationCenterAPI.Projects.Locations.Groups.Create
create(String parent,
Group content)
Creates a new group in a given project and location.
MigrationCenterAPI.Projects.Locations.Groups.Delete
delete(String name)
Deletes a group.
MigrationCenterAPI.Projects.Locations.Groups.Get
get(String name)
Gets the details of a group.
MigrationCenterAPI.Projects.Locations.Groups.List
list(String parent)
Lists all groups in a given project and location.
MigrationCenterAPI.Projects.Locations.Groups.Patch
patch(String name,
Group content)
Updates the parameters of a group.
MigrationCenterAPI.Projects.Locations.Groups.RemoveAssets
removeAssets(String group,
RemoveAssetsFromGroupRequest content)
Removes assets from a group.
-
-
Method Detail
-
addAssets
public MigrationCenterAPI.Projects.Locations.Groups.AddAssets addAssets(String group,
AddAssetsToGroupRequest content)
throws IOException
Adds assets to a group.
Create a request for the method "groups.addAssets".
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:
group
- Required. Group reference.
content
- the AddAssetsToGroupRequest
- Returns:
- the request
- Throws:
IOException
-
create
public MigrationCenterAPI.Projects.Locations.Groups.Create create(String parent,
Group content)
throws IOException
Creates a new group in a given project and location.
Create a request for the method "groups.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 Group
- Returns:
- the request
- Throws:
IOException
-
delete
public MigrationCenterAPI.Projects.Locations.Groups.Delete delete(String name)
throws IOException
Deletes a group.
Create a request for the method "groups.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.Groups.Get get(String name)
throws IOException
Gets the details of a group.
Create a request for the method "groups.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.Groups.List list(String parent)
throws IOException
Lists all groups in a given project and location.
Create a request for the method "groups.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 `ListGroupsRequest`.
- Returns:
- the request
- Throws:
IOException
-
patch
public MigrationCenterAPI.Projects.Locations.Groups.Patch patch(String name,
Group content)
throws IOException
Updates the parameters of a group.
Create a request for the method "groups.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. The name of the group.
content
- the Group
- Returns:
- the request
- Throws:
IOException
-
removeAssets
public MigrationCenterAPI.Projects.Locations.Groups.RemoveAssets removeAssets(String group,
RemoveAssetsFromGroupRequest content)
throws IOException
Removes assets from a group.
Create a request for the method "groups.removeAssets".
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:
group
- Required. Group reference.
content
- the RemoveAssetsFromGroupRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy