class ProjectsLocationsTerraformVersions extends Resource (View source)

The "terraformVersions" collection of methods.

Typical usage is:

 $configService = new Google\Service\Config(...);
 $terraformVersions = $configService->projects_locations_terraformVersions;

Methods

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

Gets details about a TerraformVersion. (terraformVersions.get)

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

Lists TerraformVersions in a given project and location.

Details

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

Gets details about a TerraformVersion. (terraformVersions.get)

Parameters

string $name

Required. The name of the TerraformVersion. Format: 'proj ects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'

array $optParams

Optional parameters.

Return Value

TerraformVersion

Exceptions

Exception

ListTerraformVersionsResponse listProjectsLocationsTerraformVersions(string $parent, array $optParams = [])

Lists TerraformVersions in a given project and location.

(terraformVersions.listProjectsLocationsTerraformVersions)

Parameters

string $parent

Required. The parent in whose context the TerraformVersions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.

array $optParams

Optional parameters.

Return Value

ListTerraformVersionsResponse

Exceptions

Exception