Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::Config::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::Config::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)
#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::Config::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_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::Config::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)
#export_deployment_statefile
def export_deployment_statefile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Config::V1::Statefile
Baseline implementation for the export_deployment_statefile REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::Statefile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::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::Config::V1::LockInfo
Baseline implementation for the export_lock_info REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::LockInfo)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::V1::LockInfo) — 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::Config::V1::Statefile
Baseline implementation for the export_revision_statefile REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::Statefile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::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::Config::V1::Deployment
Baseline implementation for the get_deployment REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::Deployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::V1::Deployment) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_resource
def get_resource(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Config::V1::Resource
Baseline implementation for the get_resource REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::Resource)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::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::Config::V1::Revision
Baseline implementation for the get_revision REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::Revision)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::V1::Revision) — A result object deserialized from the server's reply
- (::ArgumentError)
#import_statefile
def import_statefile(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Config::V1::Statefile
Baseline implementation for the import_statefile REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::Statefile)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::V1::Statefile) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_deployments
def list_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Config::V1::ListDeploymentsResponse
Baseline implementation for the list_deployments REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::ListDeploymentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::V1::ListDeploymentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_resources
def list_resources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Config::V1::ListResourcesResponse
Baseline implementation for the list_resources REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::ListResourcesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::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::Config::V1::ListRevisionsResponse
Baseline implementation for the list_revisions REST call
- request_pb (::Google::Cloud::Config::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::Config::V1::ListRevisionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Config::V1::ListRevisionsResponse) — 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::Config::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)
#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::Config::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::Config::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)