Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::OsConfigService::Rest::ServiceStub (v0.15.2)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

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)

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
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_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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

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)

#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

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