Reference documentation and code samples for the Google Cloud Design Center V1 Client class ConnectionSource.
Defines the source of a connection.
Generated from protobuf message google.cloud.designcenter.v1.ConnectionSource
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source |
string
Required. Source of the connection. Defined using the same format as module source of form [hostname]/namespace/name/provider for registry references and unprefixed github.com URLs for github references. |
↳ version |
string
Required. Version constraint syntax using the same format as module version constraints. |
getSource
Required. Source of the connection. Defined using the same format as module source of form [hostname]/namespace/name/provider for registry references and unprefixed github.com URLs for github references.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSource
Required. Source of the connection. Defined using the same format as module source of form [hostname]/namespace/name/provider for registry references and unprefixed github.com URLs for github references.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
Required. Version constraint syntax using the same format as module version constraints.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
Required. Version constraint syntax using the same format as module version constraints.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|