Reference documentation and code samples for the Rapid Migration Assessment V1 API class Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::ServiceStub.
REST service stub for the RapidMigrationAssessment service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_annotation
def create_annotation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_annotation REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::CreateAnnotationRequest) — 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_collector
def create_collector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_collector REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::CreateCollectorRequest) — 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_collector
def delete_collector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_collector REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::DeleteCollectorRequest) — 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)
#get_annotation
def get_annotation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::RapidMigrationAssessment::V1::Annotation
Baseline implementation for the get_annotation REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::GetAnnotationRequest) — 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::RapidMigrationAssessment::V1::Annotation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::RapidMigrationAssessment::V1::Annotation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_collector
def get_collector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::RapidMigrationAssessment::V1::Collector
Baseline implementation for the get_collector REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::GetCollectorRequest) — 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::RapidMigrationAssessment::V1::Collector)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::RapidMigrationAssessment::V1::Collector) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_collectors
def list_collectors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::RapidMigrationAssessment::V1::ListCollectorsResponse
Baseline implementation for the list_collectors REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::ListCollectorsRequest) — 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::RapidMigrationAssessment::V1::ListCollectorsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::RapidMigrationAssessment::V1::ListCollectorsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#pause_collector
def pause_collector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the pause_collector REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::PauseCollectorRequest) — 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)
#register_collector
def register_collector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the register_collector REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::RegisterCollectorRequest) — 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)
#resume_collector
def resume_collector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the resume_collector REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::ResumeCollectorRequest) — 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)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_collector
def update_collector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_collector REST call
- request_pb (::Google::Cloud::RapidMigrationAssessment::V1::UpdateCollectorRequest) — 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)