Cloud OS Config V1 API - Module Google::Cloud::OsConfig::V1::OsConfigService::Paths (v1.0.0)

Reference documentation and code samples for the Cloud OS Config V1 API module Google::Cloud::OsConfig::V1::OsConfigService::Paths.

Path helper methods for the OsConfigService API.

Methods

#patch_deployment_path

def patch_deployment_path(project:, patch_deployment:) -> ::String

Create a fully-qualified PatchDeployment resource string.

The resource will be in the following format:

projects/{project}/patchDeployments/{patch_deployment}

Parameters
  • project (String)
  • patch_deployment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#patch_job_path

def patch_job_path(project:, patch_job:) -> ::String

Create a fully-qualified PatchJob resource string.

The resource will be in the following format:

projects/{project}/patchJobs/{patch_job}

Parameters
  • project (String)
  • patch_job (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)