1.127.1 (latest) 1.127.0 1.126.0 1.125.0 1.124.0 1.123.0 1.122.0 1.121.0 1.120.0 1.119.0 1.118.0 1.117.0 1.116.0 1.115.0 1.114.0 1.113.0 1.112.0 1.111.0 1.110.0 1.109.0 1.108.0 1.107.0 1.106.0 1.105.0 1.104.0 1.103.0 1.102.0 1.101.0 1.100.0 1.99.0 1.98.0 1.97.0 1.96.0 1.95.0 1.94.0 1.93.0 1.92.0 1.91.0 1.90.0 1.89.0 1.88.0 1.87.0 1.86.0 1.85.0 1.84.0 1.83.0 1.82.1 1.81.0 1.80.0 1.79.0 1.78.0 1.77.0 1.76.0 1.75.0 1.74.0 1.73.0 1.72.0 1.71.0 1.70.0 1.69.0 1.68.0 1.67.0 1.66.0 1.65.0 1.64.0 1.63.0 1.62.2 1.61.0 1.60.0 1.59.0 1.58.2 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.2 1.49.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.1 1.39.0 1.38.0 1.37.0 1.36.1 1.35.0 1.34.0 1.33.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 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.1 1.0.0 0.2.0 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

> [!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/aiplatform/apiv1beta1).

<br />

Package aiplatform is an auto-generated package for the
Vertex AI API.

Train high-quality custom machine learning models with minimal machine
learning expertise and effort.

```go
NOTE: This package is in beta. It is not stable, and may be subject to changes.
```

<br />

## 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/aiplatform/apiv1beta1@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 := aiplatform.NewDatasetClient(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 := &aiplatformpb.AssembleDataRequest{
    // TODO: Fill request struct fields.
    // See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AssembleDataRequest.
}
op, err := c.AssembleData(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 NewDatasetClient 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.

## AnnotationIterator

    type AnnotationIterator 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 []*aiplatformpb.Annotation, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

AnnotationIterator manages a stream of \*aiplatformpb.Annotation.

### func (\*AnnotationIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_AnnotationIterator) All() iter.Seq2[*aiplatformpb.Annotation, error]

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

### func (\*AnnotationIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_AnnotationIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Annotation, 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 (\*AnnotationIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_AnnotationIterator) PageInfo() *iterator.PageInfo

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

## ArtifactIterator

    type ArtifactIterator 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 []*aiplatformpb.Artifact, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ArtifactIterator manages a stream of \*aiplatformpb.Artifact.

### func (\*ArtifactIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ArtifactIterator) All() iter.Seq2[*aiplatformpb.Artifact, error]

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

### func (\*ArtifactIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ArtifactIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Artifact, 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 (\*ArtifactIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ArtifactIterator) PageInfo() *iterator.PageInfo

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

## AssembleDataOperation

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

AssembleDataOperation manages a long-running operation from AssembleData.

### func (\*AssembleDataOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssembleDataOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*AssembleDataOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssembleDataOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssembleDataOperationMetadata, 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 (\*AssembleDataOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssembleDataOperation) 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 (\*AssembleDataOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssembleDataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssembleDataResponse, 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 (\*AssembleDataOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssembleDataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssembleDataResponse, 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.

## AssessDataOperation

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

AssessDataOperation manages a long-running operation from AssessData.

### func (\*AssessDataOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssessDataOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*AssessDataOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssessDataOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssessDataOperationMetadata, 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 (\*AssessDataOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssessDataOperation) 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 (\*AssessDataOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssessDataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssessDataResponse, 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 (\*AssessDataOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssessDataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssessDataResponse, 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.

## AssignNotebookRuntimeOperation

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

AssignNotebookRuntimeOperation manages a long-running operation from AssignNotebookRuntime.

### func (\*AssignNotebookRuntimeOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_AssignNotebookRuntimeOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*AssignNotebookRuntimeOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_AssignNotebookRuntimeOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssignNotebookRuntimeOperationMetadata, 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 (\*AssignNotebookRuntimeOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_AssignNotebookRuntimeOperation) 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 (\*AssignNotebookRuntimeOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_AssignNotebookRuntimeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookRuntime, 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 (\*AssignNotebookRuntimeOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_AssignNotebookRuntimeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookRuntime, 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.

## AsyncQueryReasoningEngineOperation

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

AsyncQueryReasoningEngineOperation manages a long-running operation from AsyncQueryReasoningEngine.

### func (\*AsyncQueryReasoningEngineOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_AsyncQueryReasoningEngineOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*AsyncQueryReasoningEngineOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_AsyncQueryReasoningEngineOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AsyncQueryReasoningEngineOperationMetadata, 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 (\*AsyncQueryReasoningEngineOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_AsyncQueryReasoningEngineOperation) 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 (\*AsyncQueryReasoningEngineOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_AsyncQueryReasoningEngineOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AsyncQueryReasoningEngineResponse, 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 (\*AsyncQueryReasoningEngineOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_AsyncQueryReasoningEngineOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AsyncQueryReasoningEngineResponse, 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.

## AsyncRetrieveContextsOperation

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

AsyncRetrieveContextsOperation manages a long-running operation from AsyncRetrieveContexts.

### func (\*AsyncRetrieveContextsOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_AsyncRetrieveContextsOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*AsyncRetrieveContextsOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_AsyncRetrieveContextsOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AsyncRetrieveContextsOperationMetadata, 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 (\*AsyncRetrieveContextsOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_AsyncRetrieveContextsOperation) 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 (\*AsyncRetrieveContextsOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_AsyncRetrieveContextsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AsyncRetrieveContextsResponse, 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 (\*AsyncRetrieveContextsOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_AsyncRetrieveContextsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AsyncRetrieveContextsResponse, 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.

## BatchCancelPipelineJobsOperation

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

BatchCancelPipelineJobsOperation manages a long-running operation from BatchCancelPipelineJobs.

### func (\*BatchCancelPipelineJobsOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchCancelPipelineJobsOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*BatchCancelPipelineJobsOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchCancelPipelineJobsOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCancelPipelineJobsOperationMetadata, 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 (\*BatchCancelPipelineJobsOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchCancelPipelineJobsOperation) 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 (\*BatchCancelPipelineJobsOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchCancelPipelineJobsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCancelPipelineJobsResponse, 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 (\*BatchCancelPipelineJobsOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchCancelPipelineJobsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCancelPipelineJobsResponse, 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.

## BatchCreateFeaturesOperation

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

BatchCreateFeaturesOperation manages a long-running operation from BatchCreateFeatures.

### func (\*BatchCreateFeaturesOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchCreateFeaturesOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*BatchCreateFeaturesOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchCreateFeaturesOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateFeaturesOperationMetadata, 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 (\*BatchCreateFeaturesOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchCreateFeaturesOperation) 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 (\*BatchCreateFeaturesOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchCreateFeaturesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateFeaturesResponse, 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 (\*BatchCreateFeaturesOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchCreateFeaturesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateFeaturesResponse, 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.

## BatchCreateRagDataSchemasOperation

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

BatchCreateRagDataSchemasOperation manages a long-running operation from BatchCreateRagDataSchemas.

### func (\*BatchCreateRagDataSchemasOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagDataSchemasOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*BatchCreateRagDataSchemasOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagDataSchemasOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateRagDataSchemasOperationMetadata, 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 (\*BatchCreateRagDataSchemasOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagDataSchemasOperation) 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 (\*BatchCreateRagDataSchemasOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagDataSchemasOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateRagDataSchemasResponse, 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 (\*BatchCreateRagDataSchemasOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagDataSchemasOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateRagDataSchemasResponse, 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.

## BatchCreateRagMetadataOperation

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

BatchCreateRagMetadataOperation manages a long-running operation from BatchCreateRagMetadata.

### func (\*BatchCreateRagMetadataOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagMetadataOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*BatchCreateRagMetadataOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagMetadataOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateRagMetadataOperationMetadata, 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 (\*BatchCreateRagMetadataOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagMetadataOperation) 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 (\*BatchCreateRagMetadataOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagMetadataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateRagMetadataResponse, 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 (\*BatchCreateRagMetadataOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagMetadataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateRagMetadataResponse, 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.

## BatchDeletePipelineJobsOperation

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

BatchDeletePipelineJobsOperation manages a long-running operation from BatchDeletePipelineJobs.

### func (\*BatchDeletePipelineJobsOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchDeletePipelineJobsOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*BatchDeletePipelineJobsOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchDeletePipelineJobsOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*BatchDeletePipelineJobsOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchDeletePipelineJobsOperation) 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 (\*BatchDeletePipelineJobsOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchDeletePipelineJobsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchDeletePipelineJobsResponse, 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 (\*BatchDeletePipelineJobsOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchDeletePipelineJobsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchDeletePipelineJobsResponse, 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.

## BatchDeleteRagDataSchemasOperation

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

BatchDeleteRagDataSchemasOperation manages a long-running operation from BatchDeleteRagDataSchemas.

### func (\*BatchDeleteRagDataSchemasOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagDataSchemasOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*BatchDeleteRagDataSchemasOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagDataSchemasOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*BatchDeleteRagDataSchemasOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagDataSchemasOperation) 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 (\*BatchDeleteRagDataSchemasOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagDataSchemasOperation) 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 (\*BatchDeleteRagDataSchemasOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagDataSchemasOperation) 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.

## BatchDeleteRagMetadataOperation

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

BatchDeleteRagMetadataOperation manages a long-running operation from BatchDeleteRagMetadata.

### func (\*BatchDeleteRagMetadataOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagMetadataOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*BatchDeleteRagMetadataOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagMetadataOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*BatchDeleteRagMetadataOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagMetadataOperation) 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 (\*BatchDeleteRagMetadataOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagMetadataOperation) 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 (\*BatchDeleteRagMetadataOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagMetadataOperation) 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.

## BatchMigrateResourcesOperation

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

BatchMigrateResourcesOperation manages a long-running operation from BatchMigrateResources.

### func (\*BatchMigrateResourcesOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_BatchMigrateResourcesOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*BatchMigrateResourcesOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_BatchMigrateResourcesOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchMigrateResourcesOperationMetadata, 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 (\*BatchMigrateResourcesOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_BatchMigrateResourcesOperation) 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 (\*BatchMigrateResourcesOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_BatchMigrateResourcesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchMigrateResourcesResponse, 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 (\*BatchMigrateResourcesOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_BatchMigrateResourcesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchMigrateResourcesResponse, 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.

## BatchPredictionJobIterator

    type BatchPredictionJobIterator 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 []*aiplatformpb.BatchPredictionJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

BatchPredictionJobIterator manages a stream of \*aiplatformpb.BatchPredictionJob.

### func (\*BatchPredictionJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_BatchPredictionJobIterator) All() iter.Seq2[*aiplatformpb.BatchPredictionJob, error]

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

### func (\*BatchPredictionJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_BatchPredictionJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchPredictionJob, 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 (\*BatchPredictionJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_BatchPredictionJobIterator) PageInfo() *iterator.PageInfo

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

## BatchReadFeatureValuesOperation

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

BatchReadFeatureValuesOperation manages a long-running operation from BatchReadFeatureValues.

### func (\*BatchReadFeatureValuesOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchReadFeatureValuesOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*BatchReadFeatureValuesOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchReadFeatureValuesOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchReadFeatureValuesOperationMetadata, 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 (\*BatchReadFeatureValuesOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchReadFeatureValuesOperation) 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 (\*BatchReadFeatureValuesOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchReadFeatureValuesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchReadFeatureValuesResponse, 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 (\*BatchReadFeatureValuesOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchReadFeatureValuesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchReadFeatureValuesResponse, 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.

## CachedContentIterator

    type CachedContentIterator 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 []*aiplatformpb.CachedContent, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

CachedContentIterator manages a stream of \*aiplatformpb.CachedContent.

### func (\*CachedContentIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_CachedContentIterator) All() iter.Seq2[*aiplatformpb.CachedContent, error]

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

### func (\*CachedContentIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_CachedContentIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CachedContent, 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 (\*CachedContentIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_CachedContentIterator) PageInfo() *iterator.PageInfo

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

## CheckTrialEarlyStoppingStateOperation

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

CheckTrialEarlyStoppingStateOperation manages a long-running operation from CheckTrialEarlyStoppingState.

### func (\*CheckTrialEarlyStoppingStateOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_CheckTrialEarlyStoppingStateOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CheckTrialEarlyStoppingStateOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_CheckTrialEarlyStoppingStateOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CheckTrialEarlyStoppingStateMetatdata, 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 (\*CheckTrialEarlyStoppingStateOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_CheckTrialEarlyStoppingStateOperation) 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 (\*CheckTrialEarlyStoppingStateOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_CheckTrialEarlyStoppingStateOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CheckTrialEarlyStoppingStateResponse, 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 (\*CheckTrialEarlyStoppingStateOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_CheckTrialEarlyStoppingStateOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CheckTrialEarlyStoppingStateResponse, 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.

## ContextIterator

    type ContextIterator 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 []*aiplatformpb.Context, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ContextIterator manages a stream of \*aiplatformpb.Context.

### func (\*ContextIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ContextIterator) All() iter.Seq2[*aiplatformpb.Context, error]

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

### func (\*ContextIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ContextIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Context, 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 (\*ContextIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ContextIterator) PageInfo() *iterator.PageInfo

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

## CopyModelOperation

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

CopyModelOperation manages a long-running operation from CopyModel.

### func (\*CopyModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_CopyModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CopyModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_CopyModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CopyModelOperationMetadata, 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 (\*CopyModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_CopyModelOperation) 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 (\*CopyModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_CopyModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CopyModelResponse, 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 (\*CopyModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_CopyModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CopyModelResponse, 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.

## CreateDatasetOperation

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

CreateDatasetOperation manages a long-running operation from CreateDataset.

### func (\*CreateDatasetOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateDatasetOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateDatasetOperationMetadata, 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 (\*CreateDatasetOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetOperation) 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 (\*CreateDatasetOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Dataset, 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 (\*CreateDatasetOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Dataset, 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.

## CreateDatasetVersionOperation

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

CreateDatasetVersionOperation manages a long-running operation from CreateDatasetVersion.

### func (\*CreateDatasetVersionOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetVersionOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateDatasetVersionOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetVersionOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateDatasetVersionOperationMetadata, 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 (\*CreateDatasetVersionOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetVersionOperation) 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 (\*CreateDatasetVersionOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetVersionOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DatasetVersion, 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 (\*CreateDatasetVersionOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetVersionOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DatasetVersion, 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.

## CreateDeploymentResourcePoolOperation

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

CreateDeploymentResourcePoolOperation manages a long-running operation from CreateDeploymentResourcePool.

### func (\*CreateDeploymentResourcePoolOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_CreateDeploymentResourcePoolOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateDeploymentResourcePoolOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_CreateDeploymentResourcePoolOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateDeploymentResourcePoolOperationMetadata, 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 (\*CreateDeploymentResourcePoolOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_CreateDeploymentResourcePoolOperation) 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 (\*CreateDeploymentResourcePoolOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_CreateDeploymentResourcePoolOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeploymentResourcePool, 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 (\*CreateDeploymentResourcePoolOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_CreateDeploymentResourcePoolOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeploymentResourcePool, 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.

## CreateEndpointOperation

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

CreateEndpointOperation manages a long-running operation from CreateEndpoint.

### func (\*CreateEndpointOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_CreateEndpointOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateEndpointOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_CreateEndpointOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateEndpointOperationMetadata, 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 (\*CreateEndpointOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_CreateEndpointOperation) 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 (\*CreateEndpointOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_CreateEndpointOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Endpoint, 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 (\*CreateEndpointOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_CreateEndpointOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Endpoint, 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.

## CreateEntityTypeOperation

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

CreateEntityTypeOperation manages a long-running operation from CreateEntityType.

### func (\*CreateEntityTypeOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateEntityTypeOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateEntityTypeOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateEntityTypeOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateEntityTypeOperationMetadata, 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 (\*CreateEntityTypeOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateEntityTypeOperation) 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 (\*CreateEntityTypeOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateEntityTypeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EntityType, 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 (\*CreateEntityTypeOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateEntityTypeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EntityType, 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.

## CreateExampleStoreOperation

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

CreateExampleStoreOperation manages a long-running operation from CreateExampleStore.

### func (\*CreateExampleStoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_CreateExampleStoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateExampleStoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_CreateExampleStoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateExampleStoreOperationMetadata, 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 (\*CreateExampleStoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_CreateExampleStoreOperation) 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 (\*CreateExampleStoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_CreateExampleStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExampleStore, 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 (\*CreateExampleStoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_CreateExampleStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExampleStore, 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.

## CreateFeatureGroupOperation

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

CreateFeatureGroupOperation manages a long-running operation from CreateFeatureGroup.

### func (\*CreateFeatureGroupOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureGroupOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateFeatureGroupOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureGroupOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureGroupOperationMetadata, 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 (\*CreateFeatureGroupOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureGroupOperation) 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 (\*CreateFeatureGroupOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureGroupOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureGroup, 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 (\*CreateFeatureGroupOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureGroupOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureGroup, 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.

## CreateFeatureMonitorOperation

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

CreateFeatureMonitorOperation manages a long-running operation from CreateFeatureMonitor.

### func (\*CreateFeatureMonitorOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureMonitorOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateFeatureMonitorOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureMonitorOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureMonitorOperationMetadata, 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 (\*CreateFeatureMonitorOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureMonitorOperation) 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 (\*CreateFeatureMonitorOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureMonitorOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureMonitor, 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 (\*CreateFeatureMonitorOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureMonitorOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureMonitor, 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.

## CreateFeatureOnlineStoreOperation

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

CreateFeatureOnlineStoreOperation manages a long-running operation from CreateFeatureOnlineStore.

### func (\*CreateFeatureOnlineStoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureOnlineStoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateFeatureOnlineStoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureOnlineStoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureOnlineStoreOperationMetadata, 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 (\*CreateFeatureOnlineStoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureOnlineStoreOperation) 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 (\*CreateFeatureOnlineStoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureOnlineStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureOnlineStore, 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 (\*CreateFeatureOnlineStoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureOnlineStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureOnlineStore, 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.

## CreateFeatureOperation

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

CreateFeatureOperation manages a long-running operation from CreateFeature.

### func (\*CreateFeatureOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeatureOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateFeatureOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeatureOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureOperationMetadata, 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 (\*CreateFeatureOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeatureOperation) 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 (\*CreateFeatureOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeatureOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Feature, 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 (\*CreateFeatureOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeatureOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Feature, 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.

## CreateFeatureViewOperation

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

CreateFeatureViewOperation manages a long-running operation from CreateFeatureView.

### func (\*CreateFeatureViewOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureViewOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateFeatureViewOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureViewOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureViewOperationMetadata, 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 (\*CreateFeatureViewOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureViewOperation) 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 (\*CreateFeatureViewOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureViewOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureView, 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 (\*CreateFeatureViewOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureViewOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureView, 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.

## CreateFeaturestoreOperation

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

CreateFeaturestoreOperation manages a long-running operation from CreateFeaturestore.

### func (\*CreateFeaturestoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeaturestoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateFeaturestoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeaturestoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeaturestoreOperationMetadata, 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 (\*CreateFeaturestoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeaturestoreOperation) 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 (\*CreateFeaturestoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeaturestoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Featurestore, 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 (\*CreateFeaturestoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeaturestoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Featurestore, 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.

## CreateIndexEndpointOperation

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

CreateIndexEndpointOperation manages a long-running operation from CreateIndexEndpoint.

### func (\*CreateIndexEndpointOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_CreateIndexEndpointOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateIndexEndpointOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_CreateIndexEndpointOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateIndexEndpointOperationMetadata, 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 (\*CreateIndexEndpointOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_CreateIndexEndpointOperation) 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 (\*CreateIndexEndpointOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_CreateIndexEndpointOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_IndexEndpoint, 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 (\*CreateIndexEndpointOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_CreateIndexEndpointOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_IndexEndpoint, 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.

## CreateIndexOperation

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

CreateIndexOperation manages a long-running operation from CreateIndex.

### func (\*CreateIndexOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_CreateIndexOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateIndexOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_CreateIndexOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateIndexOperationMetadata, 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 (\*CreateIndexOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_CreateIndexOperation) 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 (\*CreateIndexOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_CreateIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Index, 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 (\*CreateIndexOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_CreateIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Index, 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.

## CreateMemoryOperation

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

CreateMemoryOperation manages a long-running operation from CreateMemory.

### func (\*CreateMemoryOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_CreateMemoryOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateMemoryOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_CreateMemoryOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateMemoryOperationMetadata, 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 (\*CreateMemoryOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_CreateMemoryOperation) 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 (\*CreateMemoryOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_CreateMemoryOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Memory, 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 (\*CreateMemoryOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_CreateMemoryOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Memory, 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.

## CreateMetadataStoreOperation

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

CreateMetadataStoreOperation manages a long-running operation from CreateMetadataStore.

### func (\*CreateMetadataStoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_CreateMetadataStoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateMetadataStoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_CreateMetadataStoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateMetadataStoreOperationMetadata, 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 (\*CreateMetadataStoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_CreateMetadataStoreOperation) 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 (\*CreateMetadataStoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_CreateMetadataStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MetadataStore, 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 (\*CreateMetadataStoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_CreateMetadataStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MetadataStore, 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.

## CreateModelMonitorOperation

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

CreateModelMonitorOperation manages a long-running operation from CreateModelMonitor.

### func (\*CreateModelMonitorOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_CreateModelMonitorOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateModelMonitorOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_CreateModelMonitorOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateModelMonitorOperationMetadata, 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 (\*CreateModelMonitorOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_CreateModelMonitorOperation) 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 (\*CreateModelMonitorOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_CreateModelMonitorOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitor, 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 (\*CreateModelMonitorOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_CreateModelMonitorOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitor, 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.

## CreateNotebookExecutionJobOperation

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

CreateNotebookExecutionJobOperation manages a long-running operation from CreateNotebookExecutionJob.

### func (\*CreateNotebookExecutionJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookExecutionJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateNotebookExecutionJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookExecutionJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateNotebookExecutionJobOperationMetadata, 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 (\*CreateNotebookExecutionJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookExecutionJobOperation) 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 (\*CreateNotebookExecutionJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookExecutionJobOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookExecutionJob, 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 (\*CreateNotebookExecutionJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookExecutionJobOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookExecutionJob, 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.

## CreateNotebookRuntimeTemplateOperation

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

CreateNotebookRuntimeTemplateOperation manages a long-running operation from CreateNotebookRuntimeTemplate.

### func (\*CreateNotebookRuntimeTemplateOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookRuntimeTemplateOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateNotebookRuntimeTemplateOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookRuntimeTemplateOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateNotebookRuntimeTemplateOperationMetadata, 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 (\*CreateNotebookRuntimeTemplateOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookRuntimeTemplateOperation) 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 (\*CreateNotebookRuntimeTemplateOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookRuntimeTemplateOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookRuntimeTemplate, 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 (\*CreateNotebookRuntimeTemplateOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookRuntimeTemplateOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookRuntimeTemplate, 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.

## CreatePersistentResourceOperation

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

CreatePersistentResourceOperation manages a long-running operation from CreatePersistentResource.

### func (\*CreatePersistentResourceOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_CreatePersistentResourceOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreatePersistentResourceOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_CreatePersistentResourceOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreatePersistentResourceOperationMetadata, 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 (\*CreatePersistentResourceOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_CreatePersistentResourceOperation) 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 (\*CreatePersistentResourceOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_CreatePersistentResourceOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PersistentResource, 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 (\*CreatePersistentResourceOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_CreatePersistentResourceOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PersistentResource, 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.

## CreateRagCorpusOperation

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

CreateRagCorpusOperation manages a long-running operation from CreateRagCorpus.

### func (\*CreateRagCorpusOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_CreateRagCorpusOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateRagCorpusOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_CreateRagCorpusOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateRagCorpusOperationMetadata, 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 (\*CreateRagCorpusOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_CreateRagCorpusOperation) 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 (\*CreateRagCorpusOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_CreateRagCorpusOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagCorpus, 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 (\*CreateRagCorpusOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_CreateRagCorpusOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagCorpus, 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.

## CreateReasoningEngineOperation

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

CreateReasoningEngineOperation manages a long-running operation from CreateReasoningEngine.

### func (\*CreateReasoningEngineOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_CreateReasoningEngineOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateReasoningEngineOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_CreateReasoningEngineOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateReasoningEngineOperationMetadata, 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 (\*CreateReasoningEngineOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_CreateReasoningEngineOperation) 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 (\*CreateReasoningEngineOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_CreateReasoningEngineOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReasoningEngine, 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 (\*CreateReasoningEngineOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_CreateReasoningEngineOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReasoningEngine, 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.

## CreateSessionOperation

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

CreateSessionOperation manages a long-running operation from CreateSession.

### func (\*CreateSessionOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_CreateSessionOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateSessionOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_CreateSessionOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateSessionOperationMetadata, 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 (\*CreateSessionOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_CreateSessionOperation) 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 (\*CreateSessionOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_CreateSessionOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Session, 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 (\*CreateSessionOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_CreateSessionOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Session, 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.

## CreateSpecialistPoolOperation

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

CreateSpecialistPoolOperation manages a long-running operation from CreateSpecialistPool.

### func (\*CreateSpecialistPoolOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_CreateSpecialistPoolOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateSpecialistPoolOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_CreateSpecialistPoolOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateSpecialistPoolOperationMetadata, 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 (\*CreateSpecialistPoolOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_CreateSpecialistPoolOperation) 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 (\*CreateSpecialistPoolOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_CreateSpecialistPoolOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SpecialistPool, 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 (\*CreateSpecialistPoolOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_CreateSpecialistPoolOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SpecialistPool, 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.

## CreateTensorboardOperation

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

CreateTensorboardOperation manages a long-running operation from CreateTensorboard.

### func (\*CreateTensorboardOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_CreateTensorboardOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*CreateTensorboardOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_CreateTensorboardOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateTensorboardOperationMetadata, 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 (\*CreateTensorboardOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_CreateTensorboardOperation) 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 (\*CreateTensorboardOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_CreateTensorboardOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Tensorboard, 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 (\*CreateTensorboardOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_CreateTensorboardOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Tensorboard, 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.

## CustomJobIterator

    type CustomJobIterator 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 []*aiplatformpb.CustomJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

CustomJobIterator manages a stream of \*aiplatformpb.CustomJob.

### func (\*CustomJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_CustomJobIterator) All() iter.Seq2[*aiplatformpb.CustomJob, error]

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

### func (\*CustomJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_CustomJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CustomJob, 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 (\*CustomJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_CustomJobIterator) PageInfo() *iterator.PageInfo

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

## DataItemIterator

    type DataItemIterator 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 []*aiplatformpb.DataItem, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

DataItemIterator manages a stream of \*aiplatformpb.DataItem.

### func (\*DataItemIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataItemIterator) All() iter.Seq2[*aiplatformpb.DataItem, error]

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

### func (\*DataItemIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataItemIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DataItem, 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 (\*DataItemIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataItemIterator) PageInfo() *iterator.PageInfo

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

## DataItemViewIterator

    type DataItemViewIterator 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 []*aiplatformpb.DataItemView, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

DataItemViewIterator manages a stream of \*aiplatformpb.DataItemView.

### func (\*DataItemViewIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataItemViewIterator) All() iter.Seq2[*aiplatformpb.DataItemView, error]

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

### func (\*DataItemViewIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataItemViewIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DataItemView, 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 (\*DataItemViewIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataItemViewIterator) PageInfo() *iterator.PageInfo

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

## DataLabelingJobIterator

    type DataLabelingJobIterator 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 []*aiplatformpb.DataLabelingJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

DataLabelingJobIterator manages a stream of \*aiplatformpb.DataLabelingJob.

### func (\*DataLabelingJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataLabelingJobIterator) All() iter.Seq2[*aiplatformpb.DataLabelingJob, error]

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

### func (\*DataLabelingJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataLabelingJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DataLabelingJob, 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 (\*DataLabelingJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataLabelingJobIterator) PageInfo() *iterator.PageInfo

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

## DatasetCallOptions

    type DatasetCallOptions struct {
    	CreateDataset         []gax.CallOption
    	GetDataset            []gax.CallOption
    	UpdateDataset         []gax.CallOption
    	ListDatasets          []gax.CallOption
    	DeleteDataset         []gax.CallOption
    	ImportData            []gax.CallOption
    	ExportData            []gax.CallOption
    	CreateDatasetVersion  []gax.CallOption
    	UpdateDatasetVersion  []gax.CallOption
    	DeleteDatasetVersion  []gax.CallOption
    	GetDatasetVersion     []gax.CallOption
    	ListDatasetVersions   []gax.CallOption
    	RestoreDatasetVersion []gax.CallOption
    	ListDataItems         []gax.CallOption
    	SearchDataItems       []gax.CallOption
    	ListSavedQueries      []gax.CallOption
    	DeleteSavedQuery      []gax.CallOption
    	GetAnnotationSpec     []gax.CallOption
    	ListAnnotations       []gax.CallOption
    	AssessData            []gax.CallOption
    	AssembleData          []gax.CallOption
    	GetLocation           []gax.CallOption
    	ListLocations         []gax.CallOption
    	GetIamPolicy          []gax.CallOption
    	SetIamPolicy          []gax.CallOption
    	TestIamPermissions    []gax.CallOption
    	CancelOperation       []gax.CallOption
    	DeleteOperation       []gax.CallOption
    	GetOperation          []gax.CallOption
    	ListOperations        []gax.CallOption
    	WaitOperation         []gax.CallOption
    }

DatasetCallOptions contains the retry settings for each method of DatasetClient.

## DatasetClient

    type DatasetClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetCallOptions

    	// 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
    }

DatasetClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

The service that manages Vertex AI Dataset and its child resources.

### func NewDatasetClient

    func NewDatasetClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient, https://pkg.go.dev/builtin#error)

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

The service that manages Vertex AI Dataset and its child resources.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewDatasetRESTClient

    func NewDatasetRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient, https://pkg.go.dev/builtin#error)

NewDatasetRESTClient creates a new dataset service rest client.

The service that manages Vertex AI Dataset and its child resources.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*DatasetClient) AssembleData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) AssembleData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssembleDataRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssembleDataOperation, https://pkg.go.dev/builtin#error)

AssembleData assembles each row of a multimodal dataset and writes the result into a
BigQuery table.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AssembleDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AssembleDataRequest.
    	}
    	op, err := c.AssembleData(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) AssembleDataOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) AssembleDataOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssembleDataOperation

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

### func (\*DatasetClient) AssessData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) AssessData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssessDataRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssessDataOperation, https://pkg.go.dev/builtin#error)

AssessData assesses the state or validity of the dataset with respect to a given use
case.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AssessDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AssessDataRequest.
    	}
    	op, err := c.AssessData(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) AssessDataOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) AssessDataOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_AssessDataOperation

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

### func (\*DatasetClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*DatasetClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) 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 (\*DatasetClient) CreateDataset

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) CreateDataset(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateDatasetRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetOperation, https://pkg.go.dev/builtin#error)

CreateDataset creates a Dataset.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateDatasetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateDatasetRequest.
    	}
    	op, err := c.CreateDataset(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) CreateDatasetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) CreateDatasetOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetOperation

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

### func (\*DatasetClient) CreateDatasetVersion

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) CreateDatasetVersion(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateDatasetVersionRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetVersionOperation, https://pkg.go.dev/builtin#error)

CreateDatasetVersion create a version from a Dataset.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateDatasetVersionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateDatasetVersionRequest.
    	}
    	op, err := c.CreateDatasetVersion(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) CreateDatasetVersionOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) CreateDatasetVersionOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_CreateDatasetVersionOperation

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

### func (\*DatasetClient) DeleteDataset

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) DeleteDataset(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteDatasetRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetOperation, https://pkg.go.dev/builtin#error)

DeleteDataset deletes a Dataset.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteDatasetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteDatasetRequest.
    	}
    	op, err := c.DeleteDataset(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) DeleteDatasetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) DeleteDatasetOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetOperation

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

### func (\*DatasetClient) DeleteDatasetVersion

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) DeleteDatasetVersion(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteDatasetVersionRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetVersionOperation, https://pkg.go.dev/builtin#error)

DeleteDatasetVersion deletes a Dataset version.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteDatasetVersionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteDatasetVersionRequest.
    	}
    	op, err := c.DeleteDatasetVersion(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) DeleteDatasetVersionOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) DeleteDatasetVersionOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetVersionOperation

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

### func (\*DatasetClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*DatasetClient) DeleteSavedQuery

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) DeleteSavedQuery(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteSavedQueryRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteSavedQueryOperation, https://pkg.go.dev/builtin#error)

DeleteSavedQuery deletes a SavedQuery.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteSavedQueryRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteSavedQueryRequest.
    	}
    	op, err := c.DeleteSavedQuery(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) DeleteSavedQueryOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) DeleteSavedQueryOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteSavedQueryOperation

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

### func (\*DatasetClient) ExportData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) ExportData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportDataRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExportDataOperation, https://pkg.go.dev/builtin#error)

ExportData exports data from a Dataset.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ExportDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ExportDataRequest.
    	}
    	op, err := c.ExportData(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) ExportDataOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) ExportDataOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExportDataOperation

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

### func (\*DatasetClient) GetAnnotationSpec

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) GetAnnotationSpec(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetAnnotationSpecRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AnnotationSpec, https://pkg.go.dev/builtin#error)

GetAnnotationSpec gets an AnnotationSpec.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetAnnotationSpecRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetAnnotationSpecRequest.
    	}
    	resp, err := c.GetAnnotationSpec(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DatasetClient) GetDataset

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) GetDataset(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetDatasetRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Dataset, https://pkg.go.dev/builtin#error)

GetDataset gets a Dataset.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetDatasetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetDatasetRequest.
    	}
    	resp, err := c.GetDataset(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DatasetClient) GetDatasetVersion

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) GetDatasetVersion(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetDatasetVersionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DatasetVersion, https://pkg.go.dev/builtin#error)

GetDatasetVersion gets a Dataset version.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetDatasetVersionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetDatasetVersionRequest.
    	}
    	resp, err := c.GetDatasetVersion(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DatasetClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DatasetClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*DatasetClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DatasetClient) ImportData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) ImportData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportDataRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportDataOperation, https://pkg.go.dev/builtin#error)

ImportData imports data into a Dataset.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ImportDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ImportDataRequest.
    	}
    	op, err := c.ImportData(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) ImportDataOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) ImportDataOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportDataOperation

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

### func (\*DatasetClient) ListAnnotations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) ListAnnotations(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListAnnotationsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_AnnotationIterator

ListAnnotations lists Annotations belongs to a dataitem.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListAnnotationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListAnnotationsRequest.
    	}
    	it := c.ListAnnotations(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.(*aiplatformpb.ListAnnotationsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*DatasetClient) ListDataItems

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) ListDataItems(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListDataItemsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataItemIterator

ListDataItems lists DataItems in a Dataset.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListDataItemsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListDataItemsRequest.
    	}
    	it := c.ListDataItems(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.(*aiplatformpb.ListDataItemsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*DatasetClient) ListDatasetVersions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) ListDatasetVersions(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListDatasetVersionsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetVersionIterator

ListDatasetVersions lists DatasetVersions in a Dataset.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListDatasetVersionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListDatasetVersionsRequest.
    	}
    	it := c.ListDatasetVersions(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.(*aiplatformpb.ListDatasetVersionsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*DatasetClient) ListDatasets

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) ListDatasets(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListDatasetsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetIterator

ListDatasets lists Datasets in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListDatasetsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListDatasetsRequest.
    	}
    	it := c.ListDatasets(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.(*aiplatformpb.ListDatasetsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*DatasetClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*DatasetClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*DatasetClient) ListSavedQueries

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) ListSavedQueries(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListSavedQueriesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SavedQueryIterator

ListSavedQueries lists SavedQueries in a Dataset.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListSavedQueriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListSavedQueriesRequest.
    	}
    	it := c.ListSavedQueries(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.(*aiplatformpb.ListSavedQueriesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*DatasetClient) RestoreDatasetVersion

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) RestoreDatasetVersion(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RestoreDatasetVersionRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RestoreDatasetVersionOperation, https://pkg.go.dev/builtin#error)

RestoreDatasetVersion restores a dataset version.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RestoreDatasetVersionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RestoreDatasetVersionRequest.
    	}
    	op, err := c.RestoreDatasetVersion(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DatasetClient) RestoreDatasetVersionOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) RestoreDatasetVersionOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RestoreDatasetVersionOperation

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

### func (\*DatasetClient) SearchDataItems

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) SearchDataItems(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchDataItemsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataItemViewIterator

SearchDataItems searches DataItems in a Dataset.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SearchDataItemsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SearchDataItemsRequest.
    	}
    	it := c.SearchDataItems(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.(*aiplatformpb.SearchDataItemsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*DatasetClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*DatasetClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DatasetClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DatasetClient) UpdateDataset

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) UpdateDataset(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateDatasetRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Dataset, https://pkg.go.dev/builtin#error)

UpdateDataset updates a Dataset.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateDatasetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateDatasetRequest.
    	}
    	resp, err := c.UpdateDataset(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DatasetClient) UpdateDatasetVersion

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) UpdateDatasetVersion(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateDatasetVersionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DatasetVersion, https://pkg.go.dev/builtin#error)

UpdateDatasetVersion updates a DatasetVersion.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateDatasetVersionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateDatasetVersionRequest.
    	}
    	resp, err := c.UpdateDatasetVersion(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DatasetClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DatasetClient_NewDatasetClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## DatasetIterator

    type DatasetIterator 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 []*aiplatformpb.Dataset, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

DatasetIterator manages a stream of \*aiplatformpb.Dataset.

### func (\*DatasetIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetIterator) All() iter.Seq2[*aiplatformpb.Dataset, error]

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

### func (\*DatasetIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Dataset, 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 (\*DatasetIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetIterator) PageInfo() *iterator.PageInfo

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

## DatasetVersionIterator

    type DatasetVersionIterator 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 []*aiplatformpb.DatasetVersion, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

DatasetVersionIterator manages a stream of \*aiplatformpb.DatasetVersion.

### func (\*DatasetVersionIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetVersionIterator) All() iter.Seq2[*aiplatformpb.DatasetVersion, error]

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

### func (\*DatasetVersionIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetVersionIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DatasetVersion, 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 (\*DatasetVersionIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DatasetVersionIterator) PageInfo() *iterator.PageInfo

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

## DeleteArtifactOperation

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

DeleteArtifactOperation manages a long-running operation from DeleteArtifact.

### func (\*DeleteArtifactOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteArtifactOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteArtifactOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteArtifactOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteArtifactOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteArtifactOperation) 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 (\*DeleteArtifactOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteArtifactOperation) 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 (\*DeleteArtifactOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteArtifactOperation) 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.

## DeleteBatchPredictionJobOperation

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

DeleteBatchPredictionJobOperation manages a long-running operation from DeleteBatchPredictionJob.

### func (\*DeleteBatchPredictionJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteBatchPredictionJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteBatchPredictionJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteBatchPredictionJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteBatchPredictionJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteBatchPredictionJobOperation) 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 (\*DeleteBatchPredictionJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteBatchPredictionJobOperation) 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 (\*DeleteBatchPredictionJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteBatchPredictionJobOperation) 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.

## DeleteContextOperation

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

DeleteContextOperation manages a long-running operation from DeleteContext.

### func (\*DeleteContextOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteContextOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteContextOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteContextOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteContextOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteContextOperation) 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 (\*DeleteContextOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteContextOperation) 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 (\*DeleteContextOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteContextOperation) 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.

## DeleteCustomJobOperation

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

DeleteCustomJobOperation manages a long-running operation from DeleteCustomJob.

### func (\*DeleteCustomJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteCustomJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteCustomJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteCustomJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteCustomJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteCustomJobOperation) 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 (\*DeleteCustomJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteCustomJobOperation) 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 (\*DeleteCustomJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteCustomJobOperation) 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.

## DeleteDataLabelingJobOperation

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

DeleteDataLabelingJobOperation manages a long-running operation from DeleteDataLabelingJob.

### func (\*DeleteDataLabelingJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteDataLabelingJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteDataLabelingJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteDataLabelingJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteDataLabelingJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteDataLabelingJobOperation) 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 (\*DeleteDataLabelingJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteDataLabelingJobOperation) 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 (\*DeleteDataLabelingJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteDataLabelingJobOperation) 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.

## DeleteDatasetOperation

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

DeleteDatasetOperation manages a long-running operation from DeleteDataset.

### func (\*DeleteDatasetOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteDatasetOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteDatasetOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetOperation) 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 (\*DeleteDatasetOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetOperation) 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 (\*DeleteDatasetOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetOperation) 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.

## DeleteDatasetVersionOperation

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

DeleteDatasetVersionOperation manages a long-running operation from DeleteDatasetVersion.

### func (\*DeleteDatasetVersionOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetVersionOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteDatasetVersionOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetVersionOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteDatasetVersionOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetVersionOperation) 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 (\*DeleteDatasetVersionOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetVersionOperation) 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 (\*DeleteDatasetVersionOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteDatasetVersionOperation) 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.

## DeleteDeploymentResourcePoolOperation

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

DeleteDeploymentResourcePoolOperation manages a long-running operation from DeleteDeploymentResourcePool.

### func (\*DeleteDeploymentResourcePoolOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_DeleteDeploymentResourcePoolOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteDeploymentResourcePoolOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_DeleteDeploymentResourcePoolOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteDeploymentResourcePoolOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_DeleteDeploymentResourcePoolOperation) 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 (\*DeleteDeploymentResourcePoolOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_DeleteDeploymentResourcePoolOperation) 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 (\*DeleteDeploymentResourcePoolOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_DeleteDeploymentResourcePoolOperation) 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.

## DeleteEndpointOperation

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

DeleteEndpointOperation manages a long-running operation from DeleteEndpoint.

### func (\*DeleteEndpointOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeleteEndpointOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteEndpointOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeleteEndpointOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteEndpointOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeleteEndpointOperation) 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 (\*DeleteEndpointOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeleteEndpointOperation) 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 (\*DeleteEndpointOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeleteEndpointOperation) 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.

## DeleteEntityTypeOperation

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

DeleteEntityTypeOperation manages a long-running operation from DeleteEntityType.

### func (\*DeleteEntityTypeOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteEntityTypeOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteEntityTypeOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteEntityTypeOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteEntityTypeOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteEntityTypeOperation) 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 (\*DeleteEntityTypeOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteEntityTypeOperation) 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 (\*DeleteEntityTypeOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteEntityTypeOperation) 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.

## DeleteExampleStoreOperation

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

DeleteExampleStoreOperation manages a long-running operation from DeleteExampleStore.

### func (\*DeleteExampleStoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_DeleteExampleStoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteExampleStoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_DeleteExampleStoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteExampleStoreOperationMetadata, 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 (\*DeleteExampleStoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_DeleteExampleStoreOperation) 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 (\*DeleteExampleStoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_DeleteExampleStoreOperation) 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 (\*DeleteExampleStoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_DeleteExampleStoreOperation) 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.

## DeleteExecutionOperation

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

DeleteExecutionOperation manages a long-running operation from DeleteExecution.

### func (\*DeleteExecutionOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteExecutionOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteExecutionOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteExecutionOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteExecutionOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteExecutionOperation) 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 (\*DeleteExecutionOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteExecutionOperation) 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 (\*DeleteExecutionOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteExecutionOperation) 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.

## DeleteExtensionOperation

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

DeleteExtensionOperation manages a long-running operation from DeleteExtension.

### func (\*DeleteExtensionOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_DeleteExtensionOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteExtensionOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_DeleteExtensionOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteExtensionOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_DeleteExtensionOperation) 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 (\*DeleteExtensionOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_DeleteExtensionOperation) 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 (\*DeleteExtensionOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_DeleteExtensionOperation) 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.

## DeleteFeatureGroupOperation

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

DeleteFeatureGroupOperation manages a long-running operation from DeleteFeatureGroup.

### func (\*DeleteFeatureGroupOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureGroupOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteFeatureGroupOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureGroupOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteFeatureGroupOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureGroupOperation) 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 (\*DeleteFeatureGroupOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureGroupOperation) 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 (\*DeleteFeatureGroupOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureGroupOperation) 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.

## DeleteFeatureMonitorOperation

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

DeleteFeatureMonitorOperation manages a long-running operation from DeleteFeatureMonitor.

### func (\*DeleteFeatureMonitorOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureMonitorOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteFeatureMonitorOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureMonitorOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteFeatureMonitorOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureMonitorOperation) 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 (\*DeleteFeatureMonitorOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureMonitorOperation) 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 (\*DeleteFeatureMonitorOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureMonitorOperation) 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.

## DeleteFeatureOnlineStoreOperation

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

DeleteFeatureOnlineStoreOperation manages a long-running operation from DeleteFeatureOnlineStore.

### func (\*DeleteFeatureOnlineStoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureOnlineStoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteFeatureOnlineStoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureOnlineStoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteFeatureOnlineStoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureOnlineStoreOperation) 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 (\*DeleteFeatureOnlineStoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureOnlineStoreOperation) 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 (\*DeleteFeatureOnlineStoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureOnlineStoreOperation) 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.

## DeleteFeatureOperation

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

DeleteFeatureOperation manages a long-running operation from DeleteFeature.

### func (\*DeleteFeatureOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteFeatureOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteFeatureOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureOperation) 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 (\*DeleteFeatureOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureOperation) 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 (\*DeleteFeatureOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureOperation) 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.

## DeleteFeatureValuesOperation

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

DeleteFeatureValuesOperation manages a long-running operation from DeleteFeatureValues.

### func (\*DeleteFeatureValuesOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureValuesOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteFeatureValuesOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureValuesOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureValuesOperationMetadata, 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 (\*DeleteFeatureValuesOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureValuesOperation) 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 (\*DeleteFeatureValuesOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureValuesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureValuesResponse, 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 (\*DeleteFeatureValuesOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureValuesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureValuesResponse, 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.

## DeleteFeatureViewOperation

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

DeleteFeatureViewOperation manages a long-running operation from DeleteFeatureView.

### func (\*DeleteFeatureViewOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureViewOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteFeatureViewOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureViewOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteFeatureViewOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureViewOperation) 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 (\*DeleteFeatureViewOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureViewOperation) 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 (\*DeleteFeatureViewOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureViewOperation) 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.

## DeleteFeaturestoreOperation

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

DeleteFeaturestoreOperation manages a long-running operation from DeleteFeaturestore.

### func (\*DeleteFeaturestoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeaturestoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteFeaturestoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeaturestoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteFeaturestoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeaturestoreOperation) 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 (\*DeleteFeaturestoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeaturestoreOperation) 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 (\*DeleteFeaturestoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeaturestoreOperation) 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.

## DeleteHyperparameterTuningJobOperation

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

DeleteHyperparameterTuningJobOperation manages a long-running operation from DeleteHyperparameterTuningJob.

### func (\*DeleteHyperparameterTuningJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteHyperparameterTuningJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteHyperparameterTuningJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteHyperparameterTuningJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteHyperparameterTuningJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteHyperparameterTuningJobOperation) 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 (\*DeleteHyperparameterTuningJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteHyperparameterTuningJobOperation) 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 (\*DeleteHyperparameterTuningJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteHyperparameterTuningJobOperation) 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.

## DeleteIndexEndpointOperation

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

DeleteIndexEndpointOperation manages a long-running operation from DeleteIndexEndpoint.

### func (\*DeleteIndexEndpointOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeleteIndexEndpointOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteIndexEndpointOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeleteIndexEndpointOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteIndexEndpointOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeleteIndexEndpointOperation) 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 (\*DeleteIndexEndpointOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeleteIndexEndpointOperation) 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 (\*DeleteIndexEndpointOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeleteIndexEndpointOperation) 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.

## DeleteIndexOperation

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

DeleteIndexOperation manages a long-running operation from DeleteIndex.

### func (\*DeleteIndexOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_DeleteIndexOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteIndexOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_DeleteIndexOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteIndexOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_DeleteIndexOperation) 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 (\*DeleteIndexOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_DeleteIndexOperation) 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 (\*DeleteIndexOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_DeleteIndexOperation) 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.

## DeleteMemoryOperation

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

DeleteMemoryOperation manages a long-running operation from DeleteMemory.

### func (\*DeleteMemoryOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_DeleteMemoryOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteMemoryOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_DeleteMemoryOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteMemoryOperationMetadata, 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 (\*DeleteMemoryOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_DeleteMemoryOperation) 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 (\*DeleteMemoryOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_DeleteMemoryOperation) 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 (\*DeleteMemoryOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_DeleteMemoryOperation) 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.

## DeleteMetadataStoreOperation

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

DeleteMetadataStoreOperation manages a long-running operation from DeleteMetadataStore.

### func (\*DeleteMetadataStoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteMetadataStoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteMetadataStoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteMetadataStoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteMetadataStoreOperationMetadata, 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 (\*DeleteMetadataStoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteMetadataStoreOperation) 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 (\*DeleteMetadataStoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteMetadataStoreOperation) 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 (\*DeleteMetadataStoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteMetadataStoreOperation) 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.

## DeleteModelDeploymentMonitoringJobOperation

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

DeleteModelDeploymentMonitoringJobOperation manages a long-running operation from DeleteModelDeploymentMonitoringJob.

### func (\*DeleteModelDeploymentMonitoringJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteModelDeploymentMonitoringJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteModelDeploymentMonitoringJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteModelDeploymentMonitoringJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteModelDeploymentMonitoringJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteModelDeploymentMonitoringJobOperation) 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 (\*DeleteModelDeploymentMonitoringJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteModelDeploymentMonitoringJobOperation) 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 (\*DeleteModelDeploymentMonitoringJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteModelDeploymentMonitoringJobOperation) 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.

## DeleteModelMonitorOperation

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

DeleteModelMonitorOperation manages a long-running operation from DeleteModelMonitor.

### func (\*DeleteModelMonitorOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitorOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteModelMonitorOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitorOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteModelMonitorOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitorOperation) 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 (\*DeleteModelMonitorOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitorOperation) 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 (\*DeleteModelMonitorOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitorOperation) 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.

## DeleteModelMonitoringJobOperation

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

DeleteModelMonitoringJobOperation manages a long-running operation from DeleteModelMonitoringJob.

### func (\*DeleteModelMonitoringJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitoringJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteModelMonitoringJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitoringJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteModelMonitoringJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitoringJobOperation) 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 (\*DeleteModelMonitoringJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitoringJobOperation) 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 (\*DeleteModelMonitoringJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitoringJobOperation) 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.

## DeleteModelOperation

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

DeleteModelOperation manages a long-running operation from DeleteModel.

### func (\*DeleteModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelOperation) 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 (\*DeleteModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelOperation) 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 (\*DeleteModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelOperation) 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.

## DeleteModelVersionOperation

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

DeleteModelVersionOperation manages a long-running operation from DeleteModelVersion.

### func (\*DeleteModelVersionOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelVersionOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteModelVersionOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelVersionOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteModelVersionOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelVersionOperation) 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 (\*DeleteModelVersionOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelVersionOperation) 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 (\*DeleteModelVersionOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelVersionOperation) 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.

## DeleteNasJobOperation

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

DeleteNasJobOperation manages a long-running operation from DeleteNasJob.

### func (\*DeleteNasJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteNasJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteNasJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteNasJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteNasJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteNasJobOperation) 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 (\*DeleteNasJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteNasJobOperation) 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 (\*DeleteNasJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteNasJobOperation) 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.

## DeleteNotebookExecutionJobOperation

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

DeleteNotebookExecutionJobOperation manages a long-running operation from DeleteNotebookExecutionJob.

### func (\*DeleteNotebookExecutionJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookExecutionJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteNotebookExecutionJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookExecutionJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteNotebookExecutionJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookExecutionJobOperation) 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 (\*DeleteNotebookExecutionJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookExecutionJobOperation) 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 (\*DeleteNotebookExecutionJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookExecutionJobOperation) 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.

## DeleteNotebookRuntimeOperation

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

DeleteNotebookRuntimeOperation manages a long-running operation from DeleteNotebookRuntime.

### func (\*DeleteNotebookRuntimeOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteNotebookRuntimeOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteNotebookRuntimeOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeOperation) 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 (\*DeleteNotebookRuntimeOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeOperation) 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 (\*DeleteNotebookRuntimeOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeOperation) 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.

## DeleteNotebookRuntimeTemplateOperation

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

DeleteNotebookRuntimeTemplateOperation manages a long-running operation from DeleteNotebookRuntimeTemplate.

### func (\*DeleteNotebookRuntimeTemplateOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeTemplateOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteNotebookRuntimeTemplateOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeTemplateOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteNotebookRuntimeTemplateOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeTemplateOperation) 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 (\*DeleteNotebookRuntimeTemplateOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeTemplateOperation) 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 (\*DeleteNotebookRuntimeTemplateOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeTemplateOperation) 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.

## DeletePersistentResourceOperation

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

DeletePersistentResourceOperation manages a long-running operation from DeletePersistentResource.

### func (\*DeletePersistentResourceOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_DeletePersistentResourceOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeletePersistentResourceOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_DeletePersistentResourceOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeletePersistentResourceOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_DeletePersistentResourceOperation) 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 (\*DeletePersistentResourceOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_DeletePersistentResourceOperation) 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 (\*DeletePersistentResourceOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_DeletePersistentResourceOperation) 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.

## DeletePipelineJobOperation

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

DeletePipelineJobOperation manages a long-running operation from DeletePipelineJob.

### func (\*DeletePipelineJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeletePipelineJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeletePipelineJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeletePipelineJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeletePipelineJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeletePipelineJobOperation) 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 (\*DeletePipelineJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeletePipelineJobOperation) 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 (\*DeletePipelineJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeletePipelineJobOperation) 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.

## DeleteRagCorpusOperation

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

DeleteRagCorpusOperation manages a long-running operation from DeleteRagCorpus.

### func (\*DeleteRagCorpusOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagCorpusOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteRagCorpusOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagCorpusOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteRagCorpusOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagCorpusOperation) 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 (\*DeleteRagCorpusOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagCorpusOperation) 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 (\*DeleteRagCorpusOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagCorpusOperation) 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.

## DeleteRagFileOperation

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

DeleteRagFileOperation manages a long-running operation from DeleteRagFile.

### func (\*DeleteRagFileOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagFileOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteRagFileOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagFileOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteRagFileOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagFileOperation) 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 (\*DeleteRagFileOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagFileOperation) 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 (\*DeleteRagFileOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagFileOperation) 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.

## DeleteReasoningEngineOperation

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

DeleteReasoningEngineOperation manages a long-running operation from DeleteReasoningEngine.

### func (\*DeleteReasoningEngineOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_DeleteReasoningEngineOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteReasoningEngineOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_DeleteReasoningEngineOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteReasoningEngineOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_DeleteReasoningEngineOperation) 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 (\*DeleteReasoningEngineOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_DeleteReasoningEngineOperation) 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 (\*DeleteReasoningEngineOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_DeleteReasoningEngineOperation) 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.

## DeleteSavedQueryOperation

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

DeleteSavedQueryOperation manages a long-running operation from DeleteSavedQuery.

### func (\*DeleteSavedQueryOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteSavedQueryOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteSavedQueryOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteSavedQueryOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteSavedQueryOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteSavedQueryOperation) 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 (\*DeleteSavedQueryOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteSavedQueryOperation) 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 (\*DeleteSavedQueryOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeleteSavedQueryOperation) 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.

## DeleteScheduleOperation

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

DeleteScheduleOperation manages a long-running operation from DeleteSchedule.

### func (\*DeleteScheduleOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_DeleteScheduleOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteScheduleOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_DeleteScheduleOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteScheduleOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_DeleteScheduleOperation) 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 (\*DeleteScheduleOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_DeleteScheduleOperation) 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 (\*DeleteScheduleOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_DeleteScheduleOperation) 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.

## DeleteSessionOperation

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

DeleteSessionOperation manages a long-running operation from DeleteSession.

### func (\*DeleteSessionOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_DeleteSessionOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteSessionOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_DeleteSessionOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteSessionOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_DeleteSessionOperation) 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 (\*DeleteSessionOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_DeleteSessionOperation) 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 (\*DeleteSessionOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_DeleteSessionOperation) 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.

## DeleteSpecialistPoolOperation

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

DeleteSpecialistPoolOperation manages a long-running operation from DeleteSpecialistPool.

### func (\*DeleteSpecialistPoolOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_DeleteSpecialistPoolOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteSpecialistPoolOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_DeleteSpecialistPoolOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteSpecialistPoolOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_DeleteSpecialistPoolOperation) 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 (\*DeleteSpecialistPoolOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_DeleteSpecialistPoolOperation) 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 (\*DeleteSpecialistPoolOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_DeleteSpecialistPoolOperation) 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.

## DeleteTensorboardExperimentOperation

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

DeleteTensorboardExperimentOperation manages a long-running operation from DeleteTensorboardExperiment.

### func (\*DeleteTensorboardExperimentOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardExperimentOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteTensorboardExperimentOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardExperimentOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteTensorboardExperimentOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardExperimentOperation) 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 (\*DeleteTensorboardExperimentOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardExperimentOperation) 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 (\*DeleteTensorboardExperimentOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardExperimentOperation) 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.

## DeleteTensorboardOperation

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

DeleteTensorboardOperation manages a long-running operation from DeleteTensorboard.

### func (\*DeleteTensorboardOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteTensorboardOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteTensorboardOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardOperation) 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 (\*DeleteTensorboardOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardOperation) 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 (\*DeleteTensorboardOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardOperation) 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.

## DeleteTensorboardRunOperation

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

DeleteTensorboardRunOperation manages a long-running operation from DeleteTensorboardRun.

### func (\*DeleteTensorboardRunOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardRunOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteTensorboardRunOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardRunOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteTensorboardRunOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardRunOperation) 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 (\*DeleteTensorboardRunOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardRunOperation) 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 (\*DeleteTensorboardRunOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardRunOperation) 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.

## DeleteTensorboardTimeSeriesOperation

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

DeleteTensorboardTimeSeriesOperation manages a long-running operation from DeleteTensorboardTimeSeries.

### func (\*DeleteTensorboardTimeSeriesOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardTimeSeriesOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteTensorboardTimeSeriesOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardTimeSeriesOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteTensorboardTimeSeriesOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardTimeSeriesOperation) 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 (\*DeleteTensorboardTimeSeriesOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardTimeSeriesOperation) 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 (\*DeleteTensorboardTimeSeriesOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardTimeSeriesOperation) 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.

## DeleteTrainingPipelineOperation

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

DeleteTrainingPipelineOperation manages a long-running operation from DeleteTrainingPipeline.

### func (\*DeleteTrainingPipelineOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeleteTrainingPipelineOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeleteTrainingPipelineOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeleteTrainingPipelineOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteOperationMetadata, 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 (\*DeleteTrainingPipelineOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeleteTrainingPipelineOperation) 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 (\*DeleteTrainingPipelineOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeleteTrainingPipelineOperation) 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 (\*DeleteTrainingPipelineOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeleteTrainingPipelineOperation) 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.

## DeployIndexOperation

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

DeployIndexOperation manages a long-running operation from DeployIndex.

### func (\*DeployIndexOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeployIndexOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeployIndexOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeployIndexOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployIndexOperationMetadata, 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 (\*DeployIndexOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeployIndexOperation) 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 (\*DeployIndexOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeployIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployIndexResponse, 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 (\*DeployIndexOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeployIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployIndexResponse, 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.

## DeployModelOperation

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

DeployModelOperation manages a long-running operation from DeployModel.

### func (\*DeployModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeployModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeployModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeployModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployModelOperationMetadata, 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 (\*DeployModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeployModelOperation) 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 (\*DeployModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeployModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployModelResponse, 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 (\*DeployModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeployModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployModelResponse, 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.

## DeployOperation

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

DeployOperation manages a long-running operation from Deploy.

### func (\*DeployOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeployOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployOperationMetadata, 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 (\*DeployOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployOperation) 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 (\*DeployOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployResponse, 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 (\*DeployOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployResponse, 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.

## DeployPublisherModelOperation

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

DeployPublisherModelOperation manages a long-running operation from DeployPublisherModel.

### func (\*DeployPublisherModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployPublisherModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*DeployPublisherModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployPublisherModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployPublisherModelOperationMetadata, 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 (\*DeployPublisherModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployPublisherModelOperation) 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 (\*DeployPublisherModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployPublisherModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployPublisherModelResponse, 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 (\*DeployPublisherModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployPublisherModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployPublisherModelResponse, 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.

## DeployedModelIterator

    type DeployedModelIterator 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 []*aiplatformpb.DeployedModel, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

DeployedModelIterator manages a stream of \*aiplatformpb.DeployedModel.

### func (\*DeployedModelIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeployedModelIterator) All() iter.Seq2[*aiplatformpb.DeployedModel, error]

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

### func (\*DeployedModelIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeployedModelIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployedModel, 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 (\*DeployedModelIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeployedModelIterator) PageInfo() *iterator.PageInfo

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

## DeploymentResourcePoolCallOptions

    type DeploymentResourcePoolCallOptions struct {
    	CreateDeploymentResourcePool []gax.CallOption
    	GetDeploymentResourcePool    []gax.CallOption
    	ListDeploymentResourcePools  []gax.CallOption
    	UpdateDeploymentResourcePool []gax.CallOption
    	DeleteDeploymentResourcePool []gax.CallOption
    	QueryDeployedModels          []gax.CallOption
    	GetLocation                  []gax.CallOption
    	ListLocations                []gax.CallOption
    	GetIamPolicy                 []gax.CallOption
    	SetIamPolicy                 []gax.CallOption
    	TestIamPermissions           []gax.CallOption
    	CancelOperation              []gax.CallOption
    	DeleteOperation              []gax.CallOption
    	GetOperation                 []gax.CallOption
    	ListOperations               []gax.CallOption
    	WaitOperation                []gax.CallOption
    }

DeploymentResourcePoolCallOptions contains the retry settings for each method of DeploymentResourcePoolClient.

## DeploymentResourcePoolClient

    type DeploymentResourcePoolClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolCallOptions

    	// 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
    }

DeploymentResourcePoolClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service that manages the DeploymentResourcePool resource.

### func NewDeploymentResourcePoolClient

    func NewDeploymentResourcePoolClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient, https://pkg.go.dev/builtin#error)

NewDeploymentResourcePoolClient creates a new deployment resource pool service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service that manages the DeploymentResourcePool resource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewDeploymentResourcePoolRESTClient

    func NewDeploymentResourcePoolRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient, https://pkg.go.dev/builtin#error)

NewDeploymentResourcePoolRESTClient creates a new deployment resource pool service rest client.

A service that manages the DeploymentResourcePool resource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*DeploymentResourcePoolClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*DeploymentResourcePoolClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) 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 (\*DeploymentResourcePoolClient) CreateDeploymentResourcePool

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) CreateDeploymentResourcePool(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateDeploymentResourcePoolRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_CreateDeploymentResourcePoolOperation, https://pkg.go.dev/builtin#error)

CreateDeploymentResourcePool create a DeploymentResourcePool.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateDeploymentResourcePoolRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateDeploymentResourcePoolRequest.
    	}
    	op, err := c.CreateDeploymentResourcePool(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DeploymentResourcePoolClient) CreateDeploymentResourcePoolOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) CreateDeploymentResourcePoolOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_CreateDeploymentResourcePoolOperation

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

### func (\*DeploymentResourcePoolClient) DeleteDeploymentResourcePool

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) DeleteDeploymentResourcePool(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteDeploymentResourcePoolRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_DeleteDeploymentResourcePoolOperation, https://pkg.go.dev/builtin#error)

DeleteDeploymentResourcePool delete a DeploymentResourcePool.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteDeploymentResourcePoolRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteDeploymentResourcePoolRequest.
    	}
    	op, err := c.DeleteDeploymentResourcePool(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DeploymentResourcePoolClient) DeleteDeploymentResourcePoolOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) DeleteDeploymentResourcePoolOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_DeleteDeploymentResourcePoolOperation

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

### func (\*DeploymentResourcePoolClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*DeploymentResourcePoolClient) GetDeploymentResourcePool

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) GetDeploymentResourcePool(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetDeploymentResourcePoolRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeploymentResourcePool, https://pkg.go.dev/builtin#error)

GetDeploymentResourcePool get a DeploymentResourcePool.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetDeploymentResourcePoolRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetDeploymentResourcePoolRequest.
    	}
    	resp, err := c.GetDeploymentResourcePool(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DeploymentResourcePoolClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DeploymentResourcePoolClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*DeploymentResourcePoolClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DeploymentResourcePoolClient) ListDeploymentResourcePools

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) ListDeploymentResourcePools(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListDeploymentResourcePoolsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolIterator

ListDeploymentResourcePools list DeploymentResourcePools in a location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListDeploymentResourcePoolsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListDeploymentResourcePoolsRequest.
    	}
    	it := c.ListDeploymentResourcePools(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.(*aiplatformpb.ListDeploymentResourcePoolsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*DeploymentResourcePoolClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*DeploymentResourcePoolClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*DeploymentResourcePoolClient) QueryDeployedModels

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) QueryDeployedModels(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_QueryDeployedModelsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeployedModelIterator

QueryDeployedModels list DeployedModels that have been deployed on this DeploymentResourcePool.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.QueryDeployedModelsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#QueryDeployedModelsRequest.
    	}
    	it := c.QueryDeployedModels(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.(*aiplatformpb.QueryDeployedModelsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*DeploymentResourcePoolClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*DeploymentResourcePoolClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DeploymentResourcePoolClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*DeploymentResourcePoolClient) UpdateDeploymentResourcePool

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) UpdateDeploymentResourcePool(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateDeploymentResourcePoolRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateDeploymentResourcePoolOperation, https://pkg.go.dev/builtin#error)

UpdateDeploymentResourcePool update a DeploymentResourcePool.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateDeploymentResourcePoolRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateDeploymentResourcePoolRequest.
    	}
    	op, err := c.UpdateDeploymentResourcePool(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*DeploymentResourcePoolClient) UpdateDeploymentResourcePoolOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) UpdateDeploymentResourcePoolOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateDeploymentResourcePoolOperation

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

### func (\*DeploymentResourcePoolClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolClient_NewDeploymentResourcePoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## DeploymentResourcePoolIterator

    type DeploymentResourcePoolIterator 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 []*aiplatformpb.DeploymentResourcePool, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

DeploymentResourcePoolIterator manages a stream of \*aiplatformpb.DeploymentResourcePool.

### func (\*DeploymentResourcePoolIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolIterator) All() iter.Seq2[*aiplatformpb.DeploymentResourcePool, error]

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

### func (\*DeploymentResourcePoolIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeploymentResourcePool, 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 (\*DeploymentResourcePoolIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DeploymentResourcePoolIterator) PageInfo() *iterator.PageInfo

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

## EndpointCallOptions

    type EndpointCallOptions struct {
    	CreateEndpoint            []gax.CallOption
    	GetEndpoint               []gax.CallOption
    	ListEndpoints             []gax.CallOption
    	UpdateEndpoint            []gax.CallOption
    	UpdateEndpointLongRunning []gax.CallOption
    	DeleteEndpoint            []gax.CallOption
    	DeployModel               []gax.CallOption
    	UndeployModel             []gax.CallOption
    	MutateDeployedModel       []gax.CallOption
    	SetPublisherModelConfig   []gax.CallOption
    	FetchPublisherModelConfig []gax.CallOption
    	GetLocation               []gax.CallOption
    	ListLocations             []gax.CallOption
    	GetIamPolicy              []gax.CallOption
    	SetIamPolicy              []gax.CallOption
    	TestIamPermissions        []gax.CallOption
    	CancelOperation           []gax.CallOption
    	DeleteOperation           []gax.CallOption
    	GetOperation              []gax.CallOption
    	ListOperations            []gax.CallOption
    	WaitOperation             []gax.CallOption
    }

EndpointCallOptions contains the retry settings for each method of EndpointClient.

## EndpointClient

    type EndpointClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointCallOptions

    	// 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
    }

EndpointClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing Vertex AI's Endpoints.

### func NewEndpointClient

    func NewEndpointClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient, https://pkg.go.dev/builtin#error)

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

A service for managing Vertex AI's Endpoints.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewEndpointRESTClient

    func NewEndpointRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient, https://pkg.go.dev/builtin#error)

NewEndpointRESTClient creates a new endpoint service rest client.

A service for managing Vertex AI's Endpoints.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*EndpointClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*EndpointClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) 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 (\*EndpointClient) CreateEndpoint

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) CreateEndpoint(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateEndpointRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_CreateEndpointOperation, https://pkg.go.dev/builtin#error)

CreateEndpoint creates an Endpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateEndpointRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateEndpointRequest.
    	}
    	op, err := c.CreateEndpoint(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*EndpointClient) CreateEndpointOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) CreateEndpointOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_CreateEndpointOperation

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

### func (\*EndpointClient) DeleteEndpoint

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) DeleteEndpoint(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteEndpointRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeleteEndpointOperation, https://pkg.go.dev/builtin#error)

DeleteEndpoint deletes an Endpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteEndpointRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteEndpointRequest.
    	}
    	op, err := c.DeleteEndpoint(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*EndpointClient) DeleteEndpointOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) DeleteEndpointOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeleteEndpointOperation

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

### func (\*EndpointClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*EndpointClient) DeployModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) DeployModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeployModelOperation, https://pkg.go.dev/builtin#error)

DeployModel deploys a Model into this Endpoint, creating a DeployedModel within it.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeployModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeployModelRequest.
    	}
    	op, err := c.DeployModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*EndpointClient) DeployModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) DeployModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_DeployModelOperation

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

### func (\*EndpointClient) FetchPublisherModelConfig

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) FetchPublisherModelConfig(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FetchPublisherModelConfigRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PublisherModelConfig, https://pkg.go.dev/builtin#error)

FetchPublisherModelConfig fetches the configs of publisher models.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.FetchPublisherModelConfigRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#FetchPublisherModelConfigRequest.
    	}
    	resp, err := c.FetchPublisherModelConfig(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EndpointClient) GetEndpoint

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) GetEndpoint(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetEndpointRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Endpoint, https://pkg.go.dev/builtin#error)

GetEndpoint gets an Endpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetEndpointRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetEndpointRequest.
    	}
    	resp, err := c.GetEndpoint(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EndpointClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EndpointClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*EndpointClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EndpointClient) ListEndpoints

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) ListEndpoints(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListEndpointsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointIterator

ListEndpoints lists Endpoints in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListEndpointsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListEndpointsRequest.
    	}
    	it := c.ListEndpoints(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.(*aiplatformpb.ListEndpointsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*EndpointClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*EndpointClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*EndpointClient) MutateDeployedModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) MutateDeployedModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MutateDeployedModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedModelOperation, https://pkg.go.dev/builtin#error)

MutateDeployedModel updates an existing deployed model. Updatable fields include
min_replica_count, max_replica_count, required_replica_count,
autoscaling_metric_specs, disable_container_logging (v1 only), and
enable_container_logging (v1beta1 only).

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.MutateDeployedModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#MutateDeployedModelRequest.
    	}
    	op, err := c.MutateDeployedModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*EndpointClient) MutateDeployedModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) MutateDeployedModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedModelOperation

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

### func (\*EndpointClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*EndpointClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EndpointClient) SetPublisherModelConfig

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) SetPublisherModelConfig(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SetPublisherModelConfigRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SetPublisherModelConfigOperation, https://pkg.go.dev/builtin#error)

SetPublisherModelConfig sets (creates or updates) configs of publisher models. For example, sets
the request/response logging config.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SetPublisherModelConfigRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SetPublisherModelConfigRequest.
    	}
    	op, err := c.SetPublisherModelConfig(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*EndpointClient) SetPublisherModelConfigOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) SetPublisherModelConfigOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SetPublisherModelConfigOperation

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

### func (\*EndpointClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EndpointClient) UndeployModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) UndeployModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UndeployModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployModelOperation, https://pkg.go.dev/builtin#error)

UndeployModel undeploys a Model from an Endpoint, removing a DeployedModel from it, and
freeing all resources it's using.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UndeployModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UndeployModelRequest.
    	}
    	op, err := c.UndeployModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*EndpointClient) UndeployModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) UndeployModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployModelOperation

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

### func (\*EndpointClient) UpdateEndpoint

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) UpdateEndpoint(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateEndpointRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Endpoint, https://pkg.go.dev/builtin#error)

UpdateEndpoint updates an Endpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateEndpointRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateEndpointRequest.
    	}
    	resp, err := c.UpdateEndpoint(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EndpointClient) UpdateEndpointLongRunning

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) UpdateEndpointLongRunning(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateEndpointLongRunningRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateEndpointLongRunningOperation, https://pkg.go.dev/builtin#error)

UpdateEndpointLongRunning updates an Endpoint with a long running operation.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateEndpointLongRunningRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateEndpointLongRunningRequest.
    	}
    	op, err := c.UpdateEndpointLongRunning(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*EndpointClient) UpdateEndpointLongRunningOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) UpdateEndpointLongRunningOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateEndpointLongRunningOperation

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

### func (\*EndpointClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EndpointClient_NewEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## EndpointIterator

    type EndpointIterator 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 []*aiplatformpb.Endpoint, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

EndpointIterator manages a stream of \*aiplatformpb.Endpoint.

### func (\*EndpointIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointIterator) All() iter.Seq2[*aiplatformpb.Endpoint, error]

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

### func (\*EndpointIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Endpoint, 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 (\*EndpointIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EndpointIterator) PageInfo() *iterator.PageInfo

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

## EntityTypeIterator

    type EntityTypeIterator 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 []*aiplatformpb.EntityType, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

EntityTypeIterator manages a stream of \*aiplatformpb.EntityType.

### func (\*EntityTypeIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EntityTypeIterator) All() iter.Seq2[*aiplatformpb.EntityType, error]

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

### func (\*EntityTypeIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EntityTypeIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EntityType, 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 (\*EntityTypeIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EntityTypeIterator) PageInfo() *iterator.PageInfo

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

## EvaluateDatasetOperation

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

EvaluateDatasetOperation manages a long-running operation from EvaluateDataset.

### func (\*EvaluateDatasetOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_EvaluateDatasetOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*EvaluateDatasetOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_EvaluateDatasetOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EvaluateDatasetOperationMetadata, 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 (\*EvaluateDatasetOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_EvaluateDatasetOperation) 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 (\*EvaluateDatasetOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_EvaluateDatasetOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EvaluateDatasetResponse, 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 (\*EvaluateDatasetOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_EvaluateDatasetOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EvaluateDatasetResponse, 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.

## EvaluationCallOptions

    type EvaluationCallOptions struct {
    	EvaluateInstances  []gax.CallOption
    	EvaluateDataset    []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

EvaluationCallOptions contains the retry settings for each method of EvaluationClient.

## EvaluationClient

    type EvaluationClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationCallOptions

    	// 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
    }

EvaluationClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Vertex AI Online Evaluation Service.

### func NewEvaluationClient

    func NewEvaluationClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient, https://pkg.go.dev/builtin#error)

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

Vertex AI Online Evaluation Service.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewEvaluationRESTClient

    func NewEvaluationRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient, https://pkg.go.dev/builtin#error)

NewEvaluationRESTClient creates a new evaluation service rest client.

Vertex AI Online Evaluation Service.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*EvaluationClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*EvaluationClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) 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 (\*EvaluationClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*EvaluationClient) EvaluateDataset

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) EvaluateDataset(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EvaluateDatasetRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_EvaluateDatasetOperation, https://pkg.go.dev/builtin#error)

EvaluateDataset evaluates a dataset based on a set of given metrics.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.EvaluateDatasetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#EvaluateDatasetRequest.
    	}
    	op, err := c.EvaluateDataset(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*EvaluationClient) EvaluateDatasetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) EvaluateDatasetOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_EvaluateDatasetOperation

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

### func (\*EvaluationClient) EvaluateInstances

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) EvaluateInstances(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EvaluateInstancesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EvaluateInstancesResponse, https://pkg.go.dev/builtin#error)

EvaluateInstances evaluates instances based on a given metric.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.EvaluateInstancesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#EvaluateInstancesRequest.
    	}
    	resp, err := c.EvaluateInstances(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EvaluationClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EvaluationClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*EvaluationClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EvaluationClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*EvaluationClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*EvaluationClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*EvaluationClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EvaluationClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*EvaluationClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_EvaluationClient_NewEvaluationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ExampleIterator

    type ExampleIterator 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 []*aiplatformpb.Example, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ExampleIterator manages a stream of \*aiplatformpb.Example.

### func (\*ExampleIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleIterator) All() iter.Seq2[*aiplatformpb.Example, error]

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

### func (\*ExampleIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Example, 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 (\*ExampleIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleIterator) PageInfo() *iterator.PageInfo

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

## ExampleStoreCallOptions

    type ExampleStoreCallOptions struct {
    	CreateExampleStore []gax.CallOption
    	GetExampleStore    []gax.CallOption
    	UpdateExampleStore []gax.CallOption
    	DeleteExampleStore []gax.CallOption
    	ListExampleStores  []gax.CallOption
    	UpsertExamples     []gax.CallOption
    	RemoveExamples     []gax.CallOption
    	SearchExamples     []gax.CallOption
    	FetchExamples      []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

ExampleStoreCallOptions contains the retry settings for each method of ExampleStoreClient.

## ExampleStoreClient

    type ExampleStoreClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreCallOptions

    	// 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
    }

ExampleStoreClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing and retrieving few-shot examples.

### func NewExampleStoreClient

    func NewExampleStoreClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient, https://pkg.go.dev/builtin#error)

NewExampleStoreClient creates a new example store service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for managing and retrieving few-shot examples.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewExampleStoreRESTClient

    func NewExampleStoreRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient, https://pkg.go.dev/builtin#error)

NewExampleStoreRESTClient creates a new example store service rest client.

A service for managing and retrieving few-shot examples.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*ExampleStoreClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ExampleStoreClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) 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 (\*ExampleStoreClient) CreateExampleStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) CreateExampleStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateExampleStoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_CreateExampleStoreOperation, https://pkg.go.dev/builtin#error)

CreateExampleStore create an ExampleStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateExampleStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateExampleStoreRequest.
    	}
    	op, err := c.CreateExampleStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ExampleStoreClient) CreateExampleStoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) CreateExampleStoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_CreateExampleStoreOperation

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

### func (\*ExampleStoreClient) DeleteExampleStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) DeleteExampleStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteExampleStoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_DeleteExampleStoreOperation, https://pkg.go.dev/builtin#error)

DeleteExampleStore delete an ExampleStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteExampleStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteExampleStoreRequest.
    	}
    	op, err := c.DeleteExampleStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ExampleStoreClient) DeleteExampleStoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) DeleteExampleStoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_DeleteExampleStoreOperation

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

### func (\*ExampleStoreClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ExampleStoreClient) FetchExamples

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) FetchExamples(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FetchExamplesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleIterator

FetchExamples get Examples from the Example Store.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.FetchExamplesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#FetchExamplesRequest.
    	}
    	it := c.FetchExamples(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.(*aiplatformpb.FetchExamplesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ExampleStoreClient) GetExampleStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) GetExampleStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetExampleStoreRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExampleStore, https://pkg.go.dev/builtin#error)

GetExampleStore get an ExampleStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetExampleStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetExampleStoreRequest.
    	}
    	resp, err := c.GetExampleStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExampleStoreClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExampleStoreClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*ExampleStoreClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExampleStoreClient) ListExampleStores

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) ListExampleStores(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListExampleStoresRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreIterator

ListExampleStores list ExampleStores in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListExampleStoresRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListExampleStoresRequest.
    	}
    	it := c.ListExampleStores(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.(*aiplatformpb.ListExampleStoresResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ExampleStoreClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*ExampleStoreClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*ExampleStoreClient) RemoveExamples

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) RemoveExamples(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RemoveExamplesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RemoveExamplesResponse, https://pkg.go.dev/builtin#error)

RemoveExamples remove Examples from the Example Store.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RemoveExamplesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RemoveExamplesRequest.
    	}
    	resp, err := c.RemoveExamples(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExampleStoreClient) SearchExamples

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) SearchExamples(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchExamplesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchExamplesResponse, https://pkg.go.dev/builtin#error)

SearchExamples search for similar Examples for given selection criteria.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SearchExamplesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SearchExamplesRequest.
    	}
    	resp, err := c.SearchExamples(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExampleStoreClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExampleStoreClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExampleStoreClient) UpdateExampleStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) UpdateExampleStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateExampleStoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExampleStoreOperation, https://pkg.go.dev/builtin#error)

UpdateExampleStore update an ExampleStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateExampleStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateExampleStoreRequest.
    	}
    	op, err := c.UpdateExampleStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ExampleStoreClient) UpdateExampleStoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) UpdateExampleStoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExampleStoreOperation

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

### func (\*ExampleStoreClient) UpsertExamples

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) UpsertExamples(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpsertExamplesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpsertExamplesResponse, https://pkg.go.dev/builtin#error)

UpsertExamples create or update Examples in the Example Store.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpsertExamplesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpsertExamplesRequest.
    	}
    	resp, err := c.UpsertExamples(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExampleStoreClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreClient_NewExampleStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ExampleStoreIterator

    type ExampleStoreIterator 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 []*aiplatformpb.ExampleStore, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ExampleStoreIterator manages a stream of \*aiplatformpb.ExampleStore.

### func (\*ExampleStoreIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreIterator) All() iter.Seq2[*aiplatformpb.ExampleStore, error]

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

### func (\*ExampleStoreIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExampleStore, 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 (\*ExampleStoreIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExampleStoreIterator) PageInfo() *iterator.PageInfo

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

## ExecutionIterator

    type ExecutionIterator 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 []*aiplatformpb.Execution, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ExecutionIterator manages a stream of \*aiplatformpb.Execution.

### func (\*ExecutionIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExecutionIterator) All() iter.Seq2[*aiplatformpb.Execution, error]

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

### func (\*ExecutionIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExecutionIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Execution, 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 (\*ExecutionIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExecutionIterator) PageInfo() *iterator.PageInfo

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

## ExportDataOperation

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

ExportDataOperation manages a long-running operation from ExportData.

### func (\*ExportDataOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExportDataOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ExportDataOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExportDataOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportDataOperationMetadata, 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 (\*ExportDataOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExportDataOperation) 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 (\*ExportDataOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExportDataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportDataResponse, 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 (\*ExportDataOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExportDataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportDataResponse, 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.

## ExportFeatureValuesOperation

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

ExportFeatureValuesOperation manages a long-running operation from ExportFeatureValues.

### func (\*ExportFeatureValuesOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_ExportFeatureValuesOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ExportFeatureValuesOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_ExportFeatureValuesOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportFeatureValuesOperationMetadata, 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 (\*ExportFeatureValuesOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_ExportFeatureValuesOperation) 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 (\*ExportFeatureValuesOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_ExportFeatureValuesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportFeatureValuesResponse, 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 (\*ExportFeatureValuesOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_ExportFeatureValuesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportFeatureValuesResponse, 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.

## ExportModelOperation

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

ExportModelOperation manages a long-running operation from ExportModel.

### func (\*ExportModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_ExportModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ExportModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_ExportModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportModelOperationMetadata, 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 (\*ExportModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_ExportModelOperation) 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 (\*ExportModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_ExportModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportModelResponse, 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 (\*ExportModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_ExportModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportModelResponse, 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.

## ExportPublisherModelOperation

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

ExportPublisherModelOperation manages a long-running operation from ExportPublisherModel.

### func (\*ExportPublisherModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_ExportPublisherModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ExportPublisherModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_ExportPublisherModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportPublisherModelOperationMetadata, 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 (\*ExportPublisherModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_ExportPublisherModelOperation) 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 (\*ExportPublisherModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_ExportPublisherModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportPublisherModelResponse, 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 (\*ExportPublisherModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_ExportPublisherModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportPublisherModelResponse, 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.

## ExtensionExecutionCallOptions

    type ExtensionExecutionCallOptions struct {
    	ExecuteExtension   []gax.CallOption
    	QueryExtension     []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

ExtensionExecutionCallOptions contains the retry settings for each method of ExtensionExecutionClient.

## ExtensionExecutionClient

    type ExtensionExecutionClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionCallOptions
    	// contains filtered or unexported fields
    }

ExtensionExecutionClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for Extension execution.

### func NewExtensionExecutionClient

    func NewExtensionExecutionClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient, https://pkg.go.dev/builtin#error)

NewExtensionExecutionClient creates a new extension execution service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for Extension execution.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewExtensionExecutionRESTClient

    func NewExtensionExecutionRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient, https://pkg.go.dev/builtin#error)

NewExtensionExecutionRESTClient creates a new extension execution service rest client.

A service for Extension execution.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*ExtensionExecutionClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ExtensionExecutionClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) 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 (\*ExtensionExecutionClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ExtensionExecutionClient) ExecuteExtension

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) ExecuteExtension(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExecuteExtensionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExecuteExtensionResponse, https://pkg.go.dev/builtin#error)

ExecuteExtension executes the request against a given extension.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ExecuteExtensionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ExecuteExtensionRequest.
    	}
    	resp, err := c.ExecuteExtension(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionExecutionClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionExecutionClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*ExtensionExecutionClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionExecutionClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*ExtensionExecutionClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*ExtensionExecutionClient) QueryExtension

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) QueryExtension(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_QueryExtensionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_QueryExtensionResponse, https://pkg.go.dev/builtin#error)

QueryExtension queries an extension with a default controller.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.QueryExtensionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#QueryExtensionRequest.
    	}
    	resp, err := c.QueryExtension(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionExecutionClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*ExtensionExecutionClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionExecutionClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionExecutionClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionExecutionClient_NewExtensionExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ExtensionIterator

    type ExtensionIterator 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 []*aiplatformpb.Extension, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ExtensionIterator manages a stream of \*aiplatformpb.Extension.

### func (\*ExtensionIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionIterator) All() iter.Seq2[*aiplatformpb.Extension, error]

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

### func (\*ExtensionIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Extension, 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 (\*ExtensionIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionIterator) PageInfo() *iterator.PageInfo

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

## ExtensionRegistryCallOptions

    type ExtensionRegistryCallOptions struct {
    	ImportExtension    []gax.CallOption
    	GetExtension       []gax.CallOption
    	ListExtensions     []gax.CallOption
    	UpdateExtension    []gax.CallOption
    	DeleteExtension    []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

ExtensionRegistryCallOptions contains the retry settings for each method of ExtensionRegistryClient.

## ExtensionRegistryClient

    type ExtensionRegistryClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryCallOptions

    	// 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
    }

ExtensionRegistryClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing Vertex AI's Extension registry.

### func NewExtensionRegistryClient

    func NewExtensionRegistryClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient, https://pkg.go.dev/builtin#error)

NewExtensionRegistryClient creates a new extension registry service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for managing Vertex AI's Extension registry.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewExtensionRegistryRESTClient

    func NewExtensionRegistryRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient, https://pkg.go.dev/builtin#error)

NewExtensionRegistryRESTClient creates a new extension registry service rest client.

A service for managing Vertex AI's Extension registry.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*ExtensionRegistryClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ExtensionRegistryClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) 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 (\*ExtensionRegistryClient) DeleteExtension

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) DeleteExtension(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteExtensionRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_DeleteExtensionOperation, https://pkg.go.dev/builtin#error)

DeleteExtension deletes an Extension.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteExtensionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteExtensionRequest.
    	}
    	op, err := c.DeleteExtension(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ExtensionRegistryClient) DeleteExtensionOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) DeleteExtensionOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_DeleteExtensionOperation

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

### func (\*ExtensionRegistryClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ExtensionRegistryClient) GetExtension

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) GetExtension(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetExtensionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Extension, https://pkg.go.dev/builtin#error)

GetExtension gets an Extension.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetExtensionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetExtensionRequest.
    	}
    	resp, err := c.GetExtension(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionRegistryClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionRegistryClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*ExtensionRegistryClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionRegistryClient) ImportExtension

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) ImportExtension(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportExtensionRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportExtensionOperation, https://pkg.go.dev/builtin#error)

ImportExtension imports an Extension.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ImportExtensionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ImportExtensionRequest.
    	}
    	op, err := c.ImportExtension(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ExtensionRegistryClient) ImportExtensionOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) ImportExtensionOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportExtensionOperation

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

### func (\*ExtensionRegistryClient) ListExtensions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) ListExtensions(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListExtensionsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionIterator

ListExtensions lists Extensions in a location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListExtensionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListExtensionsRequest.
    	}
    	it := c.ListExtensions(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.(*aiplatformpb.ListExtensionsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ExtensionRegistryClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*ExtensionRegistryClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*ExtensionRegistryClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*ExtensionRegistryClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionRegistryClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionRegistryClient) UpdateExtension

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) UpdateExtension(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateExtensionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Extension, https://pkg.go.dev/builtin#error)

UpdateExtension updates an Extension.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateExtensionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateExtensionRequest.
    	}
    	resp, err := c.UpdateExtension(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ExtensionRegistryClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ExtensionRegistryClient_NewExtensionRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## FeatureGroupIterator

    type FeatureGroupIterator 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 []*aiplatformpb.FeatureGroup, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

FeatureGroupIterator manages a stream of \*aiplatformpb.FeatureGroup.

### func (\*FeatureGroupIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureGroupIterator) All() iter.Seq2[*aiplatformpb.FeatureGroup, error]

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

### func (\*FeatureGroupIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureGroupIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureGroup, 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 (\*FeatureGroupIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureGroupIterator) PageInfo() *iterator.PageInfo

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

## FeatureIterator

    type FeatureIterator 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 []*aiplatformpb.Feature, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

FeatureIterator manages a stream of \*aiplatformpb.Feature.

### func (\*FeatureIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureIterator) All() iter.Seq2[*aiplatformpb.Feature, error]

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

### func (\*FeatureIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Feature, 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 (\*FeatureIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureIterator) PageInfo() *iterator.PageInfo

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

## FeatureMonitorIterator

    type FeatureMonitorIterator 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 []*aiplatformpb.FeatureMonitor, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

FeatureMonitorIterator manages a stream of \*aiplatformpb.FeatureMonitor.

### func (\*FeatureMonitorIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureMonitorIterator) All() iter.Seq2[*aiplatformpb.FeatureMonitor, error]

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

### func (\*FeatureMonitorIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureMonitorIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureMonitor, 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 (\*FeatureMonitorIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureMonitorIterator) PageInfo() *iterator.PageInfo

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

## FeatureMonitorJobIterator

    type FeatureMonitorJobIterator 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 []*aiplatformpb.FeatureMonitorJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

FeatureMonitorJobIterator manages a stream of \*aiplatformpb.FeatureMonitorJob.

### func (\*FeatureMonitorJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureMonitorJobIterator) All() iter.Seq2[*aiplatformpb.FeatureMonitorJob, error]

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

### func (\*FeatureMonitorJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureMonitorJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureMonitorJob, 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 (\*FeatureMonitorJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureMonitorJobIterator) PageInfo() *iterator.PageInfo

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

## FeatureOnlineStoreAdminCallOptions

    type FeatureOnlineStoreAdminCallOptions struct {
    	CreateFeatureOnlineStore []gax.CallOption
    	GetFeatureOnlineStore    []gax.CallOption
    	ListFeatureOnlineStores  []gax.CallOption
    	UpdateFeatureOnlineStore []gax.CallOption
    	DeleteFeatureOnlineStore []gax.CallOption
    	CreateFeatureView        []gax.CallOption
    	GetFeatureView           []gax.CallOption
    	ListFeatureViews         []gax.CallOption
    	UpdateFeatureView        []gax.CallOption
    	DeleteFeatureView        []gax.CallOption
    	SyncFeatureView          []gax.CallOption
    	GetFeatureViewSync       []gax.CallOption
    	ListFeatureViewSyncs     []gax.CallOption
    	GetLocation              []gax.CallOption
    	ListLocations            []gax.CallOption
    	GetIamPolicy             []gax.CallOption
    	SetIamPolicy             []gax.CallOption
    	TestIamPermissions       []gax.CallOption
    	CancelOperation          []gax.CallOption
    	DeleteOperation          []gax.CallOption
    	GetOperation             []gax.CallOption
    	ListOperations           []gax.CallOption
    	WaitOperation            []gax.CallOption
    }

FeatureOnlineStoreAdminCallOptions contains the retry settings for each method of FeatureOnlineStoreAdminClient.

## FeatureOnlineStoreAdminClient

    type FeatureOnlineStoreAdminClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminCallOptions

    	// 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
    }

FeatureOnlineStoreAdminClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

The service that handles CRUD and List for resources for
FeatureOnlineStore.

### func NewFeatureOnlineStoreAdminClient

    func NewFeatureOnlineStoreAdminClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient, https://pkg.go.dev/builtin#error)

NewFeatureOnlineStoreAdminClient creates a new feature online store admin service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

The service that handles CRUD and List for resources for
FeatureOnlineStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewFeatureOnlineStoreAdminRESTClient

    func NewFeatureOnlineStoreAdminRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient, https://pkg.go.dev/builtin#error)

NewFeatureOnlineStoreAdminRESTClient creates a new feature online store admin service rest client.

The service that handles CRUD and List for resources for
FeatureOnlineStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*FeatureOnlineStoreAdminClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeatureOnlineStoreAdminClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) 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 (\*FeatureOnlineStoreAdminClient) CreateFeatureOnlineStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) CreateFeatureOnlineStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureOnlineStoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureOnlineStoreOperation, https://pkg.go.dev/builtin#error)

CreateFeatureOnlineStore creates a new FeatureOnlineStore in a given project and location.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateFeatureOnlineStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateFeatureOnlineStoreRequest.
    	}
    	op, err := c.CreateFeatureOnlineStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureOnlineStoreAdminClient) CreateFeatureOnlineStoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) CreateFeatureOnlineStoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureOnlineStoreOperation

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

### func (\*FeatureOnlineStoreAdminClient) CreateFeatureView

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) CreateFeatureView(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureViewRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureViewOperation, https://pkg.go.dev/builtin#error)

CreateFeatureView creates a new FeatureView in a given FeatureOnlineStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateFeatureViewRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateFeatureViewRequest.
    	}
    	op, err := c.CreateFeatureView(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureOnlineStoreAdminClient) CreateFeatureViewOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) CreateFeatureViewOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_CreateFeatureViewOperation

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

### func (\*FeatureOnlineStoreAdminClient) DeleteFeatureOnlineStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) DeleteFeatureOnlineStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureOnlineStoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureOnlineStoreOperation, https://pkg.go.dev/builtin#error)

DeleteFeatureOnlineStore deletes a single FeatureOnlineStore. The FeatureOnlineStore must not
contain any FeatureViews.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteFeatureOnlineStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteFeatureOnlineStoreRequest.
    	}
    	op, err := c.DeleteFeatureOnlineStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureOnlineStoreAdminClient) DeleteFeatureOnlineStoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) DeleteFeatureOnlineStoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureOnlineStoreOperation

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

### func (\*FeatureOnlineStoreAdminClient) DeleteFeatureView

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) DeleteFeatureView(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureViewRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureViewOperation, https://pkg.go.dev/builtin#error)

DeleteFeatureView deletes a single FeatureView.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteFeatureViewRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteFeatureViewRequest.
    	}
    	op, err := c.DeleteFeatureView(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureOnlineStoreAdminClient) DeleteFeatureViewOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) DeleteFeatureViewOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_DeleteFeatureViewOperation

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

### func (\*FeatureOnlineStoreAdminClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeatureOnlineStoreAdminClient) GetFeatureOnlineStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) GetFeatureOnlineStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetFeatureOnlineStoreRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureOnlineStore, https://pkg.go.dev/builtin#error)

GetFeatureOnlineStore gets details of a single FeatureOnlineStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetFeatureOnlineStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetFeatureOnlineStoreRequest.
    	}
    	resp, err := c.GetFeatureOnlineStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreAdminClient) GetFeatureView

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) GetFeatureView(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetFeatureViewRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureView, https://pkg.go.dev/builtin#error)

GetFeatureView gets details of a single FeatureView.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetFeatureViewRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetFeatureViewRequest.
    	}
    	resp, err := c.GetFeatureView(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreAdminClient) GetFeatureViewSync

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) GetFeatureViewSync(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetFeatureViewSyncRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureViewSync, https://pkg.go.dev/builtin#error)

GetFeatureViewSync gets details of a single FeatureViewSync.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetFeatureViewSyncRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetFeatureViewSyncRequest.
    	}
    	resp, err := c.GetFeatureViewSync(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreAdminClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreAdminClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*FeatureOnlineStoreAdminClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreAdminClient) ListFeatureOnlineStores

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) ListFeatureOnlineStores(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListFeatureOnlineStoresRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreIterator

ListFeatureOnlineStores lists FeatureOnlineStores in a given project and location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListFeatureOnlineStoresRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListFeatureOnlineStoresRequest.
    	}
    	it := c.ListFeatureOnlineStores(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.(*aiplatformpb.ListFeatureOnlineStoresResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeatureOnlineStoreAdminClient) ListFeatureViewSyncs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) ListFeatureViewSyncs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListFeatureViewSyncsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureViewSyncIterator

ListFeatureViewSyncs lists FeatureViewSyncs in a given FeatureView.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListFeatureViewSyncsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListFeatureViewSyncsRequest.
    	}
    	it := c.ListFeatureViewSyncs(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.(*aiplatformpb.ListFeatureViewSyncsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeatureOnlineStoreAdminClient) ListFeatureViews

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) ListFeatureViews(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListFeatureViewsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureViewIterator

ListFeatureViews lists FeatureViews in a given FeatureOnlineStore.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListFeatureViewsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListFeatureViewsRequest.
    	}
    	it := c.ListFeatureViews(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.(*aiplatformpb.ListFeatureViewsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeatureOnlineStoreAdminClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*FeatureOnlineStoreAdminClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*FeatureOnlineStoreAdminClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*FeatureOnlineStoreAdminClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreAdminClient) SyncFeatureView

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) SyncFeatureView(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SyncFeatureViewRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SyncFeatureViewResponse, https://pkg.go.dev/builtin#error)

SyncFeatureView triggers on-demand sync for the FeatureView.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SyncFeatureViewRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SyncFeatureViewRequest.
    	}
    	resp, err := c.SyncFeatureView(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreAdminClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreAdminClient) UpdateFeatureOnlineStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) UpdateFeatureOnlineStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureOnlineStoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOnlineStoreOperation, https://pkg.go.dev/builtin#error)

UpdateFeatureOnlineStore updates the parameters of a single FeatureOnlineStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateFeatureOnlineStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateFeatureOnlineStoreRequest.
    	}
    	op, err := c.UpdateFeatureOnlineStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureOnlineStoreAdminClient) UpdateFeatureOnlineStoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) UpdateFeatureOnlineStoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOnlineStoreOperation

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

### func (\*FeatureOnlineStoreAdminClient) UpdateFeatureView

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) UpdateFeatureView(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureViewRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureViewOperation, https://pkg.go.dev/builtin#error)

UpdateFeatureView updates the parameters of a single FeatureView.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateFeatureViewRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateFeatureViewRequest.
    	}
    	op, err := c.UpdateFeatureView(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureOnlineStoreAdminClient) UpdateFeatureViewOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) UpdateFeatureViewOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureViewOperation

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

### func (\*FeatureOnlineStoreAdminClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreAdminClient_NewFeatureOnlineStoreAdminClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## FeatureOnlineStoreCallOptions

    type FeatureOnlineStoreCallOptions struct {
    	FetchFeatureValues          []gax.CallOption
    	StreamingFetchFeatureValues []gax.CallOption
    	SearchNearestEntities       []gax.CallOption
    	FeatureViewDirectWrite      []gax.CallOption
    	GenerateFetchAccessToken    []gax.CallOption
    	GetLocation                 []gax.CallOption
    	ListLocations               []gax.CallOption
    	GetIamPolicy                []gax.CallOption
    	SetIamPolicy                []gax.CallOption
    	TestIamPermissions          []gax.CallOption
    	CancelOperation             []gax.CallOption
    	DeleteOperation             []gax.CallOption
    	GetOperation                []gax.CallOption
    	ListOperations              []gax.CallOption
    	WaitOperation               []gax.CallOption
    }

FeatureOnlineStoreCallOptions contains the retry settings for each method of FeatureOnlineStoreClient.

## FeatureOnlineStoreClient

    type FeatureOnlineStoreClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreCallOptions
    	// contains filtered or unexported fields
    }

FeatureOnlineStoreClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for fetching feature values from the online store.

### func NewFeatureOnlineStoreClient

    func NewFeatureOnlineStoreClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient, https://pkg.go.dev/builtin#error)

NewFeatureOnlineStoreClient creates a new feature online store service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for fetching feature values from the online store.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewFeatureOnlineStoreRESTClient

    func NewFeatureOnlineStoreRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient, https://pkg.go.dev/builtin#error)

NewFeatureOnlineStoreRESTClient creates a new feature online store service rest client.

A service for fetching feature values from the online store.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*FeatureOnlineStoreClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeatureOnlineStoreClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) 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 (\*FeatureOnlineStoreClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeatureOnlineStoreClient) FeatureViewDirectWrite

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) FeatureViewDirectWrite(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureOnlineStoreService_FeatureViewDirectWriteClient, https://pkg.go.dev/builtin#error)

FeatureViewDirectWrite bidirectional streaming RPC to directly write to feature values in a
feature view. Requests may not have a one-to-one mapping to responses and
responses may be returned out-of-order to reduce latency.

This method is not supported for the REST transport.

#### Example

    package main

    import (
    	"context"
    	"io"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()
    	stream, err := c.FeatureViewDirectWrite(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	go func() {
    		reqs := []*aiplatformpb.FeatureViewDirectWriteRequest{
    			// TODO: Create requests.
    		}
    		for _, req := range reqs {
    			if err := stream.Send(req); err != nil {
    				// TODO: Handle error.
    			}
    		}
    		stream.CloseSend()
    	}()
    	for {
    		resp, err := stream.Recv()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			// TODO: handle error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*FeatureOnlineStoreClient) FetchFeatureValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) FetchFeatureValues(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FetchFeatureValuesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FetchFeatureValuesResponse, https://pkg.go.dev/builtin#error)

FetchFeatureValues fetch feature values under a FeatureView.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.FetchFeatureValuesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#FetchFeatureValuesRequest.
    	}
    	resp, err := c.FetchFeatureValues(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreClient) GenerateFetchAccessToken

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) GenerateFetchAccessToken(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GenerateFetchAccessTokenRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GenerateFetchAccessTokenResponse, https://pkg.go.dev/builtin#error)

GenerateFetchAccessToken rPC to generate an access token for the given feature view. FeatureViews
under the same FeatureOnlineStore share the same access token.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GenerateFetchAccessTokenRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GenerateFetchAccessTokenRequest.
    	}
    	resp, err := c.GenerateFetchAccessToken(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*FeatureOnlineStoreClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*FeatureOnlineStoreClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*FeatureOnlineStoreClient) SearchNearestEntities

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) SearchNearestEntities(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchNearestEntitiesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchNearestEntitiesResponse, https://pkg.go.dev/builtin#error)

SearchNearestEntities search the nearest entities under a FeatureView.
Search only works for indexable feature view; if a feature view isn't
indexable, returns Invalid argument response.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SearchNearestEntitiesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SearchNearestEntitiesRequest.
    	}
    	resp, err := c.SearchNearestEntities(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*FeatureOnlineStoreClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreClient) StreamingFetchFeatureValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) StreamingFetchFeatureValues(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureOnlineStoreService_StreamingFetchFeatureValuesClient, https://pkg.go.dev/builtin#error)

StreamingFetchFeatureValues bidirectional streaming RPC to fetch feature values under a FeatureView.
Requests may not have a one-to-one mapping to responses and responses may
be returned out-of-order to reduce latency.

This method is not supported for the REST transport.

#### Example

    package main

    import (
    	"context"
    	"io"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()
    	stream, err := c.StreamingFetchFeatureValues(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	go func() {
    		reqs := []*aiplatformpb.StreamingFetchFeatureValuesRequest{
    			// TODO: Create requests.
    		}
    		for _, req := range reqs {
    			if err := stream.Send(req); err != nil {
    				// TODO: Handle error.
    			}
    		}
    		stream.CloseSend()
    	}()
    	for {
    		resp, err := stream.Recv()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			// TODO: handle error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*FeatureOnlineStoreClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureOnlineStoreClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreClient_NewFeatureOnlineStoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## FeatureOnlineStoreIterator

    type FeatureOnlineStoreIterator 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 []*aiplatformpb.FeatureOnlineStore, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

FeatureOnlineStoreIterator manages a stream of \*aiplatformpb.FeatureOnlineStore.

### func (\*FeatureOnlineStoreIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreIterator) All() iter.Seq2[*aiplatformpb.FeatureOnlineStore, error]

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

### func (\*FeatureOnlineStoreIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureOnlineStore, 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 (\*FeatureOnlineStoreIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureOnlineStoreIterator) PageInfo() *iterator.PageInfo

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

## FeatureRegistryCallOptions

    type FeatureRegistryCallOptions struct {
    	CreateFeatureGroup      []gax.CallOption
    	GetFeatureGroup         []gax.CallOption
    	ListFeatureGroups       []gax.CallOption
    	UpdateFeatureGroup      []gax.CallOption
    	DeleteFeatureGroup      []gax.CallOption
    	CreateFeature           []gax.CallOption
    	BatchCreateFeatures     []gax.CallOption
    	GetFeature              []gax.CallOption
    	ListFeatures            []gax.CallOption
    	UpdateFeature           []gax.CallOption
    	DeleteFeature           []gax.CallOption
    	CreateFeatureMonitor    []gax.CallOption
    	GetFeatureMonitor       []gax.CallOption
    	ListFeatureMonitors     []gax.CallOption
    	UpdateFeatureMonitor    []gax.CallOption
    	DeleteFeatureMonitor    []gax.CallOption
    	CreateFeatureMonitorJob []gax.CallOption
    	GetFeatureMonitorJob    []gax.CallOption
    	ListFeatureMonitorJobs  []gax.CallOption
    	GetLocation             []gax.CallOption
    	ListLocations           []gax.CallOption
    	GetIamPolicy            []gax.CallOption
    	SetIamPolicy            []gax.CallOption
    	TestIamPermissions      []gax.CallOption
    	CancelOperation         []gax.CallOption
    	DeleteOperation         []gax.CallOption
    	GetOperation            []gax.CallOption
    	ListOperations          []gax.CallOption
    	WaitOperation           []gax.CallOption
    }

FeatureRegistryCallOptions contains the retry settings for each method of FeatureRegistryClient.

## FeatureRegistryClient

    type FeatureRegistryClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryCallOptions

    	// 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
    }

FeatureRegistryClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

The service that handles CRUD and List for resources for
FeatureRegistry.

### func NewFeatureRegistryClient

    func NewFeatureRegistryClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient, https://pkg.go.dev/builtin#error)

NewFeatureRegistryClient creates a new feature registry service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

The service that handles CRUD and List for resources for
FeatureRegistry.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewFeatureRegistryRESTClient

    func NewFeatureRegistryRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient, https://pkg.go.dev/builtin#error)

NewFeatureRegistryRESTClient creates a new feature registry service rest client.

The service that handles CRUD and List for resources for
FeatureRegistry.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*FeatureRegistryClient) BatchCreateFeatures

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) BatchCreateFeatures(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateFeaturesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchCreateFeaturesOperation, https://pkg.go.dev/builtin#error)

BatchCreateFeatures creates a batch of Features in a given FeatureGroup.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchCreateFeaturesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchCreateFeaturesRequest.
    	}
    	op, err := c.BatchCreateFeatures(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) BatchCreateFeaturesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) BatchCreateFeaturesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchCreateFeaturesOperation

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

### func (\*FeatureRegistryClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeatureRegistryClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) 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 (\*FeatureRegistryClient) CreateFeature

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) CreateFeature(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeatureOperation, https://pkg.go.dev/builtin#error)

CreateFeature creates a new Feature in a given FeatureGroup.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateFeatureRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateFeatureRequest.
    	}
    	op, err := c.CreateFeature(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) CreateFeatureGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) CreateFeatureGroup(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureGroupRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureGroupOperation, https://pkg.go.dev/builtin#error)

CreateFeatureGroup creates a new FeatureGroup in a given project and location.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateFeatureGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateFeatureGroupRequest.
    	}
    	op, err := c.CreateFeatureGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) CreateFeatureGroupOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) CreateFeatureGroupOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureGroupOperation

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

### func (\*FeatureRegistryClient) CreateFeatureMonitor

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) CreateFeatureMonitor(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureMonitorRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureMonitorOperation, https://pkg.go.dev/builtin#error)

CreateFeatureMonitor creates a new FeatureMonitor in a given project, location and FeatureGroup.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateFeatureMonitorRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateFeatureMonitorRequest.
    	}
    	op, err := c.CreateFeatureMonitor(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) CreateFeatureMonitorJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) CreateFeatureMonitorJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureMonitorJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureMonitorJob, https://pkg.go.dev/builtin#error)

CreateFeatureMonitorJob creates a new feature monitor job.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateFeatureMonitorJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateFeatureMonitorJobRequest.
    	}
    	resp, err := c.CreateFeatureMonitorJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureRegistryClient) CreateFeatureMonitorOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) CreateFeatureMonitorOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_CreateFeatureMonitorOperation

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

### func (\*FeatureRegistryClient) CreateFeatureOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) CreateFeatureOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeatureOperation

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

### func (\*FeatureRegistryClient) DeleteFeature

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) DeleteFeature(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureOperation, https://pkg.go.dev/builtin#error)

DeleteFeature deletes a single Feature.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteFeatureRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteFeatureRequest.
    	}
    	op, err := c.DeleteFeature(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) DeleteFeatureGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) DeleteFeatureGroup(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureGroupRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureGroupOperation, https://pkg.go.dev/builtin#error)

DeleteFeatureGroup deletes a single FeatureGroup.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteFeatureGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteFeatureGroupRequest.
    	}
    	op, err := c.DeleteFeatureGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) DeleteFeatureGroupOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) DeleteFeatureGroupOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureGroupOperation

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

### func (\*FeatureRegistryClient) DeleteFeatureMonitor

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) DeleteFeatureMonitor(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureMonitorRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureMonitorOperation, https://pkg.go.dev/builtin#error)

DeleteFeatureMonitor deletes a single FeatureMonitor.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteFeatureMonitorRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteFeatureMonitorRequest.
    	}
    	op, err := c.DeleteFeatureMonitor(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) DeleteFeatureMonitorOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) DeleteFeatureMonitorOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_DeleteFeatureMonitorOperation

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

### func (\*FeatureRegistryClient) DeleteFeatureOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) DeleteFeatureOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureOperation

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

### func (\*FeatureRegistryClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeatureRegistryClient) GetFeature

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) GetFeature(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetFeatureRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Feature, https://pkg.go.dev/builtin#error)

GetFeature gets details of a single Feature.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetFeatureRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetFeatureRequest.
    	}
    	resp, err := c.GetFeature(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureRegistryClient) GetFeatureGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) GetFeatureGroup(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetFeatureGroupRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureGroup, https://pkg.go.dev/builtin#error)

GetFeatureGroup gets details of a single FeatureGroup.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetFeatureGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetFeatureGroupRequest.
    	}
    	resp, err := c.GetFeatureGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureRegistryClient) GetFeatureMonitor

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) GetFeatureMonitor(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetFeatureMonitorRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureMonitor, https://pkg.go.dev/builtin#error)

GetFeatureMonitor gets details of a single FeatureMonitor.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetFeatureMonitorRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetFeatureMonitorRequest.
    	}
    	resp, err := c.GetFeatureMonitor(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureRegistryClient) GetFeatureMonitorJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) GetFeatureMonitorJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetFeatureMonitorJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureMonitorJob, https://pkg.go.dev/builtin#error)

GetFeatureMonitorJob get a feature monitor job.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetFeatureMonitorJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetFeatureMonitorJobRequest.
    	}
    	resp, err := c.GetFeatureMonitorJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureRegistryClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureRegistryClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*FeatureRegistryClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureRegistryClient) ListFeatureGroups

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) ListFeatureGroups(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListFeatureGroupsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureGroupIterator

ListFeatureGroups lists FeatureGroups in a given project and location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListFeatureGroupsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListFeatureGroupsRequest.
    	}
    	it := c.ListFeatureGroups(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.(*aiplatformpb.ListFeatureGroupsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeatureRegistryClient) ListFeatureMonitorJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) ListFeatureMonitorJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListFeatureMonitorJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureMonitorJobIterator

ListFeatureMonitorJobs list feature monitor jobs.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListFeatureMonitorJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListFeatureMonitorJobsRequest.
    	}
    	it := c.ListFeatureMonitorJobs(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.(*aiplatformpb.ListFeatureMonitorJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeatureRegistryClient) ListFeatureMonitors

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) ListFeatureMonitors(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListFeatureMonitorsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureMonitorIterator

ListFeatureMonitors lists FeatureGroups in a given project and location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListFeatureMonitorsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListFeatureMonitorsRequest.
    	}
    	it := c.ListFeatureMonitors(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.(*aiplatformpb.ListFeatureMonitorsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeatureRegistryClient) ListFeatures

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) ListFeatures(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListFeaturesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureIterator

ListFeatures lists Features in a given FeatureGroup.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListFeaturesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListFeaturesRequest.
    	}
    	it := c.ListFeatures(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.(*aiplatformpb.ListFeaturesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeatureRegistryClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*FeatureRegistryClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*FeatureRegistryClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*FeatureRegistryClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureRegistryClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeatureRegistryClient) UpdateFeature

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) UpdateFeature(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOperation, https://pkg.go.dev/builtin#error)

UpdateFeature updates the parameters of a single Feature.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateFeatureRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateFeatureRequest.
    	}
    	op, err := c.UpdateFeature(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) UpdateFeatureGroup

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) UpdateFeatureGroup(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureGroupRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureGroupOperation, https://pkg.go.dev/builtin#error)

UpdateFeatureGroup updates the parameters of a single FeatureGroup.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateFeatureGroupRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateFeatureGroupRequest.
    	}
    	op, err := c.UpdateFeatureGroup(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) UpdateFeatureGroupOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) UpdateFeatureGroupOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureGroupOperation

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

### func (\*FeatureRegistryClient) UpdateFeatureMonitor

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) UpdateFeatureMonitor(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureMonitorRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureMonitorOperation, https://pkg.go.dev/builtin#error)

UpdateFeatureMonitor updates the parameters of a single FeatureMonitor.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateFeatureMonitorRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateFeatureMonitorRequest.
    	}
    	op, err := c.UpdateFeatureMonitor(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeatureRegistryClient) UpdateFeatureMonitorOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) UpdateFeatureMonitorOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureMonitorOperation

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

### func (\*FeatureRegistryClient) UpdateFeatureOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) UpdateFeatureOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOperation

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

### func (\*FeatureRegistryClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeatureRegistryClient_NewFeatureRegistryClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## FeatureViewIterator

    type FeatureViewIterator 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 []*aiplatformpb.FeatureView, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

FeatureViewIterator manages a stream of \*aiplatformpb.FeatureView.

### func (\*FeatureViewIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureViewIterator) All() iter.Seq2[*aiplatformpb.FeatureView, error]

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

### func (\*FeatureViewIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureViewIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureView, 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 (\*FeatureViewIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureViewIterator) PageInfo() *iterator.PageInfo

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

## FeatureViewSyncIterator

    type FeatureViewSyncIterator 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 []*aiplatformpb.FeatureViewSync, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

FeatureViewSyncIterator manages a stream of \*aiplatformpb.FeatureViewSync.

### func (\*FeatureViewSyncIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureViewSyncIterator) All() iter.Seq2[*aiplatformpb.FeatureViewSync, error]

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

### func (\*FeatureViewSyncIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureViewSyncIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureViewSync, 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 (\*FeatureViewSyncIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureViewSyncIterator) PageInfo() *iterator.PageInfo

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

## FeaturestoreCallOptions

    type FeaturestoreCallOptions struct {
    	CreateFeaturestore     []gax.CallOption
    	GetFeaturestore        []gax.CallOption
    	ListFeaturestores      []gax.CallOption
    	UpdateFeaturestore     []gax.CallOption
    	DeleteFeaturestore     []gax.CallOption
    	CreateEntityType       []gax.CallOption
    	GetEntityType          []gax.CallOption
    	ListEntityTypes        []gax.CallOption
    	UpdateEntityType       []gax.CallOption
    	DeleteEntityType       []gax.CallOption
    	CreateFeature          []gax.CallOption
    	BatchCreateFeatures    []gax.CallOption
    	GetFeature             []gax.CallOption
    	ListFeatures           []gax.CallOption
    	UpdateFeature          []gax.CallOption
    	DeleteFeature          []gax.CallOption
    	ImportFeatureValues    []gax.CallOption
    	BatchReadFeatureValues []gax.CallOption
    	ExportFeatureValues    []gax.CallOption
    	DeleteFeatureValues    []gax.CallOption
    	SearchFeatures         []gax.CallOption
    	GetLocation            []gax.CallOption
    	ListLocations          []gax.CallOption
    	GetIamPolicy           []gax.CallOption
    	SetIamPolicy           []gax.CallOption
    	TestIamPermissions     []gax.CallOption
    	CancelOperation        []gax.CallOption
    	DeleteOperation        []gax.CallOption
    	GetOperation           []gax.CallOption
    	ListOperations         []gax.CallOption
    	WaitOperation          []gax.CallOption
    }

FeaturestoreCallOptions contains the retry settings for each method of FeaturestoreClient.

## FeaturestoreClient

    type FeaturestoreClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreCallOptions

    	// 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
    }

FeaturestoreClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

The service that handles CRUD and List for resources for Featurestore.

### func NewFeaturestoreClient

    func NewFeaturestoreClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient, https://pkg.go.dev/builtin#error)

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

The service that handles CRUD and List for resources for Featurestore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewFeaturestoreRESTClient

    func NewFeaturestoreRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient, https://pkg.go.dev/builtin#error)

NewFeaturestoreRESTClient creates a new featurestore service rest client.

The service that handles CRUD and List for resources for Featurestore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*FeaturestoreClient) BatchCreateFeatures

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) BatchCreateFeatures(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateFeaturesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchCreateFeaturesOperation, https://pkg.go.dev/builtin#error)

BatchCreateFeatures creates a batch of Features in a given EntityType.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchCreateFeaturesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchCreateFeaturesRequest.
    	}
    	op, err := c.BatchCreateFeatures(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) BatchCreateFeaturesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) BatchCreateFeaturesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchCreateFeaturesOperation

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

### func (\*FeaturestoreClient) BatchReadFeatureValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) BatchReadFeatureValues(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchReadFeatureValuesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchReadFeatureValuesOperation, https://pkg.go.dev/builtin#error)

BatchReadFeatureValues batch reads Feature values from a Featurestore.

This API enables batch reading Feature values, where each read
instance in the batch may read Feature values of entities from one or
more EntityTypes. Point-in-time correctness is guaranteed for Feature
values of each read instance as of each instance's read timestamp.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchReadFeatureValuesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchReadFeatureValuesRequest.
    	}
    	op, err := c.BatchReadFeatureValues(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) BatchReadFeatureValuesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) BatchReadFeatureValuesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_BatchReadFeatureValuesOperation

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

### func (\*FeaturestoreClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeaturestoreClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) 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 (\*FeaturestoreClient) CreateEntityType

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) CreateEntityType(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateEntityTypeRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateEntityTypeOperation, https://pkg.go.dev/builtin#error)

CreateEntityType creates a new EntityType in a given Featurestore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateEntityTypeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateEntityTypeRequest.
    	}
    	op, err := c.CreateEntityType(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) CreateEntityTypeOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) CreateEntityTypeOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateEntityTypeOperation

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

### func (\*FeaturestoreClient) CreateFeature

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) CreateFeature(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeatureRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeatureOperation, https://pkg.go.dev/builtin#error)

CreateFeature creates a new Feature in a given EntityType.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateFeatureRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateFeatureRequest.
    	}
    	op, err := c.CreateFeature(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) CreateFeatureOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) CreateFeatureOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeatureOperation

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

### func (\*FeaturestoreClient) CreateFeaturestore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) CreateFeaturestore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateFeaturestoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeaturestoreOperation, https://pkg.go.dev/builtin#error)

CreateFeaturestore creates a new Featurestore in a given project and location.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateFeaturestoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateFeaturestoreRequest.
    	}
    	op, err := c.CreateFeaturestore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) CreateFeaturestoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) CreateFeaturestoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_CreateFeaturestoreOperation

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

### func (\*FeaturestoreClient) DeleteEntityType

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) DeleteEntityType(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteEntityTypeRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteEntityTypeOperation, https://pkg.go.dev/builtin#error)

DeleteEntityType deletes a single EntityType. The EntityType must not have any Features
or force must be set to true for the request to succeed.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteEntityTypeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteEntityTypeRequest.
    	}
    	op, err := c.DeleteEntityType(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) DeleteEntityTypeOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) DeleteEntityTypeOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteEntityTypeOperation

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

### func (\*FeaturestoreClient) DeleteFeature

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) DeleteFeature(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureOperation, https://pkg.go.dev/builtin#error)

DeleteFeature deletes a single Feature.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteFeatureRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteFeatureRequest.
    	}
    	op, err := c.DeleteFeature(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) DeleteFeatureOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) DeleteFeatureOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureOperation

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

### func (\*FeaturestoreClient) DeleteFeatureValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) DeleteFeatureValues(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeatureValuesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureValuesOperation, https://pkg.go.dev/builtin#error)

DeleteFeatureValues delete Feature values from Featurestore.

The progress of the deletion is tracked by the returned operation. The
deleted feature values are guaranteed to be invisible to subsequent read
operations after the operation is marked as successfully done.

If a delete feature values operation fails, the feature values
returned from reads and exports may be inconsistent. If consistency is
required, the caller must retry the same delete request again and wait till
the new operation returned is marked as successfully done.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteFeatureValuesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteFeatureValuesRequest.
    	}
    	op, err := c.DeleteFeatureValues(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) DeleteFeatureValuesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) DeleteFeatureValuesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeatureValuesOperation

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

### func (\*FeaturestoreClient) DeleteFeaturestore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) DeleteFeaturestore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteFeaturestoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeaturestoreOperation, https://pkg.go.dev/builtin#error)

DeleteFeaturestore deletes a single Featurestore. The Featurestore must not contain any
EntityTypes or force must be set to true for the request to succeed.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteFeaturestoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteFeaturestoreRequest.
    	}
    	op, err := c.DeleteFeaturestore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) DeleteFeaturestoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) DeleteFeaturestoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_DeleteFeaturestoreOperation

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

### func (\*FeaturestoreClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeaturestoreClient) ExportFeatureValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) ExportFeatureValues(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportFeatureValuesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_ExportFeatureValuesOperation, https://pkg.go.dev/builtin#error)

ExportFeatureValues exports Feature values from all the entities of a target EntityType.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ExportFeatureValuesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ExportFeatureValuesRequest.
    	}
    	op, err := c.ExportFeatureValues(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) ExportFeatureValuesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) ExportFeatureValuesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_ExportFeatureValuesOperation

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

### func (\*FeaturestoreClient) GetEntityType

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) GetEntityType(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetEntityTypeRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EntityType, https://pkg.go.dev/builtin#error)

GetEntityType gets details of a single EntityType.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetEntityTypeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetEntityTypeRequest.
    	}
    	resp, err := c.GetEntityType(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreClient) GetFeature

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) GetFeature(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetFeatureRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Feature, https://pkg.go.dev/builtin#error)

GetFeature gets details of a single Feature.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetFeatureRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetFeatureRequest.
    	}
    	resp, err := c.GetFeature(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreClient) GetFeaturestore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) GetFeaturestore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetFeaturestoreRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Featurestore, https://pkg.go.dev/builtin#error)

GetFeaturestore gets details of a single Featurestore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetFeaturestoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetFeaturestoreRequest.
    	}
    	resp, err := c.GetFeaturestore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*FeaturestoreClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreClient) ImportFeatureValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) ImportFeatureValues(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportFeatureValuesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportFeatureValuesOperation, https://pkg.go.dev/builtin#error)

ImportFeatureValues imports Feature values into the Featurestore from a source storage.

The progress of the import is tracked by the returned operation. The
imported features are guaranteed to be visible to subsequent read
operations after the operation is marked as successfully done.

If an import operation fails, the Feature values returned from
reads and exports may be inconsistent. If consistency is
required, the caller must retry the same import request again and wait till
the new operation returned is marked as successfully done.

There are also scenarios where the caller can cause inconsistency.

    Source data for import contains multiple distinct Feature values for
    the same entity ID and timestamp.

    Source is modified during an import. This includes adding, updating, or
    removing source data and/or metadata. Examples of updating metadata
    include but are not limited to changing storage location, storage class,
    or retention policy.

    Online serving cluster is under-provisioned.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ImportFeatureValuesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ImportFeatureValuesRequest.
    	}
    	op, err := c.ImportFeatureValues(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) ImportFeatureValuesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) ImportFeatureValuesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportFeatureValuesOperation

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

### func (\*FeaturestoreClient) ListEntityTypes

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) ListEntityTypes(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListEntityTypesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_EntityTypeIterator

ListEntityTypes lists EntityTypes in a given Featurestore.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListEntityTypesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListEntityTypesRequest.
    	}
    	it := c.ListEntityTypes(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.(*aiplatformpb.ListEntityTypesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeaturestoreClient) ListFeatures

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) ListFeatures(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListFeaturesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureIterator

ListFeatures lists Features in a given EntityType.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListFeaturesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListFeaturesRequest.
    	}
    	it := c.ListFeatures(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.(*aiplatformpb.ListFeaturesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeaturestoreClient) ListFeaturestores

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) ListFeaturestores(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListFeaturestoresRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreIterator

ListFeaturestores lists Featurestores in a given project and location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListFeaturestoresRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListFeaturestoresRequest.
    	}
    	it := c.ListFeaturestores(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.(*aiplatformpb.ListFeaturestoresResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeaturestoreClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*FeaturestoreClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*FeaturestoreClient) SearchFeatures

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) SearchFeatures(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchFeaturesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeatureIterator

SearchFeatures searches Features matching a query in a given project.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SearchFeaturesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SearchFeaturesRequest.
    	}
    	it := c.SearchFeatures(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.(*aiplatformpb.SearchFeaturesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*FeaturestoreClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*FeaturestoreClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreClient) UpdateEntityType

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) UpdateEntityType(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateEntityTypeRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EntityType, https://pkg.go.dev/builtin#error)

UpdateEntityType updates the parameters of a single EntityType.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateEntityTypeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateEntityTypeRequest.
    	}
    	resp, err := c.UpdateEntityType(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreClient) UpdateFeature

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) UpdateFeature(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Feature, https://pkg.go.dev/builtin#error)

UpdateFeature updates the parameters of a single Feature.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateFeatureRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateFeatureRequest.
    	}
    	resp, err := c.UpdateFeature(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreClient) UpdateFeaturestore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) UpdateFeaturestore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeaturestoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeaturestoreOperation, https://pkg.go.dev/builtin#error)

UpdateFeaturestore updates the parameters of a single Featurestore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateFeaturestoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateFeaturestoreRequest.
    	}
    	op, err := c.UpdateFeaturestore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*FeaturestoreClient) UpdateFeaturestoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) UpdateFeaturestoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeaturestoreOperation

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

### func (\*FeaturestoreClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreClient_NewFeaturestoreClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## FeaturestoreIterator

    type FeaturestoreIterator 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 []*aiplatformpb.Featurestore, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

FeaturestoreIterator manages a stream of \*aiplatformpb.Featurestore.

### func (\*FeaturestoreIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreIterator) All() iter.Seq2[*aiplatformpb.Featurestore, error]

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

### func (\*FeaturestoreIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Featurestore, 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 (\*FeaturestoreIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreIterator) PageInfo() *iterator.PageInfo

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

## FeaturestoreOnlineServingCallOptions

    type FeaturestoreOnlineServingCallOptions struct {
    	ReadFeatureValues          []gax.CallOption
    	StreamingReadFeatureValues []gax.CallOption
    	WriteFeatureValues         []gax.CallOption
    	GetLocation                []gax.CallOption
    	ListLocations              []gax.CallOption
    	GetIamPolicy               []gax.CallOption
    	SetIamPolicy               []gax.CallOption
    	TestIamPermissions         []gax.CallOption
    	CancelOperation            []gax.CallOption
    	DeleteOperation            []gax.CallOption
    	GetOperation               []gax.CallOption
    	ListOperations             []gax.CallOption
    	WaitOperation              []gax.CallOption
    }

FeaturestoreOnlineServingCallOptions contains the retry settings for each method of FeaturestoreOnlineServingClient.

## FeaturestoreOnlineServingClient

    type FeaturestoreOnlineServingClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingCallOptions
    	// contains filtered or unexported fields
    }

FeaturestoreOnlineServingClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for serving online feature values.

### func NewFeaturestoreOnlineServingClient

    func NewFeaturestoreOnlineServingClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient, https://pkg.go.dev/builtin#error)

NewFeaturestoreOnlineServingClient creates a new featurestore online serving service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for serving online feature values.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewFeaturestoreOnlineServingRESTClient

    func NewFeaturestoreOnlineServingRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient, https://pkg.go.dev/builtin#error)

NewFeaturestoreOnlineServingRESTClient creates a new featurestore online serving service rest client.

A service for serving online feature values.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*FeaturestoreOnlineServingClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeaturestoreOnlineServingClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) 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 (\*FeaturestoreOnlineServingClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*FeaturestoreOnlineServingClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreOnlineServingClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*FeaturestoreOnlineServingClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreOnlineServingClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*FeaturestoreOnlineServingClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*FeaturestoreOnlineServingClient) ReadFeatureValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) ReadFeatureValues(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadFeatureValuesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadFeatureValuesResponse, https://pkg.go.dev/builtin#error)

ReadFeatureValues reads Feature values of a specific entity of an EntityType. For reading
feature values of multiple entities of an EntityType, please use
StreamingReadFeatureValues.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ReadFeatureValuesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ReadFeatureValuesRequest.
    	}
    	resp, err := c.ReadFeatureValues(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreOnlineServingClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*FeaturestoreOnlineServingClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreOnlineServingClient) StreamingReadFeatureValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) StreamingReadFeatureValues(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StreamingReadFeatureValuesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeaturestoreOnlineServingService_StreamingReadFeatureValuesClient, https://pkg.go.dev/builtin#error)

StreamingReadFeatureValues reads Feature values for multiple entities. Depending on their size, data
for different entities may be broken
up across multiple responses.

### func (\*FeaturestoreOnlineServingClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreOnlineServingClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*FeaturestoreOnlineServingClient) WriteFeatureValues

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient) WriteFeatureValues(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_WriteFeatureValuesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_WriteFeatureValuesResponse, https://pkg.go.dev/builtin#error)

WriteFeatureValues writes Feature values of one or more entities of an EntityType.

The Feature values are merged into existing entities if any. The Feature
values to be written must have timestamp within the online storage
retention.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_FeaturestoreOnlineServingClient_NewFeaturestoreOnlineServingClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.WriteFeatureValuesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#WriteFeatureValuesRequest.
    	}
    	resp, err := c.WriteFeatureValues(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## GenAiCacheCallOptions

    type GenAiCacheCallOptions struct {
    	CreateCachedContent []gax.CallOption
    	GetCachedContent    []gax.CallOption
    	UpdateCachedContent []gax.CallOption
    	DeleteCachedContent []gax.CallOption
    	ListCachedContents  []gax.CallOption
    	GetLocation         []gax.CallOption
    	ListLocations       []gax.CallOption
    	GetIamPolicy        []gax.CallOption
    	SetIamPolicy        []gax.CallOption
    	TestIamPermissions  []gax.CallOption
    	CancelOperation     []gax.CallOption
    	DeleteOperation     []gax.CallOption
    	GetOperation        []gax.CallOption
    	ListOperations      []gax.CallOption
    	WaitOperation       []gax.CallOption
    }

GenAiCacheCallOptions contains the retry settings for each method of GenAiCacheClient.

## GenAiCacheClient

    type GenAiCacheClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheCallOptions
    	// contains filtered or unexported fields
    }

GenAiCacheClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service for managing Vertex AI's CachedContent resource.

### func NewGenAiCacheClient

    func NewGenAiCacheClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient, https://pkg.go.dev/builtin#error)

NewGenAiCacheClient creates a new gen ai cache service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

Service for managing Vertex AI's CachedContent resource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewGenAiCacheRESTClient

    func NewGenAiCacheRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient, https://pkg.go.dev/builtin#error)

NewGenAiCacheRESTClient creates a new gen ai cache service rest client.

Service for managing Vertex AI's CachedContent resource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*GenAiCacheClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*GenAiCacheClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) 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 (\*GenAiCacheClient) CreateCachedContent

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) CreateCachedContent(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateCachedContentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CachedContent, https://pkg.go.dev/builtin#error)

CreateCachedContent creates cached content, this call will initialize the cached content in the
data storage, and users need to pay for the cache data storage.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateCachedContentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateCachedContentRequest.
    	}
    	resp, err := c.CreateCachedContent(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiCacheClient) DeleteCachedContent

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) DeleteCachedContent(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteCachedContentRequest, 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

DeleteCachedContent deletes cached content

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteCachedContentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteCachedContentRequest.
    	}
    	err = c.DeleteCachedContent(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*GenAiCacheClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*GenAiCacheClient) GetCachedContent

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) GetCachedContent(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetCachedContentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CachedContent, https://pkg.go.dev/builtin#error)

GetCachedContent gets cached content configurations

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetCachedContentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetCachedContentRequest.
    	}
    	resp, err := c.GetCachedContent(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiCacheClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiCacheClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*GenAiCacheClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiCacheClient) ListCachedContents

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) ListCachedContents(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListCachedContentsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_CachedContentIterator

ListCachedContents lists cached contents in a project

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListCachedContentsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListCachedContentsRequest.
    	}
    	it := c.ListCachedContents(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.(*aiplatformpb.ListCachedContentsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*GenAiCacheClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*GenAiCacheClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*GenAiCacheClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*GenAiCacheClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiCacheClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiCacheClient) UpdateCachedContent

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) UpdateCachedContent(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateCachedContentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CachedContent, https://pkg.go.dev/builtin#error)

UpdateCachedContent updates cached content configurations

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateCachedContentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateCachedContentRequest.
    	}
    	resp, err := c.UpdateCachedContent(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiCacheClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiCacheClient_NewGenAiCacheClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## GenAiTuningCallOptions

    type GenAiTuningCallOptions struct {
    	CreateTuningJob    []gax.CallOption
    	GetTuningJob       []gax.CallOption
    	ListTuningJobs     []gax.CallOption
    	CancelTuningJob    []gax.CallOption
    	RebaseTunedModel   []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

GenAiTuningCallOptions contains the retry settings for each method of GenAiTuningClient.

## GenAiTuningClient

    type GenAiTuningClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningCallOptions

    	// 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
    }

GenAiTuningClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for creating and managing GenAI Tuning Jobs.

### func NewGenAiTuningClient

    func NewGenAiTuningClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient, https://pkg.go.dev/builtin#error)

NewGenAiTuningClient creates a new gen ai tuning service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for creating and managing GenAI Tuning Jobs.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewGenAiTuningRESTClient

    func NewGenAiTuningRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient, https://pkg.go.dev/builtin#error)

NewGenAiTuningRESTClient creates a new gen ai tuning service rest client.

A service for creating and managing GenAI Tuning Jobs.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*GenAiTuningClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*GenAiTuningClient) CancelTuningJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) CancelTuningJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CancelTuningJobRequest, 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

CancelTuningJob cancels a TuningJob.
Starts asynchronous cancellation on the TuningJob. The server makes a best
effort to cancel the job, but success is not guaranteed. Clients can use
GenAiTuningService.GetTuningJob
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation, the
TuningJob is not deleted; instead it becomes a job with a
TuningJob.error value
with a google.rpc.Status.code of 1, corresponding
to Code.CANCELLED, and
TuningJob.state is set
to CANCELLED.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CancelTuningJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CancelTuningJobRequest.
    	}
    	err = c.CancelTuningJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*GenAiTuningClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) 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 (\*GenAiTuningClient) CreateTuningJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) CreateTuningJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateTuningJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TuningJob, https://pkg.go.dev/builtin#error)

CreateTuningJob creates a TuningJob. A created TuningJob right away will be attempted to
be run.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateTuningJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateTuningJobRequest.
    	}
    	resp, err := c.CreateTuningJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiTuningClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*GenAiTuningClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiTuningClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*GenAiTuningClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiTuningClient) GetTuningJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) GetTuningJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetTuningJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TuningJob, https://pkg.go.dev/builtin#error)

GetTuningJob gets a TuningJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetTuningJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetTuningJobRequest.
    	}
    	resp, err := c.GetTuningJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiTuningClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*GenAiTuningClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*GenAiTuningClient) ListTuningJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) ListTuningJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListTuningJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TuningJobIterator

ListTuningJobs lists TuningJobs in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTuningJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTuningJobsRequest.
    	}
    	it := c.ListTuningJobs(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.(*aiplatformpb.ListTuningJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*GenAiTuningClient) RebaseTunedModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) RebaseTunedModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RebaseTunedModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebaseTunedModelOperation, https://pkg.go.dev/builtin#error)

RebaseTunedModel rebase a TunedModel.
Creates a LongRunningOperation that takes a legacy Tuned GenAI model
Reference and creates a TuningJob based on newly available model.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RebaseTunedModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RebaseTunedModelRequest.
    	}
    	op, err := c.RebaseTunedModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*GenAiTuningClient) RebaseTunedModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) RebaseTunedModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebaseTunedModelOperation

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

### func (\*GenAiTuningClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*GenAiTuningClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiTuningClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*GenAiTuningClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_GenAiTuningClient_NewGenAiTuningClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## GenerateMemoriesOperation

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

GenerateMemoriesOperation manages a long-running operation from GenerateMemories.

### func (\*GenerateMemoriesOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_GenerateMemoriesOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*GenerateMemoriesOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_GenerateMemoriesOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GenerateMemoriesOperationMetadata, 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 (\*GenerateMemoriesOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_GenerateMemoriesOperation) 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 (\*GenerateMemoriesOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_GenerateMemoriesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GenerateMemoriesResponse, 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 (\*GenerateMemoriesOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_GenerateMemoriesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GenerateMemoriesResponse, 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.

## HyperparameterTuningJobIterator

    type HyperparameterTuningJobIterator 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 []*aiplatformpb.HyperparameterTuningJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

HyperparameterTuningJobIterator manages a stream of \*aiplatformpb.HyperparameterTuningJob.

### func (\*HyperparameterTuningJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_HyperparameterTuningJobIterator) All() iter.Seq2[*aiplatformpb.HyperparameterTuningJob, error]

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

### func (\*HyperparameterTuningJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_HyperparameterTuningJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_HyperparameterTuningJob, 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 (\*HyperparameterTuningJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_HyperparameterTuningJobIterator) PageInfo() *iterator.PageInfo

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

## ImportDataOperation

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

ImportDataOperation manages a long-running operation from ImportData.

### func (\*ImportDataOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportDataOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ImportDataOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportDataOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportDataOperationMetadata, 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 (\*ImportDataOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportDataOperation) 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 (\*ImportDataOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportDataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportDataResponse, 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 (\*ImportDataOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportDataOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportDataResponse, 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.

## ImportExtensionOperation

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

ImportExtensionOperation manages a long-running operation from ImportExtension.

### func (\*ImportExtensionOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportExtensionOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ImportExtensionOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportExtensionOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportExtensionOperationMetadata, 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 (\*ImportExtensionOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportExtensionOperation) 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 (\*ImportExtensionOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportExtensionOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Extension, 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 (\*ImportExtensionOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportExtensionOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Extension, 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.

## ImportFeatureValuesOperation

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

ImportFeatureValuesOperation manages a long-running operation from ImportFeatureValues.

### func (\*ImportFeatureValuesOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportFeatureValuesOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ImportFeatureValuesOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportFeatureValuesOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportFeatureValuesOperationMetadata, 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 (\*ImportFeatureValuesOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportFeatureValuesOperation) 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 (\*ImportFeatureValuesOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportFeatureValuesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportFeatureValuesResponse, 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 (\*ImportFeatureValuesOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ImportFeatureValuesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportFeatureValuesResponse, 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.

## ImportIndexOperation

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

ImportIndexOperation manages a long-running operation from ImportIndex.

### func (\*ImportIndexOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_ImportIndexOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ImportIndexOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_ImportIndexOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportIndexOperationMetadata, 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 (\*ImportIndexOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_ImportIndexOperation) 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 (\*ImportIndexOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_ImportIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Index, 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 (\*ImportIndexOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_ImportIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Index, 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.

## ImportRagFilesOperation

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

ImportRagFilesOperation manages a long-running operation from ImportRagFiles.

### func (\*ImportRagFilesOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_ImportRagFilesOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*ImportRagFilesOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_ImportRagFilesOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportRagFilesOperationMetadata, 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 (\*ImportRagFilesOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_ImportRagFilesOperation) 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 (\*ImportRagFilesOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_ImportRagFilesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportRagFilesResponse, 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 (\*ImportRagFilesOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_ImportRagFilesOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportRagFilesResponse, 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.

## IndexCallOptions

    type IndexCallOptions struct {
    	CreateIndex        []gax.CallOption
    	GetIndex           []gax.CallOption
    	ImportIndex        []gax.CallOption
    	ListIndexes        []gax.CallOption
    	UpdateIndex        []gax.CallOption
    	DeleteIndex        []gax.CallOption
    	UpsertDatapoints   []gax.CallOption
    	RemoveDatapoints   []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

IndexCallOptions contains the retry settings for each method of IndexClient.

## IndexClient

    type IndexClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexCallOptions

    	// 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
    }

IndexClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for creating and managing Vertex AI's Index resources.

### func NewIndexClient

    func NewIndexClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient, https://pkg.go.dev/builtin#error)

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

A service for creating and managing Vertex AI's Index resources.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewIndexRESTClient

    func NewIndexRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient, https://pkg.go.dev/builtin#error)

NewIndexRESTClient creates a new index service rest client.

A service for creating and managing Vertex AI's Index resources.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*IndexClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*IndexClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) 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 (\*IndexClient) CreateIndex

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) CreateIndex(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateIndexRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_CreateIndexOperation, https://pkg.go.dev/builtin#error)

CreateIndex creates an Index.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateIndexRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateIndexRequest.
    	}
    	op, err := c.CreateIndex(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*IndexClient) CreateIndexOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) CreateIndexOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_CreateIndexOperation

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

### func (\*IndexClient) DeleteIndex

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) DeleteIndex(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteIndexRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_DeleteIndexOperation, https://pkg.go.dev/builtin#error)

DeleteIndex deletes an Index.
An Index can only be deleted when all its
DeployedIndexes
had been undeployed.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteIndexRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteIndexRequest.
    	}
    	op, err := c.DeleteIndex(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*IndexClient) DeleteIndexOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) DeleteIndexOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_DeleteIndexOperation

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

### func (\*IndexClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*IndexClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexClient) GetIndex

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) GetIndex(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetIndexRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Index, https://pkg.go.dev/builtin#error)

GetIndex gets an Index.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetIndexRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetIndexRequest.
    	}
    	resp, err := c.GetIndex(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*IndexClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexClient) ImportIndex

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) ImportIndex(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportIndexRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_ImportIndexOperation, https://pkg.go.dev/builtin#error)

ImportIndex imports an Index from an external source (e.g., BigQuery).

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ImportIndexRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ImportIndexRequest.
    	}
    	op, err := c.ImportIndex(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*IndexClient) ImportIndexOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) ImportIndexOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_ImportIndexOperation

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

### func (\*IndexClient) ListIndexes

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) ListIndexes(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListIndexesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexIterator

ListIndexes lists Indexes in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListIndexesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListIndexesRequest.
    	}
    	it := c.ListIndexes(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.(*aiplatformpb.ListIndexesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*IndexClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*IndexClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*IndexClient) RemoveDatapoints

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) RemoveDatapoints(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RemoveDatapointsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RemoveDatapointsResponse, https://pkg.go.dev/builtin#error)

RemoveDatapoints remove Datapoints from an Index.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RemoveDatapointsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RemoveDatapointsRequest.
    	}
    	resp, err := c.RemoveDatapoints(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*IndexClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexClient) UpdateIndex

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) UpdateIndex(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateIndexRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateIndexOperation, https://pkg.go.dev/builtin#error)

UpdateIndex updates an Index.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateIndexRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateIndexRequest.
    	}
    	op, err := c.UpdateIndex(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*IndexClient) UpdateIndexOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) UpdateIndexOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateIndexOperation

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

### func (\*IndexClient) UpsertDatapoints

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) UpsertDatapoints(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpsertDatapointsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpsertDatapointsResponse, https://pkg.go.dev/builtin#error)

UpsertDatapoints add/update Datapoints into an Index.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpsertDatapointsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpsertDatapointsRequest.
    	}
    	resp, err := c.UpsertDatapoints(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexClient_NewIndexClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## IndexEndpointCallOptions

    type IndexEndpointCallOptions struct {
    	CreateIndexEndpoint []gax.CallOption
    	GetIndexEndpoint    []gax.CallOption
    	ListIndexEndpoints  []gax.CallOption
    	UpdateIndexEndpoint []gax.CallOption
    	DeleteIndexEndpoint []gax.CallOption
    	DeployIndex         []gax.CallOption
    	UndeployIndex       []gax.CallOption
    	MutateDeployedIndex []gax.CallOption
    	GetLocation         []gax.CallOption
    	ListLocations       []gax.CallOption
    	GetIamPolicy        []gax.CallOption
    	SetIamPolicy        []gax.CallOption
    	TestIamPermissions  []gax.CallOption
    	CancelOperation     []gax.CallOption
    	DeleteOperation     []gax.CallOption
    	GetOperation        []gax.CallOption
    	ListOperations      []gax.CallOption
    	WaitOperation       []gax.CallOption
    }

IndexEndpointCallOptions contains the retry settings for each method of IndexEndpointClient.

## IndexEndpointClient

    type IndexEndpointClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointCallOptions

    	// 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
    }

IndexEndpointClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing Vertex AI's IndexEndpoints.

### func NewIndexEndpointClient

    func NewIndexEndpointClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient, https://pkg.go.dev/builtin#error)

NewIndexEndpointClient creates a new index endpoint service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for managing Vertex AI's IndexEndpoints.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewIndexEndpointRESTClient

    func NewIndexEndpointRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient, https://pkg.go.dev/builtin#error)

NewIndexEndpointRESTClient creates a new index endpoint service rest client.

A service for managing Vertex AI's IndexEndpoints.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*IndexEndpointClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*IndexEndpointClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) 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 (\*IndexEndpointClient) CreateIndexEndpoint

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) CreateIndexEndpoint(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateIndexEndpointRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_CreateIndexEndpointOperation, https://pkg.go.dev/builtin#error)

CreateIndexEndpoint creates an IndexEndpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateIndexEndpointRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateIndexEndpointRequest.
    	}
    	op, err := c.CreateIndexEndpoint(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*IndexEndpointClient) CreateIndexEndpointOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) CreateIndexEndpointOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_CreateIndexEndpointOperation

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

### func (\*IndexEndpointClient) DeleteIndexEndpoint

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) DeleteIndexEndpoint(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteIndexEndpointRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeleteIndexEndpointOperation, https://pkg.go.dev/builtin#error)

DeleteIndexEndpoint deletes an IndexEndpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteIndexEndpointRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteIndexEndpointRequest.
    	}
    	op, err := c.DeleteIndexEndpoint(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*IndexEndpointClient) DeleteIndexEndpointOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) DeleteIndexEndpointOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeleteIndexEndpointOperation

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

### func (\*IndexEndpointClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*IndexEndpointClient) DeployIndex

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) DeployIndex(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployIndexRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeployIndexOperation, https://pkg.go.dev/builtin#error)

DeployIndex deploys an Index into this IndexEndpoint, creating a DeployedIndex within
it.
Only non-empty Indexes can be deployed.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeployIndexRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeployIndexRequest.
    	}
    	op, err := c.DeployIndex(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*IndexEndpointClient) DeployIndexOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) DeployIndexOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_DeployIndexOperation

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

### func (\*IndexEndpointClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexEndpointClient) GetIndexEndpoint

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) GetIndexEndpoint(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetIndexEndpointRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_IndexEndpoint, https://pkg.go.dev/builtin#error)

GetIndexEndpoint gets an IndexEndpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetIndexEndpointRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetIndexEndpointRequest.
    	}
    	resp, err := c.GetIndexEndpoint(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexEndpointClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*IndexEndpointClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexEndpointClient) ListIndexEndpoints

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) ListIndexEndpoints(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListIndexEndpointsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointIterator

ListIndexEndpoints lists IndexEndpoints in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListIndexEndpointsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListIndexEndpointsRequest.
    	}
    	it := c.ListIndexEndpoints(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.(*aiplatformpb.ListIndexEndpointsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*IndexEndpointClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*IndexEndpointClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*IndexEndpointClient) MutateDeployedIndex

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) MutateDeployedIndex(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MutateDeployedIndexRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedIndexOperation, https://pkg.go.dev/builtin#error)

MutateDeployedIndex update an existing DeployedIndex under an IndexEndpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.MutateDeployedIndexRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#MutateDeployedIndexRequest.
    	}
    	op, err := c.MutateDeployedIndex(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*IndexEndpointClient) MutateDeployedIndexOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) MutateDeployedIndexOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedIndexOperation

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

### func (\*IndexEndpointClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*IndexEndpointClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexEndpointClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexEndpointClient) UndeployIndex

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) UndeployIndex(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UndeployIndexRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployIndexOperation, https://pkg.go.dev/builtin#error)

UndeployIndex undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it,
and freeing all resources it's using.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UndeployIndexRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UndeployIndexRequest.
    	}
    	op, err := c.UndeployIndex(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*IndexEndpointClient) UndeployIndexOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) UndeployIndexOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployIndexOperation

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

### func (\*IndexEndpointClient) UpdateIndexEndpoint

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) UpdateIndexEndpoint(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateIndexEndpointRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_IndexEndpoint, https://pkg.go.dev/builtin#error)

UpdateIndexEndpoint updates an IndexEndpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateIndexEndpointRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateIndexEndpointRequest.
    	}
    	resp, err := c.UpdateIndexEndpoint(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*IndexEndpointClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointClient_NewIndexEndpointClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## IndexEndpointIterator

    type IndexEndpointIterator 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 []*aiplatformpb.IndexEndpoint, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

IndexEndpointIterator manages a stream of \*aiplatformpb.IndexEndpoint.

### func (\*IndexEndpointIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointIterator) All() iter.Seq2[*aiplatformpb.IndexEndpoint, error]

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

### func (\*IndexEndpointIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_IndexEndpoint, 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 (\*IndexEndpointIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexEndpointIterator) PageInfo() *iterator.PageInfo

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

## IndexIterator

    type IndexIterator 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 []*aiplatformpb.Index, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

IndexIterator manages a stream of \*aiplatformpb.Index.

### func (\*IndexIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexIterator) All() iter.Seq2[*aiplatformpb.Index, error]

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

### func (\*IndexIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Index, 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 (\*IndexIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_IndexIterator) PageInfo() *iterator.PageInfo

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

## JobCallOptions

    type JobCallOptions struct {
    	CreateCustomJob                               []gax.CallOption
    	GetCustomJob                                  []gax.CallOption
    	ListCustomJobs                                []gax.CallOption
    	DeleteCustomJob                               []gax.CallOption
    	CancelCustomJob                               []gax.CallOption
    	CreateDataLabelingJob                         []gax.CallOption
    	GetDataLabelingJob                            []gax.CallOption
    	ListDataLabelingJobs                          []gax.CallOption
    	DeleteDataLabelingJob                         []gax.CallOption
    	CancelDataLabelingJob                         []gax.CallOption
    	CreateHyperparameterTuningJob                 []gax.CallOption
    	GetHyperparameterTuningJob                    []gax.CallOption
    	ListHyperparameterTuningJobs                  []gax.CallOption
    	DeleteHyperparameterTuningJob                 []gax.CallOption
    	CancelHyperparameterTuningJob                 []gax.CallOption
    	CreateNasJob                                  []gax.CallOption
    	GetNasJob                                     []gax.CallOption
    	ListNasJobs                                   []gax.CallOption
    	DeleteNasJob                                  []gax.CallOption
    	CancelNasJob                                  []gax.CallOption
    	GetNasTrialDetail                             []gax.CallOption
    	ListNasTrialDetails                           []gax.CallOption
    	CreateBatchPredictionJob                      []gax.CallOption
    	GetBatchPredictionJob                         []gax.CallOption
    	ListBatchPredictionJobs                       []gax.CallOption
    	DeleteBatchPredictionJob                      []gax.CallOption
    	CancelBatchPredictionJob                      []gax.CallOption
    	CreateModelDeploymentMonitoringJob            []gax.CallOption
    	SearchModelDeploymentMonitoringStatsAnomalies []gax.CallOption
    	GetModelDeploymentMonitoringJob               []gax.CallOption
    	ListModelDeploymentMonitoringJobs             []gax.CallOption
    	UpdateModelDeploymentMonitoringJob            []gax.CallOption
    	DeleteModelDeploymentMonitoringJob            []gax.CallOption
    	PauseModelDeploymentMonitoringJob             []gax.CallOption
    	ResumeModelDeploymentMonitoringJob            []gax.CallOption
    	GetLocation                                   []gax.CallOption
    	ListLocations                                 []gax.CallOption
    	GetIamPolicy                                  []gax.CallOption
    	SetIamPolicy                                  []gax.CallOption
    	TestIamPermissions                            []gax.CallOption
    	CancelOperation                               []gax.CallOption
    	DeleteOperation                               []gax.CallOption
    	GetOperation                                  []gax.CallOption
    	ListOperations                                []gax.CallOption
    	WaitOperation                                 []gax.CallOption
    }

JobCallOptions contains the retry settings for each method of JobClient.

## JobClient

    type JobClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobCallOptions

    	// 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
    }

JobClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for creating and managing Vertex AI's jobs.

### func NewJobClient

    func NewJobClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient, https://pkg.go.dev/builtin#error)

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

A service for creating and managing Vertex AI's jobs.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewJobRESTClient

    func NewJobRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient, https://pkg.go.dev/builtin#error)

NewJobRESTClient creates a new job service rest client.

A service for creating and managing Vertex AI's jobs.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*JobClient) CancelBatchPredictionJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CancelBatchPredictionJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CancelBatchPredictionJobRequest, 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

CancelBatchPredictionJob cancels a BatchPredictionJob.

Starts asynchronous cancellation on the BatchPredictionJob. The server
makes the best effort to cancel the job, but success is not
guaranteed. Clients can use
JobService.GetBatchPredictionJob
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On a successful cancellation,
the BatchPredictionJob is not deleted;instead its
BatchPredictionJob.state
is set to CANCELLED. Any files already outputted by the job are not
deleted.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CancelBatchPredictionJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CancelBatchPredictionJobRequest.
    	}
    	err = c.CancelBatchPredictionJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*JobClient) CancelCustomJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CancelCustomJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CancelCustomJobRequest, 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

CancelCustomJob cancels a CustomJob.
Starts asynchronous cancellation on the CustomJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
JobService.GetCustomJob
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the CustomJob is not deleted; instead it becomes a job with
a CustomJob.error value
with a google.rpc.Status.code of 1, corresponding
to Code.CANCELLED, and
CustomJob.state is set
to CANCELLED.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CancelCustomJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CancelCustomJobRequest.
    	}
    	err = c.CancelCustomJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*JobClient) CancelDataLabelingJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CancelDataLabelingJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CancelDataLabelingJobRequest, 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

CancelDataLabelingJob cancels a DataLabelingJob. Success of cancellation is not guaranteed.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CancelDataLabelingJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CancelDataLabelingJobRequest.
    	}
    	err = c.CancelDataLabelingJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*JobClient) CancelHyperparameterTuningJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CancelHyperparameterTuningJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CancelHyperparameterTuningJobRequest, 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

CancelHyperparameterTuningJob cancels a HyperparameterTuningJob.
Starts asynchronous cancellation on the HyperparameterTuningJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
JobService.GetHyperparameterTuningJob
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the HyperparameterTuningJob is not deleted; instead it becomes a job with
a
HyperparameterTuningJob.error
value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED, and
HyperparameterTuningJob.state
is set to CANCELLED.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CancelHyperparameterTuningJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CancelHyperparameterTuningJobRequest.
    	}
    	err = c.CancelHyperparameterTuningJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*JobClient) CancelNasJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CancelNasJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CancelNasJobRequest, 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

CancelNasJob cancels a NasJob.
Starts asynchronous cancellation on the NasJob. The server
makes a best effort to cancel the job, but success is not
guaranteed. Clients can use
JobService.GetNasJob
or other methods to check whether the cancellation succeeded or whether the
job completed despite cancellation. On successful cancellation,
the NasJob is not deleted; instead it becomes a job with
a NasJob.error value with a
google.rpc.Status.code of 1, corresponding to
Code.CANCELLED, and
NasJob.state is set to
CANCELLED.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CancelNasJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CancelNasJobRequest.
    	}
    	err = c.CancelNasJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*JobClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*JobClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) 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 (\*JobClient) CreateBatchPredictionJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CreateBatchPredictionJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateBatchPredictionJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchPredictionJob, https://pkg.go.dev/builtin#error)

CreateBatchPredictionJob creates a BatchPredictionJob. A BatchPredictionJob once created will
right away be attempted to start.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateBatchPredictionJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateBatchPredictionJobRequest.
    	}
    	resp, err := c.CreateBatchPredictionJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) CreateCustomJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CreateCustomJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateCustomJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CustomJob, https://pkg.go.dev/builtin#error)

CreateCustomJob creates a CustomJob. A created CustomJob right away
will be attempted to be run.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateCustomJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateCustomJobRequest.
    	}
    	resp, err := c.CreateCustomJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) CreateDataLabelingJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CreateDataLabelingJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateDataLabelingJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DataLabelingJob, https://pkg.go.dev/builtin#error)

CreateDataLabelingJob creates a DataLabelingJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateDataLabelingJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateDataLabelingJobRequest.
    	}
    	resp, err := c.CreateDataLabelingJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) CreateHyperparameterTuningJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CreateHyperparameterTuningJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateHyperparameterTuningJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_HyperparameterTuningJob, https://pkg.go.dev/builtin#error)

CreateHyperparameterTuningJob creates a HyperparameterTuningJob

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateHyperparameterTuningJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateHyperparameterTuningJobRequest.
    	}
    	resp, err := c.CreateHyperparameterTuningJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) CreateModelDeploymentMonitoringJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CreateModelDeploymentMonitoringJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateModelDeploymentMonitoringJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelDeploymentMonitoringJob, https://pkg.go.dev/builtin#error)

CreateModelDeploymentMonitoringJob creates a ModelDeploymentMonitoringJob. It will run periodically on a
configured interval.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateModelDeploymentMonitoringJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateModelDeploymentMonitoringJobRequest.
    	}
    	resp, err := c.CreateModelDeploymentMonitoringJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) CreateNasJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) CreateNasJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateNasJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NasJob, https://pkg.go.dev/builtin#error)

CreateNasJob creates a NasJob

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateNasJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateNasJobRequest.
    	}
    	resp, err := c.CreateNasJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) DeleteBatchPredictionJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteBatchPredictionJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteBatchPredictionJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteBatchPredictionJobOperation, https://pkg.go.dev/builtin#error)

DeleteBatchPredictionJob deletes a BatchPredictionJob. Can only be called on jobs that already
finished.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteBatchPredictionJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteBatchPredictionJobRequest.
    	}
    	op, err := c.DeleteBatchPredictionJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*JobClient) DeleteBatchPredictionJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteBatchPredictionJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteBatchPredictionJobOperation

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

### func (\*JobClient) DeleteCustomJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteCustomJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteCustomJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteCustomJobOperation, https://pkg.go.dev/builtin#error)

DeleteCustomJob deletes a CustomJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteCustomJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteCustomJobRequest.
    	}
    	op, err := c.DeleteCustomJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*JobClient) DeleteCustomJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteCustomJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteCustomJobOperation

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

### func (\*JobClient) DeleteDataLabelingJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteDataLabelingJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteDataLabelingJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteDataLabelingJobOperation, https://pkg.go.dev/builtin#error)

DeleteDataLabelingJob deletes a DataLabelingJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteDataLabelingJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteDataLabelingJobRequest.
    	}
    	op, err := c.DeleteDataLabelingJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*JobClient) DeleteDataLabelingJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteDataLabelingJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteDataLabelingJobOperation

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

### func (\*JobClient) DeleteHyperparameterTuningJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteHyperparameterTuningJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteHyperparameterTuningJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteHyperparameterTuningJobOperation, https://pkg.go.dev/builtin#error)

DeleteHyperparameterTuningJob deletes a HyperparameterTuningJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteHyperparameterTuningJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteHyperparameterTuningJobRequest.
    	}
    	op, err := c.DeleteHyperparameterTuningJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*JobClient) DeleteHyperparameterTuningJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteHyperparameterTuningJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteHyperparameterTuningJobOperation

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

### func (\*JobClient) DeleteModelDeploymentMonitoringJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteModelDeploymentMonitoringJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteModelDeploymentMonitoringJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteModelDeploymentMonitoringJobOperation, https://pkg.go.dev/builtin#error)

DeleteModelDeploymentMonitoringJob deletes a ModelDeploymentMonitoringJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteModelDeploymentMonitoringJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteModelDeploymentMonitoringJobRequest.
    	}
    	op, err := c.DeleteModelDeploymentMonitoringJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*JobClient) DeleteModelDeploymentMonitoringJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteModelDeploymentMonitoringJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteModelDeploymentMonitoringJobOperation

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

### func (\*JobClient) DeleteNasJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteNasJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteNasJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteNasJobOperation, https://pkg.go.dev/builtin#error)

DeleteNasJob deletes a NasJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteNasJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteNasJobRequest.
    	}
    	op, err := c.DeleteNasJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*JobClient) DeleteNasJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) DeleteNasJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_DeleteNasJobOperation

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

### func (\*JobClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*JobClient) GetBatchPredictionJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) GetBatchPredictionJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetBatchPredictionJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchPredictionJob, https://pkg.go.dev/builtin#error)

GetBatchPredictionJob gets a BatchPredictionJob

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetBatchPredictionJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetBatchPredictionJobRequest.
    	}
    	resp, err := c.GetBatchPredictionJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) GetCustomJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) GetCustomJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetCustomJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CustomJob, https://pkg.go.dev/builtin#error)

GetCustomJob gets a CustomJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetCustomJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetCustomJobRequest.
    	}
    	resp, err := c.GetCustomJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) GetDataLabelingJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) GetDataLabelingJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetDataLabelingJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DataLabelingJob, https://pkg.go.dev/builtin#error)

GetDataLabelingJob gets a DataLabelingJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetDataLabelingJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetDataLabelingJobRequest.
    	}
    	resp, err := c.GetDataLabelingJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) GetHyperparameterTuningJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) GetHyperparameterTuningJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetHyperparameterTuningJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_HyperparameterTuningJob, https://pkg.go.dev/builtin#error)

GetHyperparameterTuningJob gets a HyperparameterTuningJob

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetHyperparameterTuningJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetHyperparameterTuningJobRequest.
    	}
    	resp, err := c.GetHyperparameterTuningJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*JobClient) GetModelDeploymentMonitoringJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) GetModelDeploymentMonitoringJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetModelDeploymentMonitoringJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelDeploymentMonitoringJob, https://pkg.go.dev/builtin#error)

GetModelDeploymentMonitoringJob gets a ModelDeploymentMonitoringJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetModelDeploymentMonitoringJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetModelDeploymentMonitoringJobRequest.
    	}
    	resp, err := c.GetModelDeploymentMonitoringJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) GetNasJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) GetNasJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetNasJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NasJob, https://pkg.go.dev/builtin#error)

GetNasJob gets a NasJob

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetNasJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetNasJobRequest.
    	}
    	resp, err := c.GetNasJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) GetNasTrialDetail

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) GetNasTrialDetail(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetNasTrialDetailRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NasTrialDetail, https://pkg.go.dev/builtin#error)

GetNasTrialDetail gets a NasTrialDetail.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetNasTrialDetailRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetNasTrialDetailRequest.
    	}
    	resp, err := c.GetNasTrialDetail(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) ListBatchPredictionJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) ListBatchPredictionJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListBatchPredictionJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_BatchPredictionJobIterator

ListBatchPredictionJobs lists BatchPredictionJobs in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListBatchPredictionJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListBatchPredictionJobsRequest.
    	}
    	it := c.ListBatchPredictionJobs(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.(*aiplatformpb.ListBatchPredictionJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*JobClient) ListCustomJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) ListCustomJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListCustomJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_CustomJobIterator

ListCustomJobs lists CustomJobs in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListCustomJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListCustomJobsRequest.
    	}
    	it := c.ListCustomJobs(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.(*aiplatformpb.ListCustomJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*JobClient) ListDataLabelingJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) ListDataLabelingJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListDataLabelingJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_DataLabelingJobIterator

ListDataLabelingJobs lists DataLabelingJobs in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListDataLabelingJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListDataLabelingJobsRequest.
    	}
    	it := c.ListDataLabelingJobs(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.(*aiplatformpb.ListDataLabelingJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*JobClient) ListHyperparameterTuningJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) ListHyperparameterTuningJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListHyperparameterTuningJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_HyperparameterTuningJobIterator

ListHyperparameterTuningJobs lists HyperparameterTuningJobs in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListHyperparameterTuningJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListHyperparameterTuningJobsRequest.
    	}
    	it := c.ListHyperparameterTuningJobs(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.(*aiplatformpb.ListHyperparameterTuningJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*JobClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*JobClient) ListModelDeploymentMonitoringJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) ListModelDeploymentMonitoringJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListModelDeploymentMonitoringJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelDeploymentMonitoringJobIterator

ListModelDeploymentMonitoringJobs lists ModelDeploymentMonitoringJobs in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListModelDeploymentMonitoringJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListModelDeploymentMonitoringJobsRequest.
    	}
    	it := c.ListModelDeploymentMonitoringJobs(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.(*aiplatformpb.ListModelDeploymentMonitoringJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*JobClient) ListNasJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) ListNasJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListNasJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NasJobIterator

ListNasJobs lists NasJobs in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListNasJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListNasJobsRequest.
    	}
    	it := c.ListNasJobs(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.(*aiplatformpb.ListNasJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*JobClient) ListNasTrialDetails

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) ListNasTrialDetails(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListNasTrialDetailsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NasTrialDetailIterator

ListNasTrialDetails list top NasTrialDetails of a NasJob.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListNasTrialDetailsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListNasTrialDetailsRequest.
    	}
    	it := c.ListNasTrialDetails(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.(*aiplatformpb.ListNasTrialDetailsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*JobClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*JobClient) PauseModelDeploymentMonitoringJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) PauseModelDeploymentMonitoringJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PauseModelDeploymentMonitoringJobRequest, 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

PauseModelDeploymentMonitoringJob pauses a ModelDeploymentMonitoringJob. If the job is running, the server
makes a best effort to cancel the job. Will mark
ModelDeploymentMonitoringJob.state
to 'PAUSED'.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.PauseModelDeploymentMonitoringJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#PauseModelDeploymentMonitoringJobRequest.
    	}
    	err = c.PauseModelDeploymentMonitoringJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*JobClient) ResumeModelDeploymentMonitoringJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) ResumeModelDeploymentMonitoringJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ResumeModelDeploymentMonitoringJobRequest, 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

ResumeModelDeploymentMonitoringJob resumes a paused ModelDeploymentMonitoringJob. It will start to run from
next scheduled time. A deleted ModelDeploymentMonitoringJob can't be
resumed.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ResumeModelDeploymentMonitoringJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ResumeModelDeploymentMonitoringJobRequest.
    	}
    	err = c.ResumeModelDeploymentMonitoringJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*JobClient) SearchModelDeploymentMonitoringStatsAnomalies

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) SearchModelDeploymentMonitoringStatsAnomalies(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchModelDeploymentMonitoringStatsAnomaliesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringStatsAnomaliesIterator

SearchModelDeploymentMonitoringStatsAnomalies searches Model Monitoring Statistics generated within a given time window.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SearchModelDeploymentMonitoringStatsAnomaliesRequest.
    	}
    	it := c.SearchModelDeploymentMonitoringStatsAnomalies(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.(*aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*JobClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*JobClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*JobClient) UpdateModelDeploymentMonitoringJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) UpdateModelDeploymentMonitoringJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateModelDeploymentMonitoringJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelDeploymentMonitoringJobOperation, https://pkg.go.dev/builtin#error)

UpdateModelDeploymentMonitoringJob updates a ModelDeploymentMonitoringJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateModelDeploymentMonitoringJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateModelDeploymentMonitoringJobRequest.
    	}
    	op, err := c.UpdateModelDeploymentMonitoringJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*JobClient) UpdateModelDeploymentMonitoringJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) UpdateModelDeploymentMonitoringJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelDeploymentMonitoringJobOperation

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

### func (\*JobClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_JobClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_JobClient_NewJobClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## LlmUtilityCallOptions

    type LlmUtilityCallOptions struct {
    	ComputeTokens      []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

LlmUtilityCallOptions contains the retry settings for each method of LlmUtilityClient.

## LlmUtilityClient

    type LlmUtilityClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityCallOptions
    	// contains filtered or unexported fields
    }

LlmUtilityClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service for LLM related utility functions.

### func NewLlmUtilityClient

    func NewLlmUtilityClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient, https://pkg.go.dev/builtin#error)

NewLlmUtilityClient creates a new llm utility service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

Service for LLM related utility functions.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewLlmUtilityRESTClient

    func NewLlmUtilityRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient, https://pkg.go.dev/builtin#error)

NewLlmUtilityRESTClient creates a new llm utility service rest client.

Service for LLM related utility functions.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*LlmUtilityClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*LlmUtilityClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

### func (\*LlmUtilityClient) ComputeTokens

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) ComputeTokens(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ComputeTokensRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ComputeTokensResponse, https://pkg.go.dev/builtin#error)

ComputeTokens return a list of tokens based on the input text.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ComputeTokensRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ComputeTokensRequest.
    	}
    	resp, err := c.ComputeTokens(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) 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 (\*LlmUtilityClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*LlmUtilityClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*LlmUtilityClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*LlmUtilityClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*LlmUtilityClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*LlmUtilityClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*LlmUtilityClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*LlmUtilityClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*LlmUtilityClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*LlmUtilityClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_LlmUtilityClient_NewLlmUtilityClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator) PageInfo() *iterator.PageInfo

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

## MatchCallOptions

    type MatchCallOptions struct {
    	FindNeighbors       []gax.CallOption
    	ReadIndexDatapoints []gax.CallOption
    	GetLocation         []gax.CallOption
    	ListLocations       []gax.CallOption
    	GetIamPolicy        []gax.CallOption
    	SetIamPolicy        []gax.CallOption
    	TestIamPermissions  []gax.CallOption
    	CancelOperation     []gax.CallOption
    	DeleteOperation     []gax.CallOption
    	GetOperation        []gax.CallOption
    	ListOperations      []gax.CallOption
    	WaitOperation       []gax.CallOption
    }

MatchCallOptions contains the retry settings for each method of MatchClient.

## MatchClient

    type MatchClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchCallOptions
    	// contains filtered or unexported fields
    }

MatchClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

MatchService is a Google managed service for efficient vector similarity
search at scale.

### func NewMatchClient

    func NewMatchClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient, https://pkg.go.dev/builtin#error)

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

MatchService is a Google managed service for efficient vector similarity
search at scale.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewMatchRESTClient

    func NewMatchRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient, https://pkg.go.dev/builtin#error)

NewMatchRESTClient creates a new match service rest client.

MatchService is a Google managed service for efficient vector similarity
search at scale.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*MatchClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*MatchClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) 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 (\*MatchClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*MatchClient) FindNeighbors

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) FindNeighbors(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FindNeighborsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FindNeighborsResponse, https://pkg.go.dev/builtin#error)

FindNeighbors finds the nearest neighbors of each vector within the request.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.FindNeighborsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#FindNeighborsRequest.
    	}
    	resp, err := c.FindNeighbors(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MatchClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MatchClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*MatchClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MatchClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*MatchClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*MatchClient) ReadIndexDatapoints

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) ReadIndexDatapoints(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadIndexDatapointsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadIndexDatapointsResponse, https://pkg.go.dev/builtin#error)

ReadIndexDatapoints reads the datapoints/vectors of the given IDs.
A maximum of 1000 datapoints can be retrieved in a batch.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ReadIndexDatapointsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ReadIndexDatapointsRequest.
    	}
    	resp, err := c.ReadIndexDatapoints(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MatchClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*MatchClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MatchClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MatchClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MatchClient_NewMatchClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## MemoryBankCallOptions

    type MemoryBankCallOptions struct {
    	CreateMemory       []gax.CallOption
    	GetMemory          []gax.CallOption
    	UpdateMemory       []gax.CallOption
    	ListMemories       []gax.CallOption
    	DeleteMemory       []gax.CallOption
    	GenerateMemories   []gax.CallOption
    	RetrieveMemories   []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

MemoryBankCallOptions contains the retry settings for each method of MemoryBankClient.

## MemoryBankClient

    type MemoryBankClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankCallOptions

    	// 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
    }

MemoryBankClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing memories for LLM applications.

### func NewMemoryBankClient

    func NewMemoryBankClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient, https://pkg.go.dev/builtin#error)

NewMemoryBankClient creates a new memory bank service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for managing memories for LLM applications.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewMemoryBankRESTClient

    func NewMemoryBankRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient, https://pkg.go.dev/builtin#error)

NewMemoryBankRESTClient creates a new memory bank service rest client.

A service for managing memories for LLM applications.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*MemoryBankClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*MemoryBankClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) 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 (\*MemoryBankClient) CreateMemory

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) CreateMemory(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateMemoryRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_CreateMemoryOperation, https://pkg.go.dev/builtin#error)

CreateMemory create a Memory.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateMemoryRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateMemoryRequest.
    	}
    	op, err := c.CreateMemory(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MemoryBankClient) CreateMemoryOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) CreateMemoryOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_CreateMemoryOperation

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

### func (\*MemoryBankClient) DeleteMemory

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) DeleteMemory(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteMemoryRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_DeleteMemoryOperation, https://pkg.go.dev/builtin#error)

DeleteMemory delete a Memory.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteMemoryRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteMemoryRequest.
    	}
    	op, err := c.DeleteMemory(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MemoryBankClient) DeleteMemoryOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) DeleteMemoryOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_DeleteMemoryOperation

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

### func (\*MemoryBankClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*MemoryBankClient) GenerateMemories

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) GenerateMemories(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GenerateMemoriesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_GenerateMemoriesOperation, https://pkg.go.dev/builtin#error)

GenerateMemories generate memories.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GenerateMemoriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GenerateMemoriesRequest.
    	}
    	op, err := c.GenerateMemories(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MemoryBankClient) GenerateMemoriesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) GenerateMemoriesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_GenerateMemoriesOperation

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

### func (\*MemoryBankClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MemoryBankClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*MemoryBankClient) GetMemory

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) GetMemory(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetMemoryRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Memory, https://pkg.go.dev/builtin#error)

GetMemory get a Memory.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetMemoryRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetMemoryRequest.
    	}
    	resp, err := c.GetMemory(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MemoryBankClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MemoryBankClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*MemoryBankClient) ListMemories

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) ListMemories(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListMemoriesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryIterator

ListMemories list Memories.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListMemoriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListMemoriesRequest.
    	}
    	it := c.ListMemories(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.(*aiplatformpb.ListMemoriesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*MemoryBankClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*MemoryBankClient) RetrieveMemories

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) RetrieveMemories(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RetrieveMemoriesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RetrieveMemoriesResponse, https://pkg.go.dev/builtin#error)

RetrieveMemories retrieve memories.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RetrieveMemoriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RetrieveMemoriesRequest.
    	}
    	resp, err := c.RetrieveMemories(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MemoryBankClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MemoryBankClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MemoryBankClient) UpdateMemory

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) UpdateMemory(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateMemoryRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateMemoryOperation, https://pkg.go.dev/builtin#error)

UpdateMemory update a Memory.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateMemoryRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateMemoryRequest.
    	}
    	op, err := c.UpdateMemory(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MemoryBankClient) UpdateMemoryOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) UpdateMemoryOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateMemoryOperation

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

### func (\*MemoryBankClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MemoryBankClient_NewMemoryBankClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## MemoryIterator

    type MemoryIterator 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 []*aiplatformpb.Memory, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

MemoryIterator manages a stream of \*aiplatformpb.Memory.

### func (\*MemoryIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryIterator) All() iter.Seq2[*aiplatformpb.Memory, error]

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

### func (\*MemoryIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Memory, 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 (\*MemoryIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MemoryIterator) PageInfo() *iterator.PageInfo

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

## MetadataCallOptions

    type MetadataCallOptions struct {
    	CreateMetadataStore              []gax.CallOption
    	GetMetadataStore                 []gax.CallOption
    	ListMetadataStores               []gax.CallOption
    	DeleteMetadataStore              []gax.CallOption
    	CreateArtifact                   []gax.CallOption
    	GetArtifact                      []gax.CallOption
    	ListArtifacts                    []gax.CallOption
    	UpdateArtifact                   []gax.CallOption
    	DeleteArtifact                   []gax.CallOption
    	PurgeArtifacts                   []gax.CallOption
    	CreateContext                    []gax.CallOption
    	GetContext                       []gax.CallOption
    	ListContexts                     []gax.CallOption
    	UpdateContext                    []gax.CallOption
    	DeleteContext                    []gax.CallOption
    	PurgeContexts                    []gax.CallOption
    	AddContextArtifactsAndExecutions []gax.CallOption
    	AddContextChildren               []gax.CallOption
    	RemoveContextChildren            []gax.CallOption
    	QueryContextLineageSubgraph      []gax.CallOption
    	CreateExecution                  []gax.CallOption
    	GetExecution                     []gax.CallOption
    	ListExecutions                   []gax.CallOption
    	UpdateExecution                  []gax.CallOption
    	DeleteExecution                  []gax.CallOption
    	PurgeExecutions                  []gax.CallOption
    	AddExecutionEvents               []gax.CallOption
    	QueryExecutionInputsAndOutputs   []gax.CallOption
    	CreateMetadataSchema             []gax.CallOption
    	GetMetadataSchema                []gax.CallOption
    	ListMetadataSchemas              []gax.CallOption
    	QueryArtifactLineageSubgraph     []gax.CallOption
    	GetLocation                      []gax.CallOption
    	ListLocations                    []gax.CallOption
    	GetIamPolicy                     []gax.CallOption
    	SetIamPolicy                     []gax.CallOption
    	TestIamPermissions               []gax.CallOption
    	CancelOperation                  []gax.CallOption
    	DeleteOperation                  []gax.CallOption
    	GetOperation                     []gax.CallOption
    	ListOperations                   []gax.CallOption
    	WaitOperation                    []gax.CallOption
    }

MetadataCallOptions contains the retry settings for each method of MetadataClient.

## MetadataClient

    type MetadataClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataCallOptions

    	// 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
    }

MetadataClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service for reading and writing metadata entries.

### func NewMetadataClient

    func NewMetadataClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient, https://pkg.go.dev/builtin#error)

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

Service for reading and writing metadata entries.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewMetadataRESTClient

    func NewMetadataRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient, https://pkg.go.dev/builtin#error)

NewMetadataRESTClient creates a new metadata service rest client.

Service for reading and writing metadata entries.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*MetadataClient) AddContextArtifactsAndExecutions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) AddContextArtifactsAndExecutions(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AddContextArtifactsAndExecutionsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AddContextArtifactsAndExecutionsResponse, https://pkg.go.dev/builtin#error)

AddContextArtifactsAndExecutions adds a set of Artifacts and Executions to a Context. If any of the
Artifacts or Executions have already been added to a Context, they are
simply skipped.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AddContextArtifactsAndExecutionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AddContextArtifactsAndExecutionsRequest.
    	}
    	resp, err := c.AddContextArtifactsAndExecutions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) AddContextChildren

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) AddContextChildren(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AddContextChildrenRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AddContextChildrenResponse, https://pkg.go.dev/builtin#error)

AddContextChildren adds a set of Contexts as children to a parent Context. If any of the
child Contexts have already been added to the parent Context, they are
simply skipped. If this call would create a cycle or cause any Context to
have more than 10 parents, the request will fail with an INVALID_ARGUMENT
error.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AddContextChildrenRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AddContextChildrenRequest.
    	}
    	resp, err := c.AddContextChildren(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) AddExecutionEvents

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) AddExecutionEvents(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AddExecutionEventsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AddExecutionEventsResponse, https://pkg.go.dev/builtin#error)

AddExecutionEvents adds Events to the specified Execution. An Event indicates whether an
Artifact was used as an input or output for an Execution. If an Event
already exists between the Execution and the Artifact, the Event is
skipped.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AddExecutionEventsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AddExecutionEventsRequest.
    	}
    	resp, err := c.AddExecutionEvents(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*MetadataClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) 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 (\*MetadataClient) CreateArtifact

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) CreateArtifact(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateArtifactRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Artifact, https://pkg.go.dev/builtin#error)

CreateArtifact creates an Artifact associated with a MetadataStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateArtifactRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateArtifactRequest.
    	}
    	resp, err := c.CreateArtifact(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) CreateContext

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) CreateContext(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateContextRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Context, https://pkg.go.dev/builtin#error)

CreateContext creates a Context associated with a MetadataStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateContextRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateContextRequest.
    	}
    	resp, err := c.CreateContext(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) CreateExecution

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) CreateExecution(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateExecutionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Execution, https://pkg.go.dev/builtin#error)

CreateExecution creates an Execution associated with a MetadataStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateExecutionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateExecutionRequest.
    	}
    	resp, err := c.CreateExecution(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) CreateMetadataSchema

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) CreateMetadataSchema(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateMetadataSchemaRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MetadataSchema, https://pkg.go.dev/builtin#error)

CreateMetadataSchema creates a MetadataSchema.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateMetadataSchemaRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateMetadataSchemaRequest.
    	}
    	resp, err := c.CreateMetadataSchema(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) CreateMetadataStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) CreateMetadataStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateMetadataStoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_CreateMetadataStoreOperation, https://pkg.go.dev/builtin#error)

CreateMetadataStore initializes a MetadataStore, including allocation of resources.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateMetadataStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateMetadataStoreRequest.
    	}
    	op, err := c.CreateMetadataStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MetadataClient) CreateMetadataStoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) CreateMetadataStoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_CreateMetadataStoreOperation

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

### func (\*MetadataClient) DeleteArtifact

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) DeleteArtifact(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteArtifactRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteArtifactOperation, https://pkg.go.dev/builtin#error)

DeleteArtifact deletes an Artifact.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteArtifactRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteArtifactRequest.
    	}
    	op, err := c.DeleteArtifact(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MetadataClient) DeleteArtifactOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) DeleteArtifactOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteArtifactOperation

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

### func (\*MetadataClient) DeleteContext

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) DeleteContext(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteContextRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteContextOperation, https://pkg.go.dev/builtin#error)

DeleteContext deletes a stored Context.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteContextRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteContextRequest.
    	}
    	op, err := c.DeleteContext(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MetadataClient) DeleteContextOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) DeleteContextOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteContextOperation

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

### func (\*MetadataClient) DeleteExecution

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) DeleteExecution(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteExecutionRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteExecutionOperation, https://pkg.go.dev/builtin#error)

DeleteExecution deletes an Execution.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteExecutionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteExecutionRequest.
    	}
    	op, err := c.DeleteExecution(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MetadataClient) DeleteExecutionOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) DeleteExecutionOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteExecutionOperation

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

### func (\*MetadataClient) DeleteMetadataStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) DeleteMetadataStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteMetadataStoreRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteMetadataStoreOperation, https://pkg.go.dev/builtin#error)

DeleteMetadataStore deletes a single MetadataStore and all its child resources (Artifacts,
Executions, and Contexts).

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteMetadataStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteMetadataStoreRequest.
    	}
    	op, err := c.DeleteMetadataStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MetadataClient) DeleteMetadataStoreOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) DeleteMetadataStoreOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_DeleteMetadataStoreOperation

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

### func (\*MetadataClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*MetadataClient) GetArtifact

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) GetArtifact(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetArtifactRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Artifact, https://pkg.go.dev/builtin#error)

GetArtifact retrieves a specific Artifact.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetArtifactRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetArtifactRequest.
    	}
    	resp, err := c.GetArtifact(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) GetContext

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) GetContext(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetContextRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Context, https://pkg.go.dev/builtin#error)

GetContext retrieves a specific Context.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetContextRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetContextRequest.
    	}
    	resp, err := c.GetContext(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) GetExecution

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) GetExecution(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetExecutionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Execution, https://pkg.go.dev/builtin#error)

GetExecution retrieves a specific Execution.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetExecutionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetExecutionRequest.
    	}
    	resp, err := c.GetExecution(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*MetadataClient) GetMetadataSchema

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) GetMetadataSchema(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetMetadataSchemaRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MetadataSchema, https://pkg.go.dev/builtin#error)

GetMetadataSchema retrieves a specific MetadataSchema.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetMetadataSchemaRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetMetadataSchemaRequest.
    	}
    	resp, err := c.GetMetadataSchema(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) GetMetadataStore

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) GetMetadataStore(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetMetadataStoreRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MetadataStore, https://pkg.go.dev/builtin#error)

GetMetadataStore retrieves a specific MetadataStore.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetMetadataStoreRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetMetadataStoreRequest.
    	}
    	resp, err := c.GetMetadataStore(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) ListArtifacts

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) ListArtifacts(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListArtifactsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ArtifactIterator

ListArtifacts lists Artifacts in the MetadataStore.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListArtifactsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListArtifactsRequest.
    	}
    	it := c.ListArtifacts(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.(*aiplatformpb.ListArtifactsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*MetadataClient) ListContexts

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) ListContexts(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListContextsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ContextIterator

ListContexts lists Contexts on the MetadataStore.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListContextsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListContextsRequest.
    	}
    	it := c.ListContexts(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.(*aiplatformpb.ListContextsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*MetadataClient) ListExecutions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) ListExecutions(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListExecutionsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ExecutionIterator

ListExecutions lists Executions in the MetadataStore.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListExecutionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListExecutionsRequest.
    	}
    	it := c.ListExecutions(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.(*aiplatformpb.ListExecutionsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*MetadataClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*MetadataClient) ListMetadataSchemas

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) ListMetadataSchemas(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListMetadataSchemasRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataSchemaIterator

ListMetadataSchemas lists MetadataSchemas.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListMetadataSchemasRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListMetadataSchemasRequest.
    	}
    	it := c.ListMetadataSchemas(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.(*aiplatformpb.ListMetadataSchemasResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*MetadataClient) ListMetadataStores

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) ListMetadataStores(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListMetadataStoresRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataStoreIterator

ListMetadataStores lists MetadataStores for a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListMetadataStoresRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListMetadataStoresRequest.
    	}
    	it := c.ListMetadataStores(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.(*aiplatformpb.ListMetadataStoresResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*MetadataClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*MetadataClient) PurgeArtifacts

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) PurgeArtifacts(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeArtifactsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeArtifactsOperation, https://pkg.go.dev/builtin#error)

PurgeArtifacts purges Artifacts.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.PurgeArtifactsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#PurgeArtifactsRequest.
    	}
    	op, err := c.PurgeArtifacts(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MetadataClient) PurgeArtifactsOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) PurgeArtifactsOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeArtifactsOperation

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

### func (\*MetadataClient) PurgeContexts

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) PurgeContexts(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeContextsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeContextsOperation, https://pkg.go.dev/builtin#error)

PurgeContexts purges Contexts.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.PurgeContextsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#PurgeContextsRequest.
    	}
    	op, err := c.PurgeContexts(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MetadataClient) PurgeContextsOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) PurgeContextsOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeContextsOperation

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

### func (\*MetadataClient) PurgeExecutions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) PurgeExecutions(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeExecutionsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeExecutionsOperation, https://pkg.go.dev/builtin#error)

PurgeExecutions purges Executions.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.PurgeExecutionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#PurgeExecutionsRequest.
    	}
    	op, err := c.PurgeExecutions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MetadataClient) PurgeExecutionsOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) PurgeExecutionsOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeExecutionsOperation

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

### func (\*MetadataClient) QueryArtifactLineageSubgraph

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) QueryArtifactLineageSubgraph(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_QueryArtifactLineageSubgraphRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_LineageSubgraph, https://pkg.go.dev/builtin#error)

QueryArtifactLineageSubgraph retrieves lineage of an Artifact represented through Artifacts and
Executions connected by Event edges and returned as a LineageSubgraph.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.QueryArtifactLineageSubgraphRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#QueryArtifactLineageSubgraphRequest.
    	}
    	resp, err := c.QueryArtifactLineageSubgraph(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) QueryContextLineageSubgraph

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) QueryContextLineageSubgraph(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_QueryContextLineageSubgraphRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_LineageSubgraph, https://pkg.go.dev/builtin#error)

QueryContextLineageSubgraph retrieves Artifacts and Executions within the specified Context, connected
by Event edges and returned as a LineageSubgraph.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.QueryContextLineageSubgraphRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#QueryContextLineageSubgraphRequest.
    	}
    	resp, err := c.QueryContextLineageSubgraph(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) QueryExecutionInputsAndOutputs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) QueryExecutionInputsAndOutputs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_QueryExecutionInputsAndOutputsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_LineageSubgraph, https://pkg.go.dev/builtin#error)

QueryExecutionInputsAndOutputs obtains the set of input and output Artifacts for this Execution, in the
form of LineageSubgraph that also contains the Execution and connecting
Events.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.QueryExecutionInputsAndOutputsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#QueryExecutionInputsAndOutputsRequest.
    	}
    	resp, err := c.QueryExecutionInputsAndOutputs(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) RemoveContextChildren

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) RemoveContextChildren(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RemoveContextChildrenRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RemoveContextChildrenResponse, https://pkg.go.dev/builtin#error)

RemoveContextChildren remove a set of children contexts from a parent Context. If any of the
child Contexts were NOT added to the parent Context, they are
simply skipped.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RemoveContextChildrenRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RemoveContextChildrenRequest.
    	}
    	resp, err := c.RemoveContextChildren(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*MetadataClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) UpdateArtifact

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) UpdateArtifact(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateArtifactRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Artifact, https://pkg.go.dev/builtin#error)

UpdateArtifact updates a stored Artifact.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateArtifactRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateArtifactRequest.
    	}
    	resp, err := c.UpdateArtifact(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) UpdateContext

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) UpdateContext(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateContextRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Context, https://pkg.go.dev/builtin#error)

UpdateContext updates a stored Context.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateContextRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateContextRequest.
    	}
    	resp, err := c.UpdateContext(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) UpdateExecution

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) UpdateExecution(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateExecutionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Execution, https://pkg.go.dev/builtin#error)

UpdateExecution updates a stored Execution.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateExecutionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateExecutionRequest.
    	}
    	resp, err := c.UpdateExecution(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MetadataClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MetadataClient_NewMetadataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## MetadataSchemaIterator

    type MetadataSchemaIterator 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 []*aiplatformpb.MetadataSchema, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

MetadataSchemaIterator manages a stream of \*aiplatformpb.MetadataSchema.

### func (\*MetadataSchemaIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataSchemaIterator) All() iter.Seq2[*aiplatformpb.MetadataSchema, error]

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

### func (\*MetadataSchemaIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataSchemaIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MetadataSchema, 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 (\*MetadataSchemaIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataSchemaIterator) PageInfo() *iterator.PageInfo

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

## MetadataStoreIterator

    type MetadataStoreIterator 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 []*aiplatformpb.MetadataStore, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

MetadataStoreIterator manages a stream of \*aiplatformpb.MetadataStore.

### func (\*MetadataStoreIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataStoreIterator) All() iter.Seq2[*aiplatformpb.MetadataStore, error]

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

### func (\*MetadataStoreIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataStoreIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MetadataStore, 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 (\*MetadataStoreIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MetadataStoreIterator) PageInfo() *iterator.PageInfo

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

## MigratableResourceIterator

    type MigratableResourceIterator 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 []*aiplatformpb.MigratableResource, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

MigratableResourceIterator manages a stream of \*aiplatformpb.MigratableResource.

### func (\*MigratableResourceIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigratableResourceIterator) All() iter.Seq2[*aiplatformpb.MigratableResource, error]

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

### func (\*MigratableResourceIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigratableResourceIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MigratableResource, 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 (\*MigratableResourceIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigratableResourceIterator) PageInfo() *iterator.PageInfo

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

## MigrationCallOptions

    type MigrationCallOptions struct {
    	SearchMigratableResources []gax.CallOption
    	BatchMigrateResources     []gax.CallOption
    	GetLocation               []gax.CallOption
    	ListLocations             []gax.CallOption
    	GetIamPolicy              []gax.CallOption
    	SetIamPolicy              []gax.CallOption
    	TestIamPermissions        []gax.CallOption
    	CancelOperation           []gax.CallOption
    	DeleteOperation           []gax.CallOption
    	GetOperation              []gax.CallOption
    	ListOperations            []gax.CallOption
    	WaitOperation             []gax.CallOption
    }

MigrationCallOptions contains the retry settings for each method of MigrationClient.

## MigrationClient

    type MigrationClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationCallOptions

    	// 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
    }

MigrationClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service that migrates resources from automl.googleapis.com (at <http://automl.googleapis.com>),
datalabeling.googleapis.com (at <http://datalabeling.googleapis.com>) and ml.googleapis.com (at <http://ml.googleapis.com>) to Vertex AI.

### func NewMigrationClient

    func NewMigrationClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient, https://pkg.go.dev/builtin#error)

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

A service that migrates resources from automl.googleapis.com (at <http://automl.googleapis.com>),
datalabeling.googleapis.com (at <http://datalabeling.googleapis.com>) and ml.googleapis.com (at <http://ml.googleapis.com>) to Vertex AI.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewMigrationRESTClient

    func NewMigrationRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient, https://pkg.go.dev/builtin#error)

NewMigrationRESTClient creates a new migration service rest client.

A service that migrates resources from automl.googleapis.com (at <http://automl.googleapis.com>),
datalabeling.googleapis.com (at <http://datalabeling.googleapis.com>) and ml.googleapis.com (at <http://ml.googleapis.com>) to Vertex AI.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*MigrationClient) BatchMigrateResources

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) BatchMigrateResources(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchMigrateResourcesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_BatchMigrateResourcesOperation, https://pkg.go.dev/builtin#error)

BatchMigrateResources batch migrates resources from ml.googleapis.com (at <http://ml.googleapis.com>), automl.googleapis.com (at <http://automl.googleapis.com>),
and datalabeling.googleapis.com (at <http://datalabeling.googleapis.com>) to Vertex AI.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchMigrateResourcesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchMigrateResourcesRequest.
    	}
    	op, err := c.BatchMigrateResources(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*MigrationClient) BatchMigrateResourcesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) BatchMigrateResourcesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_BatchMigrateResourcesOperation

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

### func (\*MigrationClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*MigrationClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) 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 (\*MigrationClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*MigrationClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MigrationClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*MigrationClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MigrationClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*MigrationClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*MigrationClient) SearchMigratableResources

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) SearchMigratableResources(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchMigratableResourcesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigratableResourceIterator

SearchMigratableResources searches all of the resources in automl.googleapis.com (at <http://automl.googleapis.com>),
datalabeling.googleapis.com (at <http://datalabeling.googleapis.com>) and ml.googleapis.com (at <http://ml.googleapis.com>) that can be migrated to
Vertex AI's given location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SearchMigratableResourcesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SearchMigratableResourcesRequest.
    	}
    	it := c.SearchMigratableResources(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.(*aiplatformpb.SearchMigratableResourcesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*MigrationClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*MigrationClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MigrationClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*MigrationClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_MigrationClient_NewMigrationClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ModelCallOptions

    type ModelCallOptions struct {
    	UploadModel                      []gax.CallOption
    	GetModel                         []gax.CallOption
    	ListModels                       []gax.CallOption
    	ListModelVersions                []gax.CallOption
    	ListModelVersionCheckpoints      []gax.CallOption
    	UpdateModel                      []gax.CallOption
    	UpdateExplanationDataset         []gax.CallOption
    	DeleteModel                      []gax.CallOption
    	DeleteModelVersion               []gax.CallOption
    	MergeVersionAliases              []gax.CallOption
    	ExportModel                      []gax.CallOption
    	CopyModel                        []gax.CallOption
    	ImportModelEvaluation            []gax.CallOption
    	BatchImportModelEvaluationSlices []gax.CallOption
    	BatchImportEvaluatedAnnotations  []gax.CallOption
    	GetModelEvaluation               []gax.CallOption
    	ListModelEvaluations             []gax.CallOption
    	GetModelEvaluationSlice          []gax.CallOption
    	ListModelEvaluationSlices        []gax.CallOption
    	RecommendSpec                    []gax.CallOption
    	GetLocation                      []gax.CallOption
    	ListLocations                    []gax.CallOption
    	GetIamPolicy                     []gax.CallOption
    	SetIamPolicy                     []gax.CallOption
    	TestIamPermissions               []gax.CallOption
    	CancelOperation                  []gax.CallOption
    	DeleteOperation                  []gax.CallOption
    	GetOperation                     []gax.CallOption
    	ListOperations                   []gax.CallOption
    	WaitOperation                    []gax.CallOption
    }

ModelCallOptions contains the retry settings for each method of ModelClient.

## ModelClient

    type ModelClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelCallOptions

    	// 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
    }

ModelClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing Vertex AI's machine learning Models.

### func NewModelClient

    func NewModelClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient, https://pkg.go.dev/builtin#error)

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

A service for managing Vertex AI's machine learning Models.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewModelRESTClient

    func NewModelRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient, https://pkg.go.dev/builtin#error)

NewModelRESTClient creates a new model service rest client.

A service for managing Vertex AI's machine learning Models.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*ModelClient) BatchImportEvaluatedAnnotations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) BatchImportEvaluatedAnnotations(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchImportEvaluatedAnnotationsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchImportEvaluatedAnnotationsResponse, https://pkg.go.dev/builtin#error)

BatchImportEvaluatedAnnotations imports a list of externally generated EvaluatedAnnotations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchImportEvaluatedAnnotationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchImportEvaluatedAnnotationsRequest.
    	}
    	resp, err := c.BatchImportEvaluatedAnnotations(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) BatchImportModelEvaluationSlices

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) BatchImportModelEvaluationSlices(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchImportModelEvaluationSlicesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchImportModelEvaluationSlicesResponse, https://pkg.go.dev/builtin#error)

BatchImportModelEvaluationSlices imports a list of externally generated ModelEvaluationSlice.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchImportModelEvaluationSlicesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchImportModelEvaluationSlicesRequest.
    	}
    	resp, err := c.BatchImportModelEvaluationSlices(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ModelClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) 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 (\*ModelClient) CopyModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) CopyModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CopyModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_CopyModelOperation, https://pkg.go.dev/builtin#error)

CopyModel copies an already existing Vertex AI Model into the specified Location.
The source Model must exist in the same Project.
When copying custom Models, the users themselves are responsible for
Model.metadata content to
be region-agnostic, as well as making sure that any resources (e.g. files)
it depends on remain accessible.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CopyModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CopyModelRequest.
    	}
    	op, err := c.CopyModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelClient) CopyModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) CopyModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_CopyModelOperation

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

### func (\*ModelClient) DeleteModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) DeleteModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelOperation, https://pkg.go.dev/builtin#error)

DeleteModel deletes a Model.

A model cannot be deleted if any
Endpoint resource has a
DeployedModel based on the
model in its
deployed_models
field.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteModelRequest.
    	}
    	op, err := c.DeleteModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelClient) DeleteModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) DeleteModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelOperation

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

### func (\*ModelClient) DeleteModelVersion

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) DeleteModelVersion(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteModelVersionRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelVersionOperation, https://pkg.go.dev/builtin#error)

DeleteModelVersion deletes a Model version.

Model version can only be deleted if there are no
DeployedModels created
from it. Deleting the only version in the Model is not allowed. Use
DeleteModel for
deleting the Model instead.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteModelVersionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteModelVersionRequest.
    	}
    	op, err := c.DeleteModelVersion(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelClient) DeleteModelVersionOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) DeleteModelVersionOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_DeleteModelVersionOperation

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

### func (\*ModelClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ModelClient) ExportModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) ExportModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_ExportModelOperation, https://pkg.go.dev/builtin#error)

ExportModel exports a trained, exportable Model to a location specified by the
user. A Model is considered to be exportable if it has at least one
\[supported export
format\]\[google.cloud.aiplatform.v1beta1.Model.supported_export_formats\].

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ExportModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ExportModelRequest.
    	}
    	op, err := c.ExportModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelClient) ExportModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) ExportModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_ExportModelOperation

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

### func (\*ModelClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*ModelClient) GetModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) GetModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetModelRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Model, https://pkg.go.dev/builtin#error)

GetModel gets a Model.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetModelRequest.
    	}
    	resp, err := c.GetModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) GetModelEvaluation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) GetModelEvaluation(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetModelEvaluationRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelEvaluation, https://pkg.go.dev/builtin#error)

GetModelEvaluation gets a ModelEvaluation.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetModelEvaluationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetModelEvaluationRequest.
    	}
    	resp, err := c.GetModelEvaluation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) GetModelEvaluationSlice

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) GetModelEvaluationSlice(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetModelEvaluationSliceRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelEvaluationSlice, https://pkg.go.dev/builtin#error)

GetModelEvaluationSlice gets a ModelEvaluationSlice.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetModelEvaluationSliceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetModelEvaluationSliceRequest.
    	}
    	resp, err := c.GetModelEvaluationSlice(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) ImportModelEvaluation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) ImportModelEvaluation(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportModelEvaluationRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelEvaluation, https://pkg.go.dev/builtin#error)

ImportModelEvaluation imports an externally generated ModelEvaluation.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ImportModelEvaluationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ImportModelEvaluationRequest.
    	}
    	resp, err := c.ImportModelEvaluation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*ModelClient) ListModelEvaluationSlices

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) ListModelEvaluationSlices(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListModelEvaluationSlicesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelEvaluationSliceIterator

ListModelEvaluationSlices lists ModelEvaluationSlices in a ModelEvaluation.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListModelEvaluationSlicesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListModelEvaluationSlicesRequest.
    	}
    	it := c.ListModelEvaluationSlices(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.(*aiplatformpb.ListModelEvaluationSlicesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelClient) ListModelEvaluations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) ListModelEvaluations(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListModelEvaluationsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelEvaluationIterator

ListModelEvaluations lists ModelEvaluations in a Model.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListModelEvaluationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListModelEvaluationsRequest.
    	}
    	it := c.ListModelEvaluations(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.(*aiplatformpb.ListModelEvaluationsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelClient) ListModelVersionCheckpoints

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) ListModelVersionCheckpoints(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListModelVersionCheckpointsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelVersionCheckpointIterator

ListModelVersionCheckpoints lists checkpoints of the specified model version.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListModelVersionCheckpointsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListModelVersionCheckpointsRequest.
    	}
    	it := c.ListModelVersionCheckpoints(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.(*aiplatformpb.ListModelVersionCheckpointsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelClient) ListModelVersions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) ListModelVersions(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListModelVersionsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelIterator

ListModelVersions lists versions of the specified model.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListModelVersionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListModelVersionsRequest.
    	}
    	it := c.ListModelVersions(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.(*aiplatformpb.ListModelVersionsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelClient) ListModels

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) ListModels(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListModelsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelIterator

ListModels lists Models in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListModelsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListModelsRequest.
    	}
    	it := c.ListModels(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.(*aiplatformpb.ListModelsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*ModelClient) MergeVersionAliases

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) MergeVersionAliases(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MergeVersionAliasesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Model, https://pkg.go.dev/builtin#error)

MergeVersionAliases merges a set of aliases for a Model version.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.MergeVersionAliasesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#MergeVersionAliasesRequest.
    	}
    	resp, err := c.MergeVersionAliases(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) RecommendSpec

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) RecommendSpec(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RecommendSpecRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RecommendSpecResponse, https://pkg.go.dev/builtin#error)

RecommendSpec gets a Model's spec recommendations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RecommendSpecRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RecommendSpecRequest.
    	}
    	resp, err := c.RecommendSpec(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*ModelClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) UpdateExplanationDataset

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) UpdateExplanationDataset(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateExplanationDatasetRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExplanationDatasetOperation, https://pkg.go.dev/builtin#error)

UpdateExplanationDataset incrementally update the dataset used for an examples model.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateExplanationDatasetRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateExplanationDatasetRequest.
    	}
    	op, err := c.UpdateExplanationDataset(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelClient) UpdateExplanationDatasetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) UpdateExplanationDatasetOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExplanationDatasetOperation

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

### func (\*ModelClient) UpdateModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) UpdateModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateModelRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Model, https://pkg.go.dev/builtin#error)

UpdateModel updates a Model.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateModelRequest.
    	}
    	resp, err := c.UpdateModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelClient) UploadModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) UploadModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UploadModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UploadModelOperation, https://pkg.go.dev/builtin#error)

UploadModel uploads a Model artifact into Vertex AI.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UploadModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UploadModelRequest.
    	}
    	op, err := c.UploadModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelClient) UploadModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) UploadModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UploadModelOperation

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

### func (\*ModelClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelClient_NewModelClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ModelDeploymentMonitoringJobIterator

    type ModelDeploymentMonitoringJobIterator 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 []*aiplatformpb.ModelDeploymentMonitoringJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelDeploymentMonitoringJobIterator manages a stream of \*aiplatformpb.ModelDeploymentMonitoringJob.

### func (\*ModelDeploymentMonitoringJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelDeploymentMonitoringJobIterator) All() iter.Seq2[*aiplatformpb.ModelDeploymentMonitoringJob, error]

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

### func (\*ModelDeploymentMonitoringJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelDeploymentMonitoringJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelDeploymentMonitoringJob, 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 (\*ModelDeploymentMonitoringJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelDeploymentMonitoringJobIterator) PageInfo() *iterator.PageInfo

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

## ModelEvaluationIterator

    type ModelEvaluationIterator 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 []*aiplatformpb.ModelEvaluation, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelEvaluationIterator manages a stream of \*aiplatformpb.ModelEvaluation.

### func (\*ModelEvaluationIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelEvaluationIterator) All() iter.Seq2[*aiplatformpb.ModelEvaluation, error]

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

### func (\*ModelEvaluationIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelEvaluationIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelEvaluation, 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 (\*ModelEvaluationIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelEvaluationIterator) PageInfo() *iterator.PageInfo

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

## ModelEvaluationSliceIterator

    type ModelEvaluationSliceIterator 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 []*aiplatformpb.ModelEvaluationSlice, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelEvaluationSliceIterator manages a stream of \*aiplatformpb.ModelEvaluationSlice.

### func (\*ModelEvaluationSliceIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelEvaluationSliceIterator) All() iter.Seq2[*aiplatformpb.ModelEvaluationSlice, error]

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

### func (\*ModelEvaluationSliceIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelEvaluationSliceIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelEvaluationSlice, 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 (\*ModelEvaluationSliceIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelEvaluationSliceIterator) PageInfo() *iterator.PageInfo

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

## ModelGardenCallOptions

    type ModelGardenCallOptions struct {
    	GetPublisherModel                 []gax.CallOption
    	ListPublisherModels               []gax.CallOption
    	Deploy                            []gax.CallOption
    	DeployPublisherModel              []gax.CallOption
    	ExportPublisherModel              []gax.CallOption
    	CheckPublisherModelEulaAcceptance []gax.CallOption
    	AcceptPublisherModelEula          []gax.CallOption
    	GetLocation                       []gax.CallOption
    	ListLocations                     []gax.CallOption
    	GetIamPolicy                      []gax.CallOption
    	SetIamPolicy                      []gax.CallOption
    	TestIamPermissions                []gax.CallOption
    	CancelOperation                   []gax.CallOption
    	DeleteOperation                   []gax.CallOption
    	GetOperation                      []gax.CallOption
    	ListOperations                    []gax.CallOption
    	WaitOperation                     []gax.CallOption
    }

ModelGardenCallOptions contains the retry settings for each method of ModelGardenClient.

## ModelGardenClient

    type ModelGardenClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenCallOptions

    	// 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
    }

ModelGardenClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

The interface of Model Garden Service.

### func NewModelGardenClient

    func NewModelGardenClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient, https://pkg.go.dev/builtin#error)

NewModelGardenClient creates a new model garden service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

The interface of Model Garden Service.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewModelGardenRESTClient

    func NewModelGardenRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient, https://pkg.go.dev/builtin#error)

NewModelGardenRESTClient creates a new model garden service rest client.

The interface of Model Garden Service.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*ModelGardenClient) AcceptPublisherModelEula

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) AcceptPublisherModelEula(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AcceptPublisherModelEulaRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PublisherModelEulaAcceptance, https://pkg.go.dev/builtin#error)

AcceptPublisherModelEula accepts the EULA acceptance status of a publisher model.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AcceptPublisherModelEulaRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AcceptPublisherModelEulaRequest.
    	}
    	resp, err := c.AcceptPublisherModelEula(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelGardenClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ModelGardenClient) CheckPublisherModelEulaAcceptance

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) CheckPublisherModelEulaAcceptance(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CheckPublisherModelEulaAcceptanceRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PublisherModelEulaAcceptance, https://pkg.go.dev/builtin#error)

CheckPublisherModelEulaAcceptance checks the EULA acceptance status of a publisher model.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CheckPublisherModelEulaAcceptanceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CheckPublisherModelEulaAcceptanceRequest.
    	}
    	resp, err := c.CheckPublisherModelEulaAcceptance(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelGardenClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) 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 (\*ModelGardenClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ModelGardenClient) Deploy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) Deploy(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployOperation, https://pkg.go.dev/builtin#error)

Deploy deploys a model to a new endpoint.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeployRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeployRequest.
    	}
    	op, err := c.Deploy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelGardenClient) DeployOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) DeployOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployOperation

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

### func (\*ModelGardenClient) DeployPublisherModel
(deprecated)

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) DeployPublisherModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeployPublisherModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployPublisherModelOperation, https://pkg.go.dev/builtin#error)

DeployPublisherModel deploys publisher models.

Deprecated: DeployPublisherModel may be removed in a future version.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeployPublisherModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeployPublisherModelRequest.
    	}
    	op, err := c.DeployPublisherModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelGardenClient) DeployPublisherModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) DeployPublisherModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_DeployPublisherModelOperation

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

### func (\*ModelGardenClient) ExportPublisherModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) ExportPublisherModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportPublisherModelRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_ExportPublisherModelOperation, https://pkg.go.dev/builtin#error)

ExportPublisherModel exports a publisher model to a user provided Google Cloud Storage bucket.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ExportPublisherModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ExportPublisherModelRequest.
    	}
    	op, err := c.ExportPublisherModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelGardenClient) ExportPublisherModelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) ExportPublisherModelOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_ExportPublisherModelOperation

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

### func (\*ModelGardenClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelGardenClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*ModelGardenClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelGardenClient) GetPublisherModel

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) GetPublisherModel(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetPublisherModelRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PublisherModel, https://pkg.go.dev/builtin#error)

GetPublisherModel gets a Model Garden publisher model.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetPublisherModelRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetPublisherModelRequest.
    	}
    	resp, err := c.GetPublisherModel(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelGardenClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*ModelGardenClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*ModelGardenClient) ListPublisherModels

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) ListPublisherModels(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListPublisherModelsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PublisherModelIterator

ListPublisherModels lists publisher models in Model Garden.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListPublisherModelsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListPublisherModelsRequest.
    	}
    	it := c.ListPublisherModels(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.(*aiplatformpb.ListPublisherModelsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelGardenClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*ModelGardenClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelGardenClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelGardenClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelGardenClient_NewModelGardenClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ModelIterator

    type ModelIterator 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 []*aiplatformpb.Model, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelIterator manages a stream of \*aiplatformpb.Model.

### func (\*ModelIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelIterator) All() iter.Seq2[*aiplatformpb.Model, error]

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

### func (\*ModelIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Model, 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 (\*ModelIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelIterator) PageInfo() *iterator.PageInfo

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

## ModelMonitorIterator

    type ModelMonitorIterator 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 []*aiplatformpb.ModelMonitor, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelMonitorIterator manages a stream of \*aiplatformpb.ModelMonitor.

### func (\*ModelMonitorIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitorIterator) All() iter.Seq2[*aiplatformpb.ModelMonitor, error]

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

### func (\*ModelMonitorIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitorIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitor, 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 (\*ModelMonitorIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitorIterator) PageInfo() *iterator.PageInfo

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

## ModelMonitoringAlertIterator

    type ModelMonitoringAlertIterator 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 []*aiplatformpb.ModelMonitoringAlert, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelMonitoringAlertIterator manages a stream of \*aiplatformpb.ModelMonitoringAlert.

### func (\*ModelMonitoringAlertIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringAlertIterator) All() iter.Seq2[*aiplatformpb.ModelMonitoringAlert, error]

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

### func (\*ModelMonitoringAlertIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringAlertIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitoringAlert, 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 (\*ModelMonitoringAlertIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringAlertIterator) PageInfo() *iterator.PageInfo

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

## ModelMonitoringCallOptions

    type ModelMonitoringCallOptions struct {
    	CreateModelMonitor          []gax.CallOption
    	UpdateModelMonitor          []gax.CallOption
    	GetModelMonitor             []gax.CallOption
    	ListModelMonitors           []gax.CallOption
    	DeleteModelMonitor          []gax.CallOption
    	CreateModelMonitoringJob    []gax.CallOption
    	GetModelMonitoringJob       []gax.CallOption
    	ListModelMonitoringJobs     []gax.CallOption
    	DeleteModelMonitoringJob    []gax.CallOption
    	SearchModelMonitoringStats  []gax.CallOption
    	SearchModelMonitoringAlerts []gax.CallOption
    	GetLocation                 []gax.CallOption
    	ListLocations               []gax.CallOption
    	GetIamPolicy                []gax.CallOption
    	SetIamPolicy                []gax.CallOption
    	TestIamPermissions          []gax.CallOption
    	CancelOperation             []gax.CallOption
    	DeleteOperation             []gax.CallOption
    	GetOperation                []gax.CallOption
    	ListOperations              []gax.CallOption
    	WaitOperation               []gax.CallOption
    }

ModelMonitoringCallOptions contains the retry settings for each method of ModelMonitoringClient.

## ModelMonitoringClient

    type ModelMonitoringClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringCallOptions

    	// 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
    }

ModelMonitoringClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for creating and managing Vertex AI Model moitoring. This includes
ModelMonitor resources, ModelMonitoringJob resources.

### func NewModelMonitoringClient

    func NewModelMonitoringClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient, https://pkg.go.dev/builtin#error)

NewModelMonitoringClient creates a new model monitoring service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for creating and managing Vertex AI Model moitoring. This includes
ModelMonitor resources, ModelMonitoringJob resources.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewModelMonitoringRESTClient

    func NewModelMonitoringRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient, https://pkg.go.dev/builtin#error)

NewModelMonitoringRESTClient creates a new model monitoring service rest client.

A service for creating and managing Vertex AI Model moitoring. This includes
ModelMonitor resources, ModelMonitoringJob resources.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*ModelMonitoringClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ModelMonitoringClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) 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 (\*ModelMonitoringClient) CreateModelMonitor

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) CreateModelMonitor(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateModelMonitorRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_CreateModelMonitorOperation, https://pkg.go.dev/builtin#error)

CreateModelMonitor creates a ModelMonitor.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateModelMonitorRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateModelMonitorRequest.
    	}
    	op, err := c.CreateModelMonitor(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelMonitoringClient) CreateModelMonitorOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) CreateModelMonitorOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_CreateModelMonitorOperation

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

### func (\*ModelMonitoringClient) CreateModelMonitoringJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) CreateModelMonitoringJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateModelMonitoringJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitoringJob, https://pkg.go.dev/builtin#error)

CreateModelMonitoringJob creates a ModelMonitoringJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateModelMonitoringJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateModelMonitoringJobRequest.
    	}
    	resp, err := c.CreateModelMonitoringJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelMonitoringClient) DeleteModelMonitor

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) DeleteModelMonitor(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteModelMonitorRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitorOperation, https://pkg.go.dev/builtin#error)

DeleteModelMonitor deletes a ModelMonitor.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteModelMonitorRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteModelMonitorRequest.
    	}
    	op, err := c.DeleteModelMonitor(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelMonitoringClient) DeleteModelMonitorOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) DeleteModelMonitorOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitorOperation

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

### func (\*ModelMonitoringClient) DeleteModelMonitoringJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) DeleteModelMonitoringJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteModelMonitoringJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitoringJobOperation, https://pkg.go.dev/builtin#error)

DeleteModelMonitoringJob deletes a ModelMonitoringJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteModelMonitoringJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteModelMonitoringJobRequest.
    	}
    	op, err := c.DeleteModelMonitoringJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelMonitoringClient) DeleteModelMonitoringJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) DeleteModelMonitoringJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_DeleteModelMonitoringJobOperation

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

### func (\*ModelMonitoringClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ModelMonitoringClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelMonitoringClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*ModelMonitoringClient) GetModelMonitor

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) GetModelMonitor(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetModelMonitorRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitor, https://pkg.go.dev/builtin#error)

GetModelMonitor gets a ModelMonitor.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetModelMonitorRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetModelMonitorRequest.
    	}
    	resp, err := c.GetModelMonitor(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelMonitoringClient) GetModelMonitoringJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) GetModelMonitoringJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetModelMonitoringJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitoringJob, https://pkg.go.dev/builtin#error)

GetModelMonitoringJob gets a ModelMonitoringJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetModelMonitoringJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetModelMonitoringJobRequest.
    	}
    	resp, err := c.GetModelMonitoringJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelMonitoringClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelMonitoringClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*ModelMonitoringClient) ListModelMonitoringJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) ListModelMonitoringJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListModelMonitoringJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringJobIterator

ListModelMonitoringJobs lists ModelMonitoringJobs.
Callers may choose to read across multiple Monitors as per
AIP-159 (at <https://google.aip.dev/159>) by using '-' (the hyphen or dash
character) as a wildcard character instead of modelMonitor id in the
parent. Format
projects/{project_id}/locations/{location}/moodelMonitors/-/modelMonitoringJobs

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListModelMonitoringJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListModelMonitoringJobsRequest.
    	}
    	it := c.ListModelMonitoringJobs(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.(*aiplatformpb.ListModelMonitoringJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelMonitoringClient) ListModelMonitors

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) ListModelMonitors(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListModelMonitorsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitorIterator

ListModelMonitors lists ModelMonitors in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListModelMonitorsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListModelMonitorsRequest.
    	}
    	it := c.ListModelMonitors(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.(*aiplatformpb.ListModelMonitorsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelMonitoringClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*ModelMonitoringClient) SearchModelMonitoringAlerts

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) SearchModelMonitoringAlerts(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchModelMonitoringAlertsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringAlertIterator

SearchModelMonitoringAlerts returns the Model Monitoring alerts.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SearchModelMonitoringAlertsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SearchModelMonitoringAlertsRequest.
    	}
    	it := c.SearchModelMonitoringAlerts(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.(*aiplatformpb.SearchModelMonitoringAlertsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelMonitoringClient) SearchModelMonitoringStats

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) SearchModelMonitoringStats(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SearchModelMonitoringStatsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringStatsIterator

SearchModelMonitoringStats searches Model Monitoring Stats generated within a given time window.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SearchModelMonitoringStatsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SearchModelMonitoringStatsRequest.
    	}
    	it := c.SearchModelMonitoringStats(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.(*aiplatformpb.SearchModelMonitoringStatsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ModelMonitoringClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*ModelMonitoringClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelMonitoringClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ModelMonitoringClient) UpdateModelMonitor

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) UpdateModelMonitor(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateModelMonitorRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelMonitorOperation, https://pkg.go.dev/builtin#error)

UpdateModelMonitor updates a ModelMonitor.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateModelMonitorRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateModelMonitorRequest.
    	}
    	op, err := c.UpdateModelMonitor(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ModelMonitoringClient) UpdateModelMonitorOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) UpdateModelMonitorOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelMonitorOperation

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

### func (\*ModelMonitoringClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringClient_NewModelMonitoringClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ModelMonitoringJobIterator

    type ModelMonitoringJobIterator 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 []*aiplatformpb.ModelMonitoringJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelMonitoringJobIterator manages a stream of \*aiplatformpb.ModelMonitoringJob.

### func (\*ModelMonitoringJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringJobIterator) All() iter.Seq2[*aiplatformpb.ModelMonitoringJob, error]

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

### func (\*ModelMonitoringJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitoringJob, 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 (\*ModelMonitoringJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringJobIterator) PageInfo() *iterator.PageInfo

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

## ModelMonitoringStatsAnomaliesIterator

    type ModelMonitoringStatsAnomaliesIterator 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 []*aiplatformpb.ModelMonitoringStatsAnomalies, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelMonitoringStatsAnomaliesIterator manages a stream of \*aiplatformpb.ModelMonitoringStatsAnomalies.

### func (\*ModelMonitoringStatsAnomaliesIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringStatsAnomaliesIterator) All() iter.Seq2[*aiplatformpb.ModelMonitoringStatsAnomalies, error]

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

### func (\*ModelMonitoringStatsAnomaliesIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringStatsAnomaliesIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitoringStatsAnomalies, 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 (\*ModelMonitoringStatsAnomaliesIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringStatsAnomaliesIterator) PageInfo() *iterator.PageInfo

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

## ModelMonitoringStatsIterator

    type ModelMonitoringStatsIterator 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 []*aiplatformpb.ModelMonitoringStats, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelMonitoringStatsIterator manages a stream of \*aiplatformpb.ModelMonitoringStats.

### func (\*ModelMonitoringStatsIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringStatsIterator) All() iter.Seq2[*aiplatformpb.ModelMonitoringStats, error]

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

### func (\*ModelMonitoringStatsIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringStatsIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitoringStats, 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 (\*ModelMonitoringStatsIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelMonitoringStatsIterator) PageInfo() *iterator.PageInfo

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

## ModelVersionCheckpointIterator

    type ModelVersionCheckpointIterator 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 []*aiplatformpb.ModelVersionCheckpoint, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ModelVersionCheckpointIterator manages a stream of \*aiplatformpb.ModelVersionCheckpoint.

### func (\*ModelVersionCheckpointIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelVersionCheckpointIterator) All() iter.Seq2[*aiplatformpb.ModelVersionCheckpoint, error]

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

### func (\*ModelVersionCheckpointIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelVersionCheckpointIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelVersionCheckpoint, 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 (\*ModelVersionCheckpointIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ModelVersionCheckpointIterator) PageInfo() *iterator.PageInfo

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

## MutateDeployedIndexOperation

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

MutateDeployedIndexOperation manages a long-running operation from MutateDeployedIndex.

### func (\*MutateDeployedIndexOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedIndexOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*MutateDeployedIndexOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedIndexOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MutateDeployedIndexOperationMetadata, 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 (\*MutateDeployedIndexOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedIndexOperation) 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 (\*MutateDeployedIndexOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MutateDeployedIndexResponse, 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 (\*MutateDeployedIndexOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MutateDeployedIndexResponse, 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.

## MutateDeployedModelOperation

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

MutateDeployedModelOperation manages a long-running operation from MutateDeployedModel.

### func (\*MutateDeployedModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*MutateDeployedModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MutateDeployedModelOperationMetadata, 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 (\*MutateDeployedModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedModelOperation) 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 (\*MutateDeployedModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MutateDeployedModelResponse, 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 (\*MutateDeployedModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_MutateDeployedModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_MutateDeployedModelResponse, 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.

## NasJobIterator

    type NasJobIterator 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 []*aiplatformpb.NasJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

NasJobIterator manages a stream of \*aiplatformpb.NasJob.

### func (\*NasJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NasJobIterator) All() iter.Seq2[*aiplatformpb.NasJob, error]

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

### func (\*NasJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NasJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NasJob, 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 (\*NasJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NasJobIterator) PageInfo() *iterator.PageInfo

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

## NasTrialDetailIterator

    type NasTrialDetailIterator 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 []*aiplatformpb.NasTrialDetail, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

NasTrialDetailIterator manages a stream of \*aiplatformpb.NasTrialDetail.

### func (\*NasTrialDetailIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NasTrialDetailIterator) All() iter.Seq2[*aiplatformpb.NasTrialDetail, error]

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

### func (\*NasTrialDetailIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NasTrialDetailIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NasTrialDetail, 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 (\*NasTrialDetailIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NasTrialDetailIterator) PageInfo() *iterator.PageInfo

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

## NotebookCallOptions

    type NotebookCallOptions struct {
    	CreateNotebookRuntimeTemplate []gax.CallOption
    	GetNotebookRuntimeTemplate    []gax.CallOption
    	ListNotebookRuntimeTemplates  []gax.CallOption
    	DeleteNotebookRuntimeTemplate []gax.CallOption
    	UpdateNotebookRuntimeTemplate []gax.CallOption
    	AssignNotebookRuntime         []gax.CallOption
    	GetNotebookRuntime            []gax.CallOption
    	ListNotebookRuntimes          []gax.CallOption
    	DeleteNotebookRuntime         []gax.CallOption
    	UpgradeNotebookRuntime        []gax.CallOption
    	StartNotebookRuntime          []gax.CallOption
    	StopNotebookRuntime           []gax.CallOption
    	CreateNotebookExecutionJob    []gax.CallOption
    	GetNotebookExecutionJob       []gax.CallOption
    	ListNotebookExecutionJobs     []gax.CallOption
    	DeleteNotebookExecutionJob    []gax.CallOption
    	GetLocation                   []gax.CallOption
    	ListLocations                 []gax.CallOption
    	GetIamPolicy                  []gax.CallOption
    	SetIamPolicy                  []gax.CallOption
    	TestIamPermissions            []gax.CallOption
    	CancelOperation               []gax.CallOption
    	DeleteOperation               []gax.CallOption
    	GetOperation                  []gax.CallOption
    	ListOperations                []gax.CallOption
    	WaitOperation                 []gax.CallOption
    }

NotebookCallOptions contains the retry settings for each method of NotebookClient.

## NotebookClient

    type NotebookClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookCallOptions

    	// 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
    }

NotebookClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

The interface for Vertex Notebook service (a.k.a. Colab on Workbench).

### func NewNotebookClient

    func NewNotebookClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient, https://pkg.go.dev/builtin#error)

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

The interface for Vertex Notebook service (a.k.a. Colab on Workbench).

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewNotebookRESTClient

    func NewNotebookRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient, https://pkg.go.dev/builtin#error)

NewNotebookRESTClient creates a new notebook service rest client.

The interface for Vertex Notebook service (a.k.a. Colab on Workbench).

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*NotebookClient) AssignNotebookRuntime

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) AssignNotebookRuntime(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AssignNotebookRuntimeRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_AssignNotebookRuntimeOperation, https://pkg.go.dev/builtin#error)

AssignNotebookRuntime assigns a NotebookRuntime to a user for a particular Notebook file. This
method will either returns an existing assignment or generates a new one.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AssignNotebookRuntimeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AssignNotebookRuntimeRequest.
    	}
    	op, err := c.AssignNotebookRuntime(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*NotebookClient) AssignNotebookRuntimeOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) AssignNotebookRuntimeOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_AssignNotebookRuntimeOperation

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

### func (\*NotebookClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*NotebookClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) 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 (\*NotebookClient) CreateNotebookExecutionJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) CreateNotebookExecutionJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateNotebookExecutionJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookExecutionJobOperation, https://pkg.go.dev/builtin#error)

CreateNotebookExecutionJob creates a NotebookExecutionJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateNotebookExecutionJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateNotebookExecutionJobRequest.
    	}
    	op, err := c.CreateNotebookExecutionJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*NotebookClient) CreateNotebookExecutionJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) CreateNotebookExecutionJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookExecutionJobOperation

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

### func (\*NotebookClient) CreateNotebookRuntimeTemplate

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) CreateNotebookRuntimeTemplate(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateNotebookRuntimeTemplateRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookRuntimeTemplateOperation, https://pkg.go.dev/builtin#error)

CreateNotebookRuntimeTemplate creates a NotebookRuntimeTemplate.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateNotebookRuntimeTemplateRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateNotebookRuntimeTemplateRequest.
    	}
    	op, err := c.CreateNotebookRuntimeTemplate(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*NotebookClient) CreateNotebookRuntimeTemplateOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) CreateNotebookRuntimeTemplateOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_CreateNotebookRuntimeTemplateOperation

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

### func (\*NotebookClient) DeleteNotebookExecutionJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) DeleteNotebookExecutionJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteNotebookExecutionJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookExecutionJobOperation, https://pkg.go.dev/builtin#error)

DeleteNotebookExecutionJob deletes a NotebookExecutionJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteNotebookExecutionJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteNotebookExecutionJobRequest.
    	}
    	op, err := c.DeleteNotebookExecutionJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*NotebookClient) DeleteNotebookExecutionJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) DeleteNotebookExecutionJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookExecutionJobOperation

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

### func (\*NotebookClient) DeleteNotebookRuntime

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) DeleteNotebookRuntime(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteNotebookRuntimeRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeOperation, https://pkg.go.dev/builtin#error)

DeleteNotebookRuntime deletes a NotebookRuntime.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteNotebookRuntimeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteNotebookRuntimeRequest.
    	}
    	op, err := c.DeleteNotebookRuntime(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*NotebookClient) DeleteNotebookRuntimeOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) DeleteNotebookRuntimeOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeOperation

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

### func (\*NotebookClient) DeleteNotebookRuntimeTemplate

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) DeleteNotebookRuntimeTemplate(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteNotebookRuntimeTemplateRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeTemplateOperation, https://pkg.go.dev/builtin#error)

DeleteNotebookRuntimeTemplate deletes a NotebookRuntimeTemplate.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteNotebookRuntimeTemplateRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteNotebookRuntimeTemplateRequest.
    	}
    	op, err := c.DeleteNotebookRuntimeTemplate(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*NotebookClient) DeleteNotebookRuntimeTemplateOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) DeleteNotebookRuntimeTemplateOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_DeleteNotebookRuntimeTemplateOperation

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

### func (\*NotebookClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*NotebookClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*NotebookClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*NotebookClient) GetNotebookExecutionJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) GetNotebookExecutionJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetNotebookExecutionJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookExecutionJob, https://pkg.go.dev/builtin#error)

GetNotebookExecutionJob gets a NotebookExecutionJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetNotebookExecutionJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetNotebookExecutionJobRequest.
    	}
    	resp, err := c.GetNotebookExecutionJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*NotebookClient) GetNotebookRuntime

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) GetNotebookRuntime(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetNotebookRuntimeRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookRuntime, https://pkg.go.dev/builtin#error)

GetNotebookRuntime gets a NotebookRuntime.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetNotebookRuntimeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetNotebookRuntimeRequest.
    	}
    	resp, err := c.GetNotebookRuntime(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*NotebookClient) GetNotebookRuntimeTemplate

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) GetNotebookRuntimeTemplate(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetNotebookRuntimeTemplateRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookRuntimeTemplate, https://pkg.go.dev/builtin#error)

GetNotebookRuntimeTemplate gets a NotebookRuntimeTemplate.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetNotebookRuntimeTemplateRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetNotebookRuntimeTemplateRequest.
    	}
    	resp, err := c.GetNotebookRuntimeTemplate(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*NotebookClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*NotebookClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*NotebookClient) ListNotebookExecutionJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) ListNotebookExecutionJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListNotebookExecutionJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookExecutionJobIterator

ListNotebookExecutionJobs lists NotebookExecutionJobs in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListNotebookExecutionJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListNotebookExecutionJobsRequest.
    	}
    	it := c.ListNotebookExecutionJobs(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.(*aiplatformpb.ListNotebookExecutionJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*NotebookClient) ListNotebookRuntimeTemplates

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) ListNotebookRuntimeTemplates(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListNotebookRuntimeTemplatesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookRuntimeTemplateIterator

ListNotebookRuntimeTemplates lists NotebookRuntimeTemplates in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListNotebookRuntimeTemplatesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListNotebookRuntimeTemplatesRequest.
    	}
    	it := c.ListNotebookRuntimeTemplates(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.(*aiplatformpb.ListNotebookRuntimeTemplatesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*NotebookClient) ListNotebookRuntimes

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) ListNotebookRuntimes(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListNotebookRuntimesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookRuntimeIterator

ListNotebookRuntimes lists NotebookRuntimes in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListNotebookRuntimesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListNotebookRuntimesRequest.
    	}
    	it := c.ListNotebookRuntimes(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.(*aiplatformpb.ListNotebookRuntimesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*NotebookClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*NotebookClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*NotebookClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*NotebookClient) StartNotebookRuntime

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) StartNotebookRuntime(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StartNotebookRuntimeRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StartNotebookRuntimeOperation, https://pkg.go.dev/builtin#error)

StartNotebookRuntime starts a NotebookRuntime.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.StartNotebookRuntimeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#StartNotebookRuntimeRequest.
    	}
    	op, err := c.StartNotebookRuntime(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*NotebookClient) StartNotebookRuntimeOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) StartNotebookRuntimeOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StartNotebookRuntimeOperation

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

### func (\*NotebookClient) StopNotebookRuntime

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) StopNotebookRuntime(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StopNotebookRuntimeRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StopNotebookRuntimeOperation, https://pkg.go.dev/builtin#error)

StopNotebookRuntime stops a NotebookRuntime.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.StopNotebookRuntimeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#StopNotebookRuntimeRequest.
    	}
    	op, err := c.StopNotebookRuntime(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*NotebookClient) StopNotebookRuntimeOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) StopNotebookRuntimeOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StopNotebookRuntimeOperation

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

### func (\*NotebookClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*NotebookClient) UpdateNotebookRuntimeTemplate

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) UpdateNotebookRuntimeTemplate(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateNotebookRuntimeTemplateRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookRuntimeTemplate, https://pkg.go.dev/builtin#error)

UpdateNotebookRuntimeTemplate updates a NotebookRuntimeTemplate.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateNotebookRuntimeTemplateRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateNotebookRuntimeTemplateRequest.
    	}
    	resp, err := c.UpdateNotebookRuntimeTemplate(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*NotebookClient) UpgradeNotebookRuntime

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) UpgradeNotebookRuntime(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpgradeNotebookRuntimeRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpgradeNotebookRuntimeOperation, https://pkg.go.dev/builtin#error)

UpgradeNotebookRuntime upgrades a NotebookRuntime.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpgradeNotebookRuntimeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpgradeNotebookRuntimeRequest.
    	}
    	op, err := c.UpgradeNotebookRuntime(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*NotebookClient) UpgradeNotebookRuntimeOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) UpgradeNotebookRuntimeOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpgradeNotebookRuntimeOperation

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

### func (\*NotebookClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_NotebookClient_NewNotebookClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## NotebookExecutionJobIterator

    type NotebookExecutionJobIterator 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 []*aiplatformpb.NotebookExecutionJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

NotebookExecutionJobIterator manages a stream of \*aiplatformpb.NotebookExecutionJob.

### func (\*NotebookExecutionJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookExecutionJobIterator) All() iter.Seq2[*aiplatformpb.NotebookExecutionJob, error]

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

### func (\*NotebookExecutionJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookExecutionJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookExecutionJob, 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 (\*NotebookExecutionJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookExecutionJobIterator) PageInfo() *iterator.PageInfo

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

## NotebookRuntimeIterator

    type NotebookRuntimeIterator 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 []*aiplatformpb.NotebookRuntime, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

NotebookRuntimeIterator manages a stream of \*aiplatformpb.NotebookRuntime.

### func (\*NotebookRuntimeIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookRuntimeIterator) All() iter.Seq2[*aiplatformpb.NotebookRuntime, error]

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

### func (\*NotebookRuntimeIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookRuntimeIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookRuntime, 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 (\*NotebookRuntimeIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookRuntimeIterator) PageInfo() *iterator.PageInfo

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

## NotebookRuntimeTemplateIterator

    type NotebookRuntimeTemplateIterator 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 []*aiplatformpb.NotebookRuntimeTemplate, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

NotebookRuntimeTemplateIterator manages a stream of \*aiplatformpb.NotebookRuntimeTemplate.

### func (\*NotebookRuntimeTemplateIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookRuntimeTemplateIterator) All() iter.Seq2[*aiplatformpb.NotebookRuntimeTemplate, error]

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

### func (\*NotebookRuntimeTemplateIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookRuntimeTemplateIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_NotebookRuntimeTemplate, 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 (\*NotebookRuntimeTemplateIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_NotebookRuntimeTemplateIterator) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator) PageInfo() *iterator.PageInfo

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

## PersistentResourceCallOptions

    type PersistentResourceCallOptions struct {
    	CreatePersistentResource []gax.CallOption
    	GetPersistentResource    []gax.CallOption
    	ListPersistentResources  []gax.CallOption
    	DeletePersistentResource []gax.CallOption
    	UpdatePersistentResource []gax.CallOption
    	RebootPersistentResource []gax.CallOption
    	GetLocation              []gax.CallOption
    	ListLocations            []gax.CallOption
    	GetIamPolicy             []gax.CallOption
    	SetIamPolicy             []gax.CallOption
    	TestIamPermissions       []gax.CallOption
    	CancelOperation          []gax.CallOption
    	DeleteOperation          []gax.CallOption
    	GetOperation             []gax.CallOption
    	ListOperations           []gax.CallOption
    	WaitOperation            []gax.CallOption
    }

PersistentResourceCallOptions contains the retry settings for each method of PersistentResourceClient.

## PersistentResourceClient

    type PersistentResourceClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceCallOptions

    	// 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
    }

PersistentResourceClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing Vertex AI's machine learning PersistentResource.

### func NewPersistentResourceClient

    func NewPersistentResourceClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient, https://pkg.go.dev/builtin#error)

NewPersistentResourceClient creates a new persistent resource service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for managing Vertex AI's machine learning PersistentResource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewPersistentResourceRESTClient

    func NewPersistentResourceRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient, https://pkg.go.dev/builtin#error)

NewPersistentResourceRESTClient creates a new persistent resource service rest client.

A service for managing Vertex AI's machine learning PersistentResource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*PersistentResourceClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*PersistentResourceClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) 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 (\*PersistentResourceClient) CreatePersistentResource

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) CreatePersistentResource(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreatePersistentResourceRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_CreatePersistentResourceOperation, https://pkg.go.dev/builtin#error)

CreatePersistentResource creates a PersistentResource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreatePersistentResourceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreatePersistentResourceRequest.
    	}
    	op, err := c.CreatePersistentResource(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*PersistentResourceClient) CreatePersistentResourceOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) CreatePersistentResourceOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_CreatePersistentResourceOperation

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

### func (\*PersistentResourceClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*PersistentResourceClient) DeletePersistentResource

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) DeletePersistentResource(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeletePersistentResourceRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_DeletePersistentResourceOperation, https://pkg.go.dev/builtin#error)

DeletePersistentResource deletes a PersistentResource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeletePersistentResourceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeletePersistentResourceRequest.
    	}
    	op, err := c.DeletePersistentResource(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*PersistentResourceClient) DeletePersistentResourceOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) DeletePersistentResourceOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_DeletePersistentResourceOperation

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

### func (\*PersistentResourceClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PersistentResourceClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*PersistentResourceClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PersistentResourceClient) GetPersistentResource

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) GetPersistentResource(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetPersistentResourceRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PersistentResource, https://pkg.go.dev/builtin#error)

GetPersistentResource gets a PersistentResource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetPersistentResourceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetPersistentResourceRequest.
    	}
    	resp, err := c.GetPersistentResource(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PersistentResourceClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*PersistentResourceClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*PersistentResourceClient) ListPersistentResources

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) ListPersistentResources(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListPersistentResourcesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceIterator

ListPersistentResources lists PersistentResources in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListPersistentResourcesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListPersistentResourcesRequest.
    	}
    	it := c.ListPersistentResources(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.(*aiplatformpb.ListPersistentResourcesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*PersistentResourceClient) RebootPersistentResource

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) RebootPersistentResource(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RebootPersistentResourceRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebootPersistentResourceOperation, https://pkg.go.dev/builtin#error)

RebootPersistentResource reboots a PersistentResource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RebootPersistentResourceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RebootPersistentResourceRequest.
    	}
    	op, err := c.RebootPersistentResource(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*PersistentResourceClient) RebootPersistentResourceOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) RebootPersistentResourceOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebootPersistentResourceOperation

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

### func (\*PersistentResourceClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*PersistentResourceClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PersistentResourceClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PersistentResourceClient) UpdatePersistentResource

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) UpdatePersistentResource(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdatePersistentResourceRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdatePersistentResourceOperation, https://pkg.go.dev/builtin#error)

UpdatePersistentResource updates a PersistentResource.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdatePersistentResourceRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdatePersistentResourceRequest.
    	}
    	op, err := c.UpdatePersistentResource(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*PersistentResourceClient) UpdatePersistentResourceOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) UpdatePersistentResourceOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdatePersistentResourceOperation

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

### func (\*PersistentResourceClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceClient_NewPersistentResourceClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## PersistentResourceIterator

    type PersistentResourceIterator 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 []*aiplatformpb.PersistentResource, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

PersistentResourceIterator manages a stream of \*aiplatformpb.PersistentResource.

### func (\*PersistentResourceIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceIterator) All() iter.Seq2[*aiplatformpb.PersistentResource, error]

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

### func (\*PersistentResourceIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PersistentResource, 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 (\*PersistentResourceIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PersistentResourceIterator) PageInfo() *iterator.PageInfo

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

## PipelineCallOptions

    type PipelineCallOptions struct {
    	CreateTrainingPipeline  []gax.CallOption
    	GetTrainingPipeline     []gax.CallOption
    	ListTrainingPipelines   []gax.CallOption
    	DeleteTrainingPipeline  []gax.CallOption
    	CancelTrainingPipeline  []gax.CallOption
    	CreatePipelineJob       []gax.CallOption
    	GetPipelineJob          []gax.CallOption
    	ListPipelineJobs        []gax.CallOption
    	DeletePipelineJob       []gax.CallOption
    	BatchDeletePipelineJobs []gax.CallOption
    	CancelPipelineJob       []gax.CallOption
    	BatchCancelPipelineJobs []gax.CallOption
    	GetLocation             []gax.CallOption
    	ListLocations           []gax.CallOption
    	GetIamPolicy            []gax.CallOption
    	SetIamPolicy            []gax.CallOption
    	TestIamPermissions      []gax.CallOption
    	CancelOperation         []gax.CallOption
    	DeleteOperation         []gax.CallOption
    	GetOperation            []gax.CallOption
    	ListOperations          []gax.CallOption
    	WaitOperation           []gax.CallOption
    }

PipelineCallOptions contains the retry settings for each method of PipelineClient.

## PipelineClient

    type PipelineClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineCallOptions

    	// 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
    }

PipelineClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for creating and managing Vertex AI's pipelines. This includes both
TrainingPipeline resources (used for AutoML and custom training) and
PipelineJob resources (used for Vertex AI Pipelines).

### func NewPipelineClient

    func NewPipelineClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient, https://pkg.go.dev/builtin#error)

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

A service for creating and managing Vertex AI's pipelines. This includes both
TrainingPipeline resources (used for AutoML and custom training) and
PipelineJob resources (used for Vertex AI Pipelines).

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewPipelineRESTClient

    func NewPipelineRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient, https://pkg.go.dev/builtin#error)

NewPipelineRESTClient creates a new pipeline service rest client.

A service for creating and managing Vertex AI's pipelines. This includes both
TrainingPipeline resources (used for AutoML and custom training) and
PipelineJob resources (used for Vertex AI Pipelines).

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*PipelineClient) BatchCancelPipelineJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) BatchCancelPipelineJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCancelPipelineJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchCancelPipelineJobsOperation, https://pkg.go.dev/builtin#error)

BatchCancelPipelineJobs batch cancel PipelineJobs.
Firstly the server will check if all the jobs are in non-terminal states,
and skip the jobs that are already terminated.
If the operation failed, none of the pipeline jobs are cancelled.
The server will poll the states of all the pipeline jobs periodically
to check the cancellation status.
This operation will return an LRO.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchCancelPipelineJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchCancelPipelineJobsRequest.
    	}
    	op, err := c.BatchCancelPipelineJobs(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*PipelineClient) BatchCancelPipelineJobsOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) BatchCancelPipelineJobsOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchCancelPipelineJobsOperation

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

### func (\*PipelineClient) BatchDeletePipelineJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) BatchDeletePipelineJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchDeletePipelineJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchDeletePipelineJobsOperation, https://pkg.go.dev/builtin#error)

BatchDeletePipelineJobs batch deletes PipelineJobs
The Operation is atomic. If it fails, none of the PipelineJobs are deleted.
If it succeeds, all of the PipelineJobs are deleted.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchDeletePipelineJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchDeletePipelineJobsRequest.
    	}
    	op, err := c.BatchDeletePipelineJobs(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*PipelineClient) BatchDeletePipelineJobsOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) BatchDeletePipelineJobsOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_BatchDeletePipelineJobsOperation

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

### func (\*PipelineClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*PipelineClient) CancelPipelineJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) CancelPipelineJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CancelPipelineJobRequest, 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

CancelPipelineJob cancels a PipelineJob.
Starts asynchronous cancellation on the PipelineJob. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
PipelineService.GetPipelineJob
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the PipelineJob is not deleted; instead it becomes a pipeline with
a PipelineJob.error
value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED, and
PipelineJob.state is
set to CANCELLED.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CancelPipelineJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CancelPipelineJobRequest.
    	}
    	err = c.CancelPipelineJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*PipelineClient) CancelTrainingPipeline

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) CancelTrainingPipeline(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CancelTrainingPipelineRequest, 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

CancelTrainingPipeline cancels a TrainingPipeline.
Starts asynchronous cancellation on the TrainingPipeline. The server
makes a best effort to cancel the pipeline, but success is not
guaranteed. Clients can use
PipelineService.GetTrainingPipeline
or other methods to check whether the cancellation succeeded or whether the
pipeline completed despite cancellation. On successful cancellation,
the TrainingPipeline is not deleted; instead it becomes a pipeline with
a
TrainingPipeline.error
value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED, and
TrainingPipeline.state
is set to CANCELLED.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CancelTrainingPipelineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CancelTrainingPipelineRequest.
    	}
    	err = c.CancelTrainingPipeline(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*PipelineClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) 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 (\*PipelineClient) CreatePipelineJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) CreatePipelineJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreatePipelineJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PipelineJob, https://pkg.go.dev/builtin#error)

CreatePipelineJob creates a PipelineJob. A PipelineJob will run immediately when created.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreatePipelineJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreatePipelineJobRequest.
    	}
    	resp, err := c.CreatePipelineJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PipelineClient) CreateTrainingPipeline

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) CreateTrainingPipeline(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateTrainingPipelineRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TrainingPipeline, https://pkg.go.dev/builtin#error)

CreateTrainingPipeline creates a TrainingPipeline. A created TrainingPipeline right away will be
attempted to be run.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateTrainingPipelineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateTrainingPipelineRequest.
    	}
    	resp, err := c.CreateTrainingPipeline(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PipelineClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*PipelineClient) DeletePipelineJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) DeletePipelineJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeletePipelineJobRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeletePipelineJobOperation, https://pkg.go.dev/builtin#error)

DeletePipelineJob deletes a PipelineJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeletePipelineJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeletePipelineJobRequest.
    	}
    	op, err := c.DeletePipelineJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*PipelineClient) DeletePipelineJobOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) DeletePipelineJobOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeletePipelineJobOperation

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

### func (\*PipelineClient) DeleteTrainingPipeline

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) DeleteTrainingPipeline(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteTrainingPipelineRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeleteTrainingPipelineOperation, https://pkg.go.dev/builtin#error)

DeleteTrainingPipeline deletes a TrainingPipeline.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteTrainingPipelineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteTrainingPipelineRequest.
    	}
    	op, err := c.DeleteTrainingPipeline(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*PipelineClient) DeleteTrainingPipelineOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) DeleteTrainingPipelineOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_DeleteTrainingPipelineOperation

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

### func (\*PipelineClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PipelineClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*PipelineClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PipelineClient) GetPipelineJob

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) GetPipelineJob(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetPipelineJobRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PipelineJob, https://pkg.go.dev/builtin#error)

GetPipelineJob gets a PipelineJob.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetPipelineJobRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetPipelineJobRequest.
    	}
    	resp, err := c.GetPipelineJob(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PipelineClient) GetTrainingPipeline

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) GetTrainingPipeline(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetTrainingPipelineRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TrainingPipeline, https://pkg.go.dev/builtin#error)

GetTrainingPipeline gets a TrainingPipeline.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetTrainingPipelineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetTrainingPipelineRequest.
    	}
    	resp, err := c.GetTrainingPipeline(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PipelineClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*PipelineClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*PipelineClient) ListPipelineJobs

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) ListPipelineJobs(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListPipelineJobsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineJobIterator

ListPipelineJobs lists PipelineJobs in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListPipelineJobsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListPipelineJobsRequest.
    	}
    	it := c.ListPipelineJobs(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.(*aiplatformpb.ListPipelineJobsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*PipelineClient) ListTrainingPipelines

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) ListTrainingPipelines(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListTrainingPipelinesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TrainingPipelineIterator

ListTrainingPipelines lists TrainingPipelines in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTrainingPipelinesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTrainingPipelinesRequest.
    	}
    	it := c.ListTrainingPipelines(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.(*aiplatformpb.ListTrainingPipelinesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*PipelineClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*PipelineClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PipelineClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PipelineClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PipelineClient_NewPipelineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## PipelineJobIterator

    type PipelineJobIterator 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 []*aiplatformpb.PipelineJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

PipelineJobIterator manages a stream of \*aiplatformpb.PipelineJob.

### func (\*PipelineJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineJobIterator) All() iter.Seq2[*aiplatformpb.PipelineJob, error]

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

### func (\*PipelineJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PipelineJob, 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 (\*PipelineJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PipelineJobIterator) PageInfo() *iterator.PageInfo

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

## PredictionCallOptions

    type PredictionCallOptions struct {
    	Predict                []gax.CallOption
    	RawPredict             []gax.CallOption
    	StreamRawPredict       []gax.CallOption
    	DirectPredict          []gax.CallOption
    	DirectRawPredict       []gax.CallOption
    	StreamDirectPredict    []gax.CallOption
    	StreamDirectRawPredict []gax.CallOption
    	StreamingPredict       []gax.CallOption
    	ServerStreamingPredict []gax.CallOption
    	StreamingRawPredict    []gax.CallOption
    	Explain                []gax.CallOption
    	CountTokens            []gax.CallOption
    	GenerateContent        []gax.CallOption
    	StreamGenerateContent  []gax.CallOption
    	ChatCompletions        []gax.CallOption
    	EmbedContent           []gax.CallOption
    	GetLocation            []gax.CallOption
    	ListLocations          []gax.CallOption
    	GetIamPolicy           []gax.CallOption
    	SetIamPolicy           []gax.CallOption
    	TestIamPermissions     []gax.CallOption
    	CancelOperation        []gax.CallOption
    	DeleteOperation        []gax.CallOption
    	GetOperation           []gax.CallOption
    	ListOperations         []gax.CallOption
    	WaitOperation          []gax.CallOption
    }

PredictionCallOptions contains the retry settings for each method of PredictionClient.

## PredictionClient

    type PredictionClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionCallOptions
    	// contains filtered or unexported fields
    }

PredictionClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for online predictions and explanations.

### func NewPredictionClient

    func NewPredictionClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient, https://pkg.go.dev/builtin#error)

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

A service for online predictions and explanations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewPredictionRESTClient

    func NewPredictionRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient, https://pkg.go.dev/builtin#error)

NewPredictionRESTClient creates a new prediction service rest client.

A service for online predictions and explanations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*PredictionClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*PredictionClient) ChatCompletions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) ChatCompletions(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ChatCompletionsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictionService_ChatCompletionsClient, https://pkg.go.dev/builtin#error)

ChatCompletions exposes an OpenAI-compatible endpoint for chat completions.

### func (\*PredictionClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) 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 (\*PredictionClient) CountTokens

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) CountTokens(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CountTokensRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CountTokensResponse, https://pkg.go.dev/builtin#error)

CountTokens perform a token counting.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CountTokensRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CountTokensRequest.
    	}
    	resp, err := c.CountTokens(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*PredictionClient) DirectPredict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) DirectPredict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DirectPredictRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DirectPredictResponse, https://pkg.go.dev/builtin#error)

DirectPredict perform an unary online prediction request to a gRPC model server for
Vertex first-party products and frameworks.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DirectPredictRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DirectPredictRequest.
    	}
    	resp, err := c.DirectPredict(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) DirectRawPredict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) DirectRawPredict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DirectRawPredictRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DirectRawPredictResponse, https://pkg.go.dev/builtin#error)

DirectRawPredict perform an unary online prediction request to a gRPC model server for
custom containers.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DirectRawPredictRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DirectRawPredictRequest.
    	}
    	resp, err := c.DirectRawPredict(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) EmbedContent

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) EmbedContent(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EmbedContentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_EmbedContentResponse, https://pkg.go.dev/builtin#error)

EmbedContent embed content with multimodal inputs.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.EmbedContentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#EmbedContentRequest.
    	}
    	resp, err := c.EmbedContent(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) Explain

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) Explain(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExplainRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExplainResponse, https://pkg.go.dev/builtin#error)

Explain perform an online explanation.

If
deployed_model_id
is specified, the corresponding DeployModel must have
explanation_spec
populated. If
deployed_model_id
is not specified, all DeployedModels must have
explanation_spec
populated.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ExplainRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ExplainRequest.
    	}
    	resp, err := c.Explain(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) GenerateContent

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) GenerateContent(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GenerateContentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GenerateContentResponse, https://pkg.go.dev/builtin#error)

GenerateContent generate content with multimodal inputs.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GenerateContentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GenerateContentRequest.
    	}
    	resp, err := c.GenerateContent(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*PredictionClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*PredictionClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*PredictionClient) Predict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) Predict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictResponse, https://pkg.go.dev/builtin#error)

Predict perform an online prediction.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.PredictRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#PredictRequest.
    	}
    	resp, err := c.Predict(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) RawPredict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) RawPredict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RawPredictRequest, 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/api/httpbody.https://pkg.go.dev/google.golang.org/genproto/googleapis/api/httpbody#HttpBody, https://pkg.go.dev/builtin#error)

RawPredict perform an online prediction with an arbitrary HTTP payload.

The response includes the following HTTP headers:

    X-Vertex-AI-Endpoint-Id: ID of the
    Endpoint that served this
    prediction.

    X-Vertex-AI-Deployed-Model-Id: ID of the Endpoint's
    DeployedModel that served
    this prediction.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RawPredictRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RawPredictRequest.
    	}
    	resp, err := c.RawPredict(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) ServerStreamingPredict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) ServerStreamingPredict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StreamingPredictRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictionService_ServerStreamingPredictClient, https://pkg.go.dev/builtin#error)

ServerStreamingPredict perform a server-side streaming online prediction request for Vertex
LLM streaming.

### func (\*PredictionClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*PredictionClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) StreamDirectPredict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) StreamDirectPredict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictionService_StreamDirectPredictClient, https://pkg.go.dev/builtin#error)

StreamDirectPredict perform a streaming online prediction request to a gRPC model server for
Vertex first-party products and frameworks.

This method is not supported for the REST transport.

#### Example

    package main

    import (
    	"context"
    	"io"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()
    	stream, err := c.StreamDirectPredict(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	go func() {
    		reqs := []*aiplatformpb.StreamDirectPredictRequest{
    			// TODO: Create requests.
    		}
    		for _, req := range reqs {
    			if err := stream.Send(req); err != nil {
    				// TODO: Handle error.
    			}
    		}
    		stream.CloseSend()
    	}()
    	for {
    		resp, err := stream.Recv()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			// TODO: handle error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*PredictionClient) StreamDirectRawPredict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) StreamDirectRawPredict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictionService_StreamDirectRawPredictClient, https://pkg.go.dev/builtin#error)

StreamDirectRawPredict perform a streaming online prediction request to a gRPC model server for
custom containers.

This method is not supported for the REST transport.

#### Example

    package main

    import (
    	"context"
    	"io"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()
    	stream, err := c.StreamDirectRawPredict(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	go func() {
    		reqs := []*aiplatformpb.StreamDirectRawPredictRequest{
    			// TODO: Create requests.
    		}
    		for _, req := range reqs {
    			if err := stream.Send(req); err != nil {
    				// TODO: Handle error.
    			}
    		}
    		stream.CloseSend()
    	}()
    	for {
    		resp, err := stream.Recv()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			// TODO: handle error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*PredictionClient) StreamGenerateContent

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) StreamGenerateContent(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GenerateContentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictionService_StreamGenerateContentClient, https://pkg.go.dev/builtin#error)

StreamGenerateContent generate content with multimodal inputs with streaming support.

### func (\*PredictionClient) StreamRawPredict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) StreamRawPredict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StreamRawPredictRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictionService_StreamRawPredictClient, https://pkg.go.dev/builtin#error)

StreamRawPredict perform a streaming online prediction with an arbitrary HTTP payload.

### func (\*PredictionClient) StreamingPredict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) StreamingPredict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictionService_StreamingPredictClient, https://pkg.go.dev/builtin#error)

StreamingPredict perform a streaming online prediction request for Vertex first-party
products and frameworks.

This method is not supported for the REST transport.

#### Example

    package main

    import (
    	"context"
    	"io"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()
    	stream, err := c.StreamingPredict(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	go func() {
    		reqs := []*aiplatformpb.StreamingPredictRequest{
    			// TODO: Create requests.
    		}
    		for _, req := range reqs {
    			if err := stream.Send(req); err != nil {
    				// TODO: Handle error.
    			}
    		}
    		stream.CloseSend()
    	}()
    	for {
    		resp, err := stream.Recv()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			// TODO: handle error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*PredictionClient) StreamingRawPredict

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) StreamingRawPredict(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PredictionService_StreamingRawPredictClient, https://pkg.go.dev/builtin#error)

StreamingRawPredict perform a streaming online prediction request through gRPC.

This method is not supported for the REST transport.

#### Example

    package main

    import (
    	"context"
    	"io"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()
    	stream, err := c.StreamingRawPredict(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	go func() {
    		reqs := []*aiplatformpb.StreamingRawPredictRequest{
    			// TODO: Create requests.
    		}
    		for _, req := range reqs {
    			if err := stream.Send(req); err != nil {
    				// TODO: Handle error.
    			}
    		}
    		stream.CloseSend()
    	}()
    	for {
    		resp, err := stream.Recv()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			// TODO: handle error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*PredictionClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*PredictionClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_PredictionClient_NewPredictionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## PublisherModelIterator

    type PublisherModelIterator 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 []*aiplatformpb.PublisherModel, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

PublisherModelIterator manages a stream of \*aiplatformpb.PublisherModel.

### func (\*PublisherModelIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PublisherModelIterator) All() iter.Seq2[*aiplatformpb.PublisherModel, error]

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

### func (\*PublisherModelIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PublisherModelIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PublisherModel, 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 (\*PublisherModelIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PublisherModelIterator) PageInfo() *iterator.PageInfo

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

## PurgeArtifactsOperation

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

PurgeArtifactsOperation manages a long-running operation from PurgeArtifacts.

### func (\*PurgeArtifactsOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeArtifactsOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*PurgeArtifactsOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeArtifactsOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeArtifactsMetadata, 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 (\*PurgeArtifactsOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeArtifactsOperation) 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 (\*PurgeArtifactsOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeArtifactsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeArtifactsResponse, 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 (\*PurgeArtifactsOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeArtifactsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeArtifactsResponse, 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.

## PurgeContextsOperation

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

PurgeContextsOperation manages a long-running operation from PurgeContexts.

### func (\*PurgeContextsOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeContextsOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*PurgeContextsOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeContextsOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeContextsMetadata, 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 (\*PurgeContextsOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeContextsOperation) 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 (\*PurgeContextsOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeContextsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeContextsResponse, 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 (\*PurgeContextsOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeContextsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeContextsResponse, 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.

## PurgeExecutionsOperation

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

PurgeExecutionsOperation manages a long-running operation from PurgeExecutions.

### func (\*PurgeExecutionsOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeExecutionsOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*PurgeExecutionsOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeExecutionsOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeExecutionsMetadata, 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 (\*PurgeExecutionsOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeExecutionsOperation) 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 (\*PurgeExecutionsOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeExecutionsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeExecutionsResponse, 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 (\*PurgeExecutionsOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_PurgeExecutionsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PurgeExecutionsResponse, 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.

## RagCorpusIterator

    type RagCorpusIterator 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 []*aiplatformpb.RagCorpus, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

RagCorpusIterator manages a stream of \*aiplatformpb.RagCorpus.

### func (\*RagCorpusIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagCorpusIterator) All() iter.Seq2[*aiplatformpb.RagCorpus, error]

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

### func (\*RagCorpusIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagCorpusIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagCorpus, 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 (\*RagCorpusIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagCorpusIterator) PageInfo() *iterator.PageInfo

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

## RagDataSchemaIterator

    type RagDataSchemaIterator 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 []*aiplatformpb.RagDataSchema, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

RagDataSchemaIterator manages a stream of \*aiplatformpb.RagDataSchema.

### func (\*RagDataSchemaIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagDataSchemaIterator) All() iter.Seq2[*aiplatformpb.RagDataSchema, error]

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

### func (\*RagDataSchemaIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagDataSchemaIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagDataSchema, 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 (\*RagDataSchemaIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagDataSchemaIterator) PageInfo() *iterator.PageInfo

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

## RagFileIterator

    type RagFileIterator 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 []*aiplatformpb.RagFile, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

RagFileIterator manages a stream of \*aiplatformpb.RagFile.

### func (\*RagFileIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagFileIterator) All() iter.Seq2[*aiplatformpb.RagFile, error]

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

### func (\*RagFileIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagFileIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagFile, 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 (\*RagFileIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagFileIterator) PageInfo() *iterator.PageInfo

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

## RagMetadataIterator

    type RagMetadataIterator 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 []*aiplatformpb.RagMetadata, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

RagMetadataIterator manages a stream of \*aiplatformpb.RagMetadata.

### func (\*RagMetadataIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagMetadataIterator) All() iter.Seq2[*aiplatformpb.RagMetadata, error]

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

### func (\*RagMetadataIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagMetadataIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagMetadata, 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 (\*RagMetadataIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagMetadataIterator) PageInfo() *iterator.PageInfo

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

## ReasoningEngineCallOptions

    type ReasoningEngineCallOptions struct {
    	CreateReasoningEngine []gax.CallOption
    	GetReasoningEngine    []gax.CallOption
    	ListReasoningEngines  []gax.CallOption
    	UpdateReasoningEngine []gax.CallOption
    	DeleteReasoningEngine []gax.CallOption
    	GetLocation           []gax.CallOption
    	ListLocations         []gax.CallOption
    	GetIamPolicy          []gax.CallOption
    	SetIamPolicy          []gax.CallOption
    	TestIamPermissions    []gax.CallOption
    	CancelOperation       []gax.CallOption
    	DeleteOperation       []gax.CallOption
    	GetOperation          []gax.CallOption
    	ListOperations        []gax.CallOption
    	WaitOperation         []gax.CallOption
    }

ReasoningEngineCallOptions contains the retry settings for each method of ReasoningEngineClient.

## ReasoningEngineClient

    type ReasoningEngineClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineCallOptions

    	// 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
    }

ReasoningEngineClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing Vertex AI's Reasoning Engines.

### func NewReasoningEngineClient

    func NewReasoningEngineClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient, https://pkg.go.dev/builtin#error)

NewReasoningEngineClient creates a new reasoning engine service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for managing Vertex AI's Reasoning Engines.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewReasoningEngineRESTClient

    func NewReasoningEngineRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient, https://pkg.go.dev/builtin#error)

NewReasoningEngineRESTClient creates a new reasoning engine service rest client.

A service for managing Vertex AI's Reasoning Engines.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*ReasoningEngineClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ReasoningEngineClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) 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 (\*ReasoningEngineClient) CreateReasoningEngine

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) CreateReasoningEngine(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateReasoningEngineRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_CreateReasoningEngineOperation, https://pkg.go.dev/builtin#error)

CreateReasoningEngine creates a reasoning engine.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateReasoningEngineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateReasoningEngineRequest.
    	}
    	op, err := c.CreateReasoningEngine(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ReasoningEngineClient) CreateReasoningEngineOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) CreateReasoningEngineOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_CreateReasoningEngineOperation

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

### func (\*ReasoningEngineClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ReasoningEngineClient) DeleteReasoningEngine

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) DeleteReasoningEngine(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteReasoningEngineRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_DeleteReasoningEngineOperation, https://pkg.go.dev/builtin#error)

DeleteReasoningEngine deletes a reasoning engine.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteReasoningEngineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteReasoningEngineRequest.
    	}
    	op, err := c.DeleteReasoningEngine(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ReasoningEngineClient) DeleteReasoningEngineOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) DeleteReasoningEngineOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_DeleteReasoningEngineOperation

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

### func (\*ReasoningEngineClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*ReasoningEngineClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineClient) GetReasoningEngine

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) GetReasoningEngine(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetReasoningEngineRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReasoningEngine, https://pkg.go.dev/builtin#error)

GetReasoningEngine gets a reasoning engine.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetReasoningEngineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetReasoningEngineRequest.
    	}
    	resp, err := c.GetReasoningEngine(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*ReasoningEngineClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*ReasoningEngineClient) ListReasoningEngines

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) ListReasoningEngines(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListReasoningEnginesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineIterator

ListReasoningEngines lists reasoning engines in a location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListReasoningEnginesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListReasoningEnginesRequest.
    	}
    	it := c.ListReasoningEngines(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.(*aiplatformpb.ListReasoningEnginesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ReasoningEngineClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*ReasoningEngineClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineClient) UpdateReasoningEngine

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) UpdateReasoningEngine(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateReasoningEngineRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateReasoningEngineOperation, https://pkg.go.dev/builtin#error)

UpdateReasoningEngine updates a reasoning engine.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateReasoningEngineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateReasoningEngineRequest.
    	}
    	op, err := c.UpdateReasoningEngine(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ReasoningEngineClient) UpdateReasoningEngineOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) UpdateReasoningEngineOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateReasoningEngineOperation

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

### func (\*ReasoningEngineClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineClient_NewReasoningEngineClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ReasoningEngineExecutionCallOptions

    type ReasoningEngineExecutionCallOptions struct {
    	QueryReasoningEngine       []gax.CallOption
    	StreamQueryReasoningEngine []gax.CallOption
    	AsyncQueryReasoningEngine  []gax.CallOption
    	GetLocation                []gax.CallOption
    	ListLocations              []gax.CallOption
    	GetIamPolicy               []gax.CallOption
    	SetIamPolicy               []gax.CallOption
    	TestIamPermissions         []gax.CallOption
    	CancelOperation            []gax.CallOption
    	DeleteOperation            []gax.CallOption
    	GetOperation               []gax.CallOption
    	ListOperations             []gax.CallOption
    	WaitOperation              []gax.CallOption
    }

ReasoningEngineExecutionCallOptions contains the retry settings for each method of ReasoningEngineExecutionClient.

## ReasoningEngineExecutionClient

    type ReasoningEngineExecutionClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionCallOptions

    	// 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
    }

ReasoningEngineExecutionClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for executing queries on Reasoning Engine.

### func NewReasoningEngineExecutionClient

    func NewReasoningEngineExecutionClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient, https://pkg.go.dev/builtin#error)

NewReasoningEngineExecutionClient creates a new reasoning engine execution service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for executing queries on Reasoning Engine.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewReasoningEngineExecutionRESTClient

    func NewReasoningEngineExecutionRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient, https://pkg.go.dev/builtin#error)

NewReasoningEngineExecutionRESTClient creates a new reasoning engine execution service rest client.

A service for executing queries on Reasoning Engine.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*ReasoningEngineExecutionClient) AsyncQueryReasoningEngine

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) AsyncQueryReasoningEngine(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AsyncQueryReasoningEngineRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_AsyncQueryReasoningEngineOperation, https://pkg.go.dev/builtin#error)

AsyncQueryReasoningEngine async query using a reasoning engine.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AsyncQueryReasoningEngineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AsyncQueryReasoningEngineRequest.
    	}
    	op, err := c.AsyncQueryReasoningEngine(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ReasoningEngineExecutionClient) AsyncQueryReasoningEngineOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) AsyncQueryReasoningEngineOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_AsyncQueryReasoningEngineOperation

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

### func (\*ReasoningEngineExecutionClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ReasoningEngineExecutionClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) 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 (\*ReasoningEngineExecutionClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ReasoningEngineExecutionClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineExecutionClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*ReasoningEngineExecutionClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineExecutionClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*ReasoningEngineExecutionClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*ReasoningEngineExecutionClient) QueryReasoningEngine

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) QueryReasoningEngine(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_QueryReasoningEngineRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_QueryReasoningEngineResponse, https://pkg.go.dev/builtin#error)

QueryReasoningEngine queries using a reasoning engine.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.QueryReasoningEngineRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#QueryReasoningEngineRequest.
    	}
    	resp, err := c.QueryReasoningEngine(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineExecutionClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*ReasoningEngineExecutionClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineExecutionClient) StreamQueryReasoningEngine

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) StreamQueryReasoningEngine(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StreamQueryReasoningEngineRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReasoningEngineExecutionService_StreamQueryReasoningEngineClient, https://pkg.go.dev/builtin#error)

StreamQueryReasoningEngine streams queries using a reasoning engine.

### func (\*ReasoningEngineExecutionClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ReasoningEngineExecutionClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineExecutionClient_NewReasoningEngineExecutionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ReasoningEngineIterator

    type ReasoningEngineIterator 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 []*aiplatformpb.ReasoningEngine, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ReasoningEngineIterator manages a stream of \*aiplatformpb.ReasoningEngine.

### func (\*ReasoningEngineIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineIterator) All() iter.Seq2[*aiplatformpb.ReasoningEngine, error]

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

### func (\*ReasoningEngineIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReasoningEngine, 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 (\*ReasoningEngineIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ReasoningEngineIterator) PageInfo() *iterator.PageInfo

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

## RebaseTunedModelOperation

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

RebaseTunedModelOperation manages a long-running operation from RebaseTunedModel.

### func (\*RebaseTunedModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebaseTunedModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*RebaseTunedModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebaseTunedModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RebaseTunedModelOperationMetadata, 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 (\*RebaseTunedModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebaseTunedModelOperation) 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 (\*RebaseTunedModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebaseTunedModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TuningJob, 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 (\*RebaseTunedModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebaseTunedModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TuningJob, 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.

## RebootPersistentResourceOperation

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

RebootPersistentResourceOperation manages a long-running operation from RebootPersistentResource.

### func (\*RebootPersistentResourceOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebootPersistentResourceOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*RebootPersistentResourceOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebootPersistentResourceOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RebootPersistentResourceOperationMetadata, 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 (\*RebootPersistentResourceOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebootPersistentResourceOperation) 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 (\*RebootPersistentResourceOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebootPersistentResourceOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PersistentResource, 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 (\*RebootPersistentResourceOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RebootPersistentResourceOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PersistentResource, 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.

## RestoreDatasetVersionOperation

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

RestoreDatasetVersionOperation manages a long-running operation from RestoreDatasetVersion.

### func (\*RestoreDatasetVersionOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RestoreDatasetVersionOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*RestoreDatasetVersionOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RestoreDatasetVersionOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RestoreDatasetVersionOperationMetadata, 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 (\*RestoreDatasetVersionOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RestoreDatasetVersionOperation) 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 (\*RestoreDatasetVersionOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RestoreDatasetVersionOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DatasetVersion, 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 (\*RestoreDatasetVersionOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RestoreDatasetVersionOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DatasetVersion, 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.

## SavedQueryIterator

    type SavedQueryIterator 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 []*aiplatformpb.SavedQuery, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

SavedQueryIterator manages a stream of \*aiplatformpb.SavedQuery.

### func (\*SavedQueryIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SavedQueryIterator) All() iter.Seq2[*aiplatformpb.SavedQuery, error]

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

### func (\*SavedQueryIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SavedQueryIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SavedQuery, 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 (\*SavedQueryIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SavedQueryIterator) PageInfo() *iterator.PageInfo

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

## ScheduleCallOptions

    type ScheduleCallOptions struct {
    	CreateSchedule     []gax.CallOption
    	DeleteSchedule     []gax.CallOption
    	GetSchedule        []gax.CallOption
    	ListSchedules      []gax.CallOption
    	PauseSchedule      []gax.CallOption
    	ResumeSchedule     []gax.CallOption
    	UpdateSchedule     []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

ScheduleCallOptions contains the retry settings for each method of ScheduleClient.

## ScheduleClient

    type ScheduleClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleCallOptions

    	// 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
    }

ScheduleClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for creating and managing Vertex AI's Schedule resources to
periodically launch shceudled runs to make API calls.

### func NewScheduleClient

    func NewScheduleClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient, https://pkg.go.dev/builtin#error)

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

A service for creating and managing Vertex AI's Schedule resources to
periodically launch shceudled runs to make API calls.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewScheduleRESTClient

    func NewScheduleRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient, https://pkg.go.dev/builtin#error)

NewScheduleRESTClient creates a new schedule service rest client.

A service for creating and managing Vertex AI's Schedule resources to
periodically launch shceudled runs to make API calls.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*ScheduleClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ScheduleClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) 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 (\*ScheduleClient) CreateSchedule

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) CreateSchedule(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateScheduleRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Schedule, https://pkg.go.dev/builtin#error)

CreateSchedule creates a Schedule.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateScheduleRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateScheduleRequest.
    	}
    	resp, err := c.CreateSchedule(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ScheduleClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ScheduleClient) DeleteSchedule

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) DeleteSchedule(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteScheduleRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_DeleteScheduleOperation, https://pkg.go.dev/builtin#error)

DeleteSchedule deletes a Schedule.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteScheduleRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteScheduleRequest.
    	}
    	op, err := c.DeleteSchedule(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*ScheduleClient) DeleteScheduleOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) DeleteScheduleOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_DeleteScheduleOperation

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

### func (\*ScheduleClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ScheduleClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*ScheduleClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ScheduleClient) GetSchedule

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) GetSchedule(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetScheduleRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Schedule, https://pkg.go.dev/builtin#error)

GetSchedule gets a Schedule.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetScheduleRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetScheduleRequest.
    	}
    	resp, err := c.GetSchedule(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ScheduleClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*ScheduleClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

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

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*ScheduleClient) ListSchedules

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) ListSchedules(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListSchedulesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleIterator

ListSchedules lists Schedules in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListSchedulesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListSchedulesRequest.
    	}
    	it := c.ListSchedules(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.(*aiplatformpb.ListSchedulesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

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

### func (\*ScheduleClient) PauseSchedule

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) PauseSchedule(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PauseScheduleRequest, 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

PauseSchedule pauses a Schedule. Will mark
Schedule.state to
'PAUSED'. If the schedule is paused, no new runs will be created. Already
created runs will NOT be paused or canceled.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.PauseScheduleRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#PauseScheduleRequest.
    	}
    	err = c.PauseSchedule(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ScheduleClient) ResumeSchedule

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) ResumeSchedule(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ResumeScheduleRequest, 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

ResumeSchedule resumes a paused Schedule to start scheduling new runs. Will mark
Schedule.state to
'ACTIVE'. Only paused Schedule can be resumed.

When the Schedule is resumed, new runs will be scheduled starting from the
next execution time after the current time based on the time_specification
in the Schedule. If Schedule.catchUp is set up true, all
missed runs will be scheduled for backfill first.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ResumeScheduleRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ResumeScheduleRequest.
    	}
    	err = c.ResumeSchedule(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*ScheduleClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*ScheduleClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ScheduleClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ScheduleClient) UpdateSchedule

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) UpdateSchedule(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateScheduleRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Schedule, https://pkg.go.dev/builtin#error)

UpdateSchedule updates an active or paused Schedule.

When the Schedule is updated, new runs will be scheduled starting from the
updated next execution time after the update time based on the
time_specification in the updated Schedule. All unstarted runs before the
update time will be skipped while already created runs will NOT be paused
or canceled.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateScheduleRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateScheduleRequest.
    	}
    	resp, err := c.UpdateSchedule(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*ScheduleClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient) WaitOperation(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#WaitOperationRequest, 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)

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

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleClient_NewScheduleClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## ScheduleIterator

    type ScheduleIterator 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 []*aiplatformpb.Schedule, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

ScheduleIterator manages a stream of \*aiplatformpb.Schedule.

### func (\*ScheduleIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleIterator) All() iter.Seq2[*aiplatformpb.Schedule, error]

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

### func (\*ScheduleIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Schedule, 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 (\*ScheduleIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_ScheduleIterator) PageInfo() *iterator.PageInfo

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

## SessionCallOptions

    type SessionCallOptions struct {
    	CreateSession      []gax.CallOption
    	GetSession         []gax.CallOption
    	ListSessions       []gax.CallOption
    	UpdateSession      []gax.CallOption
    	DeleteSession      []gax.CallOption
    	ListEvents         []gax.CallOption
    	AppendEvent        []gax.CallOption
    	GetLocation        []gax.CallOption
    	ListLocations      []gax.CallOption
    	GetIamPolicy       []gax.CallOption
    	SetIamPolicy       []gax.CallOption
    	TestIamPermissions []gax.CallOption
    	CancelOperation    []gax.CallOption
    	DeleteOperation    []gax.CallOption
    	GetOperation       []gax.CallOption
    	ListOperations     []gax.CallOption
    	WaitOperation      []gax.CallOption
    }

SessionCallOptions contains the retry settings for each method of SessionClient.

## SessionClient

    type SessionClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionCallOptions

    	// 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
    }

SessionClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

The service that manages Vertex Session related resources.

### func NewSessionClient

    func NewSessionClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient, https://pkg.go.dev/builtin#error)

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

The service that manages Vertex Session related resources.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewSessionRESTClient

    func NewSessionRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient, https://pkg.go.dev/builtin#error)

NewSessionRESTClient creates a new session service rest client.

The service that manages Vertex Session related resources.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*SessionClient) AppendEvent

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) AppendEvent(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AppendEventRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AppendEventResponse, https://pkg.go.dev/builtin#error)

AppendEvent appends an event to a given session.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AppendEventRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AppendEventRequest.
    	}
    	resp, err := c.AppendEvent(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SessionClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*SessionClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

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

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) 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 (\*SessionClient) CreateSession

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) CreateSession(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateSessionRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_CreateSessionOperation, https://pkg.go.dev/builtin#error)

CreateSession creates a new Session.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateSessionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateSessionRequest.
    	}
    	op, err := c.CreateSession(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*SessionClient) CreateSessionOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) CreateSessionOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_CreateSessionOperation

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

### func (\*SessionClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*SessionClient) DeleteSession

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) DeleteSession(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteSessionRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_DeleteSessionOperation, https://pkg.go.dev/builtin#error)

DeleteSession deletes details of the specific
Session.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteSessionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteSessionRequest.
    	}
    	op, err := c.DeleteSession(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

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

### func (\*SessionClient) DeleteSessionOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) DeleteSessionOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_DeleteSessionOperation

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

### func (\*SessionClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SessionClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*SessionClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

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

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SessionClient) GetSession

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) GetSession(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetSessionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Session, https://pkg.go.dev/builtin#error)

GetSession gets details of the specific
Session.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetSessionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetSessionRequest.
    	}
    	resp, err := c.GetSession(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SessionClient) ListEvents

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) ListEvents(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListEventsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionEventIterator

ListEvents lists Events in a given session.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListEventsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListEventsRequest.
    	}
    	it := c.ListEvents(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.(*aiplatformpb.ListEventsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListEventsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListEventsRequest.
    	}
    	for resp, err := range c.ListEvents(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*SessionClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*SessionClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

ListOperations is a utility method from google.longrunning.Operations.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*SessionClient) ListSessions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) ListSessions(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListSessionsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionIterator

ListSessions lists Sessions in a given
reasoning engine.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListSessionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListSessionsRequest.
    	}
    	it := c.ListSessions(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.(*aiplatformpb.ListSessionsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListSessionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListSessionsRequest.
    	}
    	for resp, err := range c.ListSessions(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*SessionClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SessionClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SessionClient) UpdateSession

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) UpdateSession(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateSessionRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Session, https://pkg.go.dev/builtin#error)

UpdateSession updates the specific Session.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateSessionRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateSessionRequest.
    	}
    	resp, err := c.UpdateSession(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SessionClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient) WaitOperation(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#WaitOperationRequest, 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)

WaitOperation is a utility method from google.longrunning.Operations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SessionClient_NewSessionClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## SessionEventIterator

    type SessionEventIterator 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 []*aiplatformpb.SessionEvent, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

SessionEventIterator manages a stream of \*aiplatformpb.SessionEvent.

### func (\*SessionEventIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionEventIterator) All() iter.Seq2[*aiplatformpb.SessionEvent, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*SessionEventIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionEventIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SessionEvent, 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 (\*SessionEventIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionEventIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## SessionIterator

    type SessionIterator 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 []*aiplatformpb.Session, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

SessionIterator manages a stream of \*aiplatformpb.Session.

### func (\*SessionIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionIterator) All() iter.Seq2[*aiplatformpb.Session, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*SessionIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Session, 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 (\*SessionIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SessionIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## SetPublisherModelConfigOperation

    type SetPublisherModelConfigOperation struct {
    	// contains filtered or unexported fields
    }

SetPublisherModelConfigOperation manages a long-running operation from SetPublisherModelConfig.

### func (\*SetPublisherModelConfigOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SetPublisherModelConfigOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*SetPublisherModelConfigOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SetPublisherModelConfigOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SetPublisherModelConfigOperationMetadata, 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 (\*SetPublisherModelConfigOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SetPublisherModelConfigOperation) 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 (\*SetPublisherModelConfigOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SetPublisherModelConfigOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PublisherModelConfig, 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 (\*SetPublisherModelConfigOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SetPublisherModelConfigOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PublisherModelConfig, 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.

## SpecialistPoolCallOptions

    type SpecialistPoolCallOptions struct {
    	CreateSpecialistPool []gax.CallOption
    	GetSpecialistPool    []gax.CallOption
    	ListSpecialistPools  []gax.CallOption
    	DeleteSpecialistPool []gax.CallOption
    	UpdateSpecialistPool []gax.CallOption
    	GetLocation          []gax.CallOption
    	ListLocations        []gax.CallOption
    	GetIamPolicy         []gax.CallOption
    	SetIamPolicy         []gax.CallOption
    	TestIamPermissions   []gax.CallOption
    	CancelOperation      []gax.CallOption
    	DeleteOperation      []gax.CallOption
    	GetOperation         []gax.CallOption
    	ListOperations       []gax.CallOption
    	WaitOperation        []gax.CallOption
    }

SpecialistPoolCallOptions contains the retry settings for each method of SpecialistPoolClient.

## SpecialistPoolClient

    type SpecialistPoolClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolCallOptions

    	// 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
    }

SpecialistPoolClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for creating and managing Customer SpecialistPools.
When customers start Data Labeling jobs, they can reuse/create Specialist
Pools to bring their own Specialists to label the data.
Customers can add/remove Managers for the Specialist Pool on Cloud console,
then Managers will get email notifications to manage Specialists and tasks on
CrowdCompute console.

### func NewSpecialistPoolClient

    func NewSpecialistPoolClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient, https://pkg.go.dev/builtin#error)

NewSpecialistPoolClient creates a new specialist pool service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for creating and managing Customer SpecialistPools.
When customers start Data Labeling jobs, they can reuse/create Specialist
Pools to bring their own Specialists to label the data.
Customers can add/remove Managers for the Specialist Pool on Cloud console,
then Managers will get email notifications to manage Specialists and tasks on
CrowdCompute console.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewSpecialistPoolRESTClient

    func NewSpecialistPoolRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient, https://pkg.go.dev/builtin#error)

NewSpecialistPoolRESTClient creates a new specialist pool service rest client.

A service for creating and managing Customer SpecialistPools.
When customers start Data Labeling jobs, they can reuse/create Specialist
Pools to bring their own Specialists to label the data.
Customers can add/remove Managers for the Specialist Pool on Cloud console,
then Managers will get email notifications to manage Specialists and tasks on
CrowdCompute console.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*SpecialistPoolClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*SpecialistPoolClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

### func (\*SpecialistPoolClient) Connection
(deprecated)

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) 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 (\*SpecialistPoolClient) CreateSpecialistPool

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) CreateSpecialistPool(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateSpecialistPoolRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_CreateSpecialistPoolOperation, https://pkg.go.dev/builtin#error)

CreateSpecialistPool creates a SpecialistPool.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateSpecialistPoolRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateSpecialistPoolRequest.
    	}
    	op, err := c.CreateSpecialistPool(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SpecialistPoolClient) CreateSpecialistPoolOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) CreateSpecialistPoolOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_CreateSpecialistPoolOperation

CreateSpecialistPoolOperation returns a new CreateSpecialistPoolOperation from a given name.
The name must be that of a previously created CreateSpecialistPoolOperation, possibly from a different process.

### func (\*SpecialistPoolClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*SpecialistPoolClient) DeleteSpecialistPool

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) DeleteSpecialistPool(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteSpecialistPoolRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_DeleteSpecialistPoolOperation, https://pkg.go.dev/builtin#error)

DeleteSpecialistPool deletes a SpecialistPool as well as all Specialists in the pool.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteSpecialistPoolRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteSpecialistPoolRequest.
    	}
    	op, err := c.DeleteSpecialistPool(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*SpecialistPoolClient) DeleteSpecialistPoolOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) DeleteSpecialistPoolOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_DeleteSpecialistPoolOperation

DeleteSpecialistPoolOperation returns a new DeleteSpecialistPoolOperation from a given name.
The name must be that of a previously created DeleteSpecialistPoolOperation, possibly from a different process.

### func (\*SpecialistPoolClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SpecialistPoolClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*SpecialistPoolClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SpecialistPoolClient) GetSpecialistPool

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) GetSpecialistPool(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetSpecialistPoolRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SpecialistPool, https://pkg.go.dev/builtin#error)

GetSpecialistPool gets a SpecialistPool.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetSpecialistPoolRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetSpecialistPoolRequest.
    	}
    	resp, err := c.GetSpecialistPool(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SpecialistPoolClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*SpecialistPoolClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

ListOperations is a utility method from google.longrunning.Operations.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*SpecialistPoolClient) ListSpecialistPools

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) ListSpecialistPools(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListSpecialistPoolsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolIterator

ListSpecialistPools lists SpecialistPools in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListSpecialistPoolsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListSpecialistPoolsRequest.
    	}
    	it := c.ListSpecialistPools(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.(*aiplatformpb.ListSpecialistPoolsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListSpecialistPoolsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListSpecialistPoolsRequest.
    	}
    	for resp, err := range c.ListSpecialistPools(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*SpecialistPoolClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*SpecialistPoolClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SpecialistPoolClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SpecialistPoolClient) UpdateSpecialistPool

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) UpdateSpecialistPool(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateSpecialistPoolRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateSpecialistPoolOperation, https://pkg.go.dev/builtin#error)

UpdateSpecialistPool updates a SpecialistPool.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateSpecialistPoolRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateSpecialistPoolRequest.
    	}
    	op, err := c.UpdateSpecialistPool(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*SpecialistPoolClient) UpdateSpecialistPoolOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) UpdateSpecialistPoolOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateSpecialistPoolOperation

UpdateSpecialistPoolOperation returns a new UpdateSpecialistPoolOperation from a given name.
The name must be that of a previously created UpdateSpecialistPoolOperation, possibly from a different process.

### func (\*SpecialistPoolClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient) WaitOperation(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#WaitOperationRequest, 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)

WaitOperation is a utility method from google.longrunning.Operations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolClient_NewSpecialistPoolClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## SpecialistPoolIterator

    type SpecialistPoolIterator 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 []*aiplatformpb.SpecialistPool, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

SpecialistPoolIterator manages a stream of \*aiplatformpb.SpecialistPool.

### func (\*SpecialistPoolIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolIterator) All() iter.Seq2[*aiplatformpb.SpecialistPool, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*SpecialistPoolIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SpecialistPool, 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 (\*SpecialistPoolIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_SpecialistPoolIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## StartNotebookRuntimeOperation

    type StartNotebookRuntimeOperation struct {
    	// contains filtered or unexported fields
    }

StartNotebookRuntimeOperation manages a long-running operation from StartNotebookRuntime.

### func (\*StartNotebookRuntimeOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StartNotebookRuntimeOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*StartNotebookRuntimeOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StartNotebookRuntimeOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StartNotebookRuntimeOperationMetadata, 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 (\*StartNotebookRuntimeOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StartNotebookRuntimeOperation) 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 (\*StartNotebookRuntimeOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StartNotebookRuntimeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StartNotebookRuntimeResponse, 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 (\*StartNotebookRuntimeOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StartNotebookRuntimeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StartNotebookRuntimeResponse, 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.

## StopNotebookRuntimeOperation

    type StopNotebookRuntimeOperation struct {
    	// contains filtered or unexported fields
    }

StopNotebookRuntimeOperation manages a long-running operation from StopNotebookRuntime.

### func (\*StopNotebookRuntimeOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StopNotebookRuntimeOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*StopNotebookRuntimeOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StopNotebookRuntimeOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StopNotebookRuntimeOperationMetadata, 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 (\*StopNotebookRuntimeOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StopNotebookRuntimeOperation) 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 (\*StopNotebookRuntimeOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StopNotebookRuntimeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StopNotebookRuntimeResponse, 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 (\*StopNotebookRuntimeOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StopNotebookRuntimeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StopNotebookRuntimeResponse, 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.

## StudyIterator

    type StudyIterator 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 []*aiplatformpb.Study, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

StudyIterator manages a stream of \*aiplatformpb.Study.

### func (\*StudyIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StudyIterator) All() iter.Seq2[*aiplatformpb.Study, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*StudyIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StudyIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Study, 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 (\*StudyIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StudyIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## SuggestTrialsOperation

    type SuggestTrialsOperation struct {
    	// contains filtered or unexported fields
    }

SuggestTrialsOperation manages a long-running operation from SuggestTrials.

### func (\*SuggestTrialsOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_SuggestTrialsOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*SuggestTrialsOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_SuggestTrialsOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SuggestTrialsMetadata, 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 (\*SuggestTrialsOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_SuggestTrialsOperation) 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 (\*SuggestTrialsOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_SuggestTrialsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SuggestTrialsResponse, 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 (\*SuggestTrialsOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_SuggestTrialsOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SuggestTrialsResponse, 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.

## TensorboardCallOptions

    type TensorboardCallOptions struct {
    	CreateTensorboard                  []gax.CallOption
    	GetTensorboard                     []gax.CallOption
    	UpdateTensorboard                  []gax.CallOption
    	ListTensorboards                   []gax.CallOption
    	DeleteTensorboard                  []gax.CallOption
    	ReadTensorboardUsage               []gax.CallOption
    	ReadTensorboardSize                []gax.CallOption
    	CreateTensorboardExperiment        []gax.CallOption
    	GetTensorboardExperiment           []gax.CallOption
    	UpdateTensorboardExperiment        []gax.CallOption
    	ListTensorboardExperiments         []gax.CallOption
    	DeleteTensorboardExperiment        []gax.CallOption
    	CreateTensorboardRun               []gax.CallOption
    	BatchCreateTensorboardRuns         []gax.CallOption
    	GetTensorboardRun                  []gax.CallOption
    	UpdateTensorboardRun               []gax.CallOption
    	ListTensorboardRuns                []gax.CallOption
    	DeleteTensorboardRun               []gax.CallOption
    	BatchCreateTensorboardTimeSeries   []gax.CallOption
    	CreateTensorboardTimeSeries        []gax.CallOption
    	GetTensorboardTimeSeries           []gax.CallOption
    	UpdateTensorboardTimeSeries        []gax.CallOption
    	ListTensorboardTimeSeries          []gax.CallOption
    	DeleteTensorboardTimeSeries        []gax.CallOption
    	BatchReadTensorboardTimeSeriesData []gax.CallOption
    	ReadTensorboardTimeSeriesData      []gax.CallOption
    	ReadTensorboardBlobData            []gax.CallOption
    	WriteTensorboardExperimentData     []gax.CallOption
    	WriteTensorboardRunData            []gax.CallOption
    	ExportTensorboardTimeSeriesData    []gax.CallOption
    	GetLocation                        []gax.CallOption
    	ListLocations                      []gax.CallOption
    	GetIamPolicy                       []gax.CallOption
    	SetIamPolicy                       []gax.CallOption
    	TestIamPermissions                 []gax.CallOption
    	CancelOperation                    []gax.CallOption
    	DeleteOperation                    []gax.CallOption
    	GetOperation                       []gax.CallOption
    	ListOperations                     []gax.CallOption
    	WaitOperation                      []gax.CallOption
    }

TensorboardCallOptions contains the retry settings for each method of TensorboardClient.

## TensorboardClient

    type TensorboardClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardCallOptions

    	// 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
    }

TensorboardClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

TensorboardService

### func NewTensorboardClient

    func NewTensorboardClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient, https://pkg.go.dev/builtin#error)

NewTensorboardClient creates a new tensorboard service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

TensorboardService

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewTensorboardRESTClient

    func NewTensorboardRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient, https://pkg.go.dev/builtin#error)

NewTensorboardRESTClient creates a new tensorboard service rest client.

TensorboardService

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*TensorboardClient) BatchCreateTensorboardRuns

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) BatchCreateTensorboardRuns(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateTensorboardRunsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateTensorboardRunsResponse, https://pkg.go.dev/builtin#error)

BatchCreateTensorboardRuns batch create TensorboardRuns.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchCreateTensorboardRunsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchCreateTensorboardRunsRequest.
    	}
    	resp, err := c.BatchCreateTensorboardRuns(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) BatchCreateTensorboardTimeSeries

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) BatchCreateTensorboardTimeSeries(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateTensorboardTimeSeriesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateTensorboardTimeSeriesResponse, https://pkg.go.dev/builtin#error)

BatchCreateTensorboardTimeSeries batch create TensorboardTimeSeries that belong to a TensorboardExperiment.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchCreateTensorboardTimeSeriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchCreateTensorboardTimeSeriesRequest.
    	}
    	resp, err := c.BatchCreateTensorboardTimeSeries(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) BatchReadTensorboardTimeSeriesData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) BatchReadTensorboardTimeSeriesData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchReadTensorboardTimeSeriesDataRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchReadTensorboardTimeSeriesDataResponse, https://pkg.go.dev/builtin#error)

BatchReadTensorboardTimeSeriesData reads multiple TensorboardTimeSeries' data. The data point number limit is
1000 for scalars, 100 for tensors and blob references. If the number of
data points stored is less than the limit, all data is returned.
Otherwise, the number limit of data points is randomly selected from
this time series and returned.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchReadTensorboardTimeSeriesDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchReadTensorboardTimeSeriesDataRequest.
    	}
    	resp, err := c.BatchReadTensorboardTimeSeriesData(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*TensorboardClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

### func (\*TensorboardClient) Connection
(deprecated)

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) 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 (\*TensorboardClient) CreateTensorboard

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) CreateTensorboard(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateTensorboardRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_CreateTensorboardOperation, https://pkg.go.dev/builtin#error)

CreateTensorboard creates a Tensorboard.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateTensorboardRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateTensorboardRequest.
    	}
    	op, err := c.CreateTensorboard(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) CreateTensorboardExperiment

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) CreateTensorboardExperiment(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateTensorboardExperimentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardExperiment, https://pkg.go.dev/builtin#error)

CreateTensorboardExperiment creates a TensorboardExperiment.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateTensorboardExperimentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateTensorboardExperimentRequest.
    	}
    	resp, err := c.CreateTensorboardExperiment(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) CreateTensorboardOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) CreateTensorboardOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_CreateTensorboardOperation

CreateTensorboardOperation returns a new CreateTensorboardOperation from a given name.
The name must be that of a previously created CreateTensorboardOperation, possibly from a different process.

### func (\*TensorboardClient) CreateTensorboardRun

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) CreateTensorboardRun(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateTensorboardRunRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardRun, https://pkg.go.dev/builtin#error)

CreateTensorboardRun creates a TensorboardRun.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateTensorboardRunRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateTensorboardRunRequest.
    	}
    	resp, err := c.CreateTensorboardRun(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) CreateTensorboardTimeSeries

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) CreateTensorboardTimeSeries(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateTensorboardTimeSeriesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardTimeSeries, https://pkg.go.dev/builtin#error)

CreateTensorboardTimeSeries creates a TensorboardTimeSeries.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateTensorboardTimeSeriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateTensorboardTimeSeriesRequest.
    	}
    	resp, err := c.CreateTensorboardTimeSeries(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*TensorboardClient) DeleteTensorboard

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) DeleteTensorboard(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteTensorboardRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardOperation, https://pkg.go.dev/builtin#error)

DeleteTensorboard deletes a Tensorboard.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteTensorboardRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteTensorboardRequest.
    	}
    	op, err := c.DeleteTensorboard(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*TensorboardClient) DeleteTensorboardExperiment

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) DeleteTensorboardExperiment(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteTensorboardExperimentRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardExperimentOperation, https://pkg.go.dev/builtin#error)

DeleteTensorboardExperiment deletes a TensorboardExperiment.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteTensorboardExperimentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteTensorboardExperimentRequest.
    	}
    	op, err := c.DeleteTensorboardExperiment(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*TensorboardClient) DeleteTensorboardExperimentOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) DeleteTensorboardExperimentOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardExperimentOperation

DeleteTensorboardExperimentOperation returns a new DeleteTensorboardExperimentOperation from a given name.
The name must be that of a previously created DeleteTensorboardExperimentOperation, possibly from a different process.

### func (\*TensorboardClient) DeleteTensorboardOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) DeleteTensorboardOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardOperation

DeleteTensorboardOperation returns a new DeleteTensorboardOperation from a given name.
The name must be that of a previously created DeleteTensorboardOperation, possibly from a different process.

### func (\*TensorboardClient) DeleteTensorboardRun

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) DeleteTensorboardRun(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteTensorboardRunRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardRunOperation, https://pkg.go.dev/builtin#error)

DeleteTensorboardRun deletes a TensorboardRun.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteTensorboardRunRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteTensorboardRunRequest.
    	}
    	op, err := c.DeleteTensorboardRun(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*TensorboardClient) DeleteTensorboardRunOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) DeleteTensorboardRunOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardRunOperation

DeleteTensorboardRunOperation returns a new DeleteTensorboardRunOperation from a given name.
The name must be that of a previously created DeleteTensorboardRunOperation, possibly from a different process.

### func (\*TensorboardClient) DeleteTensorboardTimeSeries

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) DeleteTensorboardTimeSeries(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteTensorboardTimeSeriesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardTimeSeriesOperation, https://pkg.go.dev/builtin#error)

DeleteTensorboardTimeSeries deletes a TensorboardTimeSeries.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteTensorboardTimeSeriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteTensorboardTimeSeriesRequest.
    	}
    	op, err := c.DeleteTensorboardTimeSeries(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*TensorboardClient) DeleteTensorboardTimeSeriesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) DeleteTensorboardTimeSeriesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_DeleteTensorboardTimeSeriesOperation

DeleteTensorboardTimeSeriesOperation returns a new DeleteTensorboardTimeSeriesOperation from a given name.
The name must be that of a previously created DeleteTensorboardTimeSeriesOperation, possibly from a different process.

### func (\*TensorboardClient) ExportTensorboardTimeSeriesData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) ExportTensorboardTimeSeriesData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExportTensorboardTimeSeriesDataRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TimeSeriesDataPointIterator

ExportTensorboardTimeSeriesData exports a TensorboardTimeSeries' data. Data is returned in paginated
responses.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ExportTensorboardTimeSeriesDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ExportTensorboardTimeSeriesDataRequest.
    	}
    	it := c.ExportTensorboardTimeSeriesData(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.(*aiplatformpb.ExportTensorboardTimeSeriesDataResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ExportTensorboardTimeSeriesDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ExportTensorboardTimeSeriesDataRequest.
    	}
    	for resp, err := range c.ExportTensorboardTimeSeriesData(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*TensorboardClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*TensorboardClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) GetTensorboard

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) GetTensorboard(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetTensorboardRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Tensorboard, https://pkg.go.dev/builtin#error)

GetTensorboard gets a Tensorboard.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetTensorboardRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetTensorboardRequest.
    	}
    	resp, err := c.GetTensorboard(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) GetTensorboardExperiment

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) GetTensorboardExperiment(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetTensorboardExperimentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardExperiment, https://pkg.go.dev/builtin#error)

GetTensorboardExperiment gets a TensorboardExperiment.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetTensorboardExperimentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetTensorboardExperimentRequest.
    	}
    	resp, err := c.GetTensorboardExperiment(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) GetTensorboardRun

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) GetTensorboardRun(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetTensorboardRunRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardRun, https://pkg.go.dev/builtin#error)

GetTensorboardRun gets a TensorboardRun.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetTensorboardRunRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetTensorboardRunRequest.
    	}
    	resp, err := c.GetTensorboardRun(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) GetTensorboardTimeSeries

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) GetTensorboardTimeSeries(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetTensorboardTimeSeriesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardTimeSeries, https://pkg.go.dev/builtin#error)

GetTensorboardTimeSeries gets a TensorboardTimeSeries.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetTensorboardTimeSeriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetTensorboardTimeSeriesRequest.
    	}
    	resp, err := c.GetTensorboardTimeSeries(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*TensorboardClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

ListOperations is a utility method from google.longrunning.Operations.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*TensorboardClient) ListTensorboardExperiments

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) ListTensorboardExperiments(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListTensorboardExperimentsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardExperimentIterator

ListTensorboardExperiments lists TensorboardExperiments in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTensorboardExperimentsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTensorboardExperimentsRequest.
    	}
    	it := c.ListTensorboardExperiments(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.(*aiplatformpb.ListTensorboardExperimentsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTensorboardExperimentsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTensorboardExperimentsRequest.
    	}
    	for resp, err := range c.ListTensorboardExperiments(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*TensorboardClient) ListTensorboardRuns

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) ListTensorboardRuns(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListTensorboardRunsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardRunIterator

ListTensorboardRuns lists TensorboardRuns in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTensorboardRunsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTensorboardRunsRequest.
    	}
    	it := c.ListTensorboardRuns(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.(*aiplatformpb.ListTensorboardRunsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTensorboardRunsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTensorboardRunsRequest.
    	}
    	for resp, err := range c.ListTensorboardRuns(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*TensorboardClient) ListTensorboardTimeSeries

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) ListTensorboardTimeSeries(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListTensorboardTimeSeriesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardTimeSeriesIterator

ListTensorboardTimeSeries lists TensorboardTimeSeries in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTensorboardTimeSeriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTensorboardTimeSeriesRequest.
    	}
    	it := c.ListTensorboardTimeSeries(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.(*aiplatformpb.ListTensorboardTimeSeriesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTensorboardTimeSeriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTensorboardTimeSeriesRequest.
    	}
    	for resp, err := range c.ListTensorboardTimeSeries(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*TensorboardClient) ListTensorboards

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) ListTensorboards(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListTensorboardsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardIterator

ListTensorboards lists Tensorboards in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTensorboardsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTensorboardsRequest.
    	}
    	it := c.ListTensorboards(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.(*aiplatformpb.ListTensorboardsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTensorboardsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTensorboardsRequest.
    	}
    	for resp, err := range c.ListTensorboards(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*TensorboardClient) ReadTensorboardBlobData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) ReadTensorboardBlobData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadTensorboardBlobDataRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardService_ReadTensorboardBlobDataClient, https://pkg.go.dev/builtin#error)

ReadTensorboardBlobData gets bytes of TensorboardBlobs.
This is to allow reading blob data stored in consumer project's Cloud
Storage bucket without users having to obtain Cloud Storage access
permission.

### func (\*TensorboardClient) ReadTensorboardSize

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) ReadTensorboardSize(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadTensorboardSizeRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadTensorboardSizeResponse, https://pkg.go.dev/builtin#error)

ReadTensorboardSize returns the storage size for a given TensorBoard instance.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ReadTensorboardSizeRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ReadTensorboardSizeRequest.
    	}
    	resp, err := c.ReadTensorboardSize(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) ReadTensorboardTimeSeriesData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) ReadTensorboardTimeSeriesData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadTensorboardTimeSeriesDataRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadTensorboardTimeSeriesDataResponse, https://pkg.go.dev/builtin#error)

ReadTensorboardTimeSeriesData reads a TensorboardTimeSeries' data. By default, if the number of data
points stored is less than 1000, all data is returned. Otherwise, 1000
data points is randomly selected from this time series and returned.
This value can be changed by changing max_data_points, which can't be
greater than 10k.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ReadTensorboardTimeSeriesDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ReadTensorboardTimeSeriesDataRequest.
    	}
    	resp, err := c.ReadTensorboardTimeSeriesData(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) ReadTensorboardUsage

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) ReadTensorboardUsage(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadTensorboardUsageRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReadTensorboardUsageResponse, https://pkg.go.dev/builtin#error)

ReadTensorboardUsage returns a list of monthly active users for a given TensorBoard instance.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ReadTensorboardUsageRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ReadTensorboardUsageRequest.
    	}
    	resp, err := c.ReadTensorboardUsage(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*TensorboardClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) UpdateTensorboard

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) UpdateTensorboard(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateTensorboardRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateTensorboardOperation, https://pkg.go.dev/builtin#error)

UpdateTensorboard updates a Tensorboard.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateTensorboardRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateTensorboardRequest.
    	}
    	op, err := c.UpdateTensorboard(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) UpdateTensorboardExperiment

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) UpdateTensorboardExperiment(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateTensorboardExperimentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardExperiment, https://pkg.go.dev/builtin#error)

UpdateTensorboardExperiment updates a TensorboardExperiment.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateTensorboardExperimentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateTensorboardExperimentRequest.
    	}
    	resp, err := c.UpdateTensorboardExperiment(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) UpdateTensorboardOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) UpdateTensorboardOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateTensorboardOperation

UpdateTensorboardOperation returns a new UpdateTensorboardOperation from a given name.
The name must be that of a previously created UpdateTensorboardOperation, possibly from a different process.

### func (\*TensorboardClient) UpdateTensorboardRun

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) UpdateTensorboardRun(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateTensorboardRunRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardRun, https://pkg.go.dev/builtin#error)

UpdateTensorboardRun updates a TensorboardRun.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateTensorboardRunRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateTensorboardRunRequest.
    	}
    	resp, err := c.UpdateTensorboardRun(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) UpdateTensorboardTimeSeries

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) UpdateTensorboardTimeSeries(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateTensorboardTimeSeriesRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardTimeSeries, https://pkg.go.dev/builtin#error)

UpdateTensorboardTimeSeries updates a TensorboardTimeSeries.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateTensorboardTimeSeriesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateTensorboardTimeSeriesRequest.
    	}
    	resp, err := c.UpdateTensorboardTimeSeries(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) WaitOperation(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#WaitOperationRequest, 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)

WaitOperation is a utility method from google.longrunning.Operations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) WriteTensorboardExperimentData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) WriteTensorboardExperimentData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_WriteTensorboardExperimentDataRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_WriteTensorboardExperimentDataResponse, https://pkg.go.dev/builtin#error)

WriteTensorboardExperimentData write time series data points of multiple TensorboardTimeSeries in multiple
TensorboardRun's. If any data fail to be ingested, an error is returned.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.WriteTensorboardExperimentDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#WriteTensorboardExperimentDataRequest.
    	}
    	resp, err := c.WriteTensorboardExperimentData(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*TensorboardClient) WriteTensorboardRunData

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient) WriteTensorboardRunData(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_WriteTensorboardRunDataRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_WriteTensorboardRunDataResponse, https://pkg.go.dev/builtin#error)

WriteTensorboardRunData write time series data points into multiple TensorboardTimeSeries under
a TensorboardRun. If any data fail to be ingested, an error is returned.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardClient_NewTensorboardClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.WriteTensorboardRunDataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#WriteTensorboardRunDataRequest.
    	}
    	resp, err := c.WriteTensorboardRunData(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## TensorboardExperimentIterator

    type TensorboardExperimentIterator 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 []*aiplatformpb.TensorboardExperiment, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

TensorboardExperimentIterator manages a stream of \*aiplatformpb.TensorboardExperiment.

### func (\*TensorboardExperimentIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardExperimentIterator) All() iter.Seq2[*aiplatformpb.TensorboardExperiment, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*TensorboardExperimentIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardExperimentIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardExperiment, 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 (\*TensorboardExperimentIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardExperimentIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## TensorboardIterator

    type TensorboardIterator 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 []*aiplatformpb.Tensorboard, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

TensorboardIterator manages a stream of \*aiplatformpb.Tensorboard.

### func (\*TensorboardIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardIterator) All() iter.Seq2[*aiplatformpb.Tensorboard, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*TensorboardIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Tensorboard, 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 (\*TensorboardIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## TensorboardRunIterator

    type TensorboardRunIterator 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 []*aiplatformpb.TensorboardRun, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

TensorboardRunIterator manages a stream of \*aiplatformpb.TensorboardRun.

### func (\*TensorboardRunIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardRunIterator) All() iter.Seq2[*aiplatformpb.TensorboardRun, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*TensorboardRunIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardRunIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardRun, 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 (\*TensorboardRunIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardRunIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## TensorboardTimeSeriesIterator

    type TensorboardTimeSeriesIterator 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 []*aiplatformpb.TensorboardTimeSeries, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

TensorboardTimeSeriesIterator manages a stream of \*aiplatformpb.TensorboardTimeSeries.

### func (\*TensorboardTimeSeriesIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardTimeSeriesIterator) All() iter.Seq2[*aiplatformpb.TensorboardTimeSeries, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*TensorboardTimeSeriesIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardTimeSeriesIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TensorboardTimeSeries, 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 (\*TensorboardTimeSeriesIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TensorboardTimeSeriesIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## TimeSeriesDataPointIterator

    type TimeSeriesDataPointIterator 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 []*aiplatformpb.TimeSeriesDataPoint, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

TimeSeriesDataPointIterator manages a stream of \*aiplatformpb.TimeSeriesDataPoint.

### func (\*TimeSeriesDataPointIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TimeSeriesDataPointIterator) All() iter.Seq2[*aiplatformpb.TimeSeriesDataPoint, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*TimeSeriesDataPointIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TimeSeriesDataPointIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TimeSeriesDataPoint, 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 (\*TimeSeriesDataPointIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TimeSeriesDataPointIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## TrainingPipelineIterator

    type TrainingPipelineIterator 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 []*aiplatformpb.TrainingPipeline, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

TrainingPipelineIterator manages a stream of \*aiplatformpb.TrainingPipeline.

### func (\*TrainingPipelineIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TrainingPipelineIterator) All() iter.Seq2[*aiplatformpb.TrainingPipeline, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*TrainingPipelineIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TrainingPipelineIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TrainingPipeline, 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 (\*TrainingPipelineIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TrainingPipelineIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## TrialIterator

    type TrialIterator 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 []*aiplatformpb.Trial, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

TrialIterator manages a stream of \*aiplatformpb.Trial.

### func (\*TrialIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TrialIterator) All() iter.Seq2[*aiplatformpb.Trial, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*TrialIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TrialIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Trial, 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 (\*TrialIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TrialIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## TuningJobIterator

    type TuningJobIterator 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 []*aiplatformpb.TuningJob, nextPageToken https://pkg.go.dev/builtin#string, err https://pkg.go.dev/builtin#error)
    	// contains filtered or unexported fields
    }

TuningJobIterator manages a stream of \*aiplatformpb.TuningJob.

### func (\*TuningJobIterator) All

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TuningJobIterator) All() iter.Seq2[*aiplatformpb.TuningJob, error]

All returns an iterator. If an error is returned by the iterator, the
iterator will stop after that iteration.

### func (\*TuningJobIterator) Next

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TuningJobIterator) Next() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_TuningJob, 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 (\*TuningJobIterator) PageInfo

    func (it *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TuningJobIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the \[google.golang.org/api/iterator\] package for details.

## UndeployIndexOperation

    type UndeployIndexOperation struct {
    	// contains filtered or unexported fields
    }

UndeployIndexOperation manages a long-running operation from UndeployIndex.

### func (\*UndeployIndexOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployIndexOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UndeployIndexOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployIndexOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UndeployIndexOperationMetadata, 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 (\*UndeployIndexOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployIndexOperation) 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 (\*UndeployIndexOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UndeployIndexResponse, 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 (\*UndeployIndexOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UndeployIndexResponse, 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.

## UndeployModelOperation

    type UndeployModelOperation struct {
    	// contains filtered or unexported fields
    }

UndeployModelOperation manages a long-running operation from UndeployModel.

### func (\*UndeployModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UndeployModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UndeployModelOperationMetadata, 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 (\*UndeployModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployModelOperation) 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 (\*UndeployModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UndeployModelResponse, 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 (\*UndeployModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UndeployModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UndeployModelResponse, 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.

## UpdateDeploymentResourcePoolOperation

    type UpdateDeploymentResourcePoolOperation struct {
    	// contains filtered or unexported fields
    }

UpdateDeploymentResourcePoolOperation manages a long-running operation from UpdateDeploymentResourcePool.

### func (\*UpdateDeploymentResourcePoolOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateDeploymentResourcePoolOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateDeploymentResourcePoolOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateDeploymentResourcePoolOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateDeploymentResourcePoolOperationMetadata, 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 (\*UpdateDeploymentResourcePoolOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateDeploymentResourcePoolOperation) 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 (\*UpdateDeploymentResourcePoolOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateDeploymentResourcePoolOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeploymentResourcePool, 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 (\*UpdateDeploymentResourcePoolOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateDeploymentResourcePoolOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeploymentResourcePool, 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.

## UpdateEndpointLongRunningOperation

    type UpdateEndpointLongRunningOperation struct {
    	// contains filtered or unexported fields
    }

UpdateEndpointLongRunningOperation manages a long-running operation from UpdateEndpointLongRunning.

### func (\*UpdateEndpointLongRunningOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateEndpointLongRunningOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateEndpointLongRunningOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateEndpointLongRunningOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateEndpointOperationMetadata, 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 (\*UpdateEndpointLongRunningOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateEndpointLongRunningOperation) 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 (\*UpdateEndpointLongRunningOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateEndpointLongRunningOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Endpoint, 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 (\*UpdateEndpointLongRunningOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateEndpointLongRunningOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Endpoint, 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.

## UpdateExampleStoreOperation

    type UpdateExampleStoreOperation struct {
    	// contains filtered or unexported fields
    }

UpdateExampleStoreOperation manages a long-running operation from UpdateExampleStore.

### func (\*UpdateExampleStoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExampleStoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateExampleStoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExampleStoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateExampleStoreOperationMetadata, 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 (\*UpdateExampleStoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExampleStoreOperation) 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 (\*UpdateExampleStoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExampleStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExampleStore, 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 (\*UpdateExampleStoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExampleStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ExampleStore, 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.

## UpdateExplanationDatasetOperation

    type UpdateExplanationDatasetOperation struct {
    	// contains filtered or unexported fields
    }

UpdateExplanationDatasetOperation manages a long-running operation from UpdateExplanationDataset.

### func (\*UpdateExplanationDatasetOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExplanationDatasetOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateExplanationDatasetOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExplanationDatasetOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateExplanationDatasetOperationMetadata, 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 (\*UpdateExplanationDatasetOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExplanationDatasetOperation) 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 (\*UpdateExplanationDatasetOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExplanationDatasetOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateExplanationDatasetResponse, 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 (\*UpdateExplanationDatasetOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateExplanationDatasetOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateExplanationDatasetResponse, 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.

## UpdateFeatureGroupOperation

    type UpdateFeatureGroupOperation struct {
    	// contains filtered or unexported fields
    }

UpdateFeatureGroupOperation manages a long-running operation from UpdateFeatureGroup.

### func (\*UpdateFeatureGroupOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureGroupOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateFeatureGroupOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureGroupOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureGroupOperationMetadata, 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 (\*UpdateFeatureGroupOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureGroupOperation) 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 (\*UpdateFeatureGroupOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureGroupOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureGroup, 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 (\*UpdateFeatureGroupOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureGroupOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureGroup, 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.

## UpdateFeatureMonitorOperation

    type UpdateFeatureMonitorOperation struct {
    	// contains filtered or unexported fields
    }

UpdateFeatureMonitorOperation manages a long-running operation from UpdateFeatureMonitor.

### func (\*UpdateFeatureMonitorOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureMonitorOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateFeatureMonitorOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureMonitorOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureMonitorOperationMetadata, 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 (\*UpdateFeatureMonitorOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureMonitorOperation) 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 (\*UpdateFeatureMonitorOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureMonitorOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureMonitor, 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 (\*UpdateFeatureMonitorOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureMonitorOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureMonitor, 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.

## UpdateFeatureOnlineStoreOperation

    type UpdateFeatureOnlineStoreOperation struct {
    	// contains filtered or unexported fields
    }

UpdateFeatureOnlineStoreOperation manages a long-running operation from UpdateFeatureOnlineStore.

### func (\*UpdateFeatureOnlineStoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOnlineStoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateFeatureOnlineStoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOnlineStoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureOnlineStoreOperationMetadata, 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 (\*UpdateFeatureOnlineStoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOnlineStoreOperation) 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 (\*UpdateFeatureOnlineStoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOnlineStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureOnlineStore, 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 (\*UpdateFeatureOnlineStoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOnlineStoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureOnlineStore, 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.

## UpdateFeatureOperation

    type UpdateFeatureOperation struct {
    	// contains filtered or unexported fields
    }

UpdateFeatureOperation manages a long-running operation from UpdateFeature.

### func (\*UpdateFeatureOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateFeatureOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureOperationMetadata, 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 (\*UpdateFeatureOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOperation) 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 (\*UpdateFeatureOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Feature, 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 (\*UpdateFeatureOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Feature, 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.

## UpdateFeatureViewOperation

    type UpdateFeatureViewOperation struct {
    	// contains filtered or unexported fields
    }

UpdateFeatureViewOperation manages a long-running operation from UpdateFeatureView.

### func (\*UpdateFeatureViewOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureViewOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateFeatureViewOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureViewOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeatureViewOperationMetadata, 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 (\*UpdateFeatureViewOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureViewOperation) 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 (\*UpdateFeatureViewOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureViewOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureView, 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 (\*UpdateFeatureViewOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeatureViewOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_FeatureView, 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.

## UpdateFeaturestoreOperation

    type UpdateFeaturestoreOperation struct {
    	// contains filtered or unexported fields
    }

UpdateFeaturestoreOperation manages a long-running operation from UpdateFeaturestore.

### func (\*UpdateFeaturestoreOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeaturestoreOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateFeaturestoreOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeaturestoreOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateFeaturestoreOperationMetadata, 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 (\*UpdateFeaturestoreOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeaturestoreOperation) 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 (\*UpdateFeaturestoreOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeaturestoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Featurestore, 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 (\*UpdateFeaturestoreOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateFeaturestoreOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Featurestore, 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.

## UpdateIndexOperation

    type UpdateIndexOperation struct {
    	// contains filtered or unexported fields
    }

UpdateIndexOperation manages a long-running operation from UpdateIndex.

### func (\*UpdateIndexOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateIndexOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateIndexOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateIndexOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateIndexOperationMetadata, 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 (\*UpdateIndexOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateIndexOperation) 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 (\*UpdateIndexOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Index, 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 (\*UpdateIndexOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateIndexOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Index, 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.

## UpdateMemoryOperation

    type UpdateMemoryOperation struct {
    	// contains filtered or unexported fields
    }

UpdateMemoryOperation manages a long-running operation from UpdateMemory.

### func (\*UpdateMemoryOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateMemoryOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateMemoryOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateMemoryOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateMemoryOperationMetadata, 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 (\*UpdateMemoryOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateMemoryOperation) 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 (\*UpdateMemoryOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateMemoryOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Memory, 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 (\*UpdateMemoryOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateMemoryOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Memory, 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.

## UpdateModelDeploymentMonitoringJobOperation

    type UpdateModelDeploymentMonitoringJobOperation struct {
    	// contains filtered or unexported fields
    }

UpdateModelDeploymentMonitoringJobOperation manages a long-running operation from UpdateModelDeploymentMonitoringJob.

### func (\*UpdateModelDeploymentMonitoringJobOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelDeploymentMonitoringJobOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateModelDeploymentMonitoringJobOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelDeploymentMonitoringJobOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateModelDeploymentMonitoringJobOperationMetadata, 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 (\*UpdateModelDeploymentMonitoringJobOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelDeploymentMonitoringJobOperation) 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 (\*UpdateModelDeploymentMonitoringJobOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelDeploymentMonitoringJobOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelDeploymentMonitoringJob, 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 (\*UpdateModelDeploymentMonitoringJobOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelDeploymentMonitoringJobOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelDeploymentMonitoringJob, 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.

## UpdateModelMonitorOperation

    type UpdateModelMonitorOperation struct {
    	// contains filtered or unexported fields
    }

UpdateModelMonitorOperation manages a long-running operation from UpdateModelMonitor.

### func (\*UpdateModelMonitorOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelMonitorOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateModelMonitorOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelMonitorOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateModelMonitorOperationMetadata, 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 (\*UpdateModelMonitorOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelMonitorOperation) 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 (\*UpdateModelMonitorOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelMonitorOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitor, 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 (\*UpdateModelMonitorOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateModelMonitorOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ModelMonitor, 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.

## UpdatePersistentResourceOperation

    type UpdatePersistentResourceOperation struct {
    	// contains filtered or unexported fields
    }

UpdatePersistentResourceOperation manages a long-running operation from UpdatePersistentResource.

### func (\*UpdatePersistentResourceOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdatePersistentResourceOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdatePersistentResourceOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdatePersistentResourceOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdatePersistentResourceOperationMetadata, 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 (\*UpdatePersistentResourceOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdatePersistentResourceOperation) 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 (\*UpdatePersistentResourceOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdatePersistentResourceOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PersistentResource, 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 (\*UpdatePersistentResourceOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdatePersistentResourceOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_PersistentResource, 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.

## UpdateRagCorpusOperation

    type UpdateRagCorpusOperation struct {
    	// contains filtered or unexported fields
    }

UpdateRagCorpusOperation manages a long-running operation from UpdateRagCorpus.

### func (\*UpdateRagCorpusOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagCorpusOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateRagCorpusOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagCorpusOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateRagCorpusOperationMetadata, 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 (\*UpdateRagCorpusOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagCorpusOperation) 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 (\*UpdateRagCorpusOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagCorpusOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagCorpus, 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 (\*UpdateRagCorpusOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagCorpusOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagCorpus, 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.

## UpdateRagEngineConfigOperation

    type UpdateRagEngineConfigOperation struct {
    	// contains filtered or unexported fields
    }

UpdateRagEngineConfigOperation manages a long-running operation from UpdateRagEngineConfig.

### func (\*UpdateRagEngineConfigOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagEngineConfigOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateRagEngineConfigOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagEngineConfigOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateRagEngineConfigOperationMetadata, 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 (\*UpdateRagEngineConfigOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagEngineConfigOperation) 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 (\*UpdateRagEngineConfigOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagEngineConfigOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagEngineConfig, 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 (\*UpdateRagEngineConfigOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagEngineConfigOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagEngineConfig, 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.

## UpdateReasoningEngineOperation

    type UpdateReasoningEngineOperation struct {
    	// contains filtered or unexported fields
    }

UpdateReasoningEngineOperation manages a long-running operation from UpdateReasoningEngine.

### func (\*UpdateReasoningEngineOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateReasoningEngineOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateReasoningEngineOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateReasoningEngineOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateReasoningEngineOperationMetadata, 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 (\*UpdateReasoningEngineOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateReasoningEngineOperation) 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 (\*UpdateReasoningEngineOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateReasoningEngineOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReasoningEngine, 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 (\*UpdateReasoningEngineOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateReasoningEngineOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ReasoningEngine, 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.

## UpdateSpecialistPoolOperation

    type UpdateSpecialistPoolOperation struct {
    	// contains filtered or unexported fields
    }

UpdateSpecialistPoolOperation manages a long-running operation from UpdateSpecialistPool.

### func (\*UpdateSpecialistPoolOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateSpecialistPoolOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateSpecialistPoolOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateSpecialistPoolOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateSpecialistPoolOperationMetadata, 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 (\*UpdateSpecialistPoolOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateSpecialistPoolOperation) 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 (\*UpdateSpecialistPoolOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateSpecialistPoolOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SpecialistPool, 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 (\*UpdateSpecialistPoolOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateSpecialistPoolOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SpecialistPool, 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.

## UpdateTensorboardOperation

    type UpdateTensorboardOperation struct {
    	// contains filtered or unexported fields
    }

UpdateTensorboardOperation manages a long-running operation from UpdateTensorboard.

### func (\*UpdateTensorboardOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateTensorboardOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpdateTensorboardOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateTensorboardOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateTensorboardOperationMetadata, 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 (\*UpdateTensorboardOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateTensorboardOperation) 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 (\*UpdateTensorboardOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateTensorboardOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Tensorboard, 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 (\*UpdateTensorboardOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpdateTensorboardOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Tensorboard, 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.

## UpgradeNotebookRuntimeOperation

    type UpgradeNotebookRuntimeOperation struct {
    	// contains filtered or unexported fields
    }

UpgradeNotebookRuntimeOperation manages a long-running operation from UpgradeNotebookRuntime.

### func (\*UpgradeNotebookRuntimeOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpgradeNotebookRuntimeOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UpgradeNotebookRuntimeOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpgradeNotebookRuntimeOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpgradeNotebookRuntimeOperationMetadata, 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 (\*UpgradeNotebookRuntimeOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpgradeNotebookRuntimeOperation) 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 (\*UpgradeNotebookRuntimeOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpgradeNotebookRuntimeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpgradeNotebookRuntimeResponse, 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 (\*UpgradeNotebookRuntimeOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UpgradeNotebookRuntimeOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpgradeNotebookRuntimeResponse, 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.

## UploadModelOperation

    type UploadModelOperation struct {
    	// contains filtered or unexported fields
    }

UploadModelOperation manages a long-running operation from UploadModel.

### func (\*UploadModelOperation) Done

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UploadModelOperation) Done() https://pkg.go.dev/builtin#bool

Done reports whether the long-running operation has completed.

### func (\*UploadModelOperation) Metadata

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UploadModelOperation) Metadata() (*https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UploadModelOperationMetadata, 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 (\*UploadModelOperation) Name

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UploadModelOperation) 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 (\*UploadModelOperation) Poll

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UploadModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UploadModelResponse, 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 (\*UploadModelOperation) Wait

    func (op *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_UploadModelOperation) 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UploadModelResponse, 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.

## VertexRagCallOptions

    type VertexRagCallOptions struct {
    	RetrieveContexts      []gax.CallOption
    	AugmentPrompt         []gax.CallOption
    	CorroborateContent    []gax.CallOption
    	AskContexts           []gax.CallOption
    	AsyncRetrieveContexts []gax.CallOption
    	GetLocation           []gax.CallOption
    	ListLocations         []gax.CallOption
    	GetIamPolicy          []gax.CallOption
    	SetIamPolicy          []gax.CallOption
    	TestIamPermissions    []gax.CallOption
    	CancelOperation       []gax.CallOption
    	DeleteOperation       []gax.CallOption
    	GetOperation          []gax.CallOption
    	ListOperations        []gax.CallOption
    	WaitOperation         []gax.CallOption
    }

VertexRagCallOptions contains the retry settings for each method of VertexRagClient.

## VertexRagClient

    type VertexRagClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagCallOptions

    	// 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
    }

VertexRagClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for retrieving relevant contexts.

### func NewVertexRagClient

    func NewVertexRagClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient, https://pkg.go.dev/builtin#error)

NewVertexRagClient creates a new vertex rag service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for retrieving relevant contexts.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewVertexRagRESTClient

    func NewVertexRagRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient, https://pkg.go.dev/builtin#error)

NewVertexRagRESTClient creates a new vertex rag service rest client.

A service for retrieving relevant contexts.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*VertexRagClient) AskContexts

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) AskContexts(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AskContextsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AskContextsResponse, https://pkg.go.dev/builtin#error)

AskContexts agentic Retrieval Ask API for RAG.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AskContextsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AskContextsRequest.
    	}
    	resp, err := c.AskContexts(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagClient) AsyncRetrieveContexts

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) AsyncRetrieveContexts(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AsyncRetrieveContextsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_AsyncRetrieveContextsOperation, https://pkg.go.dev/builtin#error)

AsyncRetrieveContexts asynchronous API to retrieves relevant contexts for a query.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AsyncRetrieveContextsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AsyncRetrieveContextsRequest.
    	}
    	op, err := c.AsyncRetrieveContexts(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagClient) AsyncRetrieveContextsOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) AsyncRetrieveContextsOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_AsyncRetrieveContextsOperation

AsyncRetrieveContextsOperation returns a new AsyncRetrieveContextsOperation from a given name.
The name must be that of a previously created AsyncRetrieveContextsOperation, possibly from a different process.

### func (\*VertexRagClient) AugmentPrompt

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) AugmentPrompt(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AugmentPromptRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AugmentPromptResponse, https://pkg.go.dev/builtin#error)

AugmentPrompt given an input prompt, it returns augmented prompt from vertex rag store
to guide LLM towards generating grounded responses.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AugmentPromptRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AugmentPromptRequest.
    	}
    	resp, err := c.AugmentPrompt(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

### func (\*VertexRagClient) Connection
(deprecated)

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) 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 (\*VertexRagClient) CorroborateContent

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) CorroborateContent(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CorroborateContentRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CorroborateContentResponse, https://pkg.go.dev/builtin#error)

CorroborateContent given an input text, it returns a score that evaluates the factuality of
the text. It also extracts and returns claims from the text and provides
supporting facts.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CorroborateContentRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CorroborateContentRequest.
    	}
    	resp, err := c.CorroborateContent(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*VertexRagClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*VertexRagClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

ListOperations is a utility method from google.longrunning.Operations.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*VertexRagClient) RetrieveContexts

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) RetrieveContexts(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RetrieveContextsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RetrieveContextsResponse, https://pkg.go.dev/builtin#error)

RetrieveContexts retrieves relevant contexts for a query.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.RetrieveContextsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#RetrieveContextsRequest.
    	}
    	resp, err := c.RetrieveContexts(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*VertexRagClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient) WaitOperation(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#WaitOperationRequest, 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)

WaitOperation is a utility method from google.longrunning.Operations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagClient_NewVertexRagClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## VertexRagDataCallOptions

    type VertexRagDataCallOptions struct {
    	CreateRagCorpus           []gax.CallOption
    	UpdateRagCorpus           []gax.CallOption
    	GetRagCorpus              []gax.CallOption
    	ListRagCorpora            []gax.CallOption
    	DeleteRagCorpus           []gax.CallOption
    	UploadRagFile             []gax.CallOption
    	ImportRagFiles            []gax.CallOption
    	GetRagFile                []gax.CallOption
    	ListRagFiles              []gax.CallOption
    	DeleteRagFile             []gax.CallOption
    	UpdateRagEngineConfig     []gax.CallOption
    	GetRagEngineConfig        []gax.CallOption
    	CreateRagDataSchema       []gax.CallOption
    	BatchCreateRagDataSchemas []gax.CallOption
    	GetRagDataSchema          []gax.CallOption
    	ListRagDataSchemas        []gax.CallOption
    	DeleteRagDataSchema       []gax.CallOption
    	BatchDeleteRagDataSchemas []gax.CallOption
    	CreateRagMetadata         []gax.CallOption
    	BatchCreateRagMetadata    []gax.CallOption
    	UpdateRagMetadata         []gax.CallOption
    	GetRagMetadata            []gax.CallOption
    	ListRagMetadata           []gax.CallOption
    	DeleteRagMetadata         []gax.CallOption
    	BatchDeleteRagMetadata    []gax.CallOption
    	GetLocation               []gax.CallOption
    	ListLocations             []gax.CallOption
    	GetIamPolicy              []gax.CallOption
    	SetIamPolicy              []gax.CallOption
    	TestIamPermissions        []gax.CallOption
    	CancelOperation           []gax.CallOption
    	DeleteOperation           []gax.CallOption
    	GetOperation              []gax.CallOption
    	ListOperations            []gax.CallOption
    	WaitOperation             []gax.CallOption
    }

VertexRagDataCallOptions contains the retry settings for each method of VertexRagDataClient.

## VertexRagDataClient

    type VertexRagDataClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataCallOptions

    	// 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
    }

VertexRagDataClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing user data for RAG.

### func NewVertexRagDataClient

    func NewVertexRagDataClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient, https://pkg.go.dev/builtin#error)

NewVertexRagDataClient creates a new vertex rag data service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for managing user data for RAG.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewVertexRagDataRESTClient

    func NewVertexRagDataRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient, https://pkg.go.dev/builtin#error)

NewVertexRagDataRESTClient creates a new vertex rag data service rest client.

A service for managing user data for RAG.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*VertexRagDataClient) BatchCreateRagDataSchemas

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) BatchCreateRagDataSchemas(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateRagDataSchemasRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagDataSchemasOperation, https://pkg.go.dev/builtin#error)

BatchCreateRagDataSchemas batch Create one or more RagDataSchemas

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchCreateRagDataSchemasRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchCreateRagDataSchemasRequest.
    	}
    	op, err := c.BatchCreateRagDataSchemas(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) BatchCreateRagDataSchemasOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) BatchCreateRagDataSchemasOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagDataSchemasOperation

BatchCreateRagDataSchemasOperation returns a new BatchCreateRagDataSchemasOperation from a given name.
The name must be that of a previously created BatchCreateRagDataSchemasOperation, possibly from a different process.

### func (\*VertexRagDataClient) BatchCreateRagMetadata

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) BatchCreateRagMetadata(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchCreateRagMetadataRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagMetadataOperation, https://pkg.go.dev/builtin#error)

BatchCreateRagMetadata batch Create one or more RagMetadatas

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchCreateRagMetadataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchCreateRagMetadataRequest.
    	}
    	op, err := c.BatchCreateRagMetadata(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) BatchCreateRagMetadataOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) BatchCreateRagMetadataOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchCreateRagMetadataOperation

BatchCreateRagMetadataOperation returns a new BatchCreateRagMetadataOperation from a given name.
The name must be that of a previously created BatchCreateRagMetadataOperation, possibly from a different process.

### func (\*VertexRagDataClient) BatchDeleteRagDataSchemas

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) BatchDeleteRagDataSchemas(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchDeleteRagDataSchemasRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagDataSchemasOperation, https://pkg.go.dev/builtin#error)

BatchDeleteRagDataSchemas batch Deletes one or more RagDataSchemas

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchDeleteRagDataSchemasRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchDeleteRagDataSchemasRequest.
    	}
    	op, err := c.BatchDeleteRagDataSchemas(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagDataClient) BatchDeleteRagDataSchemasOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) BatchDeleteRagDataSchemasOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagDataSchemasOperation

BatchDeleteRagDataSchemasOperation returns a new BatchDeleteRagDataSchemasOperation from a given name.
The name must be that of a previously created BatchDeleteRagDataSchemasOperation, possibly from a different process.

### func (\*VertexRagDataClient) BatchDeleteRagMetadata

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) BatchDeleteRagMetadata(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_BatchDeleteRagMetadataRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagMetadataOperation, https://pkg.go.dev/builtin#error)

BatchDeleteRagMetadata batch Deletes one or more RagMetadata.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.BatchDeleteRagMetadataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#BatchDeleteRagMetadataRequest.
    	}
    	op, err := c.BatchDeleteRagMetadata(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagDataClient) BatchDeleteRagMetadataOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) BatchDeleteRagMetadataOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_BatchDeleteRagMetadataOperation

BatchDeleteRagMetadataOperation returns a new BatchDeleteRagMetadataOperation from a given name.
The name must be that of a previously created BatchDeleteRagMetadataOperation, possibly from a different process.

### func (\*VertexRagDataClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagDataClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

### func (\*VertexRagDataClient) Connection
(deprecated)

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) 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 (\*VertexRagDataClient) CreateRagCorpus

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) CreateRagCorpus(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateRagCorpusRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_CreateRagCorpusOperation, https://pkg.go.dev/builtin#error)

CreateRagCorpus creates a RagCorpus.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateRagCorpusRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateRagCorpusRequest.
    	}
    	op, err := c.CreateRagCorpus(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) CreateRagCorpusOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) CreateRagCorpusOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_CreateRagCorpusOperation

CreateRagCorpusOperation returns a new CreateRagCorpusOperation from a given name.
The name must be that of a previously created CreateRagCorpusOperation, possibly from a different process.

### func (\*VertexRagDataClient) CreateRagDataSchema

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) CreateRagDataSchema(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateRagDataSchemaRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagDataSchema, https://pkg.go.dev/builtin#error)

CreateRagDataSchema creates a RagDataSchema.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateRagDataSchemaRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateRagDataSchemaRequest.
    	}
    	resp, err := c.CreateRagDataSchema(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) CreateRagMetadata

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) CreateRagMetadata(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateRagMetadataRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagMetadata, https://pkg.go.dev/builtin#error)

CreateRagMetadata creates a RagMetadata.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateRagMetadataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateRagMetadataRequest.
    	}
    	resp, err := c.CreateRagMetadata(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagDataClient) DeleteRagCorpus

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) DeleteRagCorpus(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteRagCorpusRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagCorpusOperation, https://pkg.go.dev/builtin#error)

DeleteRagCorpus deletes a RagCorpus.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteRagCorpusRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteRagCorpusRequest.
    	}
    	op, err := c.DeleteRagCorpus(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagDataClient) DeleteRagCorpusOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) DeleteRagCorpusOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagCorpusOperation

DeleteRagCorpusOperation returns a new DeleteRagCorpusOperation from a given name.
The name must be that of a previously created DeleteRagCorpusOperation, possibly from a different process.

### func (\*VertexRagDataClient) DeleteRagDataSchema

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) DeleteRagDataSchema(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteRagDataSchemaRequest, 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

DeleteRagDataSchema deletes a RagDataSchema.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteRagDataSchemaRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteRagDataSchemaRequest.
    	}
    	err = c.DeleteRagDataSchema(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagDataClient) DeleteRagFile

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) DeleteRagFile(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteRagFileRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagFileOperation, https://pkg.go.dev/builtin#error)

DeleteRagFile deletes a RagFile.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteRagFileRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteRagFileRequest.
    	}
    	op, err := c.DeleteRagFile(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	err = op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagDataClient) DeleteRagFileOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) DeleteRagFileOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_DeleteRagFileOperation

DeleteRagFileOperation returns a new DeleteRagFileOperation from a given name.
The name must be that of a previously created DeleteRagFileOperation, possibly from a different process.

### func (\*VertexRagDataClient) DeleteRagMetadata

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) DeleteRagMetadata(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteRagMetadataRequest, 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

DeleteRagMetadata deletes a RagMetadata.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteRagMetadataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteRagMetadataRequest.
    	}
    	err = c.DeleteRagMetadata(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VertexRagDataClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*VertexRagDataClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) GetRagCorpus

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) GetRagCorpus(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetRagCorpusRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagCorpus, https://pkg.go.dev/builtin#error)

GetRagCorpus gets a RagCorpus.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetRagCorpusRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetRagCorpusRequest.
    	}
    	resp, err := c.GetRagCorpus(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) GetRagDataSchema

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) GetRagDataSchema(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetRagDataSchemaRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagDataSchema, https://pkg.go.dev/builtin#error)

GetRagDataSchema gets a RagDataSchema.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetRagDataSchemaRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetRagDataSchemaRequest.
    	}
    	resp, err := c.GetRagDataSchema(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) GetRagEngineConfig

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) GetRagEngineConfig(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetRagEngineConfigRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagEngineConfig, https://pkg.go.dev/builtin#error)

GetRagEngineConfig gets a RagEngineConfig.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetRagEngineConfigRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetRagEngineConfigRequest.
    	}
    	resp, err := c.GetRagEngineConfig(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) GetRagFile

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) GetRagFile(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetRagFileRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagFile, https://pkg.go.dev/builtin#error)

GetRagFile gets a RagFile.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetRagFileRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetRagFileRequest.
    	}
    	resp, err := c.GetRagFile(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) GetRagMetadata

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) GetRagMetadata(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetRagMetadataRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagMetadata, https://pkg.go.dev/builtin#error)

GetRagMetadata gets a RagMetadata.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetRagMetadataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetRagMetadataRequest.
    	}
    	resp, err := c.GetRagMetadata(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) ImportRagFiles

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) ImportRagFiles(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ImportRagFilesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_ImportRagFilesOperation, https://pkg.go.dev/builtin#error)

ImportRagFiles import files from Google Cloud Storage or Google Drive into a RagCorpus.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ImportRagFilesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ImportRagFilesRequest.
    	}
    	op, err := c.ImportRagFiles(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) ImportRagFilesOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) ImportRagFilesOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_ImportRagFilesOperation

ImportRagFilesOperation returns a new ImportRagFilesOperation from a given name.
The name must be that of a previously created ImportRagFilesOperation, possibly from a different process.

### func (\*VertexRagDataClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*VertexRagDataClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

ListOperations is a utility method from google.longrunning.Operations.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*VertexRagDataClient) ListRagCorpora

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) ListRagCorpora(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListRagCorporaRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagCorpusIterator

ListRagCorpora lists RagCorpora in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListRagCorporaRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListRagCorporaRequest.
    	}
    	it := c.ListRagCorpora(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.(*aiplatformpb.ListRagCorporaResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListRagCorporaRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListRagCorporaRequest.
    	}
    	for resp, err := range c.ListRagCorpora(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*VertexRagDataClient) ListRagDataSchemas

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) ListRagDataSchemas(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListRagDataSchemasRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagDataSchemaIterator

ListRagDataSchemas lists RagDataSchemas in a Location.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListRagDataSchemasRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListRagDataSchemasRequest.
    	}
    	it := c.ListRagDataSchemas(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.(*aiplatformpb.ListRagDataSchemasResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListRagDataSchemasRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListRagDataSchemasRequest.
    	}
    	for resp, err := range c.ListRagDataSchemas(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*VertexRagDataClient) ListRagFiles

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) ListRagFiles(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListRagFilesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagFileIterator

ListRagFiles lists RagFiles in a RagCorpus.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListRagFilesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListRagFilesRequest.
    	}
    	it := c.ListRagFiles(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.(*aiplatformpb.ListRagFilesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListRagFilesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListRagFilesRequest.
    	}
    	for resp, err := range c.ListRagFiles(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*VertexRagDataClient) ListRagMetadata

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) ListRagMetadata(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListRagMetadataRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_RagMetadataIterator

ListRagMetadata lists RagMetadata in a RagFile.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListRagMetadataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListRagMetadataRequest.
    	}
    	it := c.ListRagMetadata(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.(*aiplatformpb.ListRagMetadataResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListRagMetadataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListRagMetadataRequest.
    	}
    	for resp, err := range c.ListRagMetadata(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*VertexRagDataClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*VertexRagDataClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) UpdateRagCorpus

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) UpdateRagCorpus(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateRagCorpusRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagCorpusOperation, https://pkg.go.dev/builtin#error)

UpdateRagCorpus updates a RagCorpus.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateRagCorpusRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateRagCorpusRequest.
    	}
    	op, err := c.UpdateRagCorpus(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) UpdateRagCorpusOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) UpdateRagCorpusOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagCorpusOperation

UpdateRagCorpusOperation returns a new UpdateRagCorpusOperation from a given name.
The name must be that of a previously created UpdateRagCorpusOperation, possibly from a different process.

### func (\*VertexRagDataClient) UpdateRagEngineConfig

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) UpdateRagEngineConfig(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateRagEngineConfigRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagEngineConfigOperation, https://pkg.go.dev/builtin#error)

UpdateRagEngineConfig updates a RagEngineConfig.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateRagEngineConfigRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateRagEngineConfigRequest.
    	}
    	op, err := c.UpdateRagEngineConfig(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) UpdateRagEngineConfigOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) UpdateRagEngineConfigOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_UpdateRagEngineConfigOperation

UpdateRagEngineConfigOperation returns a new UpdateRagEngineConfigOperation from a given name.
The name must be that of a previously created UpdateRagEngineConfigOperation, possibly from a different process.

### func (\*VertexRagDataClient) UpdateRagMetadata

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) UpdateRagMetadata(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UpdateRagMetadataRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_RagMetadata, https://pkg.go.dev/builtin#error)

UpdateRagMetadata updates a RagMetadata.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UpdateRagMetadataRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UpdateRagMetadataRequest.
    	}
    	resp, err := c.UpdateRagMetadata(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) UploadRagFile

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) UploadRagFile(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UploadRagFileRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_UploadRagFileResponse, https://pkg.go.dev/builtin#error)

UploadRagFile upload a file into a RagCorpus.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.UploadRagFileRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#UploadRagFileRequest.
    	}
    	resp, err := c.UploadRagFile(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VertexRagDataClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient) WaitOperation(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#WaitOperationRequest, 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)

WaitOperation is a utility method from google.longrunning.Operations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VertexRagDataClient_NewVertexRagDataClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

## VizierCallOptions

    type VizierCallOptions struct {
    	CreateStudy                  []gax.CallOption
    	GetStudy                     []gax.CallOption
    	ListStudies                  []gax.CallOption
    	DeleteStudy                  []gax.CallOption
    	LookupStudy                  []gax.CallOption
    	SuggestTrials                []gax.CallOption
    	CreateTrial                  []gax.CallOption
    	GetTrial                     []gax.CallOption
    	ListTrials                   []gax.CallOption
    	AddTrialMeasurement          []gax.CallOption
    	CompleteTrial                []gax.CallOption
    	DeleteTrial                  []gax.CallOption
    	CheckTrialEarlyStoppingState []gax.CallOption
    	StopTrial                    []gax.CallOption
    	ListOptimalTrials            []gax.CallOption
    	GetLocation                  []gax.CallOption
    	ListLocations                []gax.CallOption
    	GetIamPolicy                 []gax.CallOption
    	SetIamPolicy                 []gax.CallOption
    	TestIamPermissions           []gax.CallOption
    	CancelOperation              []gax.CallOption
    	DeleteOperation              []gax.CallOption
    	GetOperation                 []gax.CallOption
    	ListOperations               []gax.CallOption
    	WaitOperation                []gax.CallOption
    }

VizierCallOptions contains the retry settings for each method of VizierClient.

## VizierClient

    type VizierClient struct {

    	// The call options for this service.
    	CallOptions *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierCallOptions

    	// 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
    }

VizierClient is a client for interacting with Vertex AI API.
Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Vertex AI Vizier API.

Vertex AI Vizier is a service to solve blackbox optimization problems,
such as tuning machine learning hyperparameters and searching over deep
learning architectures.

### func NewVizierClient

    func NewVizierClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient, https://pkg.go.dev/builtin#error)

NewVizierClient creates a new vizier service client based on gRPC.
The returned client must be Closed when it is done being used to clean up its underlying connections.

Vertex AI Vizier API.

Vertex AI Vizier is a service to solve blackbox optimization problems,
such as tuning machine learning hyperparameters and searching over deep
learning architectures.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func NewVizierRESTClient

    func NewVizierRESTClient(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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient, https://pkg.go.dev/builtin#error)

NewVizierRESTClient creates a new vizier service rest client.

Vertex AI Vizier API.

Vertex AI Vizier is a service to solve blackbox optimization problems,
such as tuning machine learning hyperparameters and searching over deep
learning architectures.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierRESTClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	// TODO: Use client.
    	_ = c
    }

### func (\*VizierClient) AddTrialMeasurement

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) AddTrialMeasurement(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_AddTrialMeasurementRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Trial, https://pkg.go.dev/builtin#error)

AddTrialMeasurement adds a measurement of the objective metrics to a Trial. This measurement
is assumed to have been taken before the Trial is complete.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.AddTrialMeasurementRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#AddTrialMeasurementRequest.
    	}
    	resp, err := c.AddTrialMeasurement(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) CancelOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_CancelOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VizierClient) CheckTrialEarlyStoppingState

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) CheckTrialEarlyStoppingState(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CheckTrialEarlyStoppingStateRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_CheckTrialEarlyStoppingStateOperation, https://pkg.go.dev/builtin#error)

CheckTrialEarlyStoppingState checks whether a Trial should stop or not. Returns a
long-running operation. When the operation is successful,
it will contain a
CheckTrialEarlyStoppingStateResponse.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CheckTrialEarlyStoppingStateRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CheckTrialEarlyStoppingStateRequest.
    	}
    	op, err := c.CheckTrialEarlyStoppingState(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) CheckTrialEarlyStoppingStateOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) CheckTrialEarlyStoppingStateOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_CheckTrialEarlyStoppingStateOperation

CheckTrialEarlyStoppingStateOperation returns a new CheckTrialEarlyStoppingStateOperation from a given name.
The name must be that of a previously created CheckTrialEarlyStoppingStateOperation, possibly from a different process.

### func (\*VizierClient) Close

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) Close() https://pkg.go.dev/builtin#error

Close closes the connection to the API service. The user should invoke this when
the client is no longer required.

### func (\*VizierClient) CompleteTrial

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) CompleteTrial(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CompleteTrialRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Trial, https://pkg.go.dev/builtin#error)

CompleteTrial marks a Trial as complete.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CompleteTrialRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CompleteTrialRequest.
    	}
    	resp, err := c.CompleteTrial(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) Connection
(deprecated)

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) 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 (\*VizierClient) CreateStudy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) CreateStudy(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateStudyRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Study, https://pkg.go.dev/builtin#error)

CreateStudy creates a Study. A resource name will be generated after creation of the
Study.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateStudyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateStudyRequest.
    	}
    	resp, err := c.CreateStudy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) CreateTrial

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) CreateTrial(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_CreateTrialRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Trial, https://pkg.go.dev/builtin#error)

CreateTrial adds a user provided Trial to a Study.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.CreateTrialRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#CreateTrialRequest.
    	}
    	resp, err := c.CreateTrial(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) DeleteOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_DeleteOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VizierClient) DeleteStudy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) DeleteStudy(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteStudyRequest, 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

DeleteStudy deletes a Study.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteStudyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteStudyRequest.
    	}
    	err = c.DeleteStudy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VizierClient) DeleteTrial

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) DeleteTrial(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_DeleteTrialRequest, 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

DeleteTrial deletes a Trial.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.DeleteTrialRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#DeleteTrialRequest.
    	}
    	err = c.DeleteTrial(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    }

### func (\*VizierClient) GetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) GetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_GetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_GetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) GetLocation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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 (\*VizierClient) GetOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) 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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_GetOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) GetStudy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) GetStudy(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetStudyRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Study, https://pkg.go.dev/builtin#error)

GetStudy gets a Study by name.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetStudyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetStudyRequest.
    	}
    	resp, err := c.GetStudy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) GetTrial

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) GetTrial(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_GetTrialRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Trial, https://pkg.go.dev/builtin#error)

GetTrial gets a Trial.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.GetTrialRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#GetTrialRequest.
    	}
    	resp, err := c.GetTrial(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) ListLocations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_LocationIterator

ListLocations lists information about the supported locations for this service.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &locationpb.ListLocationsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
    	}
    	it := c.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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.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 (\*VizierClient) ListOperations

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_OperationIterator

ListOperations is a utility method from google.longrunning.Operations.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_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 (\*VizierClient) ListOptimalTrials

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) ListOptimalTrials(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListOptimalTrialsRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListOptimalTrialsResponse, https://pkg.go.dev/builtin#error)

ListOptimalTrials lists the pareto-optimal Trials for multi-objective Study or the
optimal Trials for single-objective Study. The definition of
pareto-optimal can be checked in wiki page.
<https://en.wikipedia.org/wiki/Pareto_efficiency> (at <https://en.wikipedia.org/wiki/Pareto_efficiency>)

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListOptimalTrialsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListOptimalTrialsRequest.
    	}
    	resp, err := c.ListOptimalTrials(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) ListStudies

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) ListStudies(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListStudiesRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_StudyIterator

ListStudies lists all the studies in a region for an associated project.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListStudiesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListStudiesRequest.
    	}
    	it := c.ListStudies(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.(*aiplatformpb.ListStudiesResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListStudiesRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListStudiesRequest.
    	}
    	for resp, err := range c.ListStudies(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*VizierClient) ListTrials

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) ListTrials(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_ListTrialsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_TrialIterator

ListTrials lists the Trials associated with a Study.

#### Examples

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    	"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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTrialsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTrialsRequest.
    	}
    	it := c.ListTrials(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.(*aiplatformpb.ListTrialsResponse)
    	}
    }

##### all

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.ListTrialsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#ListTrialsRequest.
    	}
    	for resp, err := range c.ListTrials(ctx, req).All() {
    		if err != nil {
    			// TODO: Handle error and break/return/continue. Iteration will stop after any error.
    		}
    		// TODO: Use resp.
    		_ = resp
    	}
    }

### func (\*VizierClient) LookupStudy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) LookupStudy(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_LookupStudyRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Study, https://pkg.go.dev/builtin#error)

LookupStudy looks a study up using the user-defined display_name field instead of the
fully qualified resource name.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.LookupStudyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#LookupStudyRequest.
    	}
    	resp, err := c.LookupStudy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) SetGoogleClientInfo

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) SetGoogleClientInfo(keyval https://pkg.go.dev/builtin#string)

### func (\*VizierClient) SetIamPolicy

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) SetIamPolicy(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#Policy, https://pkg.go.dev/builtin#error)

SetIamPolicy sets the access control policy on the specified resource. Replaces
any existing policy.

Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_SetIamPolicyRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_SetIamPolicy(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) StopTrial

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) StopTrial(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_StopTrialRequest, 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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_Trial, https://pkg.go.dev/builtin#error)

StopTrial stops a Trial.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.StopTrialRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#StopTrialRequest.
    	}
    	resp, err := c.StopTrial(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) SuggestTrials

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) SuggestTrials(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/aiplatform/latest/apiv1beta1/aiplatformpb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1/aiplatformpb#cloud_google_com_go_aiplatform_apiv1beta1_aiplatformpb_SuggestTrialsRequest, 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/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_SuggestTrialsOperation, https://pkg.go.dev/builtin#error)

SuggestTrials adds one or more Trials to a Study, with parameter values
suggested by Vertex AI Vizier. Returns a long-running
operation associated with the generation of Trial suggestions.
When this long-running operation succeeds, it will contain
a
SuggestTrialsResponse.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"
    	aiplatformpb "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &aiplatformpb.SuggestTrialsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb#SuggestTrialsRequest.
    	}
    	op, err := c.SuggestTrials(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}

    	resp, err := op.Wait(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) SuggestTrialsOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) SuggestTrialsOperation(name https://pkg.go.dev/builtin#string) *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_SuggestTrialsOperation

SuggestTrialsOperation returns a new SuggestTrialsOperation from a given name.
The name must be that of a previously created SuggestTrialsOperation, possibly from a different process.

### func (\*VizierClient) TestIamPermissions

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) TestIamPermissions(ctx https://pkg.go.dev/context.https://pkg.go.dev/context#Context, req *https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest, 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/iam/apiv1/iampb.https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsResponse, https://pkg.go.dev/builtin#error)

TestIamPermissions returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	iampb "cloud.google.com/go/iam/apiv1/iampb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.Close()

    	req := &iampb.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_TestIamPermissionsRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/iam/latest/apiv1/iampb.html#cloud_google_com_go_iam_apiv1_iampb_UnimplementedIAMPolicyServer_TestIamPermissions(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }

### func (\*VizierClient) WaitOperation

    func (c *https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient) WaitOperation(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#WaitOperationRequest, 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)

WaitOperation is a utility method from google.longrunning.Operations.

#### Example

    package main

    import (
    	"context"

    	aiplatform "cloud.google.com/go/aiplatform/apiv1beta1"

    	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
    )

    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 := aiplatform.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/aiplatform/latest/apiv1beta1.html#cloud_google_com_go_aiplatform_apiv1beta1_VizierClient_NewVizierClient(ctx)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	defer c.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_WaitOperationRequest{
    		// TODO: Fill request struct fields.
    		// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#WaitOperationRequest.
    	}
    	resp, err := c.https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/longrunning/latest/autogen/longrunningpb.html#cloud_google_com_go_longrunning_autogen_longrunningpb_UnimplementedOperationsServer_WaitOperation(ctx, req)
    	if err != nil {
    		// TODO: Handle error.
    	}
    	// TODO: Use resp.
    	_ = resp
    }