Network Security V1 API - Module Google::Cloud::NetworkSecurity::V1::AddressGroupService::Paths (v0.1.0)

Reference documentation and code samples for the Network Security V1 API module Google::Cloud::NetworkSecurity::V1::AddressGroupService::Paths.

Path helper methods for the AddressGroupService API.

Methods

#address_group_path

def address_group_path(project:, location:, address_group:) -> ::String
def address_group_path(organization:, location:, address_group:) -> ::String

Create a fully-qualified AddressGroup resource string.

Overloads
def address_group_path(project:, location:, address_group:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/addressGroups/{address_group}

Parameters
  • project (String)
  • location (String)
  • address_group (String)
def address_group_path(organization:, location:, address_group:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/addressGroups/{address_group}

Parameters
  • organization (String)
  • location (String)
  • address_group (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_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)