Cloud OS Config V1alpha API - Module Google::Cloud::OsConfig::V1alpha::OsConfigZonalService::Paths (v0.3.0)

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

Path helper methods for the OsConfigZonalService API.

Methods

#instance_os_policies_compliance_path

def instance_os_policies_compliance_path(project:, location:, instance:) -> ::String

Create a fully-qualified InstanceOSPoliciesCompliance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}

Parameters
  • project (String)
  • location (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#instance_os_policy_assignment_path

def instance_os_policy_assignment_path(project:, location:, instance:, assignment:) -> ::String

Create a fully-qualified InstanceOSPolicyAssignment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}

Parameters
  • project (String)
  • location (String)
  • instance (String)
  • assignment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#instance_path

def instance_path(project:, location:, instance:) -> ::String

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}

Parameters
  • project (String)
  • location (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#inventory_path

def inventory_path(project:, location:, instance:) -> ::String

Create a fully-qualified Inventory resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/inventory

Parameters
  • project (String)
  • location (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

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

#os_policy_assignment_path

def os_policy_assignment_path(project:, location:, os_policy_assignment:) -> ::String

Create a fully-qualified OSPolicyAssignment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}

Parameters
  • project (String)
  • location (String)
  • os_policy_assignment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#os_policy_assignment_report_path

def os_policy_assignment_report_path(project:, location:, instance:, assignment:) -> ::String

Create a fully-qualified OSPolicyAssignmentReport resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/report

Parameters
  • project (String)
  • location (String)
  • instance (String)
  • assignment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#vulnerability_report_path

def vulnerability_report_path(project:, location:, instance:) -> ::String

Create a fully-qualified VulnerabilityReport resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport

Parameters
  • project (String)
  • location (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)