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
- request_pb (::Google::Cloud::ConfigService::V1::CreateDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_preview
def create_preview(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_preview REST call
- request_pb (::Google::Cloud::ConfigService::V1::CreatePreviewRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_deployment
def delete_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_deployment REST call
- request_pb (::Google::Cloud::ConfigService::V1::DeleteDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_preview
def delete_preview(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_preview REST call
- request_pb (::Google::Cloud::ConfigService::V1::DeletePreviewRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_statefile
def delete_statefile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_statefile REST call
- request_pb (::Google::Cloud::ConfigService::V1::DeleteStatefileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::ConfigService::V1::ExportDeploymentStatefileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::Statefile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::Statefile) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::ExportLockInfoRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::LockInfo)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::LockInfo) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::ExportPreviewResultRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::ExportPreviewResultResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::ExportPreviewResultResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::ExportRevisionStatefileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::Statefile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::Statefile) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::GetDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::Deployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::Deployment) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::GetPreviewRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::Preview)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::Preview) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::GetResourceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::Resource)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::Resource) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::GetRevisionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::Revision)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::Revision) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::GetTerraformVersionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::TerraformVersion)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::TerraformVersion) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::ImportStatefileRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::Statefile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::Statefile) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_deployments
def list_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfigService::V1::ListDeploymentsResponse
Baseline implementation for the list_deployments REST call
- request_pb (::Google::Cloud::ConfigService::V1::ListDeploymentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::ListDeploymentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::ListDeploymentsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::ListPreviewsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::ListPreviewsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::ListPreviewsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::ListResourcesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::ListResourcesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::ListResourcesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::ListRevisionsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::ListRevisionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::ListRevisionsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ConfigService::V1::ListTerraformVersionsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfigService::V1::ListTerraformVersionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#lock_deployment
def lock_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the lock_deployment REST call
- request_pb (::Google::Cloud::ConfigService::V1::LockDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#unlock_deployment
def unlock_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the unlock_deployment REST call
- request_pb (::Google::Cloud::ConfigService::V1::UnlockDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_deployment
def update_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_deployment REST call
- request_pb (::Google::Cloud::ConfigService::V1::UpdateDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)