Reference documentation and code samples for the Google Cloud Dataplex V1 Client class VpcNetwork.
Cloud VPC Network used to run the infrastructure.
Generated from protobuf message google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ network |
string
Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used. |
↳ sub_network |
string
Optional. The Cloud VPC sub-network in which the job is run. |
↳ network_tags |
string[]
Optional. List of network tags to apply to the job. |
getNetwork
Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
Generated from protobuf field string network = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
string |
hasNetwork
setNetwork
Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
Generated from protobuf field string network = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSubNetwork
Optional. The Cloud VPC sub-network in which the job is run.
Generated from protobuf field string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
string |
hasSubNetwork
setSubNetwork
Optional. The Cloud VPC sub-network in which the job is run.
Generated from protobuf field string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNetworkTags
Optional. List of network tags to apply to the job.
Generated from protobuf field repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setNetworkTags
Optional. List of network tags to apply to the job.
Generated from protobuf field repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getNetworkName
Returns | |
---|---|
Type | Description |
string |