Reference documentation and code samples for the Cloud OS Config V1 API module Google::Cloud::OsConfig::V1::OsConfigZonalService::Paths.
Path helper methods for the OsConfigZonalService API.
Methods
#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}
- project (String)
- location (String)
- instance (String)
- assignment (String)
- (::String)
- (::ArgumentError)
#instance_path
def instance_path(project:, zone:, instance:) -> ::String
def instance_path(project:, location:, instance:) -> ::String
Create a fully-qualified Instance resource string.
def instance_path(project:, zone:, instance:) -> ::String
projects/{project}/zones/{zone}/instances/{instance}
- project (String)
- zone (String)
- instance (String)
def instance_path(project:, location:, instance:) -> ::String
projects/{project}/locations/{location}/instances/{instance}
- project (String)
- location (String)
- instance (String)
- (::String)
- (::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
- project (String)
- location (String)
- instance (String)
- (::String)
- (::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}
- project (String)
- location (String)
- (::String)
- (::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}
- project (String)
- location (String)
- os_policy_assignment (String)
- (::String)
- (::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
- project (String)
- location (String)
- instance (String)
- assignment (String)
- (::String)
- (::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
- project (String)
- location (String)
- instance (String)
- (::String)
- (::ArgumentError)