Telco Automation API v1 - Package cloud.google.com/go/telcoautomation/apiv1 (v1.1.6)

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

Package telcoautomation is an auto-generated package for theTelco Automation API.

APIs to automate management of cloud infrastructure for network functions.

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/telcoautomation/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:=telcoautomation.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:=&telcoautomationpb.ApplyDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ApplyDeploymentRequest.}resp,err:=c.ApplyDeployment(ctx,req)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.

BlueprintIterator

typeBlueprintIteratorstruct{// 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[]*telcoautomationpb.Blueprint,nextPageTokenstring,errerror)// contains filtered or unexported fields}

BlueprintIterator manages a stream of *telcoautomationpb.Blueprint.

func (*BlueprintIterator) All

func(it*BlueprintIterator)All()iter.Seq2[*telcoautomationpb.Blueprint,error]

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

func (*BlueprintIterator) 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 (*BlueprintIterator) PageInfo

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

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

CallOptions

typeCallOptionsstruct{ListOrchestrationClusters[]gax.CallOptionGetOrchestrationCluster[]gax.CallOptionCreateOrchestrationCluster[]gax.CallOptionDeleteOrchestrationCluster[]gax.CallOptionListEdgeSlms[]gax.CallOptionGetEdgeSlm[]gax.CallOptionCreateEdgeSlm[]gax.CallOptionDeleteEdgeSlm[]gax.CallOptionCreateBlueprint[]gax.CallOptionUpdateBlueprint[]gax.CallOptionGetBlueprint[]gax.CallOptionDeleteBlueprint[]gax.CallOptionListBlueprints[]gax.CallOptionApproveBlueprint[]gax.CallOptionProposeBlueprint[]gax.CallOptionRejectBlueprint[]gax.CallOptionListBlueprintRevisions[]gax.CallOptionSearchBlueprintRevisions[]gax.CallOptionSearchDeploymentRevisions[]gax.CallOptionDiscardBlueprintChanges[]gax.CallOptionListPublicBlueprints[]gax.CallOptionGetPublicBlueprint[]gax.CallOptionCreateDeployment[]gax.CallOptionUpdateDeployment[]gax.CallOptionGetDeployment[]gax.CallOptionRemoveDeployment[]gax.CallOptionListDeployments[]gax.CallOptionListDeploymentRevisions[]gax.CallOptionDiscardDeploymentChanges[]gax.CallOptionApplyDeployment[]gax.CallOptionComputeDeploymentStatus[]gax.CallOptionRollbackDeployment[]gax.CallOptionGetHydratedDeployment[]gax.CallOptionListHydratedDeployments[]gax.CallOptionUpdateHydratedDeployment[]gax.CallOptionApplyHydratedDeployment[]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 Telco Automation API.Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

TelcoAutomation Service manages the control plane cluster a.k.a.Orchestration Cluster (GKE cluster with config controller) of TNA. It alsoexposes blueprint APIs which manages the lifecycle of blueprints that controlthe infrastructure setup (e.g GDCE clusters) and deployment of networkfunctions.

func NewClient

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

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

TelcoAutomation Service manages the control plane cluster a.k.a.Orchestration Cluster (GKE cluster with config controller) of TNA. It alsoexposes blueprint APIs which manages the lifecycle of blueprints that controlthe infrastructure setup (e.g GDCE clusters) and deployment of networkfunctions.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.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 telco automation rest client.

TelcoAutomation Service manages the control plane cluster a.k.a.Orchestration Cluster (GKE cluster with config controller) of TNA. It alsoexposes blueprint APIs which manages the lifecycle of blueprints that controlthe infrastructure setup (e.g GDCE clusters) and deployment of networkfunctions.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.NewRESTClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()// TODO: Use client._=c}

func (*Client) ApplyDeployment

ApplyDeployment applies the deployment’s YAML files to the parent orchestration cluster.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ApplyDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ApplyDeploymentRequest.}resp,err:=c.ApplyDeployment(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) ApplyHydratedDeployment

ApplyHydratedDeployment applies a hydrated deployment to a workload cluster.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ApplyHydratedDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ApplyHydratedDeploymentRequest.}resp,err:=c.ApplyHydratedDeployment(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) ApproveBlueprint

ApproveBlueprint approves a blueprint and commits a new revision.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ApproveBlueprintRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ApproveBlueprintRequest.}resp,err:=c.ApproveBlueprint(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CancelOperation

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

Example

packagemainimport("context"longrunningpb"cloud.google.com/go/longrunning/autogen/longrunningpb"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.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) ComputeDeploymentStatus

ComputeDeploymentStatus returns the requested deployment status.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ComputeDeploymentStatusRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ComputeDeploymentStatusRequest.}resp,err:=c.ComputeDeploymentStatus(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

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) CreateBlueprint

CreateBlueprint creates a blueprint.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.CreateBlueprintRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#CreateBlueprintRequest.}resp,err:=c.CreateBlueprint(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateDeployment

CreateDeployment creates a deployment.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.CreateDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#CreateDeploymentRequest.}resp,err:=c.CreateDeployment(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateEdgeSlm

CreateEdgeSlm creates a new EdgeSlm in a given project and location.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.CreateEdgeSlmRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#CreateEdgeSlmRequest.}op,err:=c.CreateEdgeSlm(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateEdgeSlmOperation

func(c*Client)CreateEdgeSlmOperation(namestring)*CreateEdgeSlmOperation

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

func (*Client) CreateOrchestrationCluster

CreateOrchestrationCluster creates a new OrchestrationCluster in a given project and location.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.CreateOrchestrationClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#CreateOrchestrationClusterRequest.}op,err:=c.CreateOrchestrationCluster(ctx,req)iferr!=nil{// TODO: Handle error.}resp,err:=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) CreateOrchestrationClusterOperation

func(c*Client)CreateOrchestrationClusterOperation(namestring)*CreateOrchestrationClusterOperation

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

func (*Client) DeleteBlueprint

DeleteBlueprint deletes a blueprint and all its revisions.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.DeleteBlueprintRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#DeleteBlueprintRequest.}err=c.DeleteBlueprint(ctx,req)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteEdgeSlm

DeleteEdgeSlm deletes a single EdgeSlm.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.DeleteEdgeSlmRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#DeleteEdgeSlmRequest.}op,err:=c.DeleteEdgeSlm(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteEdgeSlmOperation

func(c*Client)DeleteEdgeSlmOperation(namestring)*DeleteEdgeSlmOperation

DeleteEdgeSlmOperation returns a new DeleteEdgeSlmOperation from a given name.The name must be that of a previously created DeleteEdgeSlmOperation, 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"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.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) DeleteOrchestrationCluster

DeleteOrchestrationCluster deletes a single OrchestrationCluster.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.DeleteOrchestrationClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#DeleteOrchestrationClusterRequest.}op,err:=c.DeleteOrchestrationCluster(ctx,req)iferr!=nil{// TODO: Handle error.}err=op.Wait(ctx)iferr!=nil{// TODO: Handle error.}}

func (*Client) DeleteOrchestrationClusterOperation

func(c*Client)DeleteOrchestrationClusterOperation(namestring)*DeleteOrchestrationClusterOperation

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

func (*Client) DiscardBlueprintChanges

DiscardBlueprintChanges discards the changes in a blueprint and reverts the blueprint to the lastapproved blueprint revision. No changes take place if a blueprint does nothave revisions.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.DiscardBlueprintChangesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#DiscardBlueprintChangesRequest.}resp,err:=c.DiscardBlueprintChanges(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) DiscardDeploymentChanges

DiscardDeploymentChanges discards the changes in a deployment and reverts the deployment to the lastapproved deployment revision. No changes take place if a deployment doesnot have revisions.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.DiscardDeploymentChangesRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#DiscardDeploymentChangesRequest.}resp,err:=c.DiscardDeploymentChanges(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetBlueprint

GetBlueprint returns the requested blueprint.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.GetBlueprintRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#GetBlueprintRequest.}resp,err:=c.GetBlueprint(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetDeployment

GetDeployment returns the requested deployment.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.GetDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#GetDeploymentRequest.}resp,err:=c.GetDeployment(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetEdgeSlm

GetEdgeSlm gets details of a single EdgeSlm.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.GetEdgeSlmRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#GetEdgeSlmRequest.}resp,err:=c.GetEdgeSlm(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetHydratedDeployment

GetHydratedDeployment returns the requested hydrated deployment.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.GetHydratedDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#GetHydratedDeploymentRequest.}resp,err:=c.GetHydratedDeployment(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetLocation

GetLocation gets information about a location.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.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) GetOperation

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

Example

packagemainimport("context"longrunningpb"cloud.google.com/go/longrunning/autogen/longrunningpb"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.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) GetOrchestrationCluster

GetOrchestrationCluster gets details of a single OrchestrationCluster.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.GetOrchestrationClusterRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#GetOrchestrationClusterRequest.}resp,err:=c.GetOrchestrationCluster(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) GetPublicBlueprint

GetPublicBlueprint returns the requested public blueprint.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.GetPublicBlueprintRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#GetPublicBlueprintRequest.}resp,err:=c.GetPublicBlueprint(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) ListBlueprintRevisions

ListBlueprintRevisions list blueprint revisions of a given blueprint.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListBlueprintRevisionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListBlueprintRevisionsRequest.}it:=c.ListBlueprintRevisions(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.(*telcoautomationpb.ListBlueprintRevisionsResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListBlueprintRevisionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListBlueprintRevisionsRequest.}forresp,err:=rangec.ListBlueprintRevisions(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListBlueprints

ListBlueprints list all blueprints.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListBlueprintsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListBlueprintsRequest.}it:=c.ListBlueprints(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.(*telcoautomationpb.ListBlueprintsResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListBlueprintsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListBlueprintsRequest.}forresp,err:=rangec.ListBlueprints(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDeploymentRevisions

ListDeploymentRevisions list deployment revisions of a given deployment.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListDeploymentRevisionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListDeploymentRevisionsRequest.}it:=c.ListDeploymentRevisions(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.(*telcoautomationpb.ListDeploymentRevisionsResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListDeploymentRevisionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListDeploymentRevisionsRequest.}forresp,err:=rangec.ListDeploymentRevisions(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListDeployments

ListDeployments list all deployments.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListDeploymentsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListDeploymentsRequest.}it:=c.ListDeployments(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.(*telcoautomationpb.ListDeploymentsResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListDeploymentsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListDeploymentsRequest.}forresp,err:=rangec.ListDeployments(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListEdgeSlms

ListEdgeSlms lists EdgeSlms in a given project and location.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListEdgeSlmsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListEdgeSlmsRequest.}it:=c.ListEdgeSlms(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.(*telcoautomationpb.ListEdgeSlmsResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListEdgeSlmsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListEdgeSlmsRequest.}forresp,err:=rangec.ListEdgeSlms(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListHydratedDeployments

ListHydratedDeployments list all hydrated deployments present under a deployment.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListHydratedDeploymentsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListHydratedDeploymentsRequest.}it:=c.ListHydratedDeployments(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.(*telcoautomationpb.ListHydratedDeploymentsResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListHydratedDeploymentsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListHydratedDeploymentsRequest.}forresp,err:=rangec.ListHydratedDeployments(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"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.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"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.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) ListOperations

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

Examples

packagemainimport("context"longrunningpb"cloud.google.com/go/longrunning/autogen/longrunningpb"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.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"telcoautomation"cloud.google.com/go/telcoautomation/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:=telcoautomation.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) ListOrchestrationClusters

ListOrchestrationClusters lists OrchestrationClusters in a given project and location.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListOrchestrationClustersRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListOrchestrationClustersRequest.}it:=c.ListOrchestrationClusters(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.(*telcoautomationpb.ListOrchestrationClustersResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListOrchestrationClustersRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListOrchestrationClustersRequest.}forresp,err:=rangec.ListOrchestrationClusters(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ListPublicBlueprints

ListPublicBlueprints lists the blueprints in TNA’s public catalog. Default page size = 20,Max Page Size = 100.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListPublicBlueprintsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListPublicBlueprintsRequest.}it:=c.ListPublicBlueprints(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.(*telcoautomationpb.ListPublicBlueprintsResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ListPublicBlueprintsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ListPublicBlueprintsRequest.}forresp,err:=rangec.ListPublicBlueprints(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) ProposeBlueprint

ProposeBlueprint proposes a blueprint for approval of changes.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.ProposeBlueprintRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#ProposeBlueprintRequest.}resp,err:=c.ProposeBlueprint(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) RejectBlueprint

RejectBlueprint rejects a blueprint revision proposal and flips it back to Draft state.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.RejectBlueprintRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#RejectBlueprintRequest.}resp,err:=c.RejectBlueprint(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) RemoveDeployment

RemoveDeployment removes the deployment by marking it as DELETING. Post which deployment andit’s revisions gets deleted.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.RemoveDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#RemoveDeploymentRequest.}err=c.RemoveDeployment(ctx,req)iferr!=nil{// TODO: Handle error.}}

func (*Client) RollbackDeployment

RollbackDeployment rollback the active deployment to the given past approved deploymentrevision.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.RollbackDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#RollbackDeploymentRequest.}resp,err:=c.RollbackDeployment(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) SearchBlueprintRevisions

SearchBlueprintRevisions searches across blueprint revisions.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.SearchBlueprintRevisionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#SearchBlueprintRevisionsRequest.}it:=c.SearchBlueprintRevisions(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.(*telcoautomationpb.SearchBlueprintRevisionsResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.SearchBlueprintRevisionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#SearchBlueprintRevisionsRequest.}forresp,err:=rangec.SearchBlueprintRevisions(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) SearchDeploymentRevisions

SearchDeploymentRevisions searches across deployment revisions.

Examples

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb""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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.SearchDeploymentRevisionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#SearchDeploymentRevisionsRequest.}it:=c.SearchDeploymentRevisions(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.(*telcoautomationpb.SearchDeploymentRevisionsResponse)}}
all
packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.SearchDeploymentRevisionsRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#SearchDeploymentRevisionsRequest.}forresp,err:=rangec.SearchDeploymentRevisions(ctx,req).All(){iferr!=nil{// TODO: Handle error and break/return/continue. Iteration will stop after any error.}// TODO: Use resp._=resp}}

func (*Client) UpdateBlueprint

UpdateBlueprint updates a blueprint.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.UpdateBlueprintRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#UpdateBlueprintRequest.}resp,err:=c.UpdateBlueprint(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) UpdateDeployment

UpdateDeployment updates a deployment.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.UpdateDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#UpdateDeploymentRequest.}resp,err:=c.UpdateDeployment(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

func (*Client) UpdateHydratedDeployment

UpdateHydratedDeployment updates a hydrated deployment.

Example

packagemainimport("context"telcoautomation"cloud.google.com/go/telcoautomation/apiv1"telcoautomationpb"cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb")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:=telcoautomation.NewClient(ctx)iferr!=nil{// TODO: Handle error.}deferc.Close()req:=&telcoautomationpb.UpdateHydratedDeploymentRequest{// TODO: Fill request struct fields.// See https://pkg.go.dev/cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb#UpdateHydratedDeploymentRequest.}resp,err:=c.UpdateHydratedDeployment(ctx,req)iferr!=nil{// TODO: Handle error.}// TODO: Use resp._=resp}

CreateEdgeSlmOperation

typeCreateEdgeSlmOperationstruct{// contains filtered or unexported fields}

CreateEdgeSlmOperation manages a long-running operation from CreateEdgeSlm.

func (*CreateEdgeSlmOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateEdgeSlmOperation) 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 (*CreateEdgeSlmOperation) 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 (*CreateEdgeSlmOperation) 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 (*CreateEdgeSlmOperation) 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.

CreateOrchestrationClusterOperation

typeCreateOrchestrationClusterOperationstruct{// contains filtered or unexported fields}

CreateOrchestrationClusterOperation manages a long-running operation from CreateOrchestrationCluster.

func (*CreateOrchestrationClusterOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateOrchestrationClusterOperation) 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 (*CreateOrchestrationClusterOperation) 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 (*CreateOrchestrationClusterOperation) 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 (*CreateOrchestrationClusterOperation) 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.

DeleteEdgeSlmOperation

typeDeleteEdgeSlmOperationstruct{// contains filtered or unexported fields}

DeleteEdgeSlmOperation manages a long-running operation from DeleteEdgeSlm.

func (*DeleteEdgeSlmOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteEdgeSlmOperation) 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 (*DeleteEdgeSlmOperation) 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 (*DeleteEdgeSlmOperation) 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 (*DeleteEdgeSlmOperation) 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.

DeleteOrchestrationClusterOperation

typeDeleteOrchestrationClusterOperationstruct{// contains filtered or unexported fields}

DeleteOrchestrationClusterOperation manages a long-running operation from DeleteOrchestrationCluster.

func (*DeleteOrchestrationClusterOperation) Done

Done reports whether the long-running operation has completed.

func (*DeleteOrchestrationClusterOperation) 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 (*DeleteOrchestrationClusterOperation) 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 (*DeleteOrchestrationClusterOperation) 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 (*DeleteOrchestrationClusterOperation) 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.

DeploymentIterator

typeDeploymentIteratorstruct{// 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[]*telcoautomationpb.Deployment,nextPageTokenstring,errerror)// contains filtered or unexported fields}

DeploymentIterator manages a stream of *telcoautomationpb.Deployment.

func (*DeploymentIterator) All

func(it*DeploymentIterator)All()iter.Seq2[*telcoautomationpb.Deployment,error]

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

func (*DeploymentIterator) 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 (*DeploymentIterator) PageInfo

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

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

EdgeSlmIterator

typeEdgeSlmIteratorstruct{// 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[]*telcoautomationpb.EdgeSlm,nextPageTokenstring,errerror)// contains filtered or unexported fields}

EdgeSlmIterator manages a stream of *telcoautomationpb.EdgeSlm.

func (*EdgeSlmIterator) All

func(it*EdgeSlmIterator)All()iter.Seq2[*telcoautomationpb.EdgeSlm,error]

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

func (*EdgeSlmIterator) 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 (*EdgeSlmIterator) PageInfo

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

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

HydratedDeploymentIterator

typeHydratedDeploymentIteratorstruct{// 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[]*telcoautomationpb.HydratedDeployment,nextPageTokenstring,errerror)// contains filtered or unexported fields}

HydratedDeploymentIterator manages a stream of *telcoautomationpb.HydratedDeployment.

func (*HydratedDeploymentIterator) All

func(it*HydratedDeploymentIterator)All()iter.Seq2[*telcoautomationpb.HydratedDeployment,error]

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

func (*HydratedDeploymentIterator) 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 (*HydratedDeploymentIterator) PageInfo

func(it*HydratedDeploymentIterator)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.

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.

OrchestrationClusterIterator

typeOrchestrationClusterIteratorstruct{// 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[]*telcoautomationpb.OrchestrationCluster,nextPageTokenstring,errerror)// contains filtered or unexported fields}

OrchestrationClusterIterator manages a stream of *telcoautomationpb.OrchestrationCluster.

func (*OrchestrationClusterIterator) All

func(it*OrchestrationClusterIterator)All()iter.Seq2[*telcoautomationpb.OrchestrationCluster,error]

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

func (*OrchestrationClusterIterator) 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 (*OrchestrationClusterIterator) PageInfo

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

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

PublicBlueprintIterator

typePublicBlueprintIteratorstruct{// 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[]*telcoautomationpb.PublicBlueprint,nextPageTokenstring,errerror)// contains filtered or unexported fields}

PublicBlueprintIterator manages a stream of *telcoautomationpb.PublicBlueprint.

func (*PublicBlueprintIterator) All

func(it*PublicBlueprintIterator)All()iter.Seq2[*telcoautomationpb.PublicBlueprint,error]

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

func (*PublicBlueprintIterator) 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 (*PublicBlueprintIterator) PageInfo

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

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

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.