Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::OsConfigService::Rest::ServiceStub.
REST service stub for the OsConfigService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#cancel_patch_job
def cancel_patch_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::PatchJob
Baseline implementation for the cancel_patch_job REST call
- request_pb (::Google::Cloud::OsConfig::V1::CancelPatchJobRequest) — 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::OsConfig::V1::PatchJob)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::PatchJob) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_patch_deployment
def create_patch_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::PatchDeployment
Baseline implementation for the create_patch_deployment REST call
- request_pb (::Google::Cloud::OsConfig::V1::CreatePatchDeploymentRequest) — 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::OsConfig::V1::PatchDeployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::PatchDeployment) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_patch_deployment
def delete_patch_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_patch_deployment REST call
- request_pb (::Google::Cloud::OsConfig::V1::DeletePatchDeploymentRequest) — 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)
#execute_patch_job
def execute_patch_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::PatchJob
Baseline implementation for the execute_patch_job REST call
- request_pb (::Google::Cloud::OsConfig::V1::ExecutePatchJobRequest) — 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::OsConfig::V1::PatchJob)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::PatchJob) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_patch_deployment
def get_patch_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::PatchDeployment
Baseline implementation for the get_patch_deployment REST call
- request_pb (::Google::Cloud::OsConfig::V1::GetPatchDeploymentRequest) — 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::OsConfig::V1::PatchDeployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::PatchDeployment) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_patch_job
def get_patch_job(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::PatchJob
Baseline implementation for the get_patch_job REST call
- request_pb (::Google::Cloud::OsConfig::V1::GetPatchJobRequest) — 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::OsConfig::V1::PatchJob)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::PatchJob) — 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_patch_deployments
def list_patch_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::ListPatchDeploymentsResponse
Baseline implementation for the list_patch_deployments REST call
- request_pb (::Google::Cloud::OsConfig::V1::ListPatchDeploymentsRequest) — 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::OsConfig::V1::ListPatchDeploymentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::ListPatchDeploymentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_patch_job_instance_details
def list_patch_job_instance_details(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::ListPatchJobInstanceDetailsResponse
Baseline implementation for the list_patch_job_instance_details REST call
- request_pb (::Google::Cloud::OsConfig::V1::ListPatchJobInstanceDetailsRequest) — 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::OsConfig::V1::ListPatchJobInstanceDetailsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::ListPatchJobInstanceDetailsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_patch_jobs
def list_patch_jobs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::ListPatchJobsResponse
Baseline implementation for the list_patch_jobs REST call
- request_pb (::Google::Cloud::OsConfig::V1::ListPatchJobsRequest) — 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::OsConfig::V1::ListPatchJobsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::ListPatchJobsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#pause_patch_deployment
def pause_patch_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::PatchDeployment
Baseline implementation for the pause_patch_deployment REST call
- request_pb (::Google::Cloud::OsConfig::V1::PausePatchDeploymentRequest) — 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::OsConfig::V1::PatchDeployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::PatchDeployment) — A result object deserialized from the server's reply
- (::ArgumentError)
#resume_patch_deployment
def resume_patch_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::PatchDeployment
Baseline implementation for the resume_patch_deployment REST call
- request_pb (::Google::Cloud::OsConfig::V1::ResumePatchDeploymentRequest) — 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::OsConfig::V1::PatchDeployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::PatchDeployment) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_patch_deployment
def update_patch_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::OsConfig::V1::PatchDeployment
Baseline implementation for the update_patch_deployment REST call
- request_pb (::Google::Cloud::OsConfig::V1::UpdatePatchDeploymentRequest) — 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::OsConfig::V1::PatchDeployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::OsConfig::V1::PatchDeployment) — A result object deserialized from the server's reply
- (::ArgumentError)