Storage Insights V1 API - Module Google::Cloud::StorageInsights::V1::StorageInsights::Paths (v0.3.0)

Reference documentation and code samples for the Storage Insights V1 API module Google::Cloud::StorageInsights::V1::StorageInsights::Paths.

Path helper methods for the StorageInsights 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)

#report_config_path

def report_config_path(project:, location:, report_config:) -> ::String

Create a fully-qualified ReportConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/reportConfigs/{report_config}

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

#report_detail_path

def report_detail_path(project:, location:, report_config:, report_detail:) -> ::String

Create a fully-qualified ReportDetail resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/reportConfigs/{report_config}/reportDetails/{report_detail}

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