Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::Config::Rest::ServiceStub (v0.5.0)

Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::Config::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_deployment

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

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_preview

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

Baseline implementation for the create_preview REST call

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

#delete_deployment

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

Baseline implementation for the delete_deployment REST call

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

#delete_preview

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

Baseline implementation for the delete_preview REST call

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

#delete_statefile

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

Baseline implementation for the delete_statefile 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)

#export_deployment_statefile

def export_deployment_statefile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::Statefile

Baseline implementation for the export_deployment_statefile REST call

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

#export_lock_info

def export_lock_info(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::LockInfo

Baseline implementation for the export_lock_info REST call

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

#export_preview_result

def export_preview_result(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::ExportPreviewResultResponse

Baseline implementation for the export_preview_result REST call

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

#export_revision_statefile

def export_revision_statefile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::Statefile

Baseline implementation for the export_revision_statefile 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::ConfigService::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_preview

def get_preview(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::Preview

Baseline implementation for the get_preview REST call

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

#get_resource

def get_resource(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::Resource

Baseline implementation for the get_resource REST call

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

#get_revision

def get_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::Revision

Baseline implementation for the get_revision REST call

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

#get_terraform_version

def get_terraform_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::TerraformVersion

Baseline implementation for the get_terraform_version REST call

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

#import_statefile

def import_statefile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::Statefile

Baseline implementation for the import_statefile 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_deployments

def list_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::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_previews

def list_previews(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::ListPreviewsResponse

Baseline implementation for the list_previews REST call

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

#list_resources

def list_resources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::ListResourcesResponse

Baseline implementation for the list_resources REST call

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

#list_revisions

def list_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::ListRevisionsResponse

Baseline implementation for the list_revisions REST call

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

#list_terraform_versions

def list_terraform_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse

Baseline implementation for the list_terraform_versions REST call

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

#lock_deployment

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

Baseline implementation for the lock_deployment 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)

#unlock_deployment

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

Baseline implementation for the unlock_deployment 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::Longrunning::Operation

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)