Google Cloud Design Center V1 Client - Class ProviderVersion (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class ProviderVersion.

ProviderVersion defines the required version for a provider.

Generated from protobuf message google.cloud.designcenter.v1.ProviderVersion

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source string

Output only. The provider source in the format: [hostname]/[namespace]/[name]. Hostname is optional, and defaults to the Terraform registry.

↳ version string

Output only. Version constraint string.

getSource

Output only. The provider source in the format: [hostname]/[namespace]/[name]. Hostname is optional, and defaults to the Terraform registry.

Returns
Type Description
string

setSource

Output only. The provider source in the format: [hostname]/[namespace]/[name]. Hostname is optional, and defaults to the Terraform registry.

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

Output only. Version constraint string.

Returns
Type Description
string

setVersion

Output only. Version constraint string.

Parameter
Name Description
var string
Returns
Type Description
$this