class ProjectsLocationsInternalRanges extends Resource (View source)

The "internalRanges" collection of methods.

Typical usage is:

 $networkconnectivityService = new Google\Service\Networkconnectivity(...);
 $internalRanges = $networkconnectivityService->projects_locations_internalRanges;

Methods

create(string $parent, InternalRange $postBody, array $optParams = [])

Creates a new internal range in a given project and location.

delete(string $name, array $optParams = [])

Deletes a single internal range. (internalRanges.delete)

get(string $name, array $optParams = [])

Gets details of a single internal range. (internalRanges.get)

listProjectsLocationsInternalRanges(string $parent, array $optParams = [])

Lists internal ranges in a given project and location.

patch(string $name, InternalRange $postBody, array $optParams = [])

Updates the parameters of a single internal range. (internalRanges.patch)

Details

GoogleLongrunningOperation create(string $parent, InternalRange $postBody, array $optParams = [])

Creates a new internal range in a given project and location.

(internalRanges.create)

Parameters

string $parent

Required. The parent resource's name of the internal range.

InternalRange $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation delete(string $name, array $optParams = [])

Deletes a single internal range. (internalRanges.delete)

Parameters

string $name

Required. The name of the internal range to delete.

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

InternalRange get(string $name, array $optParams = [])

Gets details of a single internal range. (internalRanges.get)

Parameters

string $name

Required. Name of the InternalRange to get.

array $optParams

Optional parameters.

Return Value

InternalRange

Exceptions

Exception

ListInternalRangesResponse listProjectsLocationsInternalRanges(string $parent, array $optParams = [])

Lists internal ranges in a given project and location.

(internalRanges.listProjectsLocationsInternalRanges)

Parameters

string $parent

Required. The parent resource's name.

array $optParams

Optional parameters.

Return Value

ListInternalRangesResponse

Exceptions

Exception

GoogleLongrunningOperation patch(string $name, InternalRange $postBody, array $optParams = [])

Updates the parameters of a single internal range. (internalRanges.patch)

Parameters

string $name

Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names

InternalRange $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception