GDC Hardware Management V1ALPHA API - Module Google::Cloud::GDCHardwareManagement::V1alpha::GDCHardwareManagement::Paths (v0.3.0)

Reference documentation and code samples for the GDC Hardware Management V1ALPHA API module Google::Cloud::GDCHardwareManagement::V1alpha::GDCHardwareManagement::Paths.

Path helper methods for the GDCHardwareManagement API.

Methods

#change_log_entry_path

def change_log_entry_path(project:, location:, order:, change_log_entry:) -> ::String

Create a fully-qualified ChangeLogEntry resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/orders/{order}/changeLogEntries/{change_log_entry}

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

#comment_path

def comment_path(project:, location:, order:, comment:) -> ::String

Create a fully-qualified Comment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/orders/{order}/comments/{comment}

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

#hardware_group_path

def hardware_group_path(project:, location:, order:, hardware_group:) -> ::String

Create a fully-qualified HardwareGroup resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}

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

#hardware_path

def hardware_path(project:, location:, hardware:) -> ::String

Create a fully-qualified Hardware resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/hardware/{hardware}

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

#order_path

def order_path(project:, location:, order:) -> ::String

Create a fully-qualified Order resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/orders/{order}

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

#site_path

def site_path(project:, location:, site:) -> ::String

Create a fully-qualified Site resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sites/{site}

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

#sku_path

def sku_path(project:, location:, sku:) -> ::String

Create a fully-qualified Sku resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/skus/{sku}

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

#zone_path

def zone_path(project:, location:, zone:) -> ::String

Create a fully-qualified Zone resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/zones/{zone}

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