class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $artifactregistryService = new Google\Service\ArtifactRegistry(...);
 $locations = $artifactregistryService->projects_locations;

Methods

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

Gets information about a location. (locations.get)

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

Retrieves the VPCSC Config for the Project. (locations.getVpcscConfig)

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

Lists information about the supported locations for this service.

updateVpcscConfig(string $name, VPCSCConfig $postBody, array $optParams = [])

Updates the VPCSC Config for the Project. (locations.updateVpcscConfig)

Details

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

Gets information about a location. (locations.get)

Parameters

string $name

Resource name for the location.

array $optParams

Optional parameters.

Return Value

Location

Exceptions

Exception

VPCSCConfig getVpcscConfig(string $name, array $optParams = [])

Retrieves the VPCSC Config for the Project. (locations.getVpcscConfig)

Parameters

string $name

Required. The name of the VPCSCConfig resource.

array $optParams

Optional parameters.

Return Value

VPCSCConfig

Exceptions

Exception

ListLocationsResponse listProjectsLocations(string $name, array $optParams = [])

Lists information about the supported locations for this service.

(locations.listProjectsLocations)

Parameters

string $name

The resource that owns the locations collection, if applicable.

array $optParams

Optional parameters.

Return Value

ListLocationsResponse

Exceptions

Exception

VPCSCConfig updateVpcscConfig(string $name, VPCSCConfig $postBody, array $optParams = [])

Updates the VPCSC Config for the Project. (locations.updateVpcscConfig)

Parameters

string $name

The name of the project's VPC SC Config. Always of the form: projects/{projectID}/locations/{location}/vpcscConfig In update request: never set In response: always set

VPCSCConfig $postBody
array $optParams

Optional parameters.

Return Value

VPCSCConfig

Exceptions

Exception