Class TelcoAutomationClient (0.21.0)

GitHub RepositoryProduct Reference

Service Description: TelcoAutomation Service manages the control plane cluster a.k.a. Orchestration Cluster (GKE cluster with config controller) of TNA. It also exposes blueprint APIs which manages the lifecycle of blueprints that control the infrastructure setup (e.g GDCE clusters) and deployment of network functions.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   OrchestrationClusterName name =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
   OrchestrationCluster response = telcoAutomationClient.getOrchestrationCluster(name);
 }
 

Note: close() needs to be called on the TelcoAutomationClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

Methods
Method Description Method Variants

ListOrchestrationClusters

Lists OrchestrationClusters in a given project and location.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listOrchestrationClusters(ListOrchestrationClustersRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listOrchestrationClusters(LocationName parent)

  • listOrchestrationClusters(String parent)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • listOrchestrationClustersPagedCallable()

  • listOrchestrationClustersCallable()

GetOrchestrationCluster

Gets details of a single OrchestrationCluster.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getOrchestrationCluster(GetOrchestrationClusterRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getOrchestrationCluster(OrchestrationClusterName name)

  • getOrchestrationCluster(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • getOrchestrationClusterCallable()

CreateOrchestrationCluster

Creates a new OrchestrationCluster in a given project and location.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createOrchestrationClusterAsync(CreateOrchestrationClusterRequest request)

Methods that return long-running operations have "Async" method variants that return OperationFuture, which is used to track polling of the service.

  • createOrchestrationClusterAsync(LocationName parent, OrchestrationCluster orchestrationCluster, String orchestrationClusterId)

  • createOrchestrationClusterAsync(String parent, OrchestrationCluster orchestrationCluster, String orchestrationClusterId)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createOrchestrationClusterOperationCallable()

  • createOrchestrationClusterCallable()

DeleteOrchestrationCluster

Deletes a single OrchestrationCluster.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deleteOrchestrationClusterAsync(DeleteOrchestrationClusterRequest request)

Methods that return long-running operations have "Async" method variants that return OperationFuture, which is used to track polling of the service.

  • deleteOrchestrationClusterAsync(OrchestrationClusterName name)

  • deleteOrchestrationClusterAsync(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • deleteOrchestrationClusterOperationCallable()

  • deleteOrchestrationClusterCallable()

ListEdgeSlms

Lists EdgeSlms in a given project and location.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listEdgeSlms(ListEdgeSlmsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listEdgeSlms(LocationName parent)

  • listEdgeSlms(String parent)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • listEdgeSlmsPagedCallable()

  • listEdgeSlmsCallable()

GetEdgeSlm

Gets details of a single EdgeSlm.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getEdgeSlm(GetEdgeSlmRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getEdgeSlm(EdgeSlmName name)

  • getEdgeSlm(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • getEdgeSlmCallable()

CreateEdgeSlm

Creates a new EdgeSlm in a given project and location.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createEdgeSlmAsync(CreateEdgeSlmRequest request)

Methods that return long-running operations have "Async" method variants that return OperationFuture, which is used to track polling of the service.

  • createEdgeSlmAsync(LocationName parent, EdgeSlm edgeSlm, String edgeSlmId)

  • createEdgeSlmAsync(String parent, EdgeSlm edgeSlm, String edgeSlmId)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createEdgeSlmOperationCallable()

  • createEdgeSlmCallable()

DeleteEdgeSlm

Deletes a single EdgeSlm.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deleteEdgeSlmAsync(DeleteEdgeSlmRequest request)

Methods that return long-running operations have "Async" method variants that return OperationFuture, which is used to track polling of the service.

  • deleteEdgeSlmAsync(EdgeSlmName name)

  • deleteEdgeSlmAsync(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • deleteEdgeSlmOperationCallable()

  • deleteEdgeSlmCallable()

CreateBlueprint

Creates a blueprint.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createBlueprint(CreateBlueprintRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • createBlueprint(OrchestrationClusterName parent, Blueprint blueprint, String blueprintId)

  • createBlueprint(String parent, Blueprint blueprint, String blueprintId)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createBlueprintCallable()

UpdateBlueprint

Updates a blueprint.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • updateBlueprint(UpdateBlueprintRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • updateBlueprint(Blueprint blueprint, FieldMask updateMask)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • updateBlueprintCallable()

GetBlueprint

Returns the requested blueprint.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getBlueprint(GetBlueprintRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getBlueprint(BlueprintName name)

  • getBlueprint(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • getBlueprintCallable()

DeleteBlueprint

Deletes a blueprint and all its revisions.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deleteBlueprint(DeleteBlueprintRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • deleteBlueprint(BlueprintName name)

  • deleteBlueprint(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • deleteBlueprintCallable()

ListBlueprints

List all blueprints.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listBlueprints(ListBlueprintsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listBlueprints(OrchestrationClusterName parent)

  • listBlueprints(String parent)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • listBlueprintsPagedCallable()

  • listBlueprintsCallable()

ApproveBlueprint

Approves a blueprint and commits a new revision.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • approveBlueprint(ApproveBlueprintRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • approveBlueprint(BlueprintName name)

  • approveBlueprint(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • approveBlueprintCallable()

ProposeBlueprint

Proposes a blueprint for approval of changes.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • proposeBlueprint(ProposeBlueprintRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • proposeBlueprint(BlueprintName name)

  • proposeBlueprint(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • proposeBlueprintCallable()

RejectBlueprint

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

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • rejectBlueprint(RejectBlueprintRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • rejectBlueprint(BlueprintName name)

  • rejectBlueprint(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • rejectBlueprintCallable()

ListBlueprintRevisions

List blueprint revisions of a given blueprint.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listBlueprintRevisions(ListBlueprintRevisionsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listBlueprintRevisions(BlueprintName name)

  • listBlueprintRevisions(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • listBlueprintRevisionsPagedCallable()

  • listBlueprintRevisionsCallable()

SearchBlueprintRevisions

Searches across blueprint revisions.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • searchBlueprintRevisions(SearchBlueprintRevisionsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • searchBlueprintRevisions(OrchestrationClusterName parent, String query)

  • searchBlueprintRevisions(String parent, String query)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • searchBlueprintRevisionsPagedCallable()

  • searchBlueprintRevisionsCallable()

SearchDeploymentRevisions

Searches across deployment revisions.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • searchDeploymentRevisions(SearchDeploymentRevisionsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • searchDeploymentRevisions(OrchestrationClusterName parent, String query)

  • searchDeploymentRevisions(String parent, String query)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • searchDeploymentRevisionsPagedCallable()

  • searchDeploymentRevisionsCallable()

DiscardBlueprintChanges

Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • discardBlueprintChanges(DiscardBlueprintChangesRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • discardBlueprintChanges(BlueprintName name)

  • discardBlueprintChanges(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • discardBlueprintChangesCallable()

ListPublicBlueprints

Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listPublicBlueprints(ListPublicBlueprintsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listPublicBlueprints(LocationName parent)

  • listPublicBlueprints(String parent)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • listPublicBlueprintsPagedCallable()

  • listPublicBlueprintsCallable()

GetPublicBlueprint

Returns the requested public blueprint.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getPublicBlueprint(GetPublicBlueprintRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getPublicBlueprint(PublicBlueprintName name)

  • getPublicBlueprint(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • getPublicBlueprintCallable()

CreateDeployment

Creates a deployment.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createDeployment(CreateDeploymentRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • createDeployment(OrchestrationClusterName parent, Deployment deployment, String deploymentId)

  • createDeployment(String parent, Deployment deployment, String deploymentId)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createDeploymentCallable()

UpdateDeployment

Updates a deployment.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • updateDeployment(UpdateDeploymentRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • updateDeployment(Deployment deployment, FieldMask updateMask)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • updateDeploymentCallable()

GetDeployment

Returns the requested deployment.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getDeployment(GetDeploymentRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getDeployment(DeploymentName name)

  • getDeployment(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • getDeploymentCallable()

RemoveDeployment

Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • removeDeployment(RemoveDeploymentRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • removeDeployment(DeploymentName name)

  • removeDeployment(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • removeDeploymentCallable()

ListDeployments

List all deployments.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listDeployments(ListDeploymentsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listDeployments(OrchestrationClusterName parent)

  • listDeployments(String parent)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • listDeploymentsPagedCallable()

  • listDeploymentsCallable()

ListDeploymentRevisions

List deployment revisions of a given deployment.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listDeploymentRevisions(ListDeploymentRevisionsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listDeploymentRevisions(DeploymentName name)

  • listDeploymentRevisions(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • listDeploymentRevisionsPagedCallable()

  • listDeploymentRevisionsCallable()

DiscardDeploymentChanges

Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • discardDeploymentChanges(DiscardDeploymentChangesRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • discardDeploymentChanges(DeploymentName name)

  • discardDeploymentChanges(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • discardDeploymentChangesCallable()

ApplyDeployment

Applies the deployment's YAML files to the parent orchestration cluster.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • applyDeployment(ApplyDeploymentRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • applyDeployment(DeploymentName name)

  • applyDeployment(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • applyDeploymentCallable()

ComputeDeploymentStatus

Returns the requested deployment status.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • computeDeploymentStatus(ComputeDeploymentStatusRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • computeDeploymentStatus(DeploymentName name)

  • computeDeploymentStatus(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • computeDeploymentStatusCallable()

RollbackDeployment

Rollback the active deployment to the given past approved deployment revision.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • rollbackDeployment(RollbackDeploymentRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • rollbackDeployment(DeploymentName name, String revisionId)

  • rollbackDeployment(String name, String revisionId)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • rollbackDeploymentCallable()

GetHydratedDeployment

Returns the requested hydrated deployment.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getHydratedDeployment(GetHydratedDeploymentRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getHydratedDeployment(HydratedDeploymentName name)

  • getHydratedDeployment(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • getHydratedDeploymentCallable()

ListHydratedDeployments

List all hydrated deployments present under a deployment.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listHydratedDeployments(ListHydratedDeploymentsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listHydratedDeployments(DeploymentName parent)

  • listHydratedDeployments(String parent)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • listHydratedDeploymentsPagedCallable()

  • listHydratedDeploymentsCallable()

UpdateHydratedDeployment

Updates a hydrated deployment.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • updateHydratedDeployment(UpdateHydratedDeploymentRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • updateHydratedDeployment(HydratedDeployment hydratedDeployment, FieldMask updateMask)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • updateHydratedDeploymentCallable()

ApplyHydratedDeployment

Applies a hydrated deployment to a workload cluster.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • applyHydratedDeployment(ApplyHydratedDeploymentRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • applyHydratedDeployment(HydratedDeploymentName name)

  • applyHydratedDeployment(String name)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • applyHydratedDeploymentCallable()

ListLocations

Lists information about the supported locations for this service.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listLocations(ListLocationsRequest request)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • listLocationsPagedCallable()

  • listLocationsCallable()

GetLocation

Gets information about a location.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getLocation(GetLocationRequest request)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • getLocationCallable()

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of TelcoAutomationSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 TelcoAutomationSettings telcoAutomationSettings =
     TelcoAutomationSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 TelcoAutomationClient telcoAutomationClient =
     TelcoAutomationClient.create(telcoAutomationSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 TelcoAutomationSettings telcoAutomationSettings =
     TelcoAutomationSettings.newBuilder().setEndpoint(myEndpoint).build();
 TelcoAutomationClient telcoAutomationClient =
     TelcoAutomationClient.create(telcoAutomationSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 TelcoAutomationSettings telcoAutomationSettings =
     TelcoAutomationSettings.newHttpJsonBuilder().build();
 TelcoAutomationClient telcoAutomationClient =
     TelcoAutomationClient.create(telcoAutomationSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

Inheritance

java.lang.Object > TelcoAutomationClient

Static Methods

create()

public static final TelcoAutomationClient create()

Constructs an instance of TelcoAutomationClient with default settings.

Returns
Type Description
TelcoAutomationClient
Exceptions
Type Description
IOException

create(TelcoAutomationSettings settings)

public static final TelcoAutomationClient create(TelcoAutomationSettings settings)

Constructs an instance of TelcoAutomationClient, using the given settings. The channels are created based on the settings passed in, or defaults for any settings that are not set.

Parameter
Name Description
settings TelcoAutomationSettings
Returns
Type Description
TelcoAutomationClient
Exceptions
Type Description
IOException

create(TelcoAutomationStub stub)

public static final TelcoAutomationClient create(TelcoAutomationStub stub)

Constructs an instance of TelcoAutomationClient, using the given stub for making calls. This is for advanced usage - prefer using create(TelcoAutomationSettings).

Parameter
Name Description
stub TelcoAutomationStub
Returns
Type Description
TelcoAutomationClient

Constructors

TelcoAutomationClient(TelcoAutomationSettings settings)

protected TelcoAutomationClient(TelcoAutomationSettings settings)

Constructs an instance of TelcoAutomationClient, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameter
Name Description
settings TelcoAutomationSettings

TelcoAutomationClient(TelcoAutomationStub stub)

protected TelcoAutomationClient(TelcoAutomationStub stub)
Parameter
Name Description
stub TelcoAutomationStub

Methods

applyDeployment(ApplyDeploymentRequest request)

public final Deployment applyDeployment(ApplyDeploymentRequest request)

Applies the deployment's YAML files to the parent orchestration cluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ApplyDeploymentRequest request =
       ApplyDeploymentRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .build();
   Deployment response = telcoAutomationClient.applyDeployment(request);
 }
 
Parameter
Name Description
request ApplyDeploymentRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Deployment

applyDeployment(DeploymentName name)

public final Deployment applyDeployment(DeploymentName name)

Applies the deployment's YAML files to the parent orchestration cluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeploymentName name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
   Deployment response = telcoAutomationClient.applyDeployment(name);
 }
 
Parameter
Name Description
name DeploymentName

Required. The name of the deployment to apply to orchestration cluster.

Returns
Type Description
Deployment

applyDeployment(String name)

public final Deployment applyDeployment(String name)

Applies the deployment's YAML files to the parent orchestration cluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
           .toString();
   Deployment response = telcoAutomationClient.applyDeployment(name);
 }
 
Parameter
Name Description
name String

Required. The name of the deployment to apply to orchestration cluster.

Returns
Type Description
Deployment

applyDeploymentCallable()

public final UnaryCallable<ApplyDeploymentRequest,Deployment> applyDeploymentCallable()

Applies the deployment's YAML files to the parent orchestration cluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ApplyDeploymentRequest request =
       ApplyDeploymentRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .build();
   ApiFuture<Deployment> future =
       telcoAutomationClient.applyDeploymentCallable().futureCall(request);
   // Do something.
   Deployment response = future.get();
 }
 
Returns
Type Description
UnaryCallable<ApplyDeploymentRequest,Deployment>

applyHydratedDeployment(ApplyHydratedDeploymentRequest request)

public final HydratedDeployment applyHydratedDeployment(ApplyHydratedDeploymentRequest request)

Applies a hydrated deployment to a workload cluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ApplyHydratedDeploymentRequest request =
       ApplyHydratedDeploymentRequest.newBuilder()
           .setName(
               HydratedDeploymentName.of(
                       "[PROJECT]",
                       "[LOCATION]",
                       "[ORCHESTRATION_CLUSTER]",
                       "[DEPLOYMENT]",
                       "[HYDRATED_DEPLOYMENT]")
                   .toString())
           .build();
   HydratedDeployment response = telcoAutomationClient.applyHydratedDeployment(request);
 }
 
Parameter
Name Description
request ApplyHydratedDeploymentRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
HydratedDeployment

applyHydratedDeployment(HydratedDeploymentName name)

public final HydratedDeployment applyHydratedDeployment(HydratedDeploymentName name)

Applies a hydrated deployment to a workload cluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   HydratedDeploymentName name =
       HydratedDeploymentName.of(
           "[PROJECT]",
           "[LOCATION]",
           "[ORCHESTRATION_CLUSTER]",
           "[DEPLOYMENT]",
           "[HYDRATED_DEPLOYMENT]");
   HydratedDeployment response = telcoAutomationClient.applyHydratedDeployment(name);
 }
 
Parameter
Name Description
name HydratedDeploymentName

Required. The name of the hydrated deployment to apply.

Returns
Type Description
HydratedDeployment

applyHydratedDeployment(String name)

public final HydratedDeployment applyHydratedDeployment(String name)

Applies a hydrated deployment to a workload cluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       HydratedDeploymentName.of(
               "[PROJECT]",
               "[LOCATION]",
               "[ORCHESTRATION_CLUSTER]",
               "[DEPLOYMENT]",
               "[HYDRATED_DEPLOYMENT]")
           .toString();
   HydratedDeployment response = telcoAutomationClient.applyHydratedDeployment(name);
 }
 
Parameter
Name Description
name String

Required. The name of the hydrated deployment to apply.

Returns
Type Description
HydratedDeployment

applyHydratedDeploymentCallable()

public final UnaryCallable<ApplyHydratedDeploymentRequest,HydratedDeployment> applyHydratedDeploymentCallable()

Applies a hydrated deployment to a workload cluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ApplyHydratedDeploymentRequest request =
       ApplyHydratedDeploymentRequest.newBuilder()
           .setName(
               HydratedDeploymentName.of(
                       "[PROJECT]",
                       "[LOCATION]",
                       "[ORCHESTRATION_CLUSTER]",
                       "[DEPLOYMENT]",
                       "[HYDRATED_DEPLOYMENT]")
                   .toString())
           .build();
   ApiFuture<HydratedDeployment> future =
       telcoAutomationClient.applyHydratedDeploymentCallable().futureCall(request);
   // Do something.
   HydratedDeployment response = future.get();
 }
 
Returns
Type Description
UnaryCallable<ApplyHydratedDeploymentRequest,HydratedDeployment>

approveBlueprint(ApproveBlueprintRequest request)

public final Blueprint approveBlueprint(ApproveBlueprintRequest request)

Approves a blueprint and commits a new revision.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ApproveBlueprintRequest request =
       ApproveBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   Blueprint response = telcoAutomationClient.approveBlueprint(request);
 }
 
Parameter
Name Description
request ApproveBlueprintRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Blueprint

approveBlueprint(BlueprintName name)

public final Blueprint approveBlueprint(BlueprintName name)

Approves a blueprint and commits a new revision.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   BlueprintName name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
   Blueprint response = telcoAutomationClient.approveBlueprint(name);
 }
 
Parameter
Name Description
name BlueprintName

Required. The name of the blueprint to approve. The blueprint must be in Proposed state. A new revision is committed on approval.

Returns
Type Description
Blueprint

approveBlueprint(String name)

public final Blueprint approveBlueprint(String name)

Approves a blueprint and commits a new revision.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
           .toString();
   Blueprint response = telcoAutomationClient.approveBlueprint(name);
 }
 
Parameter
Name Description
name String

Required. The name of the blueprint to approve. The blueprint must be in Proposed state. A new revision is committed on approval.

Returns
Type Description
Blueprint

approveBlueprintCallable()

public final UnaryCallable<ApproveBlueprintRequest,Blueprint> approveBlueprintCallable()

Approves a blueprint and commits a new revision.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ApproveBlueprintRequest request =
       ApproveBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   ApiFuture<Blueprint> future =
       telcoAutomationClient.approveBlueprintCallable().futureCall(request);
   // Do something.
   Blueprint response = future.get();
 }
 
Returns
Type Description
UnaryCallable<ApproveBlueprintRequest,Blueprint>

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()

computeDeploymentStatus(ComputeDeploymentStatusRequest request)

public final ComputeDeploymentStatusResponse computeDeploymentStatus(ComputeDeploymentStatusRequest request)

Returns the requested deployment status.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ComputeDeploymentStatusRequest request =
       ComputeDeploymentStatusRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .build();
   ComputeDeploymentStatusResponse response =
       telcoAutomationClient.computeDeploymentStatus(request);
 }
 
Parameter
Name Description
request ComputeDeploymentStatusRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
ComputeDeploymentStatusResponse

computeDeploymentStatus(DeploymentName name)

public final ComputeDeploymentStatusResponse computeDeploymentStatus(DeploymentName name)

Returns the requested deployment status.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeploymentName name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
   ComputeDeploymentStatusResponse response =
       telcoAutomationClient.computeDeploymentStatus(name);
 }
 
Parameter
Name Description
name DeploymentName

Required. The name of the deployment without revisionID.

Returns
Type Description
ComputeDeploymentStatusResponse

computeDeploymentStatus(String name)

public final ComputeDeploymentStatusResponse computeDeploymentStatus(String name)

Returns the requested deployment status.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
           .toString();
   ComputeDeploymentStatusResponse response =
       telcoAutomationClient.computeDeploymentStatus(name);
 }
 
Parameter
Name Description
name String

Required. The name of the deployment without revisionID.

Returns
Type Description
ComputeDeploymentStatusResponse

computeDeploymentStatusCallable()

public final UnaryCallable<ComputeDeploymentStatusRequest,ComputeDeploymentStatusResponse> computeDeploymentStatusCallable()

Returns the requested deployment status.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ComputeDeploymentStatusRequest request =
       ComputeDeploymentStatusRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .build();
   ApiFuture<ComputeDeploymentStatusResponse> future =
       telcoAutomationClient.computeDeploymentStatusCallable().futureCall(request);
   // Do something.
   ComputeDeploymentStatusResponse response = future.get();
 }
 
Returns
Type Description
UnaryCallable<ComputeDeploymentStatusRequest,ComputeDeploymentStatusResponse>

createBlueprint(CreateBlueprintRequest request)

public final Blueprint createBlueprint(CreateBlueprintRequest request)

Creates a blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateBlueprintRequest request =
       CreateBlueprintRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setBlueprintId("blueprintId-1159505138")
           .setBlueprint(Blueprint.newBuilder().build())
           .build();
   Blueprint response = telcoAutomationClient.createBlueprint(request);
 }
 
Parameter
Name Description
request CreateBlueprintRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Blueprint

createBlueprint(OrchestrationClusterName parent, Blueprint blueprint, String blueprintId)

public final Blueprint createBlueprint(OrchestrationClusterName parent, Blueprint blueprint, String blueprintId)

Creates a blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   OrchestrationClusterName parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
   Blueprint blueprint = Blueprint.newBuilder().build();
   String blueprintId = "blueprintId-1159505138";
   Blueprint response = telcoAutomationClient.createBlueprint(parent, blueprint, blueprintId);
 }
 
Parameters
Name Description
parent OrchestrationClusterName

Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

blueprint Blueprint

Required. The Blueprint to create.

blueprintId String

Optional. The name of the blueprint.

Returns
Type Description
Blueprint

createBlueprint(String parent, Blueprint blueprint, String blueprintId)

public final Blueprint createBlueprint(String parent, Blueprint blueprint, String blueprintId)

Creates a blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
           .toString();
   Blueprint blueprint = Blueprint.newBuilder().build();
   String blueprintId = "blueprintId-1159505138";
   Blueprint response = telcoAutomationClient.createBlueprint(parent, blueprint, blueprintId);
 }
 
Parameters
Name Description
parent String

Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

blueprint Blueprint

Required. The Blueprint to create.

blueprintId String

Optional. The name of the blueprint.

Returns
Type Description
Blueprint

createBlueprintCallable()

public final UnaryCallable<CreateBlueprintRequest,Blueprint> createBlueprintCallable()

Creates a blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateBlueprintRequest request =
       CreateBlueprintRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setBlueprintId("blueprintId-1159505138")
           .setBlueprint(Blueprint.newBuilder().build())
           .build();
   ApiFuture<Blueprint> future =
       telcoAutomationClient.createBlueprintCallable().futureCall(request);
   // Do something.
   Blueprint response = future.get();
 }
 
Returns
Type Description
UnaryCallable<CreateBlueprintRequest,Blueprint>

createDeployment(CreateDeploymentRequest request)

public final Deployment createDeployment(CreateDeploymentRequest request)

Creates a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateDeploymentRequest request =
       CreateDeploymentRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setDeploymentId("deploymentId-136894784")
           .setDeployment(Deployment.newBuilder().build())
           .build();
   Deployment response = telcoAutomationClient.createDeployment(request);
 }
 
Parameter
Name Description
request CreateDeploymentRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Deployment

createDeployment(OrchestrationClusterName parent, Deployment deployment, String deploymentId)

public final Deployment createDeployment(OrchestrationClusterName parent, Deployment deployment, String deploymentId)

Creates a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   OrchestrationClusterName parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
   Deployment deployment = Deployment.newBuilder().build();
   String deploymentId = "deploymentId-136894784";
   Deployment response =
       telcoAutomationClient.createDeployment(parent, deployment, deploymentId);
 }
 
Parameters
Name Description
parent OrchestrationClusterName

Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

deployment Deployment

Required. The Deployment to create.

deploymentId String

Optional. The name of the deployment.

Returns
Type Description
Deployment

createDeployment(String parent, Deployment deployment, String deploymentId)

public final Deployment createDeployment(String parent, Deployment deployment, String deploymentId)

Creates a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
           .toString();
   Deployment deployment = Deployment.newBuilder().build();
   String deploymentId = "deploymentId-136894784";
   Deployment response =
       telcoAutomationClient.createDeployment(parent, deployment, deploymentId);
 }
 
Parameters
Name Description
parent String

Required. The name of parent resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

deployment Deployment

Required. The Deployment to create.

deploymentId String

Optional. The name of the deployment.

Returns
Type Description
Deployment

createDeploymentCallable()

public final UnaryCallable<CreateDeploymentRequest,Deployment> createDeploymentCallable()

Creates a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateDeploymentRequest request =
       CreateDeploymentRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setDeploymentId("deploymentId-136894784")
           .setDeployment(Deployment.newBuilder().build())
           .build();
   ApiFuture<Deployment> future =
       telcoAutomationClient.createDeploymentCallable().futureCall(request);
   // Do something.
   Deployment response = future.get();
 }
 
Returns
Type Description
UnaryCallable<CreateDeploymentRequest,Deployment>

createEdgeSlmAsync(CreateEdgeSlmRequest request)

public final OperationFuture<EdgeSlm,OperationMetadata> createEdgeSlmAsync(CreateEdgeSlmRequest request)

Creates a new EdgeSlm in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateEdgeSlmRequest request =
       CreateEdgeSlmRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setEdgeSlmId("edgeSlmId213186994")
           .setEdgeSlm(EdgeSlm.newBuilder().build())
           .setRequestId("requestId693933066")
           .build();
   EdgeSlm response = telcoAutomationClient.createEdgeSlmAsync(request).get();
 }
 
Parameter
Name Description
request CreateEdgeSlmRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
OperationFuture<EdgeSlm,OperationMetadata>

createEdgeSlmAsync(LocationName parent, EdgeSlm edgeSlm, String edgeSlmId)

public final OperationFuture<EdgeSlm,OperationMetadata> createEdgeSlmAsync(LocationName parent, EdgeSlm edgeSlm, String edgeSlmId)

Creates a new EdgeSlm in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   EdgeSlm edgeSlm = EdgeSlm.newBuilder().build();
   String edgeSlmId = "edgeSlmId213186994";
   EdgeSlm response = telcoAutomationClient.createEdgeSlmAsync(parent, edgeSlm, edgeSlmId).get();
 }
 
Parameters
Name Description
parent LocationName

Required. Value for parent.

edgeSlm EdgeSlm

Required. The resource being created

edgeSlmId String

Required. Id of the requesting object If auto-generating Id server-side, remove this field and edge_slm_id from the method_signature of Create RPC

Returns
Type Description
OperationFuture<EdgeSlm,OperationMetadata>

createEdgeSlmAsync(String parent, EdgeSlm edgeSlm, String edgeSlmId)

public final OperationFuture<EdgeSlm,OperationMetadata> createEdgeSlmAsync(String parent, EdgeSlm edgeSlm, String edgeSlmId)

Creates a new EdgeSlm in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
   EdgeSlm edgeSlm = EdgeSlm.newBuilder().build();
   String edgeSlmId = "edgeSlmId213186994";
   EdgeSlm response = telcoAutomationClient.createEdgeSlmAsync(parent, edgeSlm, edgeSlmId).get();
 }
 
Parameters
Name Description
parent String

Required. Value for parent.

edgeSlm EdgeSlm

Required. The resource being created

edgeSlmId String

Required. Id of the requesting object If auto-generating Id server-side, remove this field and edge_slm_id from the method_signature of Create RPC

Returns
Type Description
OperationFuture<EdgeSlm,OperationMetadata>

createEdgeSlmCallable()

public final UnaryCallable<CreateEdgeSlmRequest,Operation> createEdgeSlmCallable()

Creates a new EdgeSlm in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateEdgeSlmRequest request =
       CreateEdgeSlmRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setEdgeSlmId("edgeSlmId213186994")
           .setEdgeSlm(EdgeSlm.newBuilder().build())
           .setRequestId("requestId693933066")
           .build();
   ApiFuture<Operation> future =
       telcoAutomationClient.createEdgeSlmCallable().futureCall(request);
   // Do something.
   Operation response = future.get();
 }
 
Returns
Type Description
UnaryCallable<CreateEdgeSlmRequest,Operation>

createEdgeSlmOperationCallable()

public final OperationCallable<CreateEdgeSlmRequest,EdgeSlm,OperationMetadata> createEdgeSlmOperationCallable()

Creates a new EdgeSlm in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateEdgeSlmRequest request =
       CreateEdgeSlmRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setEdgeSlmId("edgeSlmId213186994")
           .setEdgeSlm(EdgeSlm.newBuilder().build())
           .setRequestId("requestId693933066")
           .build();
   OperationFuture<EdgeSlm, OperationMetadata> future =
       telcoAutomationClient.createEdgeSlmOperationCallable().futureCall(request);
   // Do something.
   EdgeSlm response = future.get();
 }
 
Returns
Type Description
OperationCallable<CreateEdgeSlmRequest,EdgeSlm,OperationMetadata>

createOrchestrationClusterAsync(CreateOrchestrationClusterRequest request)

public final OperationFuture<OrchestrationCluster,OperationMetadata> createOrchestrationClusterAsync(CreateOrchestrationClusterRequest request)

Creates a new OrchestrationCluster in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateOrchestrationClusterRequest request =
       CreateOrchestrationClusterRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setOrchestrationClusterId("orchestrationClusterId75469684")
           .setOrchestrationCluster(OrchestrationCluster.newBuilder().build())
           .setRequestId("requestId693933066")
           .build();
   OrchestrationCluster response =
       telcoAutomationClient.createOrchestrationClusterAsync(request).get();
 }
 
Parameter
Name Description
request CreateOrchestrationClusterRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
OperationFuture<OrchestrationCluster,OperationMetadata>

createOrchestrationClusterAsync(LocationName parent, OrchestrationCluster orchestrationCluster, String orchestrationClusterId)

public final OperationFuture<OrchestrationCluster,OperationMetadata> createOrchestrationClusterAsync(LocationName parent, OrchestrationCluster orchestrationCluster, String orchestrationClusterId)

Creates a new OrchestrationCluster in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   OrchestrationCluster orchestrationCluster = OrchestrationCluster.newBuilder().build();
   String orchestrationClusterId = "orchestrationClusterId75469684";
   OrchestrationCluster response =
       telcoAutomationClient
           .createOrchestrationClusterAsync(parent, orchestrationCluster, orchestrationClusterId)
           .get();
 }
 
Parameters
Name Description
parent LocationName

Required. Value for parent.

orchestrationCluster OrchestrationCluster

Required. The resource being created

orchestrationClusterId String

Required. Id of the requesting object If auto-generating Id server-side, remove this field and orchestration_cluster_id from the method_signature of Create RPC

Returns
Type Description
OperationFuture<OrchestrationCluster,OperationMetadata>

createOrchestrationClusterAsync(String parent, OrchestrationCluster orchestrationCluster, String orchestrationClusterId)

public final OperationFuture<OrchestrationCluster,OperationMetadata> createOrchestrationClusterAsync(String parent, OrchestrationCluster orchestrationCluster, String orchestrationClusterId)

Creates a new OrchestrationCluster in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
   OrchestrationCluster orchestrationCluster = OrchestrationCluster.newBuilder().build();
   String orchestrationClusterId = "orchestrationClusterId75469684";
   OrchestrationCluster response =
       telcoAutomationClient
           .createOrchestrationClusterAsync(parent, orchestrationCluster, orchestrationClusterId)
           .get();
 }
 
Parameters
Name Description
parent String

Required. Value for parent.

orchestrationCluster OrchestrationCluster

Required. The resource being created

orchestrationClusterId String

Required. Id of the requesting object If auto-generating Id server-side, remove this field and orchestration_cluster_id from the method_signature of Create RPC

Returns
Type Description
OperationFuture<OrchestrationCluster,OperationMetadata>

createOrchestrationClusterCallable()

public final UnaryCallable<CreateOrchestrationClusterRequest,Operation> createOrchestrationClusterCallable()

Creates a new OrchestrationCluster in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateOrchestrationClusterRequest request =
       CreateOrchestrationClusterRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setOrchestrationClusterId("orchestrationClusterId75469684")
           .setOrchestrationCluster(OrchestrationCluster.newBuilder().build())
           .setRequestId("requestId693933066")
           .build();
   ApiFuture<Operation> future =
       telcoAutomationClient.createOrchestrationClusterCallable().futureCall(request);
   // Do something.
   Operation response = future.get();
 }
 
Returns
Type Description
UnaryCallable<CreateOrchestrationClusterRequest,Operation>

createOrchestrationClusterOperationCallable()

public final OperationCallable<CreateOrchestrationClusterRequest,OrchestrationCluster,OperationMetadata> createOrchestrationClusterOperationCallable()

Creates a new OrchestrationCluster in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   CreateOrchestrationClusterRequest request =
       CreateOrchestrationClusterRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setOrchestrationClusterId("orchestrationClusterId75469684")
           .setOrchestrationCluster(OrchestrationCluster.newBuilder().build())
           .setRequestId("requestId693933066")
           .build();
   OperationFuture<OrchestrationCluster, OperationMetadata> future =
       telcoAutomationClient.createOrchestrationClusterOperationCallable().futureCall(request);
   // Do something.
   OrchestrationCluster response = future.get();
 }
 
Returns
Type Description
OperationCallable<CreateOrchestrationClusterRequest,OrchestrationCluster,OperationMetadata>

deleteBlueprint(BlueprintName name)

public final void deleteBlueprint(BlueprintName name)

Deletes a blueprint and all its revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   BlueprintName name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
   telcoAutomationClient.deleteBlueprint(name);
 }
 
Parameter
Name Description
name BlueprintName

Required. The name of blueprint to delete. Blueprint name should be in the format {blueprint_id}, if {blueprint_id}@{revision_id} is passed then the API throws invalid argument.

deleteBlueprint(DeleteBlueprintRequest request)

public final void deleteBlueprint(DeleteBlueprintRequest request)

Deletes a blueprint and all its revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeleteBlueprintRequest request =
       DeleteBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   telcoAutomationClient.deleteBlueprint(request);
 }
 
Parameter
Name Description
request DeleteBlueprintRequest

The request object containing all of the parameters for the API call.

deleteBlueprint(String name)

public final void deleteBlueprint(String name)

Deletes a blueprint and all its revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
           .toString();
   telcoAutomationClient.deleteBlueprint(name);
 }
 
Parameter
Name Description
name String

Required. The name of blueprint to delete. Blueprint name should be in the format {blueprint_id}, if {blueprint_id}@{revision_id} is passed then the API throws invalid argument.

deleteBlueprintCallable()

public final UnaryCallable<DeleteBlueprintRequest,Empty> deleteBlueprintCallable()

Deletes a blueprint and all its revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeleteBlueprintRequest request =
       DeleteBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   ApiFuture<Empty> future = telcoAutomationClient.deleteBlueprintCallable().futureCall(request);
   // Do something.
   future.get();
 }
 
Returns
Type Description
UnaryCallable<DeleteBlueprintRequest,Empty>

deleteEdgeSlmAsync(DeleteEdgeSlmRequest request)

public final OperationFuture<Empty,OperationMetadata> deleteEdgeSlmAsync(DeleteEdgeSlmRequest request)

Deletes a single EdgeSlm.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeleteEdgeSlmRequest request =
       DeleteEdgeSlmRequest.newBuilder()
           .setName(EdgeSlmName.of("[PROJECT]", "[LOCATION]", "[EDGE_SLM]").toString())
           .setRequestId("requestId693933066")
           .build();
   telcoAutomationClient.deleteEdgeSlmAsync(request).get();
 }
 
Parameter
Name Description
request DeleteEdgeSlmRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
OperationFuture<Empty,OperationMetadata>

deleteEdgeSlmAsync(EdgeSlmName name)

public final OperationFuture<Empty,OperationMetadata> deleteEdgeSlmAsync(EdgeSlmName name)

Deletes a single EdgeSlm.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   EdgeSlmName name = EdgeSlmName.of("[PROJECT]", "[LOCATION]", "[EDGE_SLM]");
   telcoAutomationClient.deleteEdgeSlmAsync(name).get();
 }
 
Parameter
Name Description
name EdgeSlmName

Required. Name of the resource

Returns
Type Description
OperationFuture<Empty,OperationMetadata>

deleteEdgeSlmAsync(String name)

public final OperationFuture<Empty,OperationMetadata> deleteEdgeSlmAsync(String name)

Deletes a single EdgeSlm.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name = EdgeSlmName.of("[PROJECT]", "[LOCATION]", "[EDGE_SLM]").toString();
   telcoAutomationClient.deleteEdgeSlmAsync(name).get();
 }
 
Parameter
Name Description
name String

Required. Name of the resource

Returns
Type Description
OperationFuture<Empty,OperationMetadata>

deleteEdgeSlmCallable()

public final UnaryCallable<DeleteEdgeSlmRequest,Operation> deleteEdgeSlmCallable()

Deletes a single EdgeSlm.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeleteEdgeSlmRequest request =
       DeleteEdgeSlmRequest.newBuilder()
           .setName(EdgeSlmName.of("[PROJECT]", "[LOCATION]", "[EDGE_SLM]").toString())
           .setRequestId("requestId693933066")
           .build();
   ApiFuture<Operation> future =
       telcoAutomationClient.deleteEdgeSlmCallable().futureCall(request);
   // Do something.
   future.get();
 }
 
Returns
Type Description
UnaryCallable<DeleteEdgeSlmRequest,Operation>

deleteEdgeSlmOperationCallable()

public final OperationCallable<DeleteEdgeSlmRequest,Empty,OperationMetadata> deleteEdgeSlmOperationCallable()

Deletes a single EdgeSlm.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeleteEdgeSlmRequest request =
       DeleteEdgeSlmRequest.newBuilder()
           .setName(EdgeSlmName.of("[PROJECT]", "[LOCATION]", "[EDGE_SLM]").toString())
           .setRequestId("requestId693933066")
           .build();
   OperationFuture<Empty, OperationMetadata> future =
       telcoAutomationClient.deleteEdgeSlmOperationCallable().futureCall(request);
   // Do something.
   future.get();
 }
 
Returns
Type Description
OperationCallable<DeleteEdgeSlmRequest,Empty,OperationMetadata>

deleteOrchestrationClusterAsync(DeleteOrchestrationClusterRequest request)

public final OperationFuture<Empty,OperationMetadata> deleteOrchestrationClusterAsync(DeleteOrchestrationClusterRequest request)

Deletes a single OrchestrationCluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeleteOrchestrationClusterRequest request =
       DeleteOrchestrationClusterRequest.newBuilder()
           .setName(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setRequestId("requestId693933066")
           .build();
   telcoAutomationClient.deleteOrchestrationClusterAsync(request).get();
 }
 
Parameter
Name Description
request DeleteOrchestrationClusterRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
OperationFuture<Empty,OperationMetadata>

deleteOrchestrationClusterAsync(OrchestrationClusterName name)

public final OperationFuture<Empty,OperationMetadata> deleteOrchestrationClusterAsync(OrchestrationClusterName name)

Deletes a single OrchestrationCluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   OrchestrationClusterName name =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
   telcoAutomationClient.deleteOrchestrationClusterAsync(name).get();
 }
 
Parameter
Name Description
name OrchestrationClusterName

Required. Name of the resource

Returns
Type Description
OperationFuture<Empty,OperationMetadata>

deleteOrchestrationClusterAsync(String name)

public final OperationFuture<Empty,OperationMetadata> deleteOrchestrationClusterAsync(String name)

Deletes a single OrchestrationCluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
           .toString();
   telcoAutomationClient.deleteOrchestrationClusterAsync(name).get();
 }
 
Parameter
Name Description
name String

Required. Name of the resource

Returns
Type Description
OperationFuture<Empty,OperationMetadata>

deleteOrchestrationClusterCallable()

public final UnaryCallable<DeleteOrchestrationClusterRequest,Operation> deleteOrchestrationClusterCallable()

Deletes a single OrchestrationCluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeleteOrchestrationClusterRequest request =
       DeleteOrchestrationClusterRequest.newBuilder()
           .setName(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setRequestId("requestId693933066")
           .build();
   ApiFuture<Operation> future =
       telcoAutomationClient.deleteOrchestrationClusterCallable().futureCall(request);
   // Do something.
   future.get();
 }
 
Returns
Type Description
UnaryCallable<DeleteOrchestrationClusterRequest,Operation>

deleteOrchestrationClusterOperationCallable()

public final OperationCallable<DeleteOrchestrationClusterRequest,Empty,OperationMetadata> deleteOrchestrationClusterOperationCallable()

Deletes a single OrchestrationCluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeleteOrchestrationClusterRequest request =
       DeleteOrchestrationClusterRequest.newBuilder()
           .setName(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setRequestId("requestId693933066")
           .build();
   OperationFuture<Empty, OperationMetadata> future =
       telcoAutomationClient.deleteOrchestrationClusterOperationCallable().futureCall(request);
   // Do something.
   future.get();
 }
 
Returns
Type Description
OperationCallable<DeleteOrchestrationClusterRequest,Empty,OperationMetadata>

discardBlueprintChanges(BlueprintName name)

public final DiscardBlueprintChangesResponse discardBlueprintChanges(BlueprintName name)

Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   BlueprintName name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
   DiscardBlueprintChangesResponse response =
       telcoAutomationClient.discardBlueprintChanges(name);
 }
 
Parameter
Name Description
name BlueprintName

Required. The name of the blueprint of which changes are being discarded.

Returns
Type Description
DiscardBlueprintChangesResponse

discardBlueprintChanges(DiscardBlueprintChangesRequest request)

public final DiscardBlueprintChangesResponse discardBlueprintChanges(DiscardBlueprintChangesRequest request)

Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DiscardBlueprintChangesRequest request =
       DiscardBlueprintChangesRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   DiscardBlueprintChangesResponse response =
       telcoAutomationClient.discardBlueprintChanges(request);
 }
 
Parameter
Name Description
request DiscardBlueprintChangesRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
DiscardBlueprintChangesResponse

discardBlueprintChanges(String name)

public final DiscardBlueprintChangesResponse discardBlueprintChanges(String name)

Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
           .toString();
   DiscardBlueprintChangesResponse response =
       telcoAutomationClient.discardBlueprintChanges(name);
 }
 
Parameter
Name Description
name String

Required. The name of the blueprint of which changes are being discarded.

Returns
Type Description
DiscardBlueprintChangesResponse

discardBlueprintChangesCallable()

public final UnaryCallable<DiscardBlueprintChangesRequest,DiscardBlueprintChangesResponse> discardBlueprintChangesCallable()

Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DiscardBlueprintChangesRequest request =
       DiscardBlueprintChangesRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   ApiFuture<DiscardBlueprintChangesResponse> future =
       telcoAutomationClient.discardBlueprintChangesCallable().futureCall(request);
   // Do something.
   DiscardBlueprintChangesResponse response = future.get();
 }
 
Returns
Type Description
UnaryCallable<DiscardBlueprintChangesRequest,DiscardBlueprintChangesResponse>

discardDeploymentChanges(DeploymentName name)

public final DiscardDeploymentChangesResponse discardDeploymentChanges(DeploymentName name)

Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeploymentName name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
   DiscardDeploymentChangesResponse response =
       telcoAutomationClient.discardDeploymentChanges(name);
 }
 
Parameter
Name Description
name DeploymentName

Required. The name of the deployment of which changes are being discarded.

Returns
Type Description
DiscardDeploymentChangesResponse

discardDeploymentChanges(DiscardDeploymentChangesRequest request)

public final DiscardDeploymentChangesResponse discardDeploymentChanges(DiscardDeploymentChangesRequest request)

Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DiscardDeploymentChangesRequest request =
       DiscardDeploymentChangesRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .build();
   DiscardDeploymentChangesResponse response =
       telcoAutomationClient.discardDeploymentChanges(request);
 }
 
Parameter
Name Description
request DiscardDeploymentChangesRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
DiscardDeploymentChangesResponse

discardDeploymentChanges(String name)

public final DiscardDeploymentChangesResponse discardDeploymentChanges(String name)

Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
           .toString();
   DiscardDeploymentChangesResponse response =
       telcoAutomationClient.discardDeploymentChanges(name);
 }
 
Parameter
Name Description
name String

Required. The name of the deployment of which changes are being discarded.

Returns
Type Description
DiscardDeploymentChangesResponse

discardDeploymentChangesCallable()

public final UnaryCallable<DiscardDeploymentChangesRequest,DiscardDeploymentChangesResponse> discardDeploymentChangesCallable()

Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DiscardDeploymentChangesRequest request =
       DiscardDeploymentChangesRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .build();
   ApiFuture<DiscardDeploymentChangesResponse> future =
       telcoAutomationClient.discardDeploymentChangesCallable().futureCall(request);
   // Do something.
   DiscardDeploymentChangesResponse response = future.get();
 }
 
Returns
Type Description
UnaryCallable<DiscardDeploymentChangesRequest,DiscardDeploymentChangesResponse>

getBlueprint(BlueprintName name)

public final Blueprint getBlueprint(BlueprintName name)

Returns the requested blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   BlueprintName name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
   Blueprint response = telcoAutomationClient.getBlueprint(name);
 }
 
Parameter
Name Description
name BlueprintName

Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned.

Returns
Type Description
Blueprint

getBlueprint(GetBlueprintRequest request)

public final Blueprint getBlueprint(GetBlueprintRequest request)

Returns the requested blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetBlueprintRequest request =
       GetBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .setView(BlueprintView.forNumber(0))
           .build();
   Blueprint response = telcoAutomationClient.getBlueprint(request);
 }
 
Parameter
Name Description
request GetBlueprintRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Blueprint

getBlueprint(String name)

public final Blueprint getBlueprint(String name)

Returns the requested blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
           .toString();
   Blueprint response = telcoAutomationClient.getBlueprint(name);
 }
 
Parameter
Name Description
name String

Required. The name of the blueprint. Case 1: If the name provided in the request is {blueprint_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {blueprint}, then the current state of the blueprint is returned.

Returns
Type Description
Blueprint

getBlueprintCallable()

public final UnaryCallable<GetBlueprintRequest,Blueprint> getBlueprintCallable()

Returns the requested blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetBlueprintRequest request =
       GetBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .setView(BlueprintView.forNumber(0))
           .build();
   ApiFuture<Blueprint> future =
       telcoAutomationClient.getBlueprintCallable().futureCall(request);
   // Do something.
   Blueprint response = future.get();
 }
 
Returns
Type Description
UnaryCallable<GetBlueprintRequest,Blueprint>

getDeployment(DeploymentName name)

public final Deployment getDeployment(DeploymentName name)

Returns the requested deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeploymentName name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
   Deployment response = telcoAutomationClient.getDeployment(name);
 }
 
Parameter
Name Description
name DeploymentName

Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned.

Returns
Type Description
Deployment

getDeployment(GetDeploymentRequest request)

public final Deployment getDeployment(GetDeploymentRequest request)

Returns the requested deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetDeploymentRequest request =
       GetDeploymentRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setView(DeploymentView.forNumber(0))
           .build();
   Deployment response = telcoAutomationClient.getDeployment(request);
 }
 
Parameter
Name Description
request GetDeploymentRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Deployment

getDeployment(String name)

public final Deployment getDeployment(String name)

Returns the requested deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
           .toString();
   Deployment response = telcoAutomationClient.getDeployment(name);
 }
 
Parameter
Name Description
name String

Required. The name of the deployment. Case 1: If the name provided in the request is {deployment_id}@{revision_id}, then the revision with revision_id will be returned. Case 2: If the name provided in the request is {deployment}, then the current state of the deployment is returned.

Returns
Type Description
Deployment

getDeploymentCallable()

public final UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()

Returns the requested deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetDeploymentRequest request =
       GetDeploymentRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setView(DeploymentView.forNumber(0))
           .build();
   ApiFuture<Deployment> future =
       telcoAutomationClient.getDeploymentCallable().futureCall(request);
   // Do something.
   Deployment response = future.get();
 }
 
Returns
Type Description
UnaryCallable<GetDeploymentRequest,Deployment>

getEdgeSlm(EdgeSlmName name)

public final EdgeSlm getEdgeSlm(EdgeSlmName name)

Gets details of a single EdgeSlm.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   EdgeSlmName name = EdgeSlmName.of("[PROJECT]", "[LOCATION]", "[EDGE_SLM]");
   EdgeSlm response = telcoAutomationClient.getEdgeSlm(name);
 }
 
Parameter
Name Description
name EdgeSlmName

Required. Name of the resource

Returns
Type Description
EdgeSlm

getEdgeSlm(GetEdgeSlmRequest request)

public final EdgeSlm getEdgeSlm(GetEdgeSlmRequest request)

Gets details of a single EdgeSlm.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetEdgeSlmRequest request =
       GetEdgeSlmRequest.newBuilder()
           .setName(EdgeSlmName.of("[PROJECT]", "[LOCATION]", "[EDGE_SLM]").toString())
           .build();
   EdgeSlm response = telcoAutomationClient.getEdgeSlm(request);
 }
 
Parameter
Name Description
request GetEdgeSlmRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
EdgeSlm

getEdgeSlm(String name)

public final EdgeSlm getEdgeSlm(String name)

Gets details of a single EdgeSlm.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name = EdgeSlmName.of("[PROJECT]", "[LOCATION]", "[EDGE_SLM]").toString();
   EdgeSlm response = telcoAutomationClient.getEdgeSlm(name);
 }
 
Parameter
Name Description
name String

Required. Name of the resource

Returns
Type Description
EdgeSlm

getEdgeSlmCallable()

public final UnaryCallable<GetEdgeSlmRequest,EdgeSlm> getEdgeSlmCallable()

Gets details of a single EdgeSlm.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetEdgeSlmRequest request =
       GetEdgeSlmRequest.newBuilder()
           .setName(EdgeSlmName.of("[PROJECT]", "[LOCATION]", "[EDGE_SLM]").toString())
           .build();
   ApiFuture<EdgeSlm> future = telcoAutomationClient.getEdgeSlmCallable().futureCall(request);
   // Do something.
   EdgeSlm response = future.get();
 }
 
Returns
Type Description
UnaryCallable<GetEdgeSlmRequest,EdgeSlm>

getHttpJsonOperationsClient()

public final OperationsClient getHttpJsonOperationsClient()

Returns the OperationsClient that can be used to query the status of a long-running operation returned by another API method call.

Returns
Type Description
OperationsClient

getHydratedDeployment(GetHydratedDeploymentRequest request)

public final HydratedDeployment getHydratedDeployment(GetHydratedDeploymentRequest request)

Returns the requested hydrated deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetHydratedDeploymentRequest request =
       GetHydratedDeploymentRequest.newBuilder()
           .setName(
               HydratedDeploymentName.of(
                       "[PROJECT]",
                       "[LOCATION]",
                       "[ORCHESTRATION_CLUSTER]",
                       "[DEPLOYMENT]",
                       "[HYDRATED_DEPLOYMENT]")
                   .toString())
           .build();
   HydratedDeployment response = telcoAutomationClient.getHydratedDeployment(request);
 }
 
Parameter
Name Description
request GetHydratedDeploymentRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
HydratedDeployment

getHydratedDeployment(HydratedDeploymentName name)

public final HydratedDeployment getHydratedDeployment(HydratedDeploymentName name)

Returns the requested hydrated deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   HydratedDeploymentName name =
       HydratedDeploymentName.of(
           "[PROJECT]",
           "[LOCATION]",
           "[ORCHESTRATION_CLUSTER]",
           "[DEPLOYMENT]",
           "[HYDRATED_DEPLOYMENT]");
   HydratedDeployment response = telcoAutomationClient.getHydratedDeployment(name);
 }
 
Parameter
Name Description
name HydratedDeploymentName

Required. Name of the hydrated deployment.

Returns
Type Description
HydratedDeployment

getHydratedDeployment(String name)

public final HydratedDeployment getHydratedDeployment(String name)

Returns the requested hydrated deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       HydratedDeploymentName.of(
               "[PROJECT]",
               "[LOCATION]",
               "[ORCHESTRATION_CLUSTER]",
               "[DEPLOYMENT]",
               "[HYDRATED_DEPLOYMENT]")
           .toString();
   HydratedDeployment response = telcoAutomationClient.getHydratedDeployment(name);
 }
 
Parameter
Name Description
name String

Required. Name of the hydrated deployment.

Returns
Type Description
HydratedDeployment

getHydratedDeploymentCallable()

public final UnaryCallable<GetHydratedDeploymentRequest,HydratedDeployment> getHydratedDeploymentCallable()

Returns the requested hydrated deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetHydratedDeploymentRequest request =
       GetHydratedDeploymentRequest.newBuilder()
           .setName(
               HydratedDeploymentName.of(
                       "[PROJECT]",
                       "[LOCATION]",
                       "[ORCHESTRATION_CLUSTER]",
                       "[DEPLOYMENT]",
                       "[HYDRATED_DEPLOYMENT]")
                   .toString())
           .build();
   ApiFuture<HydratedDeployment> future =
       telcoAutomationClient.getHydratedDeploymentCallable().futureCall(request);
   // Do something.
   HydratedDeployment response = future.get();
 }
 
Returns
Type Description
UnaryCallable<GetHydratedDeploymentRequest,HydratedDeployment>

getLocation(GetLocationRequest request)

public final Location getLocation(GetLocationRequest request)

Gets information about a location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
   Location response = telcoAutomationClient.getLocation(request);
 }
 
Parameter
Name Description
request com.google.cloud.location.GetLocationRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
com.google.cloud.location.Location

getLocationCallable()

public final UnaryCallable<GetLocationRequest,Location> getLocationCallable()

Gets information about a location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
   ApiFuture<Location> future = telcoAutomationClient.getLocationCallable().futureCall(request);
   // Do something.
   Location response = future.get();
 }
 
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getOperationsClient()

public final OperationsClient getOperationsClient()

Returns the OperationsClient that can be used to query the status of a long-running operation returned by another API method call.

Returns
Type Description
OperationsClient

getOrchestrationCluster(GetOrchestrationClusterRequest request)

public final OrchestrationCluster getOrchestrationCluster(GetOrchestrationClusterRequest request)

Gets details of a single OrchestrationCluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetOrchestrationClusterRequest request =
       GetOrchestrationClusterRequest.newBuilder()
           .setName(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .build();
   OrchestrationCluster response = telcoAutomationClient.getOrchestrationCluster(request);
 }
 
Parameter
Name Description
request GetOrchestrationClusterRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
OrchestrationCluster

getOrchestrationCluster(OrchestrationClusterName name)

public final OrchestrationCluster getOrchestrationCluster(OrchestrationClusterName name)

Gets details of a single OrchestrationCluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   OrchestrationClusterName name =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
   OrchestrationCluster response = telcoAutomationClient.getOrchestrationCluster(name);
 }
 
Parameter
Name Description
name OrchestrationClusterName

Required. Name of the resource

Returns
Type Description
OrchestrationCluster

getOrchestrationCluster(String name)

public final OrchestrationCluster getOrchestrationCluster(String name)

Gets details of a single OrchestrationCluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
           .toString();
   OrchestrationCluster response = telcoAutomationClient.getOrchestrationCluster(name);
 }
 
Parameter
Name Description
name String

Required. Name of the resource

Returns
Type Description
OrchestrationCluster

getOrchestrationClusterCallable()

public final UnaryCallable<GetOrchestrationClusterRequest,OrchestrationCluster> getOrchestrationClusterCallable()

Gets details of a single OrchestrationCluster.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetOrchestrationClusterRequest request =
       GetOrchestrationClusterRequest.newBuilder()
           .setName(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .build();
   ApiFuture<OrchestrationCluster> future =
       telcoAutomationClient.getOrchestrationClusterCallable().futureCall(request);
   // Do something.
   OrchestrationCluster response = future.get();
 }
 
Returns
Type Description
UnaryCallable<GetOrchestrationClusterRequest,OrchestrationCluster>

getPublicBlueprint(GetPublicBlueprintRequest request)

public final PublicBlueprint getPublicBlueprint(GetPublicBlueprintRequest request)

Returns the requested public blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetPublicBlueprintRequest request =
       GetPublicBlueprintRequest.newBuilder()
           .setName(
               PublicBlueprintName.of("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]").toString())
           .build();
   PublicBlueprint response = telcoAutomationClient.getPublicBlueprint(request);
 }
 
Parameter
Name Description
request GetPublicBlueprintRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
PublicBlueprint

getPublicBlueprint(PublicBlueprintName name)

public final PublicBlueprint getPublicBlueprint(PublicBlueprintName name)

Returns the requested public blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   PublicBlueprintName name =
       PublicBlueprintName.of("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]");
   PublicBlueprint response = telcoAutomationClient.getPublicBlueprint(name);
 }
 
Parameter
Name Description
name PublicBlueprintName

Required. The name of the public blueprint.

Returns
Type Description
PublicBlueprint

getPublicBlueprint(String name)

public final PublicBlueprint getPublicBlueprint(String name)

Returns the requested public blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       PublicBlueprintName.of("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]").toString();
   PublicBlueprint response = telcoAutomationClient.getPublicBlueprint(name);
 }
 
Parameter
Name Description
name String

Required. The name of the public blueprint.

Returns
Type Description
PublicBlueprint

getPublicBlueprintCallable()

public final UnaryCallable<GetPublicBlueprintRequest,PublicBlueprint> getPublicBlueprintCallable()

Returns the requested public blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   GetPublicBlueprintRequest request =
       GetPublicBlueprintRequest.newBuilder()
           .setName(
               PublicBlueprintName.of("[PROJECT]", "[LOCATION]", "[PUBLIC_LUEPRINT]").toString())
           .build();
   ApiFuture<PublicBlueprint> future =
       telcoAutomationClient.getPublicBlueprintCallable().futureCall(request);
   // Do something.
   PublicBlueprint response = future.get();
 }
 
Returns
Type Description
UnaryCallable<GetPublicBlueprintRequest,PublicBlueprint>

getSettings()

public final TelcoAutomationSettings getSettings()
Returns
Type Description
TelcoAutomationSettings

getStub()

public TelcoAutomationStub getStub()
Returns
Type Description
TelcoAutomationStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBlueprintRevisions(BlueprintName name)

public final TelcoAutomationClient.ListBlueprintRevisionsPagedResponse listBlueprintRevisions(BlueprintName name)

List blueprint revisions of a given blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   BlueprintName name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
   for (Blueprint element : telcoAutomationClient.listBlueprintRevisions(name).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
name BlueprintName

Required. The name of the blueprint to list revisions for.

Returns
Type Description
TelcoAutomationClient.ListBlueprintRevisionsPagedResponse

listBlueprintRevisions(ListBlueprintRevisionsRequest request)

public final TelcoAutomationClient.ListBlueprintRevisionsPagedResponse listBlueprintRevisions(ListBlueprintRevisionsRequest request)

List blueprint revisions of a given blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListBlueprintRevisionsRequest request =
       ListBlueprintRevisionsRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (Blueprint element : telcoAutomationClient.listBlueprintRevisions(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request ListBlueprintRevisionsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.ListBlueprintRevisionsPagedResponse

listBlueprintRevisions(String name)

public final TelcoAutomationClient.ListBlueprintRevisionsPagedResponse listBlueprintRevisions(String name)

List blueprint revisions of a given blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
           .toString();
   for (Blueprint element : telcoAutomationClient.listBlueprintRevisions(name).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
name String

Required. The name of the blueprint to list revisions for.

Returns
Type Description
TelcoAutomationClient.ListBlueprintRevisionsPagedResponse

listBlueprintRevisionsCallable()

public final UnaryCallable<ListBlueprintRevisionsRequest,ListBlueprintRevisionsResponse> listBlueprintRevisionsCallable()

List blueprint revisions of a given blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListBlueprintRevisionsRequest request =
       ListBlueprintRevisionsRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     ListBlueprintRevisionsResponse response =
         telcoAutomationClient.listBlueprintRevisionsCallable().call(request);
     for (Blueprint element : response.getBlueprintsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<ListBlueprintRevisionsRequest,ListBlueprintRevisionsResponse>

listBlueprintRevisionsPagedCallable()

public final UnaryCallable<ListBlueprintRevisionsRequest,TelcoAutomationClient.ListBlueprintRevisionsPagedResponse> listBlueprintRevisionsPagedCallable()

List blueprint revisions of a given blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListBlueprintRevisionsRequest request =
       ListBlueprintRevisionsRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture<Blueprint> future =
       telcoAutomationClient.listBlueprintRevisionsPagedCallable().futureCall(request);
   // Do something.
   for (Blueprint element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<ListBlueprintRevisionsRequest,ListBlueprintRevisionsPagedResponse>

listBlueprints(ListBlueprintsRequest request)

public final TelcoAutomationClient.ListBlueprintsPagedResponse listBlueprints(ListBlueprintsRequest request)

List all blueprints.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListBlueprintsRequest request =
       ListBlueprintsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (Blueprint element : telcoAutomationClient.listBlueprints(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request ListBlueprintsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.ListBlueprintsPagedResponse

listBlueprints(OrchestrationClusterName parent)

public final TelcoAutomationClient.ListBlueprintsPagedResponse listBlueprints(OrchestrationClusterName parent)

List all blueprints.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   OrchestrationClusterName parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
   for (Blueprint element : telcoAutomationClient.listBlueprints(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent OrchestrationClusterName

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

Returns
Type Description
TelcoAutomationClient.ListBlueprintsPagedResponse

listBlueprints(String parent)

public final TelcoAutomationClient.ListBlueprintsPagedResponse listBlueprints(String parent)

List all blueprints.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
           .toString();
   for (Blueprint element : telcoAutomationClient.listBlueprints(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent String

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

Returns
Type Description
TelcoAutomationClient.ListBlueprintsPagedResponse

listBlueprintsCallable()

public final UnaryCallable<ListBlueprintsRequest,ListBlueprintsResponse> listBlueprintsCallable()

List all blueprints.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListBlueprintsRequest request =
       ListBlueprintsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     ListBlueprintsResponse response =
         telcoAutomationClient.listBlueprintsCallable().call(request);
     for (Blueprint element : response.getBlueprintsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<ListBlueprintsRequest,ListBlueprintsResponse>

listBlueprintsPagedCallable()

public final UnaryCallable<ListBlueprintsRequest,TelcoAutomationClient.ListBlueprintsPagedResponse> listBlueprintsPagedCallable()

List all blueprints.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListBlueprintsRequest request =
       ListBlueprintsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture<Blueprint> future =
       telcoAutomationClient.listBlueprintsPagedCallable().futureCall(request);
   // Do something.
   for (Blueprint element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<ListBlueprintsRequest,ListBlueprintsPagedResponse>

listDeploymentRevisions(DeploymentName name)

public final TelcoAutomationClient.ListDeploymentRevisionsPagedResponse listDeploymentRevisions(DeploymentName name)

List deployment revisions of a given deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeploymentName name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
   for (Deployment element : telcoAutomationClient.listDeploymentRevisions(name).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
name DeploymentName

Required. The name of the deployment to list revisions for.

Returns
Type Description
TelcoAutomationClient.ListDeploymentRevisionsPagedResponse

listDeploymentRevisions(ListDeploymentRevisionsRequest request)

public final TelcoAutomationClient.ListDeploymentRevisionsPagedResponse listDeploymentRevisions(ListDeploymentRevisionsRequest request)

List deployment revisions of a given deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListDeploymentRevisionsRequest request =
       ListDeploymentRevisionsRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (Deployment element :
       telcoAutomationClient.listDeploymentRevisions(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request ListDeploymentRevisionsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.ListDeploymentRevisionsPagedResponse

listDeploymentRevisions(String name)

public final TelcoAutomationClient.ListDeploymentRevisionsPagedResponse listDeploymentRevisions(String name)

List deployment revisions of a given deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
           .toString();
   for (Deployment element : telcoAutomationClient.listDeploymentRevisions(name).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
name String

Required. The name of the deployment to list revisions for.

Returns
Type Description
TelcoAutomationClient.ListDeploymentRevisionsPagedResponse

listDeploymentRevisionsCallable()

public final UnaryCallable<ListDeploymentRevisionsRequest,ListDeploymentRevisionsResponse> listDeploymentRevisionsCallable()

List deployment revisions of a given deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListDeploymentRevisionsRequest request =
       ListDeploymentRevisionsRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     ListDeploymentRevisionsResponse response =
         telcoAutomationClient.listDeploymentRevisionsCallable().call(request);
     for (Deployment element : response.getDeploymentsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<ListDeploymentRevisionsRequest,ListDeploymentRevisionsResponse>

listDeploymentRevisionsPagedCallable()

public final UnaryCallable<ListDeploymentRevisionsRequest,TelcoAutomationClient.ListDeploymentRevisionsPagedResponse> listDeploymentRevisionsPagedCallable()

List deployment revisions of a given deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListDeploymentRevisionsRequest request =
       ListDeploymentRevisionsRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture<Deployment> future =
       telcoAutomationClient.listDeploymentRevisionsPagedCallable().futureCall(request);
   // Do something.
   for (Deployment element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<ListDeploymentRevisionsRequest,ListDeploymentRevisionsPagedResponse>

listDeployments(ListDeploymentsRequest request)

public final TelcoAutomationClient.ListDeploymentsPagedResponse listDeployments(ListDeploymentsRequest request)

List all deployments.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListDeploymentsRequest request =
       ListDeploymentsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (Deployment element : telcoAutomationClient.listDeployments(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request ListDeploymentsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.ListDeploymentsPagedResponse

listDeployments(OrchestrationClusterName parent)

public final TelcoAutomationClient.ListDeploymentsPagedResponse listDeployments(OrchestrationClusterName parent)

List all deployments.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   OrchestrationClusterName parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
   for (Deployment element : telcoAutomationClient.listDeployments(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent OrchestrationClusterName

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

Returns
Type Description
TelcoAutomationClient.ListDeploymentsPagedResponse

listDeployments(String parent)

public final TelcoAutomationClient.ListDeploymentsPagedResponse listDeployments(String parent)

List all deployments.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
           .toString();
   for (Deployment element : telcoAutomationClient.listDeployments(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent String

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

Returns
Type Description
TelcoAutomationClient.ListDeploymentsPagedResponse

listDeploymentsCallable()

public final UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()

List all deployments.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListDeploymentsRequest request =
       ListDeploymentsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     ListDeploymentsResponse response =
         telcoAutomationClient.listDeploymentsCallable().call(request);
     for (Deployment element : response.getDeploymentsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse>

listDeploymentsPagedCallable()

public final UnaryCallable<ListDeploymentsRequest,TelcoAutomationClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()

List all deployments.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListDeploymentsRequest request =
       ListDeploymentsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture<Deployment> future =
       telcoAutomationClient.listDeploymentsPagedCallable().futureCall(request);
   // Do something.
   for (Deployment element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<ListDeploymentsRequest,ListDeploymentsPagedResponse>

listEdgeSlms(ListEdgeSlmsRequest request)

public final TelcoAutomationClient.ListEdgeSlmsPagedResponse listEdgeSlms(ListEdgeSlmsRequest request)

Lists EdgeSlms in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListEdgeSlmsRequest request =
       ListEdgeSlmsRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setFilter("filter-1274492040")
           .setOrderBy("orderBy-1207110587")
           .build();
   for (EdgeSlm element : telcoAutomationClient.listEdgeSlms(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request ListEdgeSlmsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.ListEdgeSlmsPagedResponse

listEdgeSlms(LocationName parent)

public final TelcoAutomationClient.ListEdgeSlmsPagedResponse listEdgeSlms(LocationName parent)

Lists EdgeSlms in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   for (EdgeSlm element : telcoAutomationClient.listEdgeSlms(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent LocationName

Required. Parent value for ListEdgeSlmsRequest

Returns
Type Description
TelcoAutomationClient.ListEdgeSlmsPagedResponse

listEdgeSlms(String parent)

public final TelcoAutomationClient.ListEdgeSlmsPagedResponse listEdgeSlms(String parent)

Lists EdgeSlms in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
   for (EdgeSlm element : telcoAutomationClient.listEdgeSlms(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent String

Required. Parent value for ListEdgeSlmsRequest

Returns
Type Description
TelcoAutomationClient.ListEdgeSlmsPagedResponse

listEdgeSlmsCallable()

public final UnaryCallable<ListEdgeSlmsRequest,ListEdgeSlmsResponse> listEdgeSlmsCallable()

Lists EdgeSlms in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListEdgeSlmsRequest request =
       ListEdgeSlmsRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setFilter("filter-1274492040")
           .setOrderBy("orderBy-1207110587")
           .build();
   while (true) {
     ListEdgeSlmsResponse response = telcoAutomationClient.listEdgeSlmsCallable().call(request);
     for (EdgeSlm element : response.getEdgeSlmsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<ListEdgeSlmsRequest,ListEdgeSlmsResponse>

listEdgeSlmsPagedCallable()

public final UnaryCallable<ListEdgeSlmsRequest,TelcoAutomationClient.ListEdgeSlmsPagedResponse> listEdgeSlmsPagedCallable()

Lists EdgeSlms in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListEdgeSlmsRequest request =
       ListEdgeSlmsRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setFilter("filter-1274492040")
           .setOrderBy("orderBy-1207110587")
           .build();
   ApiFuture<EdgeSlm> future =
       telcoAutomationClient.listEdgeSlmsPagedCallable().futureCall(request);
   // Do something.
   for (EdgeSlm element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<ListEdgeSlmsRequest,ListEdgeSlmsPagedResponse>

listHydratedDeployments(DeploymentName parent)

public final TelcoAutomationClient.ListHydratedDeploymentsPagedResponse listHydratedDeployments(DeploymentName parent)

List all hydrated deployments present under a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeploymentName parent =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
   for (HydratedDeployment element :
       telcoAutomationClient.listHydratedDeployments(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent DeploymentName

Required. The deployment managing the hydrated deployments.

Returns
Type Description
TelcoAutomationClient.ListHydratedDeploymentsPagedResponse

listHydratedDeployments(ListHydratedDeploymentsRequest request)

public final TelcoAutomationClient.ListHydratedDeploymentsPagedResponse listHydratedDeployments(ListHydratedDeploymentsRequest request)

List all hydrated deployments present under a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListHydratedDeploymentsRequest request =
       ListHydratedDeploymentsRequest.newBuilder()
           .setParent(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (HydratedDeployment element :
       telcoAutomationClient.listHydratedDeployments(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request ListHydratedDeploymentsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.ListHydratedDeploymentsPagedResponse

listHydratedDeployments(String parent)

public final TelcoAutomationClient.ListHydratedDeploymentsPagedResponse listHydratedDeployments(String parent)

List all hydrated deployments present under a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
           .toString();
   for (HydratedDeployment element :
       telcoAutomationClient.listHydratedDeployments(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent String

Required. The deployment managing the hydrated deployments.

Returns
Type Description
TelcoAutomationClient.ListHydratedDeploymentsPagedResponse

listHydratedDeploymentsCallable()

public final UnaryCallable<ListHydratedDeploymentsRequest,ListHydratedDeploymentsResponse> listHydratedDeploymentsCallable()

List all hydrated deployments present under a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListHydratedDeploymentsRequest request =
       ListHydratedDeploymentsRequest.newBuilder()
           .setParent(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     ListHydratedDeploymentsResponse response =
         telcoAutomationClient.listHydratedDeploymentsCallable().call(request);
     for (HydratedDeployment element : response.getHydratedDeploymentsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<ListHydratedDeploymentsRequest,ListHydratedDeploymentsResponse>

listHydratedDeploymentsPagedCallable()

public final UnaryCallable<ListHydratedDeploymentsRequest,TelcoAutomationClient.ListHydratedDeploymentsPagedResponse> listHydratedDeploymentsPagedCallable()

List all hydrated deployments present under a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListHydratedDeploymentsRequest request =
       ListHydratedDeploymentsRequest.newBuilder()
           .setParent(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture<HydratedDeployment> future =
       telcoAutomationClient.listHydratedDeploymentsPagedCallable().futureCall(request);
   // Do something.
   for (HydratedDeployment element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<ListHydratedDeploymentsRequest,ListHydratedDeploymentsPagedResponse>

listLocations(ListLocationsRequest request)

public final TelcoAutomationClient.ListLocationsPagedResponse listLocations(ListLocationsRequest request)

Lists information about the supported locations for this service.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListLocationsRequest request =
       ListLocationsRequest.newBuilder()
           .setName("name3373707")
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (Location element : telcoAutomationClient.listLocations(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request com.google.cloud.location.ListLocationsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.ListLocationsPagedResponse

listLocationsCallable()

public final UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()

Lists information about the supported locations for this service.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListLocationsRequest request =
       ListLocationsRequest.newBuilder()
           .setName("name3373707")
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     ListLocationsResponse response =
         telcoAutomationClient.listLocationsCallable().call(request);
     for (Location element : response.getLocationsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public final UnaryCallable<ListLocationsRequest,TelcoAutomationClient.ListLocationsPagedResponse> listLocationsPagedCallable()

Lists information about the supported locations for this service.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListLocationsRequest request =
       ListLocationsRequest.newBuilder()
           .setName("name3373707")
           .setFilter("filter-1274492040")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture<Location> future =
       telcoAutomationClient.listLocationsPagedCallable().futureCall(request);
   // Do something.
   for (Location element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

listOrchestrationClusters(ListOrchestrationClustersRequest request)

public final TelcoAutomationClient.ListOrchestrationClustersPagedResponse listOrchestrationClusters(ListOrchestrationClustersRequest request)

Lists OrchestrationClusters in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListOrchestrationClustersRequest request =
       ListOrchestrationClustersRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setFilter("filter-1274492040")
           .setOrderBy("orderBy-1207110587")
           .build();
   for (OrchestrationCluster element :
       telcoAutomationClient.listOrchestrationClusters(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request ListOrchestrationClustersRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.ListOrchestrationClustersPagedResponse

listOrchestrationClusters(LocationName parent)

public final TelcoAutomationClient.ListOrchestrationClustersPagedResponse listOrchestrationClusters(LocationName parent)

Lists OrchestrationClusters in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   for (OrchestrationCluster element :
       telcoAutomationClient.listOrchestrationClusters(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent LocationName

Required. Parent value for ListOrchestrationClustersRequest

Returns
Type Description
TelcoAutomationClient.ListOrchestrationClustersPagedResponse

listOrchestrationClusters(String parent)

public final TelcoAutomationClient.ListOrchestrationClustersPagedResponse listOrchestrationClusters(String parent)

Lists OrchestrationClusters in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
   for (OrchestrationCluster element :
       telcoAutomationClient.listOrchestrationClusters(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent String

Required. Parent value for ListOrchestrationClustersRequest

Returns
Type Description
TelcoAutomationClient.ListOrchestrationClustersPagedResponse

listOrchestrationClustersCallable()

public final UnaryCallable<ListOrchestrationClustersRequest,ListOrchestrationClustersResponse> listOrchestrationClustersCallable()

Lists OrchestrationClusters in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListOrchestrationClustersRequest request =
       ListOrchestrationClustersRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setFilter("filter-1274492040")
           .setOrderBy("orderBy-1207110587")
           .build();
   while (true) {
     ListOrchestrationClustersResponse response =
         telcoAutomationClient.listOrchestrationClustersCallable().call(request);
     for (OrchestrationCluster element : response.getOrchestrationClustersList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<ListOrchestrationClustersRequest,ListOrchestrationClustersResponse>

listOrchestrationClustersPagedCallable()

public final UnaryCallable<ListOrchestrationClustersRequest,TelcoAutomationClient.ListOrchestrationClustersPagedResponse> listOrchestrationClustersPagedCallable()

Lists OrchestrationClusters in a given project and location.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListOrchestrationClustersRequest request =
       ListOrchestrationClustersRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .setFilter("filter-1274492040")
           .setOrderBy("orderBy-1207110587")
           .build();
   ApiFuture<OrchestrationCluster> future =
       telcoAutomationClient.listOrchestrationClustersPagedCallable().futureCall(request);
   // Do something.
   for (OrchestrationCluster element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<ListOrchestrationClustersRequest,ListOrchestrationClustersPagedResponse>

listPublicBlueprints(ListPublicBlueprintsRequest request)

public final TelcoAutomationClient.ListPublicBlueprintsPagedResponse listPublicBlueprints(ListPublicBlueprintsRequest request)

Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListPublicBlueprintsRequest request =
       ListPublicBlueprintsRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (PublicBlueprint element :
       telcoAutomationClient.listPublicBlueprints(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request ListPublicBlueprintsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.ListPublicBlueprintsPagedResponse

listPublicBlueprints(LocationName parent)

public final TelcoAutomationClient.ListPublicBlueprintsPagedResponse listPublicBlueprints(LocationName parent)

Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   for (PublicBlueprint element :
       telcoAutomationClient.listPublicBlueprints(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent LocationName

Required. Parent value of public blueprint. Format should be - "projects/{project_id}/locations/{location_name}".

Returns
Type Description
TelcoAutomationClient.ListPublicBlueprintsPagedResponse

listPublicBlueprints(String parent)

public final TelcoAutomationClient.ListPublicBlueprintsPagedResponse listPublicBlueprints(String parent)

Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
   for (PublicBlueprint element :
       telcoAutomationClient.listPublicBlueprints(parent).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
parent String

Required. Parent value of public blueprint. Format should be - "projects/{project_id}/locations/{location_name}".

Returns
Type Description
TelcoAutomationClient.ListPublicBlueprintsPagedResponse

listPublicBlueprintsCallable()

public final UnaryCallable<ListPublicBlueprintsRequest,ListPublicBlueprintsResponse> listPublicBlueprintsCallable()

Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListPublicBlueprintsRequest request =
       ListPublicBlueprintsRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     ListPublicBlueprintsResponse response =
         telcoAutomationClient.listPublicBlueprintsCallable().call(request);
     for (PublicBlueprint element : response.getPublicBlueprintsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<ListPublicBlueprintsRequest,ListPublicBlueprintsResponse>

listPublicBlueprintsPagedCallable()

public final UnaryCallable<ListPublicBlueprintsRequest,TelcoAutomationClient.ListPublicBlueprintsPagedResponse> listPublicBlueprintsPagedCallable()

Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ListPublicBlueprintsRequest request =
       ListPublicBlueprintsRequest.newBuilder()
           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture<PublicBlueprint> future =
       telcoAutomationClient.listPublicBlueprintsPagedCallable().futureCall(request);
   // Do something.
   for (PublicBlueprint element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<ListPublicBlueprintsRequest,ListPublicBlueprintsPagedResponse>

proposeBlueprint(BlueprintName name)

public final Blueprint proposeBlueprint(BlueprintName name)

Proposes a blueprint for approval of changes.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   BlueprintName name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
   Blueprint response = telcoAutomationClient.proposeBlueprint(name);
 }
 
Parameter
Name Description
name BlueprintName

Required. The name of the blueprint being proposed.

Returns
Type Description
Blueprint

proposeBlueprint(ProposeBlueprintRequest request)

public final Blueprint proposeBlueprint(ProposeBlueprintRequest request)

Proposes a blueprint for approval of changes.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ProposeBlueprintRequest request =
       ProposeBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   Blueprint response = telcoAutomationClient.proposeBlueprint(request);
 }
 
Parameter
Name Description
request ProposeBlueprintRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Blueprint

proposeBlueprint(String name)

public final Blueprint proposeBlueprint(String name)

Proposes a blueprint for approval of changes.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
           .toString();
   Blueprint response = telcoAutomationClient.proposeBlueprint(name);
 }
 
Parameter
Name Description
name String

Required. The name of the blueprint being proposed.

Returns
Type Description
Blueprint

proposeBlueprintCallable()

public final UnaryCallable<ProposeBlueprintRequest,Blueprint> proposeBlueprintCallable()

Proposes a blueprint for approval of changes.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   ProposeBlueprintRequest request =
       ProposeBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   ApiFuture<Blueprint> future =
       telcoAutomationClient.proposeBlueprintCallable().futureCall(request);
   // Do something.
   Blueprint response = future.get();
 }
 
Returns
Type Description
UnaryCallable<ProposeBlueprintRequest,Blueprint>

rejectBlueprint(BlueprintName name)

public final Blueprint rejectBlueprint(BlueprintName name)

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

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   BlueprintName name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]");
   Blueprint response = telcoAutomationClient.rejectBlueprint(name);
 }
 
Parameter
Name Description
name BlueprintName

Required. The name of the blueprint being rejected.

Returns
Type Description
Blueprint

rejectBlueprint(RejectBlueprintRequest request)

public final Blueprint rejectBlueprint(RejectBlueprintRequest request)

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

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   RejectBlueprintRequest request =
       RejectBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   Blueprint response = telcoAutomationClient.rejectBlueprint(request);
 }
 
Parameter
Name Description
request RejectBlueprintRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Blueprint

rejectBlueprint(String name)

public final Blueprint rejectBlueprint(String name)

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

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       BlueprintName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
           .toString();
   Blueprint response = telcoAutomationClient.rejectBlueprint(name);
 }
 
Parameter
Name Description
name String

Required. The name of the blueprint being rejected.

Returns
Type Description
Blueprint

rejectBlueprintCallable()

public final UnaryCallable<RejectBlueprintRequest,Blueprint> rejectBlueprintCallable()

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

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   RejectBlueprintRequest request =
       RejectBlueprintRequest.newBuilder()
           .setName(
               BlueprintName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[BLUEPRINT]")
                   .toString())
           .build();
   ApiFuture<Blueprint> future =
       telcoAutomationClient.rejectBlueprintCallable().futureCall(request);
   // Do something.
   Blueprint response = future.get();
 }
 
Returns
Type Description
UnaryCallable<RejectBlueprintRequest,Blueprint>

removeDeployment(DeploymentName name)

public final void removeDeployment(DeploymentName name)

Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeploymentName name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
   telcoAutomationClient.removeDeployment(name);
 }
 
Parameter
Name Description
name DeploymentName

Required. The name of deployment to initiate delete.

removeDeployment(RemoveDeploymentRequest request)

public final void removeDeployment(RemoveDeploymentRequest request)

Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   RemoveDeploymentRequest request =
       RemoveDeploymentRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .build();
   telcoAutomationClient.removeDeployment(request);
 }
 
Parameter
Name Description
request RemoveDeploymentRequest

The request object containing all of the parameters for the API call.

removeDeployment(String name)

public final void removeDeployment(String name)

Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
           .toString();
   telcoAutomationClient.removeDeployment(name);
 }
 
Parameter
Name Description
name String

Required. The name of deployment to initiate delete.

removeDeploymentCallable()

public final UnaryCallable<RemoveDeploymentRequest,Empty> removeDeploymentCallable()

Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   RemoveDeploymentRequest request =
       RemoveDeploymentRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .build();
   ApiFuture<Empty> future =
       telcoAutomationClient.removeDeploymentCallable().futureCall(request);
   // Do something.
   future.get();
 }
 
Returns
Type Description
UnaryCallable<RemoveDeploymentRequest,Empty>

rollbackDeployment(DeploymentName name, String revisionId)

public final Deployment rollbackDeployment(DeploymentName name, String revisionId)

Rollback the active deployment to the given past approved deployment revision.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   DeploymentName name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]");
   String revisionId = "revisionId-1507445162";
   Deployment response = telcoAutomationClient.rollbackDeployment(name, revisionId);
 }
 
Parameters
Name Description
name DeploymentName

Required. Name of the deployment.

revisionId String

Required. The revision id of deployment to roll back to.

Returns
Type Description
Deployment

rollbackDeployment(RollbackDeploymentRequest request)

public final Deployment rollbackDeployment(RollbackDeploymentRequest request)

Rollback the active deployment to the given past approved deployment revision.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   RollbackDeploymentRequest request =
       RollbackDeploymentRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setRevisionId("revisionId-1507445162")
           .build();
   Deployment response = telcoAutomationClient.rollbackDeployment(request);
 }
 
Parameter
Name Description
request RollbackDeploymentRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Deployment

rollbackDeployment(String name, String revisionId)

public final Deployment rollbackDeployment(String name, String revisionId)

Rollback the active deployment to the given past approved deployment revision.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String name =
       DeploymentName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
           .toString();
   String revisionId = "revisionId-1507445162";
   Deployment response = telcoAutomationClient.rollbackDeployment(name, revisionId);
 }
 
Parameters
Name Description
name String

Required. Name of the deployment.

revisionId String

Required. The revision id of deployment to roll back to.

Returns
Type Description
Deployment

rollbackDeploymentCallable()

public final UnaryCallable<RollbackDeploymentRequest,Deployment> rollbackDeploymentCallable()

Rollback the active deployment to the given past approved deployment revision.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   RollbackDeploymentRequest request =
       RollbackDeploymentRequest.newBuilder()
           .setName(
               DeploymentName.of(
                       "[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]", "[DEPLOYMENT]")
                   .toString())
           .setRevisionId("revisionId-1507445162")
           .build();
   ApiFuture<Deployment> future =
       telcoAutomationClient.rollbackDeploymentCallable().futureCall(request);
   // Do something.
   Deployment response = future.get();
 }
 
Returns
Type Description
UnaryCallable<RollbackDeploymentRequest,Deployment>

searchBlueprintRevisions(OrchestrationClusterName parent, String query)

public final TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse searchBlueprintRevisions(OrchestrationClusterName parent, String query)

Searches across blueprint revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   OrchestrationClusterName parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
   String query = "query107944136";
   for (Blueprint element :
       telcoAutomationClient.searchBlueprintRevisions(parent, query).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameters
Name Description
parent OrchestrationClusterName

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

query String

Required. Supported queries: 1. "" : Lists all revisions across all blueprints. 2. "latest=true" : Lists latest revisions across all blueprints. 3. "name={name}" : Lists all revisions of blueprint with name {name}. 4. "name={name} latest=true": Lists latest revision of blueprint with name {name}

Returns
Type Description
TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse

searchBlueprintRevisions(SearchBlueprintRevisionsRequest request)

public final TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse searchBlueprintRevisions(SearchBlueprintRevisionsRequest request)

Searches across blueprint revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   SearchBlueprintRevisionsRequest request =
       SearchBlueprintRevisionsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setQuery("query107944136")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (Blueprint element :
       telcoAutomationClient.searchBlueprintRevisions(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request SearchBlueprintRevisionsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse

searchBlueprintRevisions(String parent, String query)

public final TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse searchBlueprintRevisions(String parent, String query)

Searches across blueprint revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
           .toString();
   String query = "query107944136";
   for (Blueprint element :
       telcoAutomationClient.searchBlueprintRevisions(parent, query).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameters
Name Description
parent String

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

query String

Required. Supported queries: 1. "" : Lists all revisions across all blueprints. 2. "latest=true" : Lists latest revisions across all blueprints. 3. "name={name}" : Lists all revisions of blueprint with name {name}. 4. "name={name} latest=true": Lists latest revision of blueprint with name {name}

Returns
Type Description
TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse

searchBlueprintRevisionsCallable()

public final UnaryCallable<SearchBlueprintRevisionsRequest,SearchBlueprintRevisionsResponse> searchBlueprintRevisionsCallable()

Searches across blueprint revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   SearchBlueprintRevisionsRequest request =
       SearchBlueprintRevisionsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setQuery("query107944136")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     SearchBlueprintRevisionsResponse response =
         telcoAutomationClient.searchBlueprintRevisionsCallable().call(request);
     for (Blueprint element : response.getBlueprintsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<SearchBlueprintRevisionsRequest,SearchBlueprintRevisionsResponse>

searchBlueprintRevisionsPagedCallable()

public final UnaryCallable<SearchBlueprintRevisionsRequest,TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse> searchBlueprintRevisionsPagedCallable()

Searches across blueprint revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   SearchBlueprintRevisionsRequest request =
       SearchBlueprintRevisionsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setQuery("query107944136")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture<Blueprint> future =
       telcoAutomationClient.searchBlueprintRevisionsPagedCallable().futureCall(request);
   // Do something.
   for (Blueprint element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<SearchBlueprintRevisionsRequest,SearchBlueprintRevisionsPagedResponse>

searchDeploymentRevisions(OrchestrationClusterName parent, String query)

public final TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse searchDeploymentRevisions(OrchestrationClusterName parent, String query)

Searches across deployment revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   OrchestrationClusterName parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]");
   String query = "query107944136";
   for (Deployment element :
       telcoAutomationClient.searchDeploymentRevisions(parent, query).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameters
Name Description
parent OrchestrationClusterName

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

query String

Required. Supported queries: 1. "" : Lists all revisions across all deployments.

  1. "latest=true" : Lists latest revisions across all deployments. 3. "name={name}" : Lists all revisions of deployment with name {name}. 4. "name={name} latest=true": Lists latest revision of deployment with name {name}
Returns
Type Description
TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse

searchDeploymentRevisions(SearchDeploymentRevisionsRequest request)

public final TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse searchDeploymentRevisions(SearchDeploymentRevisionsRequest request)

Searches across deployment revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   SearchDeploymentRevisionsRequest request =
       SearchDeploymentRevisionsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setQuery("query107944136")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   for (Deployment element :
       telcoAutomationClient.searchDeploymentRevisions(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameter
Name Description
request SearchDeploymentRevisionsRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse

searchDeploymentRevisions(String parent, String query)

public final TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse searchDeploymentRevisions(String parent, String query)

Searches across deployment revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   String parent =
       OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
           .toString();
   String query = "query107944136";
   for (Deployment element :
       telcoAutomationClient.searchDeploymentRevisions(parent, query).iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Parameters
Name Description
parent String

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

query String

Required. Supported queries: 1. "" : Lists all revisions across all deployments.

  1. "latest=true" : Lists latest revisions across all deployments. 3. "name={name}" : Lists all revisions of deployment with name {name}. 4. "name={name} latest=true": Lists latest revision of deployment with name {name}
Returns
Type Description
TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse

searchDeploymentRevisionsCallable()

public final UnaryCallable<SearchDeploymentRevisionsRequest,SearchDeploymentRevisionsResponse> searchDeploymentRevisionsCallable()

Searches across deployment revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   SearchDeploymentRevisionsRequest request =
       SearchDeploymentRevisionsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setQuery("query107944136")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   while (true) {
     SearchDeploymentRevisionsResponse response =
         telcoAutomationClient.searchDeploymentRevisionsCallable().call(request);
     for (Deployment element : response.getDeploymentsList()) {
       // doThingsWith(element);
     }
     String nextPageToken = response.getNextPageToken();
     if (!Strings.isNullOrEmpty(nextPageToken)) {
       request = request.toBuilder().setPageToken(nextPageToken).build();
     } else {
       break;
     }
   }
 }
 
Returns
Type Description
UnaryCallable<SearchDeploymentRevisionsRequest,SearchDeploymentRevisionsResponse>

searchDeploymentRevisionsPagedCallable()

public final UnaryCallable<SearchDeploymentRevisionsRequest,TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse> searchDeploymentRevisionsPagedCallable()

Searches across deployment revisions.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   SearchDeploymentRevisionsRequest request =
       SearchDeploymentRevisionsRequest.newBuilder()
           .setParent(
               OrchestrationClusterName.of("[PROJECT]", "[LOCATION]", "[ORCHESTRATION_CLUSTER]")
                   .toString())
           .setQuery("query107944136")
           .setPageSize(883849137)
           .setPageToken("pageToken873572522")
           .build();
   ApiFuture<Deployment> future =
       telcoAutomationClient.searchDeploymentRevisionsPagedCallable().futureCall(request);
   // Do something.
   for (Deployment element : future.get().iterateAll()) {
     // doThingsWith(element);
   }
 }
 
Returns
Type Description
UnaryCallable<SearchDeploymentRevisionsRequest,SearchDeploymentRevisionsPagedResponse>

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateBlueprint(Blueprint blueprint, FieldMask updateMask)

public final Blueprint updateBlueprint(Blueprint blueprint, FieldMask updateMask)

Updates a blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   Blueprint blueprint = Blueprint.newBuilder().build();
   FieldMask updateMask = FieldMask.newBuilder().build();
   Blueprint response = telcoAutomationClient.updateBlueprint(blueprint, updateMask);
 }
 
Parameters
Name Description
blueprint Blueprint

Required. The blueprint to update.

updateMask FieldMask

Required. Update mask is used to specify the fields to be overwritten in the blueprint resource by the update.

Returns
Type Description
Blueprint

updateBlueprint(UpdateBlueprintRequest request)

public final Blueprint updateBlueprint(UpdateBlueprintRequest request)

Updates a blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   UpdateBlueprintRequest request =
       UpdateBlueprintRequest.newBuilder()
           .setBlueprint(Blueprint.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   Blueprint response = telcoAutomationClient.updateBlueprint(request);
 }
 
Parameter
Name Description
request UpdateBlueprintRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Blueprint

updateBlueprintCallable()

public final UnaryCallable<UpdateBlueprintRequest,Blueprint> updateBlueprintCallable()

Updates a blueprint.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   UpdateBlueprintRequest request =
       UpdateBlueprintRequest.newBuilder()
           .setBlueprint(Blueprint.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   ApiFuture<Blueprint> future =
       telcoAutomationClient.updateBlueprintCallable().futureCall(request);
   // Do something.
   Blueprint response = future.get();
 }
 
Returns
Type Description
UnaryCallable<UpdateBlueprintRequest,Blueprint>

updateDeployment(Deployment deployment, FieldMask updateMask)

public final Deployment updateDeployment(Deployment deployment, FieldMask updateMask)

Updates a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   Deployment deployment = Deployment.newBuilder().build();
   FieldMask updateMask = FieldMask.newBuilder().build();
   Deployment response = telcoAutomationClient.updateDeployment(deployment, updateMask);
 }
 
Parameters
Name Description
deployment Deployment

Required. The deployment to update.

updateMask FieldMask

Required. Update mask is used to specify the fields to be overwritten in the deployment resource by the update.

Returns
Type Description
Deployment

updateDeployment(UpdateDeploymentRequest request)

public final Deployment updateDeployment(UpdateDeploymentRequest request)

Updates a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   UpdateDeploymentRequest request =
       UpdateDeploymentRequest.newBuilder()
           .setDeployment(Deployment.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   Deployment response = telcoAutomationClient.updateDeployment(request);
 }
 
Parameter
Name Description
request UpdateDeploymentRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
Deployment

updateDeploymentCallable()

public final UnaryCallable<UpdateDeploymentRequest,Deployment> updateDeploymentCallable()

Updates a deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   UpdateDeploymentRequest request =
       UpdateDeploymentRequest.newBuilder()
           .setDeployment(Deployment.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   ApiFuture<Deployment> future =
       telcoAutomationClient.updateDeploymentCallable().futureCall(request);
   // Do something.
   Deployment response = future.get();
 }
 
Returns
Type Description
UnaryCallable<UpdateDeploymentRequest,Deployment>

updateHydratedDeployment(HydratedDeployment hydratedDeployment, FieldMask updateMask)

public final HydratedDeployment updateHydratedDeployment(HydratedDeployment hydratedDeployment, FieldMask updateMask)

Updates a hydrated deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   HydratedDeployment hydratedDeployment = HydratedDeployment.newBuilder().build();
   FieldMask updateMask = FieldMask.newBuilder().build();
   HydratedDeployment response =
       telcoAutomationClient.updateHydratedDeployment(hydratedDeployment, updateMask);
 }
 
Parameters
Name Description
hydratedDeployment HydratedDeployment

Required. The hydrated deployment to update.

updateMask FieldMask

Required. The list of fields to update. Update mask supports a special value * which fully replaces (equivalent to PUT) the resource provided.

Returns
Type Description
HydratedDeployment

updateHydratedDeployment(UpdateHydratedDeploymentRequest request)

public final HydratedDeployment updateHydratedDeployment(UpdateHydratedDeploymentRequest request)

Updates a hydrated deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   UpdateHydratedDeploymentRequest request =
       UpdateHydratedDeploymentRequest.newBuilder()
           .setHydratedDeployment(HydratedDeployment.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   HydratedDeployment response = telcoAutomationClient.updateHydratedDeployment(request);
 }
 
Parameter
Name Description
request UpdateHydratedDeploymentRequest

The request object containing all of the parameters for the API call.

Returns
Type Description
HydratedDeployment

updateHydratedDeploymentCallable()

public final UnaryCallable<UpdateHydratedDeploymentRequest,HydratedDeployment> updateHydratedDeploymentCallable()

Updates a hydrated deployment.

Sample code:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TelcoAutomationClient telcoAutomationClient = TelcoAutomationClient.create()) {
   UpdateHydratedDeploymentRequest request =
       UpdateHydratedDeploymentRequest.newBuilder()
           .setHydratedDeployment(HydratedDeployment.newBuilder().build())
           .setUpdateMask(FieldMask.newBuilder().build())
           .build();
   ApiFuture<HydratedDeployment> future =
       telcoAutomationClient.updateHydratedDeploymentCallable().futureCall(request);
   // Do something.
   HydratedDeployment response = future.get();
 }
 
Returns
Type Description
UnaryCallable<UpdateHydratedDeploymentRequest,HydratedDeployment>