Google Cloud Ai Platform V1 Client - Class DnsPeeringConfig (1.31.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DnsPeeringConfig.

DNS peering configuration. These configurations are used to create DNS peering zones in the Vertex tenant project VPC, enabling resolution of records within the specified domain hosted in the target network's Cloud DNS.

Generated from protobuf message google.cloud.aiplatform.v1.DnsPeeringConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ domain string

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

↳ target_project string

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

↳ target_network string

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

getDomain

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

Returns
Type Description
string

setDomain

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

Parameter
Name Description
var string
Returns
Type Description
$this

getTargetProject

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

Returns
Type Description
string

setTargetProject

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

Parameter
Name Description
var string
Returns
Type Description
$this

getTargetNetwork

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

Returns
Type Description
string

setTargetNetwork

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

Parameter
Name Description
var string
Returns
Type Description
$this