Maintenance V1BETA API - Module Google::Cloud::Maintenance::Api::V1beta::Maintenance::Paths (v0.1.0)

Reference documentation and code samples for the Maintenance V1BETA API module Google::Cloud::Maintenance::Api::V1beta::Maintenance::Paths.

Path helper methods for the Maintenance API.

Methods

#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)

#resource_maintenance_path

def resource_maintenance_path(project:, location:, resource_maintenance:) -> ::String

Create a fully-qualified ResourceMaintenance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/resourceMaintenances/{resource_maintenance}

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