Telco Automation V1 API - Class Google::Cloud::TelcoAutomation::V1::TelcoAutomation::Rest::ServiceStub (v0.3.0)

Reference documentation and code samples for the Telco Automation V1 API class Google::Cloud::TelcoAutomation::V1::TelcoAutomation::Rest::ServiceStub.

REST service stub for the TelcoAutomation service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#apply_deployment

def apply_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Deployment

Baseline implementation for the apply_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#apply_hydrated_deployment

def apply_hydrated_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::HydratedDeployment

Baseline implementation for the apply_hydrated_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#approve_blueprint

def approve_blueprint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Blueprint

Baseline implementation for the approve_blueprint REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#compute_deployment_status

def compute_deployment_status(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::ComputeDeploymentStatusResponse

Baseline implementation for the compute_deployment_status REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_blueprint

def create_blueprint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Blueprint

Baseline implementation for the create_blueprint REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_deployment

def create_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Deployment

Baseline implementation for the create_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_edge_slm

def create_edge_slm(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_edge_slm REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_orchestration_cluster

def create_orchestration_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_orchestration_cluster REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_blueprint

def delete_blueprint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_blueprint REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_edge_slm

def delete_edge_slm(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_edge_slm REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_orchestration_cluster

def delete_orchestration_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_orchestration_cluster REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#discard_blueprint_changes

def discard_blueprint_changes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::DiscardBlueprintChangesResponse

Baseline implementation for the discard_blueprint_changes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#discard_deployment_changes

def discard_deployment_changes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::DiscardDeploymentChangesResponse

Baseline implementation for the discard_deployment_changes REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_blueprint

def get_blueprint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Blueprint

Baseline implementation for the get_blueprint REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_deployment

def get_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Deployment

Baseline implementation for the get_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_edge_slm

def get_edge_slm(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::EdgeSlm

Baseline implementation for the get_edge_slm REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_hydrated_deployment

def get_hydrated_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::HydratedDeployment

Baseline implementation for the get_hydrated_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_orchestration_cluster

def get_orchestration_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::OrchestrationCluster

Baseline implementation for the get_orchestration_cluster REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_public_blueprint

def get_public_blueprint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::PublicBlueprint

Baseline implementation for the get_public_blueprint REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_blueprint_revisions

def list_blueprint_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::ListBlueprintRevisionsResponse

Baseline implementation for the list_blueprint_revisions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_blueprints

def list_blueprints(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::ListBlueprintsResponse

Baseline implementation for the list_blueprints REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_deployment_revisions

def list_deployment_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::ListDeploymentRevisionsResponse

Baseline implementation for the list_deployment_revisions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_deployments

def list_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::ListDeploymentsResponse

Baseline implementation for the list_deployments REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_edge_slms

def list_edge_slms(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::ListEdgeSlmsResponse

Baseline implementation for the list_edge_slms REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_hydrated_deployments

def list_hydrated_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::ListHydratedDeploymentsResponse

Baseline implementation for the list_hydrated_deployments REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_orchestration_clusters

def list_orchestration_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::ListOrchestrationClustersResponse

Baseline implementation for the list_orchestration_clusters REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_public_blueprints

def list_public_blueprints(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::ListPublicBlueprintsResponse

Baseline implementation for the list_public_blueprints REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#propose_blueprint

def propose_blueprint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Blueprint

Baseline implementation for the propose_blueprint REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#reject_blueprint

def reject_blueprint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Blueprint

Baseline implementation for the reject_blueprint REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#remove_deployment

def remove_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the remove_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#rollback_deployment

def rollback_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Deployment

Baseline implementation for the rollback_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#search_blueprint_revisions

def search_blueprint_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::SearchBlueprintRevisionsResponse

Baseline implementation for the search_blueprint_revisions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#search_deployment_revisions

def search_deployment_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::SearchDeploymentRevisionsResponse

Baseline implementation for the search_deployment_revisions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_blueprint

def update_blueprint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Blueprint

Baseline implementation for the update_blueprint REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_deployment

def update_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::Deployment

Baseline implementation for the update_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_hydrated_deployment

def update_hydrated_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::TelcoAutomation::V1::HydratedDeployment

Baseline implementation for the update_hydrated_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)