2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Datastream V1 Client class ConnectionProfile.

A set of reusable connection configurations to be used as a source or
destination for a stream.

Generated from protobuf message `google.cloud.datastream.v1.ConnectionProfile`

## Namespace

Google \\ Cloud \\ Datastream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. Identifier. The resource's name. |
| `↳ create_time` | `Google\Protobuf\Timestamp` Output only. The create time of the resource. |
| `↳ update_time` | `Google\Protobuf\Timestamp` Output only. The update time of the resource. |
| `↳ labels` | `array|Google\Protobuf\Internal\MapField` Labels. |
| `↳ display_name` | `string` Required. Display name. |
| `↳ satisfies_pzs` | `bool` Output only. Reserved for future use. |
| `↳ satisfies_pzi` | `bool` Output only. Reserved for future use. |
| `↳ oracle_profile` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.OracleProfile` Oracle ConnectionProfile configuration. |
| `↳ gcs_profile` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.GcsProfile` Cloud Storage ConnectionProfile configuration. |
| `↳ mysql_profile` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.MysqlProfile` MySQL ConnectionProfile configuration. |
| `↳ bigquery_profile` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BigQueryProfile` BigQuery Connection Profile configuration. |
| `↳ postgresql_profile` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.PostgresqlProfile` PostgreSQL Connection Profile configuration. |
| `↳ sql_server_profile` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SqlServerProfile` SQLServer Connection Profile configuration. |
| `↳ salesforce_profile` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SalesforceProfile` Salesforce Connection Profile configuration. |
| `↳ mongodb_profile` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.MongodbProfile` MongoDB Connection Profile configuration. |
| `↳ static_service_ip_connectivity` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.StaticServiceIpConnectivity` Static Service IP connectivity. |
| `↳ forward_ssh_connectivity` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.ForwardSshTunnelConnectivity` Forward SSH tunnel connectivity. |
| `↳ private_connectivity` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.PrivateConnectivity` Private connectivity. |

### getName

Output only. Identifier. The resource's name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Output only. Identifier. The resource's name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreateTime

Output only. The create time of the resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The create time of the resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateTime

Output only. The update time of the resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The update time of the resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLabels

Labels.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setLabels

Labels.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisplayName

Required. Display name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisplayName

Required. Display name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSatisfiesPzs

Output only. Reserved for future use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasSatisfiesPzs

### clearSatisfiesPzs

### setSatisfiesPzs

Output only. Reserved for future use.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSatisfiesPzi

Output only. Reserved for future use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasSatisfiesPzi

### clearSatisfiesPzi

### setSatisfiesPzi

Output only. Reserved for future use.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getOracleProfile

Oracle ConnectionProfile configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.OracleProfile|null` |   |

### hasOracleProfile

### setOracleProfile

Oracle ConnectionProfile configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.OracleProfile` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGcsProfile

Cloud Storage ConnectionProfile configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.GcsProfile|null` |   |

### hasGcsProfile

### setGcsProfile

Cloud Storage ConnectionProfile configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.GcsProfile` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMysqlProfile

MySQL ConnectionProfile configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.MysqlProfile|null` |   |

### hasMysqlProfile

### setMysqlProfile

MySQL ConnectionProfile configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.MysqlProfile` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBigqueryProfile

BigQuery Connection Profile configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BigQueryProfile|null` |   |

### hasBigqueryProfile

### setBigqueryProfile

BigQuery Connection Profile configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BigQueryProfile` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPostgresqlProfile

PostgreSQL Connection Profile configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.PostgresqlProfile|null` |   |

### hasPostgresqlProfile

### setPostgresqlProfile

PostgreSQL Connection Profile configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.PostgresqlProfile` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSqlServerProfile

SQLServer Connection Profile configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SqlServerProfile|null` |   |

### hasSqlServerProfile

### setSqlServerProfile

SQLServer Connection Profile configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SqlServerProfile` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSalesforceProfile

Salesforce Connection Profile configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SalesforceProfile|null` |   |

### hasSalesforceProfile

### setSalesforceProfile

Salesforce Connection Profile configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SalesforceProfile` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMongodbProfile

MongoDB Connection Profile configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.MongodbProfile|null` |   |

### hasMongodbProfile

### setMongodbProfile

MongoDB Connection Profile configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.MongodbProfile` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStaticServiceIpConnectivity

Static Service IP connectivity.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.StaticServiceIpConnectivity|null` |   |

### hasStaticServiceIpConnectivity

### setStaticServiceIpConnectivity

Static Service IP connectivity.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.StaticServiceIpConnectivity` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getForwardSshConnectivity

Forward SSH tunnel connectivity.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.ForwardSshTunnelConnectivity|null` |   |

### hasForwardSshConnectivity

### setForwardSshConnectivity

Forward SSH tunnel connectivity.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.ForwardSshTunnelConnectivity` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPrivateConnectivity

Private connectivity.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.PrivateConnectivity|null` |   |

### hasPrivateConnectivity

### setPrivateConnectivity

Private connectivity.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.PrivateConnectivity` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProfile

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### getConnectivity

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |