Addresses
class Addresses extends Resource (View source)
The "addresses" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$addresses = $computeService->addresses;
Methods
Retrieves an aggregated list of addresses. To prevent failure, Google
recommends that you set the returnPartialSuccess
parameter to true
.
Deletes the specified address resource. (addresses.delete)
Returns the specified address resource. (addresses.get)
Retrieves a list of addresses contained within the specified region.
Moves the specified address resource. (addresses.move)
Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation. (addresses.setLabels)
Details
AddressAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves an aggregated list of addresses. To prevent failure, Google
recommends that you set the returnPartialSuccess
parameter to true
.
(addresses.aggregatedList)
Operation
delete(string $project, string $region, string $address, array $optParams = [])
Deletes the specified address resource. (addresses.delete)
Address
get(string $project, string $region, string $address, array $optParams = [])
Returns the specified address resource. (addresses.get)
Operation
insert(string $project, string $region, Address $postBody, array $optParams = [])
Creates an address resource in the specified project by using the data included in the request. (addresses.insert)
AddressList
listAddresses(string $project, string $region, array $optParams = [])
Retrieves a list of addresses contained within the specified region.
(addresses.listAddresses)
Operation
move(string $project, string $region, string $address, RegionAddressesMoveRequest $postBody, array $optParams = [])
Moves the specified address resource. (addresses.move)
Operation
setLabels(string $project, string $region, string $resource, RegionSetLabelsRequest $postBody, array $optParams = [])
Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation. (addresses.setLabels)