Class TelcoAutomationClient (2.23.0)

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.

Equality

Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection> objects compare equal. Objects that compare equal share the same underlying resources.

Performance

Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.

Thread Safety

Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.

Constructors

TelcoAutomationClient(TelcoAutomationClient const &)

Copy and move support

Parameter
Name Description
TelcoAutomationClient const &

TelcoAutomationClient(TelcoAutomationClient &&)

Copy and move support

Parameter
Name Description
TelcoAutomationClient &&

TelcoAutomationClient(std::shared_ptr< TelcoAutomationConnection >, Options)

Parameters
Name Description
connection std::shared_ptr< TelcoAutomationConnection >
opts Options

Operators

operator=(TelcoAutomationClient const &)

Copy and move support

Parameter
Name Description
TelcoAutomationClient const &
Returns
Type Description
TelcoAutomationClient &

operator=(TelcoAutomationClient &&)

Copy and move support

Parameter
Name Description
TelcoAutomationClient &&
Returns
Type Description
TelcoAutomationClient &

Functions

GetBlueprint(std::string const &, Options)

Returns the requested blueprint.

Parameters
Name Description
name std::string const &

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.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetBlueprint(google::cloud::telcoautomation::v1::GetBlueprintRequest const &, Options)

Returns the requested blueprint.

Parameters
Name Description
request google::cloud::telcoautomation::v1::GetBlueprintRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.GetBlueprintRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DeleteBlueprint(std::string const &, Options)

Deletes a blueprint and all its revisions.

Parameters
Name Description
name std::string const &

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.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteBlueprint(google::cloud::telcoautomation::v1::DeleteBlueprintRequest const &, Options)

Deletes a blueprint and all its revisions.

Parameters
Name Description
request google::cloud::telcoautomation::v1::DeleteBlueprintRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.DeleteBlueprintRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

ListBlueprints(std::string const &, Options)

List all blueprints.

Parameters
Name Description
parent std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Blueprint >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Blueprint, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListBlueprints(google::cloud::telcoautomation::v1::ListBlueprintsRequest, Options)

List all blueprints.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ListBlueprintsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ListBlueprintsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Blueprint >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Blueprint, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ApproveBlueprint(std::string const &, Options)

Approves a blueprint and commits a new revision.

Parameters
Name Description
name std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ApproveBlueprint(google::cloud::telcoautomation::v1::ApproveBlueprintRequest const &, Options)

Approves a blueprint and commits a new revision.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ApproveBlueprintRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ApproveBlueprintRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ProposeBlueprint(std::string const &, Options)

Proposes a blueprint for approval of changes.

Parameters
Name Description
name std::string const &

Required. The name of the blueprint being proposed.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ProposeBlueprint(google::cloud::telcoautomation::v1::ProposeBlueprintRequest const &, Options)

Proposes a blueprint for approval of changes.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ProposeBlueprintRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ProposeBlueprintRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

RejectBlueprint(std::string const &, Options)

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

Parameters
Name Description
name std::string const &

Required. The name of the blueprint being rejected.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

RejectBlueprint(google::cloud::telcoautomation::v1::RejectBlueprintRequest const &, Options)

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

Parameters
Name Description
request google::cloud::telcoautomation::v1::RejectBlueprintRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.RejectBlueprintRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListBlueprintRevisions(std::string const &, Options)

List blueprint revisions of a given blueprint.

Parameters
Name Description
name std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Blueprint >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Blueprint, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListBlueprintRevisions(google::cloud::telcoautomation::v1::ListBlueprintRevisionsRequest, Options)

List blueprint revisions of a given blueprint.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ListBlueprintRevisionsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ListBlueprintRevisionsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Blueprint >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Blueprint, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

SearchBlueprintRevisions(std::string const &, std::string const &, Options)

Searches across blueprint revisions.

Parameters
Name Description
parent std::string const &

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

query std::string const &

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}
opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Blueprint >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Blueprint, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

SearchBlueprintRevisions(google::cloud::telcoautomation::v1::SearchBlueprintRevisionsRequest, Options)

Searches across blueprint revisions.

Parameters
Name Description
request google::cloud::telcoautomation::v1::SearchBlueprintRevisionsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.SearchBlueprintRevisionsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Blueprint >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Blueprint, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

SearchDeploymentRevisions(std::string const &, std::string const &, Options)

Searches across deployment revisions.

Parameters
Name Description
parent std::string const &

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

query std::string const &

Required. Supported queries:

  1. "" : Lists all revisions across all deployments.
  2. "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}
opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Deployment >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Deployment, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

SearchDeploymentRevisions(google::cloud::telcoautomation::v1::SearchDeploymentRevisionsRequest, Options)

Searches across deployment revisions.

Parameters
Name Description
request google::cloud::telcoautomation::v1::SearchDeploymentRevisionsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.SearchDeploymentRevisionsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Deployment >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Deployment, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

DiscardBlueprintChanges(std::string const &, Options)

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.

Parameters
Name Description
name std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::DiscardBlueprintChangesResponse >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.DiscardBlueprintChangesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DiscardBlueprintChanges(google::cloud::telcoautomation::v1::DiscardBlueprintChangesRequest const &, Options)

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.

Parameters
Name Description
request google::cloud::telcoautomation::v1::DiscardBlueprintChangesRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.DiscardBlueprintChangesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::DiscardBlueprintChangesResponse >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.DiscardBlueprintChangesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListPublicBlueprints(std::string const &, Options)

Lists the blueprints in TNA's public catalog.

Default page size = 20, Max Page Size = 100.

Parameters
Name Description
parent std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::PublicBlueprint >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.PublicBlueprint, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListPublicBlueprints(google::cloud::telcoautomation::v1::ListPublicBlueprintsRequest, Options)

Lists the blueprints in TNA's public catalog.

Default page size = 20, Max Page Size = 100.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ListPublicBlueprintsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ListPublicBlueprintsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::PublicBlueprint >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.PublicBlueprint, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetPublicBlueprint(std::string const &, Options)

Returns the requested public blueprint.

Parameters
Name Description
name std::string const &

Required. The name of the public blueprint.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::PublicBlueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.PublicBlueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetPublicBlueprint(google::cloud::telcoautomation::v1::GetPublicBlueprintRequest const &, Options)

Returns the requested public blueprint.

Parameters
Name Description
request google::cloud::telcoautomation::v1::GetPublicBlueprintRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.GetPublicBlueprintRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::PublicBlueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.PublicBlueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateDeployment(std::string const &, google::cloud::telcoautomation::v1::Deployment const &, std::string const &, Options)

Creates a deployment.

Parameters
Name Description
parent std::string const &

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

deployment google::cloud::telcoautomation::v1::Deployment const &

Required. The Deployment to create.

deployment_id std::string const &

Optional. The name of the deployment.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateDeployment(google::cloud::telcoautomation::v1::CreateDeploymentRequest const &, Options)

Creates a deployment.

Parameters
Name Description
request google::cloud::telcoautomation::v1::CreateDeploymentRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.CreateDeploymentRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateDeployment(google::cloud::telcoautomation::v1::Deployment const &, google::protobuf::FieldMask const &, Options)

Updates a deployment.

Parameters
Name Description
deployment google::cloud::telcoautomation::v1::Deployment const &

Required. The deployment to update.

update_mask google::protobuf::FieldMask const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateDeployment(google::cloud::telcoautomation::v1::UpdateDeploymentRequest const &, Options)

Updates a deployment.

Parameters
Name Description
request google::cloud::telcoautomation::v1::UpdateDeploymentRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.UpdateDeploymentRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetDeployment(std::string const &, Options)

Returns the requested deployment.

Parameters
Name Description
name std::string const &

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.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetDeployment(google::cloud::telcoautomation::v1::GetDeploymentRequest const &, Options)

Returns the requested deployment.

Parameters
Name Description
request google::cloud::telcoautomation::v1::GetDeploymentRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.GetDeploymentRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

RemoveDeployment(std::string const &, Options)

Removes the deployment by marking it as DELETING.

Post which deployment and it's revisions gets deleted.

Parameters
Name Description
name std::string const &

Required. The name of deployment to initiate delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

RemoveDeployment(google::cloud::telcoautomation::v1::RemoveDeploymentRequest const &, Options)

Removes the deployment by marking it as DELETING.

Post which deployment and it's revisions gets deleted.

Parameters
Name Description
request google::cloud::telcoautomation::v1::RemoveDeploymentRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.RemoveDeploymentRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

ListDeployments(std::string const &, Options)

List all deployments.

Parameters
Name Description
parent std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Deployment >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Deployment, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListDeployments(google::cloud::telcoautomation::v1::ListDeploymentsRequest, Options)

List all deployments.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ListDeploymentsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ListDeploymentsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Deployment >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Deployment, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListDeploymentRevisions(std::string const &, Options)

List deployment revisions of a given deployment.

Parameters
Name Description
name std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Deployment >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Deployment, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListDeploymentRevisions(google::cloud::telcoautomation::v1::ListDeploymentRevisionsRequest, Options)

List deployment revisions of a given deployment.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ListDeploymentRevisionsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ListDeploymentRevisionsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::Deployment >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.Deployment, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

DiscardDeploymentChanges(std::string const &, Options)

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.

Parameters
Name Description
name std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::DiscardDeploymentChangesResponse >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.DiscardDeploymentChangesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DiscardDeploymentChanges(google::cloud::telcoautomation::v1::DiscardDeploymentChangesRequest const &, Options)

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.

Parameters
Name Description
request google::cloud::telcoautomation::v1::DiscardDeploymentChangesRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.DiscardDeploymentChangesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::DiscardDeploymentChangesResponse >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.DiscardDeploymentChangesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ApplyDeployment(std::string const &, Options)

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

Parameters
Name Description
name std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ApplyDeployment(google::cloud::telcoautomation::v1::ApplyDeploymentRequest const &, Options)

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

Parameters
Name Description
request google::cloud::telcoautomation::v1::ApplyDeploymentRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ApplyDeploymentRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ComputeDeploymentStatus(std::string const &, Options)

Returns the requested deployment status.

Parameters
Name Description
name std::string const &

Required. The name of the deployment without revisionID.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::ComputeDeploymentStatusResponse >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.ComputeDeploymentStatusResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ComputeDeploymentStatus(google::cloud::telcoautomation::v1::ComputeDeploymentStatusRequest const &, Options)

Returns the requested deployment status.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ComputeDeploymentStatusRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ComputeDeploymentStatusRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::ComputeDeploymentStatusResponse >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.ComputeDeploymentStatusResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

RollbackDeployment(std::string const &, std::string const &, Options)

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

Parameters
Name Description
name std::string const &

Required. Name of the deployment.

revision_id std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

RollbackDeployment(google::cloud::telcoautomation::v1::RollbackDeploymentRequest const &, Options)

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

Parameters
Name Description
request google::cloud::telcoautomation::v1::RollbackDeploymentRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.RollbackDeploymentRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Deployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Deployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetHydratedDeployment(std::string const &, Options)

Returns the requested hydrated deployment.

Parameters
Name Description
name std::string const &

Required. Name of the hydrated deployment.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::HydratedDeployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.HydratedDeployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetHydratedDeployment(google::cloud::telcoautomation::v1::GetHydratedDeploymentRequest const &, Options)

Returns the requested hydrated deployment.

Parameters
Name Description
request google::cloud::telcoautomation::v1::GetHydratedDeploymentRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.GetHydratedDeploymentRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::HydratedDeployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.HydratedDeployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListHydratedDeployments(std::string const &, Options)

List all hydrated deployments present under a deployment.

Parameters
Name Description
parent std::string const &

Required. The deployment managing the hydrated deployments.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::HydratedDeployment >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.HydratedDeployment, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListHydratedDeployments(google::cloud::telcoautomation::v1::ListHydratedDeploymentsRequest, Options)

List all hydrated deployments present under a deployment.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ListHydratedDeploymentsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ListHydratedDeploymentsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::HydratedDeployment >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.HydratedDeployment, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

UpdateHydratedDeployment(google::cloud::telcoautomation::v1::HydratedDeployment const &, google::protobuf::FieldMask const &, Options)

Updates a hydrated deployment.

Parameters
Name Description
hydrated_deployment google::cloud::telcoautomation::v1::HydratedDeployment const &

Required. The hydrated deployment to update.

update_mask google::protobuf::FieldMask const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::HydratedDeployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.HydratedDeployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateHydratedDeployment(google::cloud::telcoautomation::v1::UpdateHydratedDeploymentRequest const &, Options)

Updates a hydrated deployment.

Parameters
Name Description
request google::cloud::telcoautomation::v1::UpdateHydratedDeploymentRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.UpdateHydratedDeploymentRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::HydratedDeployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.HydratedDeployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ApplyHydratedDeployment(std::string const &, Options)

Applies a hydrated deployment to a workload cluster.

Parameters
Name Description
name std::string const &

Required. The name of the hydrated deployment to apply.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::HydratedDeployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.HydratedDeployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ApplyHydratedDeployment(google::cloud::telcoautomation::v1::ApplyHydratedDeploymentRequest const &, Options)

Applies a hydrated deployment to a workload cluster.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ApplyHydratedDeploymentRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ApplyHydratedDeploymentRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::HydratedDeployment >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.HydratedDeployment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListOrchestrationClusters(std::string const &, Options)

Lists OrchestrationClusters in a given project and location.

Parameters
Name Description
parent std::string const &

Required. Parent value for ListOrchestrationClustersRequest

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::OrchestrationCluster >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.OrchestrationCluster, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListOrchestrationClusters(google::cloud::telcoautomation::v1::ListOrchestrationClustersRequest, Options)

Lists OrchestrationClusters in a given project and location.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ListOrchestrationClustersRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ListOrchestrationClustersRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::OrchestrationCluster >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.OrchestrationCluster, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetOrchestrationCluster(std::string const &, Options)

Gets details of a single OrchestrationCluster.

Parameters
Name Description
name std::string const &

Required. Name of the resource

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::OrchestrationCluster >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.OrchestrationCluster) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetOrchestrationCluster(google::cloud::telcoautomation::v1::GetOrchestrationClusterRequest const &, Options)

Gets details of a single OrchestrationCluster.

Parameters
Name Description
request google::cloud::telcoautomation::v1::GetOrchestrationClusterRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.GetOrchestrationClusterRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::OrchestrationCluster >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.OrchestrationCluster) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateOrchestrationCluster(std::string const &, google::cloud::telcoautomation::v1::OrchestrationCluster const &, std::string const &, Options)

Creates a new OrchestrationCluster in a given project and location.

Parameters
Name Description
parent std::string const &

Required. Value for parent.

orchestration_cluster google::cloud::telcoautomation::v1::OrchestrationCluster const &

Required. The resource being created

orchestration_cluster_id std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::telcoautomation::v1::OrchestrationCluster > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.telcoautomation.v1.OrchestrationCluster proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateOrchestrationCluster(google::cloud::telcoautomation::v1::CreateOrchestrationClusterRequest const &, Options)

Creates a new OrchestrationCluster in a given project and location.

Parameters
Name Description
request google::cloud::telcoautomation::v1::CreateOrchestrationClusterRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.CreateOrchestrationClusterRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::telcoautomation::v1::OrchestrationCluster > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.telcoautomation.v1.OrchestrationCluster proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteOrchestrationCluster(std::string const &, Options)

Deletes a single OrchestrationCluster.

Parameters
Name Description
name std::string const &

Required. Name of the resource

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::telcoautomation::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.telcoautomation.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteOrchestrationCluster(google::cloud::telcoautomation::v1::DeleteOrchestrationClusterRequest const &, Options)

Deletes a single OrchestrationCluster.

Parameters
Name Description
request google::cloud::telcoautomation::v1::DeleteOrchestrationClusterRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.DeleteOrchestrationClusterRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::telcoautomation::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.telcoautomation.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

ListEdgeSlms(std::string const &, Options)

Lists EdgeSlms in a given project and location.

Parameters
Name Description
parent std::string const &

Required. Parent value for ListEdgeSlmsRequest

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::EdgeSlm >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.EdgeSlm, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListEdgeSlms(google::cloud::telcoautomation::v1::ListEdgeSlmsRequest, Options)

Lists EdgeSlms in a given project and location.

Parameters
Name Description
request google::cloud::telcoautomation::v1::ListEdgeSlmsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.ListEdgeSlmsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::telcoautomation::v1::EdgeSlm >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.telcoautomation.v1.EdgeSlm, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetEdgeSlm(std::string const &, Options)

Gets details of a single EdgeSlm.

Parameters
Name Description
name std::string const &

Required. Name of the resource

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::EdgeSlm >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.EdgeSlm) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetEdgeSlm(google::cloud::telcoautomation::v1::GetEdgeSlmRequest const &, Options)

Gets details of a single EdgeSlm.

Parameters
Name Description
request google::cloud::telcoautomation::v1::GetEdgeSlmRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.GetEdgeSlmRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::EdgeSlm >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.EdgeSlm) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateEdgeSlm(std::string const &, google::cloud::telcoautomation::v1::EdgeSlm const &, std::string const &, Options)

Creates a new EdgeSlm in a given project and location.

Parameters
Name Description
parent std::string const &

Required. Value for parent.

edge_slm google::cloud::telcoautomation::v1::EdgeSlm const &

Required. The resource being created

edge_slm_id std::string const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::telcoautomation::v1::EdgeSlm > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.telcoautomation.v1.EdgeSlm proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateEdgeSlm(google::cloud::telcoautomation::v1::CreateEdgeSlmRequest const &, Options)

Creates a new EdgeSlm in a given project and location.

Parameters
Name Description
request google::cloud::telcoautomation::v1::CreateEdgeSlmRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.CreateEdgeSlmRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::telcoautomation::v1::EdgeSlm > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.telcoautomation.v1.EdgeSlm proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteEdgeSlm(std::string const &, Options)

Deletes a single EdgeSlm.

Parameters
Name Description
name std::string const &

Required. Name of the resource

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::telcoautomation::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.telcoautomation.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteEdgeSlm(google::cloud::telcoautomation::v1::DeleteEdgeSlmRequest const &, Options)

Deletes a single EdgeSlm.

Parameters
Name Description
request google::cloud::telcoautomation::v1::DeleteEdgeSlmRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.DeleteEdgeSlmRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::telcoautomation::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.telcoautomation.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateBlueprint(std::string const &, google::cloud::telcoautomation::v1::Blueprint const &, std::string const &, Options)

Creates a blueprint.

Parameters
Name Description
parent std::string const &

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

blueprint google::cloud::telcoautomation::v1::Blueprint const &

Required. The Blueprint to create.

blueprint_id std::string const &

Optional. The name of the blueprint.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateBlueprint(google::cloud::telcoautomation::v1::CreateBlueprintRequest const &, Options)

Creates a blueprint.

Parameters
Name Description
request google::cloud::telcoautomation::v1::CreateBlueprintRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.CreateBlueprintRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateBlueprint(google::cloud::telcoautomation::v1::Blueprint const &, google::protobuf::FieldMask const &, Options)

Updates a blueprint.

Parameters
Name Description
blueprint google::cloud::telcoautomation::v1::Blueprint const &

Required. The blueprint to update.

update_mask google::protobuf::FieldMask const &

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

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateBlueprint(google::cloud::telcoautomation::v1::UpdateBlueprintRequest const &, Options)

Updates a blueprint.

Parameters
Name Description
request google::cloud::telcoautomation::v1::UpdateBlueprintRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.telcoautomation.v1.UpdateBlueprintRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::telcoautomation::v1::Blueprint >

the result of the RPC. The response message type (google.cloud.telcoautomation.v1.Blueprint) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.