Service Health V1 API - Module Google::Cloud::ServiceHealth::V1::ServiceHealth::Paths (v1.2.0)

Reference documentation and code samples for the Service Health V1 API module Google::Cloud::ServiceHealth::V1::ServiceHealth::Paths.

Path helper methods for the ServiceHealth API.

Methods

#event_path

def event_path(project:, location:, event:) -> ::String

Create a fully-qualified Event resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/events/{event}

Parameters
  • project (String)
  • location (String)
  • event (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)

#organization_event_path

def organization_event_path(organization:, location:, event:) -> ::String

Create a fully-qualified OrganizationEvent resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}/organizationEvents/{event}

Parameters
  • organization (String)
  • location (String)
  • event (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#organization_impact_path

def organization_impact_path(organization:, location:, organization_impact:) -> ::String

Create a fully-qualified OrganizationImpact resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}/organizationImpacts/{organization_impact}

Parameters
  • organization (String)
  • location (String)
  • organization_impact (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#organization_location_path

def organization_location_path(organization:, location:) -> ::String

Create a fully-qualified OrganizationLocation resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}

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