1.9.1 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.6 1.0.5 0.2.6 0.1.0

> [!NOTE]
> **Note:** To get more information about this package, such as access to older versions, view [this package on pkg.go.dev](https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1).

<br />

Package migrationcenter is an auto-generated package for the
Migration Center API.

A unified platform that helps you accelerate your end-to-end cloud journey
from your current on-premises or cloud environments to Google Cloud.

## General documentation

For information that is relevant for all client libraries please reference
<https://pkg.go.dev/cloud.google.com/go#pkg-overview>. Some information on this
page includes:

- [Authentication and Authorization](https://pkg.go.dev/cloud.google.com/go#hdr-Authentication_and_Authorization)
- [Timeouts and Cancellation](https://pkg.go.dev/cloud.google.com/go#hdr-Timeouts_and_Cancellation)
- [Testing against Client Libraries](https://pkg.go.dev/cloud.google.com/go#hdr-Testing)
- [Debugging Client Libraries](https://pkg.go.dev/cloud.google.com/go#hdr-Debugging)
- [Inspecting errors](https://pkg.go.dev/cloud.google.com/go#hdr-Inspecting_errors)

## Example usage

To get started with this package, create a client.

```go
// go get cloud.google.com/go/migrationcenter/apiv1@latest
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := migrationcenter.NewClient(ctx)
if err != nil {
    // TODO: Handle error.
}
defer c.Close()
```

<br />

The client will use your default application credentials. Clients should be reused instead of created as needed.
The methods of Client are safe for concurrent use by multiple goroutines.
The returned client must be Closed when it is done being used.

## Using the Client

The following is an example of making an API call with the newly created client, mentioned above.

```go
req := &migrationcenterpb.AddAssetsToGroupRequest{
    // TODO: Fill request struct fields.
    // See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#AddAssetsToGroupRequest.
}
op, err := c.AddAssetsToGroup(ctx, req)
if err != nil {
    // TODO: Handle error.
}

resp, err := op.Wait(ctx)
if err != nil {
    // TODO: Handle error.
}
// TODO: Use resp.
_ = resp
```

<br />

## Use of Context

The ctx passed to NewClient is used for authentication requests and
for creating the underlying connection, but is not used for subsequent calls.
Individual methods on the client use the ctx given to them.

To close the open connection, use the Close() method.

## Functions

### func DefaultAuthScopes

    func DefaultAuthScopes() []https://pkg.go.dev/builtin#string

DefaultAuthScopes reports the default set of authentication scopes to use with this package.

## AddAssetsToGroupOperation

    type AddAssetsToGroupOperation struct {
    	// contains filtered or unexported fields
    }

AddAssetsToGroupOperation manages a long-running operation from AddAssetsToGroup.

### func (\*AddAssetsToGroupOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client_AddAssetsToGroupOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*AddAssetsToGroupOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client_AddAssetsToGroupOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*AddAssetsToGroupOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client_AddAssetsToGroupOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*AddAssetsToGroupOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client_AddAssetsToGroupOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*AddAssetsToGroupOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client_AddAssetsToGroupOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## AssetIterator

    type AssetIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*migrationcenterpb.Asset, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

AssetIterator manages a stream of \*migrationcenterpb.Asset.

### func (\*AssetIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_AssetIterator) All() iter.Seq2[*migrationcenterpb.Asset, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*AssetIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_AssetIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Asset, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*AssetIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_AssetIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## CallOptions

    type CallOptions struct {
    	ListAssets            []gax.CallOption
    	GetAsset              []gax.CallOption
    	UpdateAsset           []gax.CallOption
    	BatchUpdateAssets     []gax.CallOption
    	DeleteAsset           []gax.CallOption
    	BatchDeleteAssets     []gax.CallOption
    	ReportAssetFrames     []gax.CallOption
    	AggregateAssetsValues []gax.CallOption
    	CreateImportJob       []gax.CallOption
    	ListImportJobs        []gax.CallOption
    	GetImportJob          []gax.CallOption
    	DeleteImportJob       []gax.CallOption
    	UpdateImportJob       []gax.CallOption
    	ValidateImportJob     []gax.CallOption
    	RunImportJob          []gax.CallOption
    	GetImportDataFile     []gax.CallOption
    	ListImportDataFiles   []gax.CallOption
    	CreateImportDataFile  []gax.CallOption
    	DeleteImportDataFile  []gax.CallOption
    	ListGroups            []gax.CallOption
    	GetGroup              []gax.CallOption
    	CreateGroup           []gax.CallOption
    	UpdateGroup           []gax.CallOption
    	DeleteGroup           []gax.CallOption
    	AddAssetsToGroup      []gax.CallOption
    	RemoveAssetsFromGroup []gax.CallOption
    	ListErrorFrames       []gax.CallOption
    	GetErrorFrame         []gax.CallOption
    	ListSources           []gax.CallOption
    	GetSource             []gax.CallOption
    	CreateSource          []gax.CallOption
    	UpdateSource          []gax.CallOption
    	DeleteSource          []gax.CallOption
    	ListPreferenceSets    []gax.CallOption
    	GetPreferenceSet      []gax.CallOption
    	CreatePreferenceSet   []gax.CallOption
    	UpdatePreferenceSet   []gax.CallOption
    	DeletePreferenceSet   []gax.CallOption
    	GetSettings           []gax.CallOption
    	UpdateSettings        []gax.CallOption
    	CreateReportConfig    []gax.CallOption
    	GetReportConfig       []gax.CallOption
    	ListReportConfigs     []gax.CallOption
    	DeleteReportConfig    []gax.CallOption
    	CreateReport          []gax.CallOption
    	GetReport             []gax.CallOption
    	ListReports           []gax.CallOption
    	DeleteReport          []gax.CallOption
    	GetLocation           []gax.CallOption
    	ListLocations         []gax.CallOption
    	CancelOperation       []gax.CallOption
    	DeleteOperation       []gax.CallOption
    	GetOperation          []gax.CallOption
    	ListOperations        []gax.CallOption
    }

CallOptions contains the retry settings for each method of Client.

## Client

    type Client struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CallOptions

    	// LROClient is used internally to handle long-running operations.
    	// It is exposed so that its CallOptions can be modified if required.
    	// Users should not Close this client.
    	LROClient *lroauto.OperationsClient
    	// contains filtered or unexported fields
    }

Client is a client for interacting with Migration Center API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service describing handlers for resources.

### func NewClient

    func NewClient(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...option.ClientOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client, https://pkg.go.dev/builtin#error)

NewClient creates a new migration center client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

Service describing handlers for resources.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewRESTClient

    func NewRESTClient(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...option.ClientOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client, https://pkg.go.dev/builtin#error)

NewRESTClient creates a new migration center rest client.

Service describing handlers for resources.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*Client) AddAssetsToGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) AddAssetsToGroup(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_AddAssetsToGroupRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client_AddAssetsToGroupOperation, https://pkg.go.dev/builtin#error)

AddAssetsToGroup adds assets to a group.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.AddAssetsToGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#AddAssetsToGroupRequest.
    	}
    	op, err := c.AddAssetsToGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) AddAssetsToGroupOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) AddAssetsToGroupOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client_AddAssetsToGroupOperation

AddAssetsToGroupOperation returns a new AddAssetsToGroupOperation from a given name.
The name must be that of a previously created AddAssetsToGroupOperation, possibly from a different process.

### func (\*Client) AggregateAssetsValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) AggregateAssetsValues(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_AggregateAssetsValuesRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_AggregateAssetsValuesResponse, https://pkg.go.dev/builtin#error)

AggregateAssetsValues aggregates the requested fields based on provided function.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.AggregateAssetsValuesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#AggregateAssetsValuesRequest.
    	}
    	resp, err := c.AggregateAssetsValues(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) BatchDeleteAssets

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) BatchDeleteAssets(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_BatchDeleteAssetsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

BatchDeleteAssets deletes list of Assets.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.BatchDeleteAssetsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#BatchDeleteAssetsRequest.
    	}
    	err = c.BatchDeleteAssets(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) BatchUpdateAssets

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) BatchUpdateAssets(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_BatchUpdateAssetsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_BatchUpdateAssetsResponse, https://pkg.go.dev/builtin#error)

BatchUpdateAssets updates the parameters of a list of assets.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.BatchUpdateAssetsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#BatchUpdateAssetsRequest.
    	}
    	resp, err := c.BatchUpdateAssets(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CancelOperation(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb.https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#CancelOperationRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

CancelOperation is a utility method from google.longrunning.Operations.

#### Example

    package main

    import (
    	"context"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &longrunningpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_CancelOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#CancelOperationRequest.
    	}
    	err = c.CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. **Always** call Close() when
the client is no longer required.

### func (\*Client) Connection
(deprecated)

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated: Connections are now pooled so this method does not always
return the same resource.

### func (\*Client) CreateGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateGroup(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_CreateGroupRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateGroupOperation, https://pkg.go.dev/builtin#error)

CreateGroup creates a new group in a given project and location.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.CreateGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#CreateGroupRequest.
    	}
    	op, err := c.CreateGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) CreateGroupOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateGroupOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateGroupOperation

CreateGroupOperation returns a new CreateGroupOperation from a given name.
The name must be that of a previously created CreateGroupOperation, possibly from a different process.

### func (\*Client) CreateImportDataFile

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateImportDataFile(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_CreateImportDataFileRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportDataFileOperation, https://pkg.go.dev/builtin#error)

CreateImportDataFile creates an import data file.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.CreateImportDataFileRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#CreateImportDataFileRequest.
    	}
    	op, err := c.CreateImportDataFile(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) CreateImportDataFileOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateImportDataFileOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportDataFileOperation

CreateImportDataFileOperation returns a new CreateImportDataFileOperation from a given name.
The name must be that of a previously created CreateImportDataFileOperation, possibly from a different process.

### func (\*Client) CreateImportJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateImportJob(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_CreateImportJobRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportJobOperation, https://pkg.go.dev/builtin#error)

CreateImportJob creates an import job.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.CreateImportJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#CreateImportJobRequest.
    	}
    	op, err := c.CreateImportJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) CreateImportJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateImportJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportJobOperation

CreateImportJobOperation returns a new CreateImportJobOperation from a given name.
The name must be that of a previously created CreateImportJobOperation, possibly from a different process.

### func (\*Client) CreatePreferenceSet

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreatePreferenceSet(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_CreatePreferenceSetRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreatePreferenceSetOperation, https://pkg.go.dev/builtin#error)

CreatePreferenceSet creates a new preference set in a given project and location.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.CreatePreferenceSetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#CreatePreferenceSetRequest.
    	}
    	op, err := c.CreatePreferenceSet(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) CreatePreferenceSetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreatePreferenceSetOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreatePreferenceSetOperation

CreatePreferenceSetOperation returns a new CreatePreferenceSetOperation from a given name.
The name must be that of a previously created CreatePreferenceSetOperation, possibly from a different process.

### func (\*Client) CreateReport

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateReport(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_CreateReportRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportOperation, https://pkg.go.dev/builtin#error)

CreateReport creates a report.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.CreateReportRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#CreateReportRequest.
    	}
    	op, err := c.CreateReport(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) CreateReportConfig

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateReportConfig(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_CreateReportConfigRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportConfigOperation, https://pkg.go.dev/builtin#error)

CreateReportConfig creates a report configuration.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.CreateReportConfigRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#CreateReportConfigRequest.
    	}
    	op, err := c.CreateReportConfig(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) CreateReportConfigOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateReportConfigOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportConfigOperation

CreateReportConfigOperation returns a new CreateReportConfigOperation from a given name.
The name must be that of a previously created CreateReportConfigOperation, possibly from a different process.

### func (\*Client) CreateReportOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateReportOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportOperation

CreateReportOperation returns a new CreateReportOperation from a given name.
The name must be that of a previously created CreateReportOperation, possibly from a different process.

### func (\*Client) CreateSource

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateSource(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_CreateSourceRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateSourceOperation, https://pkg.go.dev/builtin#error)

CreateSource creates a new source in a given project and location.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.CreateSourceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#CreateSourceRequest.
    	}
    	op, err := c.CreateSource(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) CreateSourceOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) CreateSourceOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateSourceOperation

CreateSourceOperation returns a new CreateSourceOperation from a given name.
The name must be that of a previously created CreateSourceOperation, possibly from a different process.

### func (\*Client) DeleteAsset

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteAsset(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_DeleteAssetRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

DeleteAsset deletes an asset.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.DeleteAssetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#DeleteAssetRequest.
    	}
    	err = c.DeleteAsset(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) DeleteGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteGroup(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_DeleteGroupRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteGroupOperation, https://pkg.go.dev/builtin#error)

DeleteGroup deletes a group.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.DeleteGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#DeleteGroupRequest.
    	}
    	op, err := c.DeleteGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) DeleteGroupOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteGroupOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteGroupOperation

DeleteGroupOperation returns a new DeleteGroupOperation from a given name.
The name must be that of a previously created DeleteGroupOperation, possibly from a different process.

### func (\*Client) DeleteImportDataFile

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteImportDataFile(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_DeleteImportDataFileRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportDataFileOperation, https://pkg.go.dev/builtin#error)

DeleteImportDataFile delete an import data file.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.DeleteImportDataFileRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#DeleteImportDataFileRequest.
    	}
    	op, err := c.DeleteImportDataFile(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) DeleteImportDataFileOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteImportDataFileOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportDataFileOperation

DeleteImportDataFileOperation returns a new DeleteImportDataFileOperation from a given name.
The name must be that of a previously created DeleteImportDataFileOperation, possibly from a different process.

### func (\*Client) DeleteImportJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteImportJob(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_DeleteImportJobRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportJobOperation, https://pkg.go.dev/builtin#error)

DeleteImportJob deletes an import job.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.DeleteImportJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#DeleteImportJobRequest.
    	}
    	op, err := c.DeleteImportJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) DeleteImportJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteImportJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportJobOperation

DeleteImportJobOperation returns a new DeleteImportJobOperation from a given name.
The name must be that of a previously created DeleteImportJobOperation, possibly from a different process.

### func (\*Client) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteOperation(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb.https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#DeleteOperationRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

DeleteOperation is a utility method from google.longrunning.Operations.

#### Example

    package main

    import (
    	"context"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &longrunningpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_DeleteOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#DeleteOperationRequest.
    	}
    	err = c.DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) DeletePreferenceSet

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeletePreferenceSet(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_DeletePreferenceSetRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeletePreferenceSetOperation, https://pkg.go.dev/builtin#error)

DeletePreferenceSet deletes a preference set.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.DeletePreferenceSetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#DeletePreferenceSetRequest.
    	}
    	op, err := c.DeletePreferenceSet(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) DeletePreferenceSetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeletePreferenceSetOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeletePreferenceSetOperation

DeletePreferenceSetOperation returns a new DeletePreferenceSetOperation from a given name.
The name must be that of a previously created DeletePreferenceSetOperation, possibly from a different process.

### func (\*Client) DeleteReport

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteReport(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_DeleteReportRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportOperation, https://pkg.go.dev/builtin#error)

DeleteReport deletes a Report.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.DeleteReportRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#DeleteReportRequest.
    	}
    	op, err := c.DeleteReport(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) DeleteReportConfig

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteReportConfig(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_DeleteReportConfigRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportConfigOperation, https://pkg.go.dev/builtin#error)

DeleteReportConfig deletes a ReportConfig.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.DeleteReportConfigRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#DeleteReportConfigRequest.
    	}
    	op, err := c.DeleteReportConfig(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) DeleteReportConfigOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteReportConfigOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportConfigOperation

DeleteReportConfigOperation returns a new DeleteReportConfigOperation from a given name.
The name must be that of a previously created DeleteReportConfigOperation, possibly from a different process.

### func (\*Client) DeleteReportOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteReportOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportOperation

DeleteReportOperation returns a new DeleteReportOperation from a given name.
The name must be that of a previously created DeleteReportOperation, possibly from a different process.

### func (\*Client) DeleteSource

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteSource(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_DeleteSourceRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteSourceOperation, https://pkg.go.dev/builtin#error)

DeleteSource deletes a source.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.DeleteSourceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#DeleteSourceRequest.
    	}
    	op, err := c.DeleteSource(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) DeleteSourceOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) DeleteSourceOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteSourceOperation

DeleteSourceOperation returns a new DeleteSourceOperation from a given name.
The name must be that of a previously created DeleteSourceOperation, possibly from a different process.

### func (\*Client) GetAsset

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetAsset(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetAssetRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Asset, https://pkg.go.dev/builtin#error)

GetAsset gets the details of an asset.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetAssetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetAssetRequest.
    	}
    	resp, err := c.GetAsset(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetErrorFrame

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetErrorFrame(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetErrorFrameRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ErrorFrame, https://pkg.go.dev/builtin#error)

GetErrorFrame gets the details of an error frame.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetErrorFrameRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetErrorFrameRequest.
    	}
    	resp, err := c.GetErrorFrame(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetGroup(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetGroupRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

GetGroup gets the details of a group.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetGroupRequest.
    	}
    	resp, err := c.GetGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetImportDataFile

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetImportDataFile(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetImportDataFileRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportDataFile, https://pkg.go.dev/builtin#error)

GetImportDataFile gets an import data file.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetImportDataFileRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetImportDataFileRequest.
    	}
    	resp, err := c.GetImportDataFile(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetImportJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetImportJob(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetImportJobRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportJob, https://pkg.go.dev/builtin#error)

GetImportJob gets the details of an import job.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetImportJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetImportJobRequest.
    	}
    	resp, err := c.GetImportJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetLocation(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location.https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#GetLocationRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location.https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#Location, https://pkg.go.dev/builtin#error)

GetLocation gets information about a location.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	locationpb "google.golang.org/genproto/googleapis/cloud/location"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &locationpb.GetLocationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#GetLocationRequest.
    	}
    	resp, err := c.GetLocation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetOperation(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb.https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#GetOperationRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb.https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#Operation, https://pkg.go.dev/builtin#error)

GetOperation is a utility method from google.longrunning.Operations.

#### Example

    package main

    import (
    	"context"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &longrunningpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_GetOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#GetOperationRequest.
    	}
    	resp, err := c.GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetPreferenceSet

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetPreferenceSet(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetPreferenceSetRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_PreferenceSet, https://pkg.go.dev/builtin#error)

GetPreferenceSet gets the details of a preference set.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetPreferenceSetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetPreferenceSetRequest.
    	}
    	resp, err := c.GetPreferenceSet(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetReport

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetReport(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetReportRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Report, https://pkg.go.dev/builtin#error)

GetReport gets details of a single Report.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetReportRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetReportRequest.
    	}
    	resp, err := c.GetReport(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetReportConfig

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetReportConfig(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetReportConfigRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ReportConfig, https://pkg.go.dev/builtin#error)

GetReportConfig gets details of a single ReportConfig.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetReportConfigRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetReportConfigRequest.
    	}
    	resp, err := c.GetReportConfig(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetSettings

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetSettings(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetSettingsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Settings, https://pkg.go.dev/builtin#error)

GetSettings gets the details of regional settings.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetSettingsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetSettingsRequest.
    	}
    	resp, err := c.GetSettings(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) GetSource

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) GetSource(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_GetSourceRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Source, https://pkg.go.dev/builtin#error)

GetSource gets the details of a source.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.GetSourceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#GetSourceRequest.
    	}
    	resp, err := c.GetSource(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) ListAssets

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListAssets(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ListAssetsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_AssetIterator

ListAssets lists all the assets in a given project and location.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListAssetsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListAssetsRequest.
    	}
    	it := c.ListAssets(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*migrationcenterpb.ListAssetsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListAssetsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListAssetsRequest.
    	}
    	for resp, err := range c.ListAssets(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListErrorFrames

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListErrorFrames(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ListErrorFramesRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ErrorFrameIterator

ListErrorFrames lists all error frames in a given source and location.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListErrorFramesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListErrorFramesRequest.
    	}
    	it := c.ListErrorFrames(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*migrationcenterpb.ListErrorFramesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListErrorFramesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListErrorFramesRequest.
    	}
    	for resp, err := range c.ListErrorFrames(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListGroups

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListGroups(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ListGroupsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_GroupIterator

ListGroups lists all groups in a given project and location.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListGroupsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListGroupsRequest.
    	}
    	it := c.ListGroups(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*migrationcenterpb.ListGroupsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListGroupsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListGroupsRequest.
    	}
    	for resp, err := range c.ListGroups(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListImportDataFiles

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListImportDataFiles(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ListImportDataFilesRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ImportDataFileIterator

ListImportDataFiles list import data files.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListImportDataFilesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListImportDataFilesRequest.
    	}
    	it := c.ListImportDataFiles(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*migrationcenterpb.ListImportDataFilesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListImportDataFilesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListImportDataFilesRequest.
    	}
    	for resp, err := range c.ListImportDataFiles(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListImportJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListImportJobs(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ListImportJobsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ImportJobIterator

ListImportJobs lists all import jobs.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListImportJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListImportJobsRequest.
    	}
    	it := c.ListImportJobs(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*migrationcenterpb.ListImportJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListImportJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListImportJobsRequest.
    	}
    	for resp, err := range c.ListImportJobs(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListLocations(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location.https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"
    	"google.golang.org/api/iterator"

    	locationpb "google.golang.org/genproto/googleapis/cloud/location"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_ListLocations(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*locationpb.ListLocationsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	locationpb "google.golang.org/genproto/googleapis/cloud/location"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	for resp, err := range c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_ListLocations(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListOperations(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb.https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#ListOperationsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_OperationIterator

ListOperations is a utility method from google.longrunning.Operations.

#### Examples

    package main

    import (
    	"context"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &longrunningpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_ListOperationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#ListOperationsRequest.
    	}
    	it := c.ListOperations(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*longrunningpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_ListOperationsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &longrunningpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_ListOperationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#ListOperationsRequest.
    	}
    	for resp, err := range c.ListOperations(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListPreferenceSets

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListPreferenceSets(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ListPreferenceSetsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_PreferenceSetIterator

ListPreferenceSets lists all the preference sets in a given project and location.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListPreferenceSetsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListPreferenceSetsRequest.
    	}
    	it := c.ListPreferenceSets(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*migrationcenterpb.ListPreferenceSetsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListPreferenceSetsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListPreferenceSetsRequest.
    	}
    	for resp, err := range c.ListPreferenceSets(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListReportConfigs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListReportConfigs(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ListReportConfigsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ReportConfigIterator

ListReportConfigs lists ReportConfigs in a given project and location.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListReportConfigsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListReportConfigsRequest.
    	}
    	it := c.ListReportConfigs(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*migrationcenterpb.ListReportConfigsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListReportConfigsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListReportConfigsRequest.
    	}
    	for resp, err := range c.ListReportConfigs(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListReports

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListReports(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ListReportsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ReportIterator

ListReports lists Reports in a given ReportConfig.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListReportsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListReportsRequest.
    	}
    	it := c.ListReports(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*migrationcenterpb.ListReportsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListReportsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListReportsRequest.
    	}
    	for resp, err := range c.ListReports(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) ListSources

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ListSources(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ListSourcesRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_SourceIterator

ListSources lists all the sources in a given project and location.

#### Examples

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    	"google.golang.org/api/iterator"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListSourcesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListSourcesRequest.
    	}
    	it := c.ListSources(ctx, req)
    	for {
    		resp, err := it.Next()
    		if err == iterator.Done {
    			break
    		}
    		if err != nil {
    			// TODO: Handle error.
    		}
    		// TODO: Use resp.
    		_ = resp

    		// If you need to access the underlying RPC response,
    		// you can do so by casting the `Response` as below.
    		// Otherwise, remove this line. Only populated after
    		// first call to Next(). Not safe for concurrent access.
    		_ = it.Response.(*migrationcenterpb.ListSourcesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ListSourcesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ListSourcesRequest.
    	}
    	for resp, err := range c.ListSources(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*Client) RemoveAssetsFromGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) RemoveAssetsFromGroup(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_RemoveAssetsFromGroupRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RemoveAssetsFromGroupOperation, https://pkg.go.dev/builtin#error)

RemoveAssetsFromGroup removes assets from a group.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.RemoveAssetsFromGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#RemoveAssetsFromGroupRequest.
    	}
    	op, err := c.RemoveAssetsFromGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) RemoveAssetsFromGroupOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) RemoveAssetsFromGroupOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RemoveAssetsFromGroupOperation

RemoveAssetsFromGroupOperation returns a new RemoveAssetsFromGroupOperation from a given name.
The name must be that of a previously created RemoveAssetsFromGroupOperation, possibly from a different process.

### func (\*Client) ReportAssetFrames

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ReportAssetFrames(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ReportAssetFramesRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ReportAssetFramesResponse, https://pkg.go.dev/builtin#error)

ReportAssetFrames reports a set of frames.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ReportAssetFramesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ReportAssetFramesRequest.
    	}
    	resp, err := c.ReportAssetFrames(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) RunImportJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) RunImportJob(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_RunImportJobRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RunImportJobOperation, https://pkg.go.dev/builtin#error)

RunImportJob runs an import job.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.RunImportJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#RunImportJobRequest.
    	}
    	op, err := c.RunImportJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) RunImportJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) RunImportJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RunImportJobOperation

RunImportJobOperation returns a new RunImportJobOperation from a given name.
The name must be that of a previously created RunImportJobOperation, possibly from a different process.

### func (\*Client) UpdateAsset

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdateAsset(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_UpdateAssetRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Asset, https://pkg.go.dev/builtin#error)

UpdateAsset updates the parameters of an asset.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.UpdateAssetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#UpdateAssetRequest.
    	}
    	resp, err := c.UpdateAsset(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) UpdateGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdateGroup(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_UpdateGroupRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateGroupOperation, https://pkg.go.dev/builtin#error)

UpdateGroup updates the parameters of a group.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.UpdateGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#UpdateGroupRequest.
    	}
    	op, err := c.UpdateGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) UpdateGroupOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdateGroupOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateGroupOperation

UpdateGroupOperation returns a new UpdateGroupOperation from a given name.
The name must be that of a previously created UpdateGroupOperation, possibly from a different process.

### func (\*Client) UpdateImportJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdateImportJob(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_UpdateImportJobRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateImportJobOperation, https://pkg.go.dev/builtin#error)

UpdateImportJob updates an import job.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.UpdateImportJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#UpdateImportJobRequest.
    	}
    	op, err := c.UpdateImportJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) UpdateImportJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdateImportJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateImportJobOperation

UpdateImportJobOperation returns a new UpdateImportJobOperation from a given name.
The name must be that of a previously created UpdateImportJobOperation, possibly from a different process.

### func (\*Client) UpdatePreferenceSet

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdatePreferenceSet(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_UpdatePreferenceSetRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdatePreferenceSetOperation, https://pkg.go.dev/builtin#error)

UpdatePreferenceSet updates the parameters of a preference set.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.UpdatePreferenceSetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#UpdatePreferenceSetRequest.
    	}
    	op, err := c.UpdatePreferenceSet(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) UpdatePreferenceSetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdatePreferenceSetOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdatePreferenceSetOperation

UpdatePreferenceSetOperation returns a new UpdatePreferenceSetOperation from a given name.
The name must be that of a previously created UpdatePreferenceSetOperation, possibly from a different process.

### func (\*Client) UpdateSettings

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdateSettings(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_UpdateSettingsRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSettingsOperation, https://pkg.go.dev/builtin#error)

UpdateSettings updates the regional-level project settings.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.UpdateSettingsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#UpdateSettingsRequest.
    	}
    	op, err := c.UpdateSettings(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) UpdateSettingsOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdateSettingsOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSettingsOperation

UpdateSettingsOperation returns a new UpdateSettingsOperation from a given name.
The name must be that of a previously created UpdateSettingsOperation, possibly from a different process.

### func (\*Client) UpdateSource

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdateSource(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_UpdateSourceRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSourceOperation, https://pkg.go.dev/builtin#error)

UpdateSource updates the parameters of a source.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.UpdateSourceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#UpdateSourceRequest.
    	}
    	op, err := c.UpdateSource(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*Client) UpdateSourceOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) UpdateSourceOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSourceOperation

UpdateSourceOperation returns a new UpdateSourceOperation from a given name.
The name must be that of a previously created UpdateSourceOperation, possibly from a different process.

### func (\*Client) ValidateImportJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ValidateImportJob(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ValidateImportJobRequest, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ValidateImportJobOperation, https://pkg.go.dev/builtin#error)

ValidateImportJob validates an import job.

#### Example

    package main

    import (
    	"context"

    	migrationcenter "cloud.google.com/go/migrationcenter/apiv1"

    	migrationcenterpb "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb"
    )

    func main() {
    	ctx := context.Background()
    	// This snippet has been automatically generated and should be regarded as a code template only.
    	// It will require modifications to work:
    	// - It may require correct/in-range values for request initialization.
    	// - It may require specifying regional endpoints when creating the service client as shown in:
    	//   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
    	c, err := migrationcenter.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_NewClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1.html#cloud_google_com_go_migrationcenter_apiv1_Client_Close()

    	req := &migrationcenterpb.ValidateImportJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb#ValidateImportJobRequest.
    	}
    	op, err := c.ValidateImportJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*Client) ValidateImportJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_Client) ValidateImportJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ValidateImportJobOperation

ValidateImportJobOperation returns a new ValidateImportJobOperation from a given name.
The name must be that of a previously created ValidateImportJobOperation, possibly from a different process.

## CreateGroupOperation

    type CreateGroupOperation struct {
    	// contains filtered or unexported fields
    }

CreateGroupOperation manages a long-running operation from CreateGroup.

### func (\*CreateGroupOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateGroupOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateGroupOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateGroupOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*CreateGroupOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateGroupOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*CreateGroupOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateGroupOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*CreateGroupOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateGroupOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## CreateImportDataFileOperation

    type CreateImportDataFileOperation struct {
    	// contains filtered or unexported fields
    }

CreateImportDataFileOperation manages a long-running operation from CreateImportDataFile.

### func (\*CreateImportDataFileOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportDataFileOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateImportDataFileOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportDataFileOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*CreateImportDataFileOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportDataFileOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*CreateImportDataFileOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportDataFileOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportDataFile, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*CreateImportDataFileOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportDataFileOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportDataFile, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## CreateImportJobOperation

    type CreateImportJobOperation struct {
    	// contains filtered or unexported fields
    }

CreateImportJobOperation manages a long-running operation from CreateImportJob.

### func (\*CreateImportJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateImportJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*CreateImportJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportJobOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*CreateImportJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportJobOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportJob, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*CreateImportJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateImportJobOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportJob, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## CreatePreferenceSetOperation

    type CreatePreferenceSetOperation struct {
    	// contains filtered or unexported fields
    }

CreatePreferenceSetOperation manages a long-running operation from CreatePreferenceSet.

### func (\*CreatePreferenceSetOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreatePreferenceSetOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreatePreferenceSetOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreatePreferenceSetOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*CreatePreferenceSetOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreatePreferenceSetOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*CreatePreferenceSetOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreatePreferenceSetOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_PreferenceSet, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*CreatePreferenceSetOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreatePreferenceSetOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_PreferenceSet, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## CreateReportConfigOperation

    type CreateReportConfigOperation struct {
    	// contains filtered or unexported fields
    }

CreateReportConfigOperation manages a long-running operation from CreateReportConfig.

### func (\*CreateReportConfigOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportConfigOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateReportConfigOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportConfigOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*CreateReportConfigOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportConfigOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*CreateReportConfigOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportConfigOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ReportConfig, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*CreateReportConfigOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportConfigOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ReportConfig, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## CreateReportOperation

    type CreateReportOperation struct {
    	// contains filtered or unexported fields
    }

CreateReportOperation manages a long-running operation from CreateReport.

### func (\*CreateReportOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateReportOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*CreateReportOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*CreateReportOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Report, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*CreateReportOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateReportOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Report, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## CreateSourceOperation

    type CreateSourceOperation struct {
    	// contains filtered or unexported fields
    }

CreateSourceOperation manages a long-running operation from CreateSource.

### func (\*CreateSourceOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateSourceOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateSourceOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateSourceOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*CreateSourceOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateSourceOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*CreateSourceOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateSourceOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Source, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*CreateSourceOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_CreateSourceOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Source, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## DeleteGroupOperation

    type DeleteGroupOperation struct {
    	// contains filtered or unexported fields
    }

DeleteGroupOperation manages a long-running operation from DeleteGroup.

### func (\*DeleteGroupOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteGroupOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteGroupOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteGroupOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*DeleteGroupOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteGroupOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*DeleteGroupOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteGroupOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*DeleteGroupOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteGroupOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## DeleteImportDataFileOperation

    type DeleteImportDataFileOperation struct {
    	// contains filtered or unexported fields
    }

DeleteImportDataFileOperation manages a long-running operation from DeleteImportDataFile.

### func (\*DeleteImportDataFileOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportDataFileOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteImportDataFileOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportDataFileOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*DeleteImportDataFileOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportDataFileOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*DeleteImportDataFileOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportDataFileOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*DeleteImportDataFileOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportDataFileOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## DeleteImportJobOperation

    type DeleteImportJobOperation struct {
    	// contains filtered or unexported fields
    }

DeleteImportJobOperation manages a long-running operation from DeleteImportJob.

### func (\*DeleteImportJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteImportJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*DeleteImportJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportJobOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*DeleteImportJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportJobOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*DeleteImportJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteImportJobOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## DeletePreferenceSetOperation

    type DeletePreferenceSetOperation struct {
    	// contains filtered or unexported fields
    }

DeletePreferenceSetOperation manages a long-running operation from DeletePreferenceSet.

### func (\*DeletePreferenceSetOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeletePreferenceSetOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeletePreferenceSetOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeletePreferenceSetOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*DeletePreferenceSetOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeletePreferenceSetOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*DeletePreferenceSetOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeletePreferenceSetOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*DeletePreferenceSetOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeletePreferenceSetOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## DeleteReportConfigOperation

    type DeleteReportConfigOperation struct {
    	// contains filtered or unexported fields
    }

DeleteReportConfigOperation manages a long-running operation from DeleteReportConfig.

### func (\*DeleteReportConfigOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportConfigOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteReportConfigOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportConfigOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*DeleteReportConfigOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportConfigOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*DeleteReportConfigOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportConfigOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*DeleteReportConfigOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportConfigOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## DeleteReportOperation

    type DeleteReportOperation struct {
    	// contains filtered or unexported fields
    }

DeleteReportOperation manages a long-running operation from DeleteReport.

### func (\*DeleteReportOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteReportOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*DeleteReportOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*DeleteReportOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*DeleteReportOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteReportOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## DeleteSourceOperation

    type DeleteSourceOperation struct {
    	// contains filtered or unexported fields
    }

DeleteSourceOperation manages a long-running operation from DeleteSource.

### func (\*DeleteSourceOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteSourceOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteSourceOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteSourceOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*DeleteSourceOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteSourceOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*DeleteSourceOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteSourceOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*DeleteSourceOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_DeleteSourceOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## ErrorFrameIterator

    type ErrorFrameIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*migrationcenterpb.ErrorFrame, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ErrorFrameIterator manages a stream of \*migrationcenterpb.ErrorFrame.

### func (\*ErrorFrameIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ErrorFrameIterator) All() iter.Seq2[*migrationcenterpb.ErrorFrame, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*ErrorFrameIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ErrorFrameIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ErrorFrame, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*ErrorFrameIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ErrorFrameIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## GroupIterator

    type GroupIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*migrationcenterpb.Group, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

GroupIterator manages a stream of \*migrationcenterpb.Group.

### func (\*GroupIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_GroupIterator) All() iter.Seq2[*migrationcenterpb.Group, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*GroupIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_GroupIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*GroupIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_GroupIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## ImportDataFileIterator

    type ImportDataFileIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*migrationcenterpb.ImportDataFile, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ImportDataFileIterator manages a stream of \*migrationcenterpb.ImportDataFile.

### func (\*ImportDataFileIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ImportDataFileIterator) All() iter.Seq2[*migrationcenterpb.ImportDataFile, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*ImportDataFileIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ImportDataFileIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportDataFile, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*ImportDataFileIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ImportDataFileIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## ImportJobIterator

    type ImportJobIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*migrationcenterpb.ImportJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ImportJobIterator manages a stream of \*migrationcenterpb.ImportJob.

### func (\*ImportJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ImportJobIterator) All() iter.Seq2[*migrationcenterpb.ImportJob, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*ImportJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ImportJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportJob, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*ImportJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ImportJobIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## LocationIterator

    type LocationIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*locationpb.Location, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

LocationIterator manages a stream of \*locationpb.Location.

### func (\*LocationIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_LocationIterator) All() iter.Seq2[*locationpb.Location, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*LocationIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_LocationIterator) Next() (*https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location.https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#Location, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*LocationIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_LocationIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## OperationIterator

    type OperationIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*longrunningpb.Operation, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

OperationIterator manages a stream of \*longrunningpb.Operation.

### func (\*OperationIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_OperationIterator) All() iter.Seq2[*longrunningpb.Operation, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*OperationIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_OperationIterator) Next() (*https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb.https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#Operation, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*OperationIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_OperationIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## PreferenceSetIterator

    type PreferenceSetIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*migrationcenterpb.PreferenceSet, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

PreferenceSetIterator manages a stream of \*migrationcenterpb.PreferenceSet.

### func (\*PreferenceSetIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_PreferenceSetIterator) All() iter.Seq2[*migrationcenterpb.PreferenceSet, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*PreferenceSetIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_PreferenceSetIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_PreferenceSet, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*PreferenceSetIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_PreferenceSetIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## RemoveAssetsFromGroupOperation

    type RemoveAssetsFromGroupOperation struct {
    	// contains filtered or unexported fields
    }

RemoveAssetsFromGroupOperation manages a long-running operation from RemoveAssetsFromGroup.

### func (\*RemoveAssetsFromGroupOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RemoveAssetsFromGroupOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*RemoveAssetsFromGroupOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RemoveAssetsFromGroupOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*RemoveAssetsFromGroupOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RemoveAssetsFromGroupOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*RemoveAssetsFromGroupOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RemoveAssetsFromGroupOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*RemoveAssetsFromGroupOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RemoveAssetsFromGroupOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## ReportConfigIterator

    type ReportConfigIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*migrationcenterpb.ReportConfig, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ReportConfigIterator manages a stream of \*migrationcenterpb.ReportConfig.

### func (\*ReportConfigIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ReportConfigIterator) All() iter.Seq2[*migrationcenterpb.ReportConfig, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*ReportConfigIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ReportConfigIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ReportConfig, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*ReportConfigIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ReportConfigIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## ReportIterator

    type ReportIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*migrationcenterpb.Report, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ReportIterator manages a stream of \*migrationcenterpb.Report.

### func (\*ReportIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ReportIterator) All() iter.Seq2[*migrationcenterpb.Report, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*ReportIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ReportIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Report, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*ReportIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ReportIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## RunImportJobOperation

    type RunImportJobOperation struct {
    	// contains filtered or unexported fields
    }

RunImportJobOperation manages a long-running operation from RunImportJob.

### func (\*RunImportJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RunImportJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*RunImportJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RunImportJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*RunImportJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RunImportJobOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*RunImportJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RunImportJobOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*RunImportJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_RunImportJobOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## SourceIterator

    type SourceIterator struct {

    	// Response is the raw response for the current page.
    	// It must be cast to the RPC response type.
    	// Calling Next() or InternalFetch() updates this value.
    	Response interface{}

    	// InternalFetch is for use by the Google Cloud Libraries only.
    	// It is not part of the stable interface of this package.
    	//
    	// InternalFetch returns results from a single call to the underlying RPC.
    	// The number of results is no greater than pageSize.
    	// If there are no more results, nextPageToken is empty and err is nil.
    	InternalFetch func(pageSize https://pkg.go.dev/builtin#int, pageToken https://pkg.go.dev/builtin#string) (results []*migrationcenterpb.Source, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

SourceIterator manages a stream of \*migrationcenterpb.Source.

### func (\*SourceIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_SourceIterator) All() iter.Seq2[*migrationcenterpb.Source, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*SourceIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_SourceIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Source, https://pkg.go.dev/builtin#error)

Next returns the next result. Its second return value is iterator.Done if there are no more
results. Once Next returns Done, all subsequent calls will return Done.

### func (\*SourceIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_SourceIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## UpdateGroupOperation

    type UpdateGroupOperation struct {
    	// contains filtered or unexported fields
    }

UpdateGroupOperation manages a long-running operation from UpdateGroup.

### func (\*UpdateGroupOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateGroupOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateGroupOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateGroupOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*UpdateGroupOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateGroupOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*UpdateGroupOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateGroupOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*UpdateGroupOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateGroupOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Group, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## UpdateImportJobOperation

    type UpdateImportJobOperation struct {
    	// contains filtered or unexported fields
    }

UpdateImportJobOperation manages a long-running operation from UpdateImportJob.

### func (\*UpdateImportJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateImportJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateImportJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateImportJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*UpdateImportJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateImportJobOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*UpdateImportJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateImportJobOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportJob, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*UpdateImportJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateImportJobOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_ImportJob, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## UpdatePreferenceSetOperation

    type UpdatePreferenceSetOperation struct {
    	// contains filtered or unexported fields
    }

UpdatePreferenceSetOperation manages a long-running operation from UpdatePreferenceSet.

### func (\*UpdatePreferenceSetOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdatePreferenceSetOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdatePreferenceSetOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdatePreferenceSetOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*UpdatePreferenceSetOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdatePreferenceSetOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*UpdatePreferenceSetOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdatePreferenceSetOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_PreferenceSet, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*UpdatePreferenceSetOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdatePreferenceSetOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_PreferenceSet, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## UpdateSettingsOperation

    type UpdateSettingsOperation struct {
    	// contains filtered or unexported fields
    }

UpdateSettingsOperation manages a long-running operation from UpdateSettings.

### func (\*UpdateSettingsOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSettingsOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateSettingsOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSettingsOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*UpdateSettingsOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSettingsOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*UpdateSettingsOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSettingsOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Settings, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*UpdateSettingsOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSettingsOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Settings, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## UpdateSourceOperation

    type UpdateSourceOperation struct {
    	// contains filtered or unexported fields
    }

UpdateSourceOperation manages a long-running operation from UpdateSource.

### func (\*UpdateSourceOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSourceOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateSourceOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSourceOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*UpdateSourceOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSourceOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*UpdateSourceOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSourceOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Source, https://pkg.go.dev/builtin#error)

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*UpdateSourceOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_UpdateSourceOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_Source, https://pkg.go.dev/builtin#error)

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

## ValidateImportJobOperation

    type ValidateImportJobOperation struct {
    	// contains filtered or unexported fields
    }

ValidateImportJobOperation manages a long-running operation from ValidateImportJob.

### func (\*ValidateImportJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ValidateImportJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ValidateImportJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ValidateImportJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1/migrationcenterpb#cloud_google_com_go_migrationcenter_apiv1_migrationcenterpb_OperationMetadata, https://pkg.go.dev/builtin#error)

Metadata returns metadata associated with the long-running operation.
Metadata itself does not contact the server, but Poll does.
To get the latest metadata, call this method after a successful call to Poll.
If the metadata is not available, the returned metadata and error are both nil.

### func (\*ValidateImportJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ValidateImportJobOperation) Name() https://pkg.go.dev/builtin#string

Name returns the name of the long-running operation.
The name is assigned by the server and is unique within the service from which the operation is created.

### func (\*ValidateImportJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ValidateImportJobOperation) Poll(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and
the operation has completed with failure, the error is returned and op.Done will return true.
If Poll succeeds and the operation has completed successfully,
op.Done will return true, and the response of the operation is returned.
If Poll succeeds and the operation has not completed, the returned response and error are both nil.

### func (\*ValidateImportJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/migrationcenter/latest/apiv1#cloud_google_com_go_migrationcenter_apiv1_ValidateImportJobOperation) Wait(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, opts ...https://pkg.go.dev/github.com/googleapis/gax-go/v2.https://pkg.go.dev/github.com/googleapis/gax-go/v2#CallOption) https://pkg.go.dev/builtin#error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.