Oracle Database@Google Cloud API v1 - Package cloud.google.com/go/oracledatabase/apiv1 (v0.6.0)

Beta

This library is covered by thePre-GA Offerings Terms 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 thelaunch stage descriptions.

Note: To get more information about this package, such as access to older versions, viewthis package on pkg.go.dev.

Package oracledatabase is an auto-generated package for theOracle Database@Google Cloud API.

The Oracle Database@Google Cloud API provides a set of APIs to manageOracle database services, such as Exadata and Autonomous Databases.

NOTE:Thispackageisinbeta.Itisnotstable,andmaybesubjecttochanges.

General documentation

For information that is relevant for all client libraries please referencehttps://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on thispage includes:

Example usage

To get started with this package, create a client.

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

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.

req:=&oracledatabasepb.CreateAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#CreateAutonomousDatabaseRequest.}op,err:=c.CreateAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp

Use of Context

The ctx passed to NewClient is used for authentication requests andfor 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

funcDefaultAuthScopes()[]string

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

AutonomousDatabaseBackupIterator

typeAutonomousDatabaseBackupIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.AutonomousDatabaseBackup,nextPageTokenstring,errerror)// contains filtered or unexported fields}

AutonomousDatabaseBackupIterator manages a stream of *oracledatabasepb.AutonomousDatabaseBackup.

func (*AutonomousDatabaseBackupIterator) All

func(it*AutonomousDatabaseBackupIterator)All()iter.Seq2[*oracledatabasepb.AutonomousDatabaseBackup,error]

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

func (*AutonomousDatabaseBackupIterator) Next

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

func (*AutonomousDatabaseBackupIterator) PageInfo

func(it*AutonomousDatabaseBackupIterator)PageInfo()*iterator.PageInfo

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

AutonomousDatabaseCharacterSetIterator

typeAutonomousDatabaseCharacterSetIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.AutonomousDatabaseCharacterSet,nextPageTokenstring,errerror)// contains filtered or unexported fields}

AutonomousDatabaseCharacterSetIterator manages a stream of *oracledatabasepb.AutonomousDatabaseCharacterSet.

func (*AutonomousDatabaseCharacterSetIterator) All

func(it*AutonomousDatabaseCharacterSetIterator)All()iter.Seq2[*oracledatabasepb.AutonomousDatabaseCharacterSet,error]

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

func (*AutonomousDatabaseCharacterSetIterator) Next

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

func (*AutonomousDatabaseCharacterSetIterator) PageInfo

func(it*AutonomousDatabaseCharacterSetIterator)PageInfo()*iterator.PageInfo

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

AutonomousDatabaseIterator

typeAutonomousDatabaseIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.AutonomousDatabase,nextPageTokenstring,errerror)// contains filtered or unexported fields}

AutonomousDatabaseIterator manages a stream of *oracledatabasepb.AutonomousDatabase.

func (*AutonomousDatabaseIterator) All

func(it*AutonomousDatabaseIterator)All()iter.Seq2[*oracledatabasepb.AutonomousDatabase,error]

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

func (*AutonomousDatabaseIterator) Next

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

func (*AutonomousDatabaseIterator) PageInfo

func(it*AutonomousDatabaseIterator)PageInfo()*iterator.PageInfo

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

AutonomousDbVersionIterator

typeAutonomousDbVersionIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.AutonomousDbVersion,nextPageTokenstring,errerror)// contains filtered or unexported fields}

AutonomousDbVersionIterator manages a stream of *oracledatabasepb.AutonomousDbVersion.

func (*AutonomousDbVersionIterator) All

func(it*AutonomousDbVersionIterator)All()iter.Seq2[*oracledatabasepb.AutonomousDbVersion,error]

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

func (*AutonomousDbVersionIterator) Next

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

func (*AutonomousDbVersionIterator) PageInfo

func(it*AutonomousDbVersionIterator)PageInfo()*iterator.PageInfo

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

CallOptions

typeCallOptionsstruct{ListCloudExadataInfrastructures[]gax.CallOptionGetCloudExadataInfrastructure[]gax.CallOptionCreateCloudExadataInfrastructure[]gax.CallOptionDeleteCloudExadataInfrastructure[]gax.CallOptionListCloudVmClusters[]gax.CallOptionGetCloudVmCluster[]gax.CallOptionCreateCloudVmCluster[]gax.CallOptionDeleteCloudVmCluster[]gax.CallOptionListEntitlements[]gax.CallOptionListDbServers[]gax.CallOptionListDbNodes[]gax.CallOptionListGiVersions[]gax.CallOptionListMinorVersions[]gax.CallOptionListDbSystemShapes[]gax.CallOptionListAutonomousDatabases[]gax.CallOptionGetAutonomousDatabase[]gax.CallOptionCreateAutonomousDatabase[]gax.CallOptionUpdateAutonomousDatabase[]gax.CallOptionDeleteAutonomousDatabase[]gax.CallOptionRestoreAutonomousDatabase[]gax.CallOptionGenerateAutonomousDatabaseWallet[]gax.CallOptionListAutonomousDbVersions[]gax.CallOptionListAutonomousDatabaseCharacterSets[]gax.CallOptionListAutonomousDatabaseBackups[]gax.CallOptionStopAutonomousDatabase[]gax.CallOptionStartAutonomousDatabase[]gax.CallOptionRestartAutonomousDatabase[]gax.CallOptionSwitchoverAutonomousDatabase[]gax.CallOptionFailoverAutonomousDatabase[]gax.CallOptionListOdbNetworks[]gax.CallOptionGetOdbNetwork[]gax.CallOptionCreateOdbNetwork[]gax.CallOptionDeleteOdbNetwork[]gax.CallOptionListOdbSubnets[]gax.CallOptionGetOdbSubnet[]gax.CallOptionCreateOdbSubnet[]gax.CallOptionDeleteOdbSubnet[]gax.CallOptionListExadbVmClusters[]gax.CallOptionGetExadbVmCluster[]gax.CallOptionCreateExadbVmCluster[]gax.CallOptionDeleteExadbVmCluster[]gax.CallOptionUpdateExadbVmCluster[]gax.CallOptionRemoveVirtualMachineExadbVmCluster[]gax.CallOptionListExascaleDbStorageVaults[]gax.CallOptionGetExascaleDbStorageVault[]gax.CallOptionCreateExascaleDbStorageVault[]gax.CallOptionDeleteExascaleDbStorageVault[]gax.CallOptionListDbSystemInitialStorageSizes[]gax.CallOptionListDatabases[]gax.CallOptionGetDatabase[]gax.CallOptionListPluggableDatabases[]gax.CallOptionGetPluggableDatabase[]gax.CallOptionListDbSystems[]gax.CallOptionGetDbSystem[]gax.CallOptionCreateDbSystem[]gax.CallOptionDeleteDbSystem[]gax.CallOptionListDbVersions[]gax.CallOptionListDatabaseCharacterSets[]gax.CallOptionGetLocation[]gax.CallOptionListLocations[]gax.CallOptionCancelOperation[]gax.CallOptionDeleteOperation[]gax.CallOptionGetOperation[]gax.CallOptionListOperations[]gax.CallOption}

CallOptions contains the retry settings for each method of Client.

Client

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

Client is a client for interacting with Oracle Database@Google Cloud API.Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service describing handlers for resources

func NewClient

funcNewClient(ctxcontext.Context,opts...option.ClientOption)(*Client,error)

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

Service describing handlers for resources

Example

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

func NewRESTClient

funcNewRESTClient(ctxcontext.Context,opts...option.ClientOption)(*Client,error)

NewRESTClient creates a new oracle database rest client.

Service describing handlers for resources

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewRESTClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()// TODO: Use client._=c}

func (*Client) CancelOperation

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

Example

packagemainimport("context"longrunningpb"cloud.google.com/go/longrunning/autogen/longrunningpb"oracledatabase"cloud.google.com/go/oracledatabase/apiv1")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&longrunningpb.CancelOperationRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#CancelOperationRequest.}err=c.CancelOperation(ctx,req)iferr!=nil{// TODO: Handle error.}}

func (*Client) Close

func(c*Client)Close()error

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

func (*Client) Connection (deprecated)

func(c*Client)Connection()*grpc.ClientConn

Connection returns a connection to the API service.

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

func (*Client) CreateAutonomousDatabase

CreateAutonomousDatabase creates a new Autonomous Database in a given project and location.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.CreateAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#CreateAutonomousDatabaseRequest.}op,err:=c.CreateAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateAutonomousDatabaseOperation

func(c*Client)CreateAutonomousDatabaseOperation(namestring)*CreateAutonomousDatabaseOperation

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

func (*Client) CreateCloudExadataInfrastructure

CreateCloudExadataInfrastructure creates a new Exadata Infrastructure in a given project and location.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.CreateCloudExadataInfrastructureRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#CreateCloudExadataInfrastructureRequest.}op,err:=c.CreateCloudExadataInfrastructure(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateCloudExadataInfrastructureOperation

func(c*Client)CreateCloudExadataInfrastructureOperation(namestring)*CreateCloudExadataInfrastructureOperation

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

func (*Client) CreateCloudVmCluster

CreateCloudVmCluster creates a new VM Cluster in a given project and location.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.CreateCloudVmClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#CreateCloudVmClusterRequest.}op,err:=c.CreateCloudVmCluster(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateCloudVmClusterOperation

func(c*Client)CreateCloudVmClusterOperation(namestring)*CreateCloudVmClusterOperation

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

func (*Client) CreateDbSystem

CreateDbSystem creates a new DbSystem in a given project and location.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.CreateDbSystemRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#CreateDbSystemRequest.}op,err:=c.CreateDbSystem(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateDbSystemOperation

func(c*Client)CreateDbSystemOperation(namestring)*CreateDbSystemOperation

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

func (*Client) CreateExadbVmCluster

CreateExadbVmCluster creates a new Exadb (Exascale) VM Cluster resource.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.CreateExadbVmClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#CreateExadbVmClusterRequest.}op,err:=c.CreateExadbVmCluster(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateExadbVmClusterOperation

func(c*Client)CreateExadbVmClusterOperation(namestring)*CreateExadbVmClusterOperation

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

func (*Client) CreateExascaleDbStorageVault

CreateExascaleDbStorageVault creates a new ExascaleDB Storage Vault resource.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.CreateExascaleDbStorageVaultRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#CreateExascaleDbStorageVaultRequest.}op,err:=c.CreateExascaleDbStorageVault(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateExascaleDbStorageVaultOperation

func(c*Client)CreateExascaleDbStorageVaultOperation(namestring)*CreateExascaleDbStorageVaultOperation

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

func (*Client) CreateOdbNetwork

CreateOdbNetwork creates a new ODB Network in a given project and location.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.CreateOdbNetworkRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#CreateOdbNetworkRequest.}op,err:=c.CreateOdbNetwork(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateOdbNetworkOperation

func(c*Client)CreateOdbNetworkOperation(namestring)*CreateOdbNetworkOperation

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

func (*Client) CreateOdbSubnet

CreateOdbSubnet creates a new ODB Subnet in a given ODB Network.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.CreateOdbSubnetRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#CreateOdbSubnetRequest.}op,err:=c.CreateOdbSubnet(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateOdbSubnetOperation

func(c*Client)CreateOdbSubnetOperation(namestring)*CreateOdbSubnetOperation

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

func (*Client) DeleteAutonomousDatabase

DeleteAutonomousDatabase deletes a single Autonomous Database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.DeleteAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#DeleteAutonomousDatabaseRequest.}op,err:=c.DeleteAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteAutonomousDatabaseOperation

func(c*Client)DeleteAutonomousDatabaseOperation(namestring)*DeleteAutonomousDatabaseOperation

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

func (*Client) DeleteCloudExadataInfrastructure

DeleteCloudExadataInfrastructure deletes a single Exadata Infrastructure.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.DeleteCloudExadataInfrastructureRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#DeleteCloudExadataInfrastructureRequest.}op,err:=c.DeleteCloudExadataInfrastructure(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteCloudExadataInfrastructureOperation

func(c*Client)DeleteCloudExadataInfrastructureOperation(namestring)*DeleteCloudExadataInfrastructureOperation

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

func (*Client) DeleteCloudVmCluster

DeleteCloudVmCluster deletes a single VM Cluster.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.DeleteCloudVmClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#DeleteCloudVmClusterRequest.}op,err:=c.DeleteCloudVmCluster(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteCloudVmClusterOperation

func(c*Client)DeleteCloudVmClusterOperation(namestring)*DeleteCloudVmClusterOperation

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

func (*Client) DeleteDbSystem

DeleteDbSystem deletes a single DbSystem.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.DeleteDbSystemRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#DeleteDbSystemRequest.}op,err:=c.DeleteDbSystem(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteDbSystemOperation

func(c*Client)DeleteDbSystemOperation(namestring)*DeleteDbSystemOperation

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

func (*Client) DeleteExadbVmCluster

DeleteExadbVmCluster deletes a single Exadb (Exascale) VM Cluster.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.DeleteExadbVmClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#DeleteExadbVmClusterRequest.}op,err:=c.DeleteExadbVmCluster(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteExadbVmClusterOperation

func(c*Client)DeleteExadbVmClusterOperation(namestring)*DeleteExadbVmClusterOperation

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

func (*Client) DeleteExascaleDbStorageVault

DeleteExascaleDbStorageVault deletes a single ExascaleDB Storage Vault.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.DeleteExascaleDbStorageVaultRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#DeleteExascaleDbStorageVaultRequest.}op,err:=c.DeleteExascaleDbStorageVault(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteExascaleDbStorageVaultOperation

func(c*Client)DeleteExascaleDbStorageVaultOperation(namestring)*DeleteExascaleDbStorageVaultOperation

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

func (*Client) DeleteOdbNetwork

DeleteOdbNetwork deletes a single ODB Network.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.DeleteOdbNetworkRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#DeleteOdbNetworkRequest.}op,err:=c.DeleteOdbNetwork(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteOdbNetworkOperation

func(c*Client)DeleteOdbNetworkOperation(namestring)*DeleteOdbNetworkOperation

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

func (*Client) DeleteOdbSubnet

DeleteOdbSubnet deletes a single ODB Subnet.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.DeleteOdbSubnetRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#DeleteOdbSubnetRequest.}op,err:=c.DeleteOdbSubnet(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteOdbSubnetOperation

func(c*Client)DeleteOdbSubnetOperation(namestring)*DeleteOdbSubnetOperation

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

func (*Client) DeleteOperation

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

Example

packagemainimport("context"longrunningpb"cloud.google.com/go/longrunning/autogen/longrunningpb"oracledatabase"cloud.google.com/go/oracledatabase/apiv1")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&longrunningpb.DeleteOperationRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#DeleteOperationRequest.}err=c.DeleteOperation(ctx,req)iferr!=nil{// TODO: Handle error.}}

func (*Client) FailoverAutonomousDatabase

FailoverAutonomousDatabase initiates a failover to target autonomous database from the associatedprimary database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.FailoverAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#FailoverAutonomousDatabaseRequest.}op,err:=c.FailoverAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) FailoverAutonomousDatabaseOperation

func(c*Client)FailoverAutonomousDatabaseOperation(namestring)*FailoverAutonomousDatabaseOperation

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

func (*Client) GenerateAutonomousDatabaseWallet

GenerateAutonomousDatabaseWallet generates a wallet for an Autonomous Database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GenerateAutonomousDatabaseWalletRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GenerateAutonomousDatabaseWalletRequest.}resp,err:=c.GenerateAutonomousDatabaseWallet(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetAutonomousDatabase

GetAutonomousDatabase gets the details of a single Autonomous Database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetAutonomousDatabaseRequest.}resp,err:=c.GetAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetCloudExadataInfrastructure

GetCloudExadataInfrastructure gets details of a single Exadata Infrastructure.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetCloudExadataInfrastructureRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetCloudExadataInfrastructureRequest.}resp,err:=c.GetCloudExadataInfrastructure(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetCloudVmCluster

GetCloudVmCluster gets details of a single VM Cluster.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetCloudVmClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetCloudVmClusterRequest.}resp,err:=c.GetCloudVmCluster(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetDatabase

GetDatabase gets details of a single Database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetDatabaseRequest.}resp,err:=c.GetDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetDbSystem

GetDbSystem gets details of a single DbSystem.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetDbSystemRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetDbSystemRequest.}resp,err:=c.GetDbSystem(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetExadbVmCluster

GetExadbVmCluster gets details of a single Exadb (Exascale) VM Cluster.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetExadbVmClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetExadbVmClusterRequest.}resp,err:=c.GetExadbVmCluster(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetExascaleDbStorageVault

GetExascaleDbStorageVault gets details of a single ExascaleDB Storage Vault.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetExascaleDbStorageVaultRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetExascaleDbStorageVaultRequest.}resp,err:=c.GetExascaleDbStorageVault(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetLocation

GetLocation gets information about a location.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"locationpb"google.golang.org/genproto/googleapis/cloud/location")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.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)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetOdbNetwork

GetOdbNetwork gets details of a single ODB Network.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetOdbNetworkRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetOdbNetworkRequest.}resp,err:=c.GetOdbNetwork(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetOdbSubnet

GetOdbSubnet gets details of a single ODB Subnet.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetOdbSubnetRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetOdbSubnetRequest.}resp,err:=c.GetOdbSubnet(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetOperation

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

Example

packagemainimport("context"longrunningpb"cloud.google.com/go/longrunning/autogen/longrunningpb"oracledatabase"cloud.google.com/go/oracledatabase/apiv1")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&longrunningpb.GetOperationRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#GetOperationRequest.}resp,err:=c.GetOperation(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetPluggableDatabase

GetPluggableDatabase gets details of a single PluggableDatabase.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.GetPluggableDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#GetPluggableDatabaseRequest.}resp,err:=c.GetPluggableDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) ListAutonomousDatabaseBackups

ListAutonomousDatabaseBackups lists the long-term and automatic backups of an Autonomous Database.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListAutonomousDatabaseBackupsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListAutonomousDatabaseBackupsRequest.}it:=c.ListAutonomousDatabaseBackups(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListAutonomousDatabaseBackupsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListAutonomousDatabaseBackupsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListAutonomousDatabaseBackupsRequest.}forresp,err:=rangec.ListAutonomousDatabaseBackups(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListAutonomousDatabaseCharacterSets

ListAutonomousDatabaseCharacterSets lists Autonomous Database Character Sets in a given project and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListAutonomousDatabaseCharacterSetsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListAutonomousDatabaseCharacterSetsRequest.}it:=c.ListAutonomousDatabaseCharacterSets(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListAutonomousDatabaseCharacterSetsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListAutonomousDatabaseCharacterSetsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListAutonomousDatabaseCharacterSetsRequest.}forresp,err:=rangec.ListAutonomousDatabaseCharacterSets(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListAutonomousDatabases

ListAutonomousDatabases lists the Autonomous Databases in a given project and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListAutonomousDatabasesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListAutonomousDatabasesRequest.}it:=c.ListAutonomousDatabases(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListAutonomousDatabasesResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListAutonomousDatabasesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListAutonomousDatabasesRequest.}forresp,err:=rangec.ListAutonomousDatabases(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListAutonomousDbVersions

ListAutonomousDbVersions lists all the available Autonomous Database versions for a project andlocation.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListAutonomousDbVersionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListAutonomousDbVersionsRequest.}it:=c.ListAutonomousDbVersions(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListAutonomousDbVersionsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListAutonomousDbVersionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListAutonomousDbVersionsRequest.}forresp,err:=rangec.ListAutonomousDbVersions(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListCloudExadataInfrastructures

ListCloudExadataInfrastructures lists Exadata Infrastructures in a given project and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListCloudExadataInfrastructuresRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListCloudExadataInfrastructuresRequest.}it:=c.ListCloudExadataInfrastructures(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListCloudExadataInfrastructuresResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListCloudExadataInfrastructuresRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListCloudExadataInfrastructuresRequest.}forresp,err:=rangec.ListCloudExadataInfrastructures(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListCloudVmClusters

ListCloudVmClusters lists the VM Clusters in a given project and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListCloudVmClustersRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListCloudVmClustersRequest.}it:=c.ListCloudVmClusters(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListCloudVmClustersResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListCloudVmClustersRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListCloudVmClustersRequest.}forresp,err:=rangec.ListCloudVmClusters(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDatabaseCharacterSets

ListDatabaseCharacterSets list DatabaseCharacterSets for the given project and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDatabaseCharacterSetsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDatabaseCharacterSetsRequest.}it:=c.ListDatabaseCharacterSets(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListDatabaseCharacterSetsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDatabaseCharacterSetsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDatabaseCharacterSetsRequest.}forresp,err:=rangec.ListDatabaseCharacterSets(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDatabases

ListDatabases lists all the Databases for the given project, location and DbSystem.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDatabasesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDatabasesRequest.}it:=c.ListDatabases(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListDatabasesResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDatabasesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDatabasesRequest.}forresp,err:=rangec.ListDatabases(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDbNodes

ListDbNodes lists the database nodes of a VM Cluster.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbNodesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbNodesRequest.}it:=c.ListDbNodes(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListDbNodesResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbNodesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbNodesRequest.}forresp,err:=rangec.ListDbNodes(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDbServers

ListDbServers lists the database servers of an Exadata Infrastructure instance.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbServersRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbServersRequest.}it:=c.ListDbServers(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListDbServersResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbServersRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbServersRequest.}forresp,err:=rangec.ListDbServers(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDbSystemInitialStorageSizes

ListDbSystemInitialStorageSizes lists all the DbSystemInitialStorageSizes for the given project andlocation.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbSystemInitialStorageSizesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbSystemInitialStorageSizesRequest.}it:=c.ListDbSystemInitialStorageSizes(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListDbSystemInitialStorageSizesResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbSystemInitialStorageSizesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbSystemInitialStorageSizesRequest.}forresp,err:=rangec.ListDbSystemInitialStorageSizes(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDbSystemShapes

ListDbSystemShapes lists the database system shapes available for the project and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbSystemShapesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbSystemShapesRequest.}it:=c.ListDbSystemShapes(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListDbSystemShapesResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbSystemShapesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbSystemShapesRequest.}forresp,err:=rangec.ListDbSystemShapes(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDbSystems

ListDbSystems lists all the DbSystems for the given project and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbSystemsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbSystemsRequest.}it:=c.ListDbSystems(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListDbSystemsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbSystemsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbSystemsRequest.}forresp,err:=rangec.ListDbSystems(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDbVersions

ListDbVersions list DbVersions for the given project and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbVersionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbVersionsRequest.}it:=c.ListDbVersions(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListDbVersionsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListDbVersionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListDbVersionsRequest.}forresp,err:=rangec.ListDbVersions(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListEntitlements

ListEntitlements lists the entitlements in a given project.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListEntitlementsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListEntitlementsRequest.}it:=c.ListEntitlements(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListEntitlementsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListEntitlementsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListEntitlementsRequest.}forresp,err:=rangec.ListEntitlements(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListExadbVmClusters

ListExadbVmClusters lists all the Exadb (Exascale) VM Clusters for the given project andlocation.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListExadbVmClustersRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListExadbVmClustersRequest.}it:=c.ListExadbVmClusters(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListExadbVmClustersResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListExadbVmClustersRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListExadbVmClustersRequest.}forresp,err:=rangec.ListExadbVmClusters(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListExascaleDbStorageVaults

ListExascaleDbStorageVaults lists all the ExascaleDB Storage Vaults for the given project andlocation.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListExascaleDbStorageVaultsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListExascaleDbStorageVaultsRequest.}it:=c.ListExascaleDbStorageVaults(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListExascaleDbStorageVaultsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListExascaleDbStorageVaultsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListExascaleDbStorageVaultsRequest.}forresp,err:=rangec.ListExascaleDbStorageVaults(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListGiVersions

ListGiVersions lists all the valid Oracle Grid Infrastructure (GI) versions for the givenproject and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListGiVersionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListGiVersionsRequest.}it:=c.ListGiVersions(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListGiVersionsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListGiVersionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListGiVersionsRequest.}forresp,err:=rangec.ListGiVersions(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListLocations

ListLocations lists information about the supported locations for this service.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1""google.golang.org/api/iterator"locationpb"google.golang.org/genproto/googleapis/cloud/location")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.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()iferr==iterator.Done{break}iferr!=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
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"locationpb"google.golang.org/genproto/googleapis/cloud/location")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&locationpb.ListLocationsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.}forresp,err:=rangec.ListLocations(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListMinorVersions

ListMinorVersions lists all the valid minor versions for the givenproject, location, gi version and shape family.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListMinorVersionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListMinorVersionsRequest.}it:=c.ListMinorVersions(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListMinorVersionsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListMinorVersionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListMinorVersionsRequest.}forresp,err:=rangec.ListMinorVersions(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListOdbNetworks

ListOdbNetworks lists the ODB Networks in a given project and location.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListOdbNetworksRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListOdbNetworksRequest.}it:=c.ListOdbNetworks(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListOdbNetworksResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListOdbNetworksRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListOdbNetworksRequest.}forresp,err:=rangec.ListOdbNetworks(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListOdbSubnets

ListOdbSubnets lists all the ODB Subnets in a given ODB Network.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListOdbSubnetsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListOdbSubnetsRequest.}it:=c.ListOdbSubnets(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListOdbSubnetsResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListOdbSubnetsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListOdbSubnetsRequest.}forresp,err:=rangec.ListOdbSubnets(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListOperations

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

Examples

packagemainimport("context"longrunningpb"cloud.google.com/go/longrunning/autogen/longrunningpb"oracledatabase"cloud.google.com/go/oracledatabase/apiv1""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&longrunningpb.ListOperationsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#ListOperationsRequest.}it:=c.ListOperations(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.ListOperationsResponse)}}
all
packagemainimport("context"longrunningpb"cloud.google.com/go/longrunning/autogen/longrunningpb"oracledatabase"cloud.google.com/go/oracledatabase/apiv1")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&longrunningpb.ListOperationsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#ListOperationsRequest.}forresp,err:=rangec.ListOperations(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListPluggableDatabases

ListPluggableDatabases lists all the PluggableDatabases for the given project, location andContainer Database.

Examples

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb""google.golang.org/api/iterator")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListPluggableDatabasesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListPluggableDatabasesRequest.}it:=c.ListPluggableDatabases(ctx,req)for{resp,err:=it.Next()iferr==iterator.Done{break}iferr!=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.(*oracledatabasepb.ListPluggableDatabasesResponse)}}
all
packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.ListPluggableDatabasesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#ListPluggableDatabasesRequest.}forresp,err:=rangec.ListPluggableDatabases(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) RemoveVirtualMachineExadbVmCluster

RemoveVirtualMachineExadbVmCluster removes virtual machines from an existing exadb vm cluster.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.RemoveVirtualMachineExadbVmClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#RemoveVirtualMachineExadbVmClusterRequest.}op,err:=c.RemoveVirtualMachineExadbVmCluster(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) RemoveVirtualMachineExadbVmClusterOperation

func(c*Client)RemoveVirtualMachineExadbVmClusterOperation(namestring)*RemoveVirtualMachineExadbVmClusterOperation

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

func (*Client) RestartAutonomousDatabase

RestartAutonomousDatabase restarts an Autonomous Database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.RestartAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#RestartAutonomousDatabaseRequest.}op,err:=c.RestartAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) RestartAutonomousDatabaseOperation

func(c*Client)RestartAutonomousDatabaseOperation(namestring)*RestartAutonomousDatabaseOperation

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

func (*Client) RestoreAutonomousDatabase

RestoreAutonomousDatabase restores a single Autonomous Database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.RestoreAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#RestoreAutonomousDatabaseRequest.}op,err:=c.RestoreAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) RestoreAutonomousDatabaseOperation

func(c*Client)RestoreAutonomousDatabaseOperation(namestring)*RestoreAutonomousDatabaseOperation

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

func (*Client) StartAutonomousDatabase

StartAutonomousDatabase starts an Autonomous Database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.StartAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#StartAutonomousDatabaseRequest.}op,err:=c.StartAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) StartAutonomousDatabaseOperation

func(c*Client)StartAutonomousDatabaseOperation(namestring)*StartAutonomousDatabaseOperation

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

func (*Client) StopAutonomousDatabase

StopAutonomousDatabase stops an Autonomous Database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.StopAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#StopAutonomousDatabaseRequest.}op,err:=c.StopAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) StopAutonomousDatabaseOperation

func(c*Client)StopAutonomousDatabaseOperation(namestring)*StopAutonomousDatabaseOperation

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

func (*Client) SwitchoverAutonomousDatabase

SwitchoverAutonomousDatabase initiates a switchover of specified autonomous database to the associatedpeer database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.SwitchoverAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#SwitchoverAutonomousDatabaseRequest.}op,err:=c.SwitchoverAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) SwitchoverAutonomousDatabaseOperation

func(c*Client)SwitchoverAutonomousDatabaseOperation(namestring)*SwitchoverAutonomousDatabaseOperation

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

func (*Client) UpdateAutonomousDatabase

UpdateAutonomousDatabase updates the parameters of a single Autonomous Database.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.UpdateAutonomousDatabaseRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#UpdateAutonomousDatabaseRequest.}op,err:=c.UpdateAutonomousDatabase(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) UpdateAutonomousDatabaseOperation

func(c*Client)UpdateAutonomousDatabaseOperation(namestring)*UpdateAutonomousDatabaseOperation

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

func (*Client) UpdateExadbVmCluster

UpdateExadbVmCluster updates a single Exadb (Exascale) VM Cluster. To add virtual machines toexisting exadb vm cluster, only pass the node count.

Example

packagemainimport("context"oracledatabase"cloud.google.com/go/oracledatabase/apiv1"oracledatabasepb"cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb")funcmain(){ctx:=context.Background()// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in://   https://pkg.go.dev/cloud.google.com/go#hdr-Client_Optionsc,err:=oracledatabase.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&oracledatabasepb.UpdateExadbVmClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/oracledatabase/apiv1/oracledatabasepb#UpdateExadbVmClusterRequest.}op,err:=c.UpdateExadbVmCluster(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) UpdateExadbVmClusterOperation

func(c*Client)UpdateExadbVmClusterOperation(namestring)*UpdateExadbVmClusterOperation

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

CloudExadataInfrastructureIterator

typeCloudExadataInfrastructureIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.CloudExadataInfrastructure,nextPageTokenstring,errerror)// contains filtered or unexported fields}

CloudExadataInfrastructureIterator manages a stream of *oracledatabasepb.CloudExadataInfrastructure.

func (*CloudExadataInfrastructureIterator) All

func(it*CloudExadataInfrastructureIterator)All()iter.Seq2[*oracledatabasepb.CloudExadataInfrastructure,error]

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

func (*CloudExadataInfrastructureIterator) Next

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

func (*CloudExadataInfrastructureIterator) PageInfo

func(it*CloudExadataInfrastructureIterator)PageInfo()*iterator.PageInfo

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

CloudVmClusterIterator

typeCloudVmClusterIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.CloudVmCluster,nextPageTokenstring,errerror)// contains filtered or unexported fields}

CloudVmClusterIterator manages a stream of *oracledatabasepb.CloudVmCluster.

func (*CloudVmClusterIterator) All

func(it*CloudVmClusterIterator)All()iter.Seq2[*oracledatabasepb.CloudVmCluster,error]

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

func (*CloudVmClusterIterator) Next

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

func (*CloudVmClusterIterator) PageInfo

func(it*CloudVmClusterIterator)PageInfo()*iterator.PageInfo

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

CreateAutonomousDatabaseOperation

typeCreateAutonomousDatabaseOperationstruct{// contains filtered or unexported fields}

CreateAutonomousDatabaseOperation manages a long-running operation from CreateAutonomousDatabase.

func (*CreateAutonomousDatabaseOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateAutonomousDatabaseOperation) Metadata

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 (*CreateAutonomousDatabaseOperation) Name

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 (*CreateAutonomousDatabaseOperation) Poll

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 andthe 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 (*CreateAutonomousDatabaseOperation) Wait

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

See documentation of Poll for error-handling information.

CreateCloudExadataInfrastructureOperation

typeCreateCloudExadataInfrastructureOperationstruct{// contains filtered or unexported fields}

CreateCloudExadataInfrastructureOperation manages a long-running operation from CreateCloudExadataInfrastructure.

func (*CreateCloudExadataInfrastructureOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateCloudExadataInfrastructureOperation) Metadata

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 (*CreateCloudExadataInfrastructureOperation) Name

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 (*CreateCloudExadataInfrastructureOperation) Poll

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 andthe 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 (*CreateCloudExadataInfrastructureOperation) Wait

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

See documentation of Poll for error-handling information.

CreateCloudVmClusterOperation

typeCreateCloudVmClusterOperationstruct{// contains filtered or unexported fields}

CreateCloudVmClusterOperation manages a long-running operation from CreateCloudVmCluster.

func (*CreateCloudVmClusterOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateCloudVmClusterOperation) Metadata

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 (*CreateCloudVmClusterOperation) Name

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 (*CreateCloudVmClusterOperation) Poll

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 andthe 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 (*CreateCloudVmClusterOperation) Wait

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

See documentation of Poll for error-handling information.

CreateDbSystemOperation

typeCreateDbSystemOperationstruct{// contains filtered or unexported fields}

CreateDbSystemOperation manages a long-running operation from CreateDbSystem.

func (*CreateDbSystemOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateDbSystemOperation) Metadata

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 (*CreateDbSystemOperation) Name

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 (*CreateDbSystemOperation) Poll

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 andthe 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 (*CreateDbSystemOperation) Wait

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

See documentation of Poll for error-handling information.

CreateExadbVmClusterOperation

typeCreateExadbVmClusterOperationstruct{// contains filtered or unexported fields}

CreateExadbVmClusterOperation manages a long-running operation from CreateExadbVmCluster.

func (*CreateExadbVmClusterOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateExadbVmClusterOperation) Metadata

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 (*CreateExadbVmClusterOperation) Name

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 (*CreateExadbVmClusterOperation) Poll

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 andthe 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 (*CreateExadbVmClusterOperation) Wait

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

See documentation of Poll for error-handling information.

CreateExascaleDbStorageVaultOperation

typeCreateExascaleDbStorageVaultOperationstruct{// contains filtered or unexported fields}

CreateExascaleDbStorageVaultOperation manages a long-running operation from CreateExascaleDbStorageVault.

func (*CreateExascaleDbStorageVaultOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateExascaleDbStorageVaultOperation) Metadata

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 (*CreateExascaleDbStorageVaultOperation) Name

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 (*CreateExascaleDbStorageVaultOperation) Poll

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 andthe 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 (*CreateExascaleDbStorageVaultOperation) Wait

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

See documentation of Poll for error-handling information.

CreateOdbNetworkOperation

typeCreateOdbNetworkOperationstruct{// contains filtered or unexported fields}

CreateOdbNetworkOperation manages a long-running operation from CreateOdbNetwork.

func (*CreateOdbNetworkOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateOdbNetworkOperation) Metadata

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 (*CreateOdbNetworkOperation) Name

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 (*CreateOdbNetworkOperation) Poll

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 andthe 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 (*CreateOdbNetworkOperation) Wait

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

See documentation of Poll for error-handling information.

CreateOdbSubnetOperation

typeCreateOdbSubnetOperationstruct{// contains filtered or unexported fields}

CreateOdbSubnetOperation manages a long-running operation from CreateOdbSubnet.

func (*CreateOdbSubnetOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateOdbSubnetOperation) Metadata

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 (*CreateOdbSubnetOperation) Name

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 (*CreateOdbSubnetOperation) Poll

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 andthe 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 (*CreateOdbSubnetOperation) Wait

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

See documentation of Poll for error-handling information.

DatabaseCharacterSetIterator

typeDatabaseCharacterSetIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.DatabaseCharacterSet,nextPageTokenstring,errerror)// contains filtered or unexported fields}

DatabaseCharacterSetIterator manages a stream of *oracledatabasepb.DatabaseCharacterSet.

func (*DatabaseCharacterSetIterator) All

func(it*DatabaseCharacterSetIterator)All()iter.Seq2[*oracledatabasepb.DatabaseCharacterSet,error]

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

func (*DatabaseCharacterSetIterator) Next

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

func (*DatabaseCharacterSetIterator) PageInfo

func(it*DatabaseCharacterSetIterator)PageInfo()*iterator.PageInfo

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

DatabaseIterator

typeDatabaseIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.Database,nextPageTokenstring,errerror)// contains filtered or unexported fields}

DatabaseIterator manages a stream of *oracledatabasepb.Database.

func (*DatabaseIterator) All

func(it*DatabaseIterator)All()iter.Seq2[*oracledatabasepb.Database,error]

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

func (*DatabaseIterator) Next

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

func (*DatabaseIterator) PageInfo

func(it*DatabaseIterator)PageInfo()*iterator.PageInfo

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

DbNodeIterator

typeDbNodeIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.DbNode,nextPageTokenstring,errerror)// contains filtered or unexported fields}

DbNodeIterator manages a stream of *oracledatabasepb.DbNode.

func (*DbNodeIterator) All

func(it*DbNodeIterator)All()iter.Seq2[*oracledatabasepb.DbNode,error]

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

func (*DbNodeIterator) Next

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

func (*DbNodeIterator) PageInfo

func(it*DbNodeIterator)PageInfo()*iterator.PageInfo

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

DbServerIterator

typeDbServerIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.DbServer,nextPageTokenstring,errerror)// contains filtered or unexported fields}

DbServerIterator manages a stream of *oracledatabasepb.DbServer.

func (*DbServerIterator) All

func(it*DbServerIterator)All()iter.Seq2[*oracledatabasepb.DbServer,error]

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

func (*DbServerIterator) Next

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

func (*DbServerIterator) PageInfo

func(it*DbServerIterator)PageInfo()*iterator.PageInfo

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

DbSystemInitialStorageSizeIterator

typeDbSystemInitialStorageSizeIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.DbSystemInitialStorageSize,nextPageTokenstring,errerror)// contains filtered or unexported fields}

DbSystemInitialStorageSizeIterator manages a stream of *oracledatabasepb.DbSystemInitialStorageSize.

func (*DbSystemInitialStorageSizeIterator) All

func(it*DbSystemInitialStorageSizeIterator)All()iter.Seq2[*oracledatabasepb.DbSystemInitialStorageSize,error]

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

func (*DbSystemInitialStorageSizeIterator) Next

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

func (*DbSystemInitialStorageSizeIterator) PageInfo

func(it*DbSystemInitialStorageSizeIterator)PageInfo()*iterator.PageInfo

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

DbSystemIterator

typeDbSystemIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.DbSystem,nextPageTokenstring,errerror)// contains filtered or unexported fields}

DbSystemIterator manages a stream of *oracledatabasepb.DbSystem.

func (*DbSystemIterator) All

func(it*DbSystemIterator)All()iter.Seq2[*oracledatabasepb.DbSystem,error]

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

func (*DbSystemIterator) Next

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

func (*DbSystemIterator) PageInfo

func(it*DbSystemIterator)PageInfo()*iterator.PageInfo

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

DbSystemShapeIterator

typeDbSystemShapeIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.DbSystemShape,nextPageTokenstring,errerror)// contains filtered or unexported fields}

DbSystemShapeIterator manages a stream of *oracledatabasepb.DbSystemShape.

func (*DbSystemShapeIterator) All

func(it*DbSystemShapeIterator)All()iter.Seq2[*oracledatabasepb.DbSystemShape,error]

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

func (*DbSystemShapeIterator) Next

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

func (*DbSystemShapeIterator) PageInfo

func(it*DbSystemShapeIterator)PageInfo()*iterator.PageInfo

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

DbVersionIterator

typeDbVersionIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.DbVersion,nextPageTokenstring,errerror)// contains filtered or unexported fields}

DbVersionIterator manages a stream of *oracledatabasepb.DbVersion.

func (*DbVersionIterator) All

func(it*DbVersionIterator)All()iter.Seq2[*oracledatabasepb.DbVersion,error]

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

func (*DbVersionIterator) Next

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

func (*DbVersionIterator) PageInfo

func(it*DbVersionIterator)PageInfo()*iterator.PageInfo

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

DeleteAutonomousDatabaseOperation

typeDeleteAutonomousDatabaseOperationstruct{// contains filtered or unexported fields}

DeleteAutonomousDatabaseOperation manages a long-running operation from DeleteAutonomousDatabase.

func (*DeleteAutonomousDatabaseOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteAutonomousDatabaseOperation) Metadata

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 (*DeleteAutonomousDatabaseOperation) Name

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 (*DeleteAutonomousDatabaseOperation) Poll

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 andthe 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 (*DeleteAutonomousDatabaseOperation) Wait

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

See documentation of Poll for error-handling information.

DeleteCloudExadataInfrastructureOperation

typeDeleteCloudExadataInfrastructureOperationstruct{// contains filtered or unexported fields}

DeleteCloudExadataInfrastructureOperation manages a long-running operation from DeleteCloudExadataInfrastructure.

func (*DeleteCloudExadataInfrastructureOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteCloudExadataInfrastructureOperation) Metadata

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 (*DeleteCloudExadataInfrastructureOperation) Name

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 (*DeleteCloudExadataInfrastructureOperation) Poll

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 andthe 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 (*DeleteCloudExadataInfrastructureOperation) Wait

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

See documentation of Poll for error-handling information.

DeleteCloudVmClusterOperation

typeDeleteCloudVmClusterOperationstruct{// contains filtered or unexported fields}

DeleteCloudVmClusterOperation manages a long-running operation from DeleteCloudVmCluster.

func (*DeleteCloudVmClusterOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteCloudVmClusterOperation) Metadata

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 (*DeleteCloudVmClusterOperation) Name

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 (*DeleteCloudVmClusterOperation) Poll

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 andthe 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 (*DeleteCloudVmClusterOperation) Wait

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

See documentation of Poll for error-handling information.

DeleteDbSystemOperation

typeDeleteDbSystemOperationstruct{// contains filtered or unexported fields}

DeleteDbSystemOperation manages a long-running operation from DeleteDbSystem.

func (*DeleteDbSystemOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteDbSystemOperation) Metadata

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 (*DeleteDbSystemOperation) Name

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 (*DeleteDbSystemOperation) Poll

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 andthe 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 (*DeleteDbSystemOperation) Wait

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

See documentation of Poll for error-handling information.

DeleteExadbVmClusterOperation

typeDeleteExadbVmClusterOperationstruct{// contains filtered or unexported fields}

DeleteExadbVmClusterOperation manages a long-running operation from DeleteExadbVmCluster.

func (*DeleteExadbVmClusterOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteExadbVmClusterOperation) Metadata

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 (*DeleteExadbVmClusterOperation) Name

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 (*DeleteExadbVmClusterOperation) Poll

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 andthe 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 (*DeleteExadbVmClusterOperation) Wait

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

See documentation of Poll for error-handling information.

DeleteExascaleDbStorageVaultOperation

typeDeleteExascaleDbStorageVaultOperationstruct{// contains filtered or unexported fields}

DeleteExascaleDbStorageVaultOperation manages a long-running operation from DeleteExascaleDbStorageVault.

func (*DeleteExascaleDbStorageVaultOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteExascaleDbStorageVaultOperation) Metadata

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 (*DeleteExascaleDbStorageVaultOperation) Name

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 (*DeleteExascaleDbStorageVaultOperation) Poll

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 andthe 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 (*DeleteExascaleDbStorageVaultOperation) Wait

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

See documentation of Poll for error-handling information.

DeleteOdbNetworkOperation

typeDeleteOdbNetworkOperationstruct{// contains filtered or unexported fields}

DeleteOdbNetworkOperation manages a long-running operation from DeleteOdbNetwork.

func (*DeleteOdbNetworkOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteOdbNetworkOperation) Metadata

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 (*DeleteOdbNetworkOperation) Name

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 (*DeleteOdbNetworkOperation) Poll

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 andthe 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 (*DeleteOdbNetworkOperation) Wait

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

See documentation of Poll for error-handling information.

DeleteOdbSubnetOperation

typeDeleteOdbSubnetOperationstruct{// contains filtered or unexported fields}

DeleteOdbSubnetOperation manages a long-running operation from DeleteOdbSubnet.

func (*DeleteOdbSubnetOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteOdbSubnetOperation) Metadata

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 (*DeleteOdbSubnetOperation) Name

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 (*DeleteOdbSubnetOperation) Poll

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 andthe 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 (*DeleteOdbSubnetOperation) Wait

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

See documentation of Poll for error-handling information.

EntitlementIterator

typeEntitlementIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.Entitlement,nextPageTokenstring,errerror)// contains filtered or unexported fields}

EntitlementIterator manages a stream of *oracledatabasepb.Entitlement.

func (*EntitlementIterator) All

func(it*EntitlementIterator)All()iter.Seq2[*oracledatabasepb.Entitlement,error]

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

func (*EntitlementIterator) Next

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

func (*EntitlementIterator) PageInfo

func(it*EntitlementIterator)PageInfo()*iterator.PageInfo

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

ExadbVmClusterIterator

typeExadbVmClusterIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.ExadbVmCluster,nextPageTokenstring,errerror)// contains filtered or unexported fields}

ExadbVmClusterIterator manages a stream of *oracledatabasepb.ExadbVmCluster.

func (*ExadbVmClusterIterator) All

func(it*ExadbVmClusterIterator)All()iter.Seq2[*oracledatabasepb.ExadbVmCluster,error]

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

func (*ExadbVmClusterIterator) Next

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

func (*ExadbVmClusterIterator) PageInfo

func(it*ExadbVmClusterIterator)PageInfo()*iterator.PageInfo

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

ExascaleDbStorageVaultIterator

typeExascaleDbStorageVaultIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.ExascaleDbStorageVault,nextPageTokenstring,errerror)// contains filtered or unexported fields}

ExascaleDbStorageVaultIterator manages a stream of *oracledatabasepb.ExascaleDbStorageVault.

func (*ExascaleDbStorageVaultIterator) All

func(it*ExascaleDbStorageVaultIterator)All()iter.Seq2[*oracledatabasepb.ExascaleDbStorageVault,error]

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

func (*ExascaleDbStorageVaultIterator) Next

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

func (*ExascaleDbStorageVaultIterator) PageInfo

func(it*ExascaleDbStorageVaultIterator)PageInfo()*iterator.PageInfo

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

FailoverAutonomousDatabaseOperation

typeFailoverAutonomousDatabaseOperationstruct{// contains filtered or unexported fields}

FailoverAutonomousDatabaseOperation manages a long-running operation from FailoverAutonomousDatabase.

func (*FailoverAutonomousDatabaseOperation) Done

Done reports whether the long-running operation has completed.

func (*FailoverAutonomousDatabaseOperation) Metadata

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 (*FailoverAutonomousDatabaseOperation) Name

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 (*FailoverAutonomousDatabaseOperation) Poll

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 andthe 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 (*FailoverAutonomousDatabaseOperation) Wait

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

See documentation of Poll for error-handling information.

GiVersionIterator

typeGiVersionIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.GiVersion,nextPageTokenstring,errerror)// contains filtered or unexported fields}

GiVersionIterator manages a stream of *oracledatabasepb.GiVersion.

func (*GiVersionIterator) All

func(it*GiVersionIterator)All()iter.Seq2[*oracledatabasepb.GiVersion,error]

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

func (*GiVersionIterator) Next

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

func (*GiVersionIterator) PageInfo

func(it*GiVersionIterator)PageInfo()*iterator.PageInfo

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

LocationIterator

typeLocationIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*locationpb.Location,nextPageTokenstring,errerror)// contains filtered or unexported fields}

LocationIterator manages a stream of *locationpb.Location.

func (*LocationIterator) All

func(it*LocationIterator)All()iter.Seq2[*locationpb.Location,error]

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

func (*LocationIterator) Next

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

func (*LocationIterator) PageInfo

func(it*LocationIterator)PageInfo()*iterator.PageInfo

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

MinorVersionIterator

typeMinorVersionIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.MinorVersion,nextPageTokenstring,errerror)// contains filtered or unexported fields}

MinorVersionIterator manages a stream of *oracledatabasepb.MinorVersion.

func (*MinorVersionIterator) All

func(it*MinorVersionIterator)All()iter.Seq2[*oracledatabasepb.MinorVersion,error]

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

func (*MinorVersionIterator) Next

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

func (*MinorVersionIterator) PageInfo

func(it*MinorVersionIterator)PageInfo()*iterator.PageInfo

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

OdbNetworkIterator

typeOdbNetworkIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.OdbNetwork,nextPageTokenstring,errerror)// contains filtered or unexported fields}

OdbNetworkIterator manages a stream of *oracledatabasepb.OdbNetwork.

func (*OdbNetworkIterator) All

func(it*OdbNetworkIterator)All()iter.Seq2[*oracledatabasepb.OdbNetwork,error]

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

func (*OdbNetworkIterator) Next

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

func (*OdbNetworkIterator) PageInfo

func(it*OdbNetworkIterator)PageInfo()*iterator.PageInfo

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

OdbSubnetIterator

typeOdbSubnetIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.OdbSubnet,nextPageTokenstring,errerror)// contains filtered or unexported fields}

OdbSubnetIterator manages a stream of *oracledatabasepb.OdbSubnet.

func (*OdbSubnetIterator) All

func(it*OdbSubnetIterator)All()iter.Seq2[*oracledatabasepb.OdbSubnet,error]

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

func (*OdbSubnetIterator) Next

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

func (*OdbSubnetIterator) PageInfo

func(it*OdbSubnetIterator)PageInfo()*iterator.PageInfo

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

OperationIterator

typeOperationIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*longrunningpb.Operation,nextPageTokenstring,errerror)// contains filtered or unexported fields}

OperationIterator manages a stream of *longrunningpb.Operation.

func (*OperationIterator) All

func(it*OperationIterator)All()iter.Seq2[*longrunningpb.Operation,error]

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

func (*OperationIterator) Next

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

func (*OperationIterator) PageInfo

func(it*OperationIterator)PageInfo()*iterator.PageInfo

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

PluggableDatabaseIterator

typePluggableDatabaseIteratorstruct{// 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.Responseinterface{}// 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.InternalFetchfunc(pageSizeint,pageTokenstring)(results[]*oracledatabasepb.PluggableDatabase,nextPageTokenstring,errerror)// contains filtered or unexported fields}

PluggableDatabaseIterator manages a stream of *oracledatabasepb.PluggableDatabase.

func (*PluggableDatabaseIterator) All

func(it*PluggableDatabaseIterator)All()iter.Seq2[*oracledatabasepb.PluggableDatabase,error]

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

func (*PluggableDatabaseIterator) Next

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

func (*PluggableDatabaseIterator) PageInfo

func(it*PluggableDatabaseIterator)PageInfo()*iterator.PageInfo

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

RemoveVirtualMachineExadbVmClusterOperation

typeRemoveVirtualMachineExadbVmClusterOperationstruct{// contains filtered or unexported fields}

RemoveVirtualMachineExadbVmClusterOperation manages a long-running operation from RemoveVirtualMachineExadbVmCluster.

func (*RemoveVirtualMachineExadbVmClusterOperation) Done

Done reports whether the long-running operation has completed.

func (*RemoveVirtualMachineExadbVmClusterOperation) Metadata

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 (*RemoveVirtualMachineExadbVmClusterOperation) Name

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 (*RemoveVirtualMachineExadbVmClusterOperation) Poll

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 andthe 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 (*RemoveVirtualMachineExadbVmClusterOperation) Wait

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

See documentation of Poll for error-handling information.

RestartAutonomousDatabaseOperation

typeRestartAutonomousDatabaseOperationstruct{// contains filtered or unexported fields}

RestartAutonomousDatabaseOperation manages a long-running operation from RestartAutonomousDatabase.

func (*RestartAutonomousDatabaseOperation) Done

Done reports whether the long-running operation has completed.

func (*RestartAutonomousDatabaseOperation) Metadata

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 (*RestartAutonomousDatabaseOperation) Name

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 (*RestartAutonomousDatabaseOperation) Poll

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 andthe 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 (*RestartAutonomousDatabaseOperation) Wait

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

See documentation of Poll for error-handling information.

RestoreAutonomousDatabaseOperation

typeRestoreAutonomousDatabaseOperationstruct{// contains filtered or unexported fields}

RestoreAutonomousDatabaseOperation manages a long-running operation from RestoreAutonomousDatabase.

func (*RestoreAutonomousDatabaseOperation) Done

Done reports whether the long-running operation has completed.

func (*RestoreAutonomousDatabaseOperation) Metadata

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 (*RestoreAutonomousDatabaseOperation) Name

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 (*RestoreAutonomousDatabaseOperation) Poll

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 andthe 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 (*RestoreAutonomousDatabaseOperation) Wait

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

See documentation of Poll for error-handling information.

StartAutonomousDatabaseOperation

typeStartAutonomousDatabaseOperationstruct{// contains filtered or unexported fields}

StartAutonomousDatabaseOperation manages a long-running operation from StartAutonomousDatabase.

func (*StartAutonomousDatabaseOperation) Done

Done reports whether the long-running operation has completed.

func (*StartAutonomousDatabaseOperation) Metadata

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 (*StartAutonomousDatabaseOperation) Name

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 (*StartAutonomousDatabaseOperation) Poll

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 andthe 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 (*StartAutonomousDatabaseOperation) Wait

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

See documentation of Poll for error-handling information.

StopAutonomousDatabaseOperation

typeStopAutonomousDatabaseOperationstruct{// contains filtered or unexported fields}

StopAutonomousDatabaseOperation manages a long-running operation from StopAutonomousDatabase.

func (*StopAutonomousDatabaseOperation) Done

Done reports whether the long-running operation has completed.

func (*StopAutonomousDatabaseOperation) Metadata

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 (*StopAutonomousDatabaseOperation) Name

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 (*StopAutonomousDatabaseOperation) Poll

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 andthe 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 (*StopAutonomousDatabaseOperation) Wait

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

See documentation of Poll for error-handling information.

SwitchoverAutonomousDatabaseOperation

typeSwitchoverAutonomousDatabaseOperationstruct{// contains filtered or unexported fields}

SwitchoverAutonomousDatabaseOperation manages a long-running operation from SwitchoverAutonomousDatabase.

func (*SwitchoverAutonomousDatabaseOperation) Done

Done reports whether the long-running operation has completed.

func (*SwitchoverAutonomousDatabaseOperation) Metadata

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 (*SwitchoverAutonomousDatabaseOperation) Name

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 (*SwitchoverAutonomousDatabaseOperation) Poll

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 andthe 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 (*SwitchoverAutonomousDatabaseOperation) Wait

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

See documentation of Poll for error-handling information.

UpdateAutonomousDatabaseOperation

typeUpdateAutonomousDatabaseOperationstruct{// contains filtered or unexported fields}

UpdateAutonomousDatabaseOperation manages a long-running operation from UpdateAutonomousDatabase.

func (*UpdateAutonomousDatabaseOperation) Done

Done reports whether the long-running operation has completed.

func (*UpdateAutonomousDatabaseOperation) Metadata

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 (*UpdateAutonomousDatabaseOperation) Name

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 (*UpdateAutonomousDatabaseOperation) Poll

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 andthe 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 (*UpdateAutonomousDatabaseOperation) Wait

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

See documentation of Poll for error-handling information.

UpdateExadbVmClusterOperation

typeUpdateExadbVmClusterOperationstruct{// contains filtered or unexported fields}

UpdateExadbVmClusterOperation manages a long-running operation from UpdateExadbVmCluster.

func (*UpdateExadbVmClusterOperation) Done

Done reports whether the long-running operation has completed.

func (*UpdateExadbVmClusterOperation) Metadata

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 (*UpdateExadbVmClusterOperation) Name

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 (*UpdateExadbVmClusterOperation) Poll

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 andthe 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 (*UpdateExadbVmClusterOperation) Wait

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

See documentation of Poll for error-handling information.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-30 UTC.