Reference documentation and code samples for the Google Cloud BeyondCorp Client Connector Services V1 Client class DestinationRoute.
The setting used to configure ClientGateways.
It is adding routes to the client's routing table after the connection is established.
Generated from protobuf message google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ address |
string
Required. The network address of the subnet for which the packet is routed to the ClientGateway. |
↳ netmask |
string
Required. The network mask of the subnet for which the packet is routed to the ClientGateway. |
getAddress
Required. The network address of the subnet for which the packet is routed to the ClientGateway.
Returns | |
---|---|
Type | Description |
string |
setAddress
Required. The network address of the subnet for which the packet is routed to the ClientGateway.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNetmask
Required. The network mask of the subnet for which the packet is routed to the ClientGateway.
Returns | |
---|---|
Type | Description |
string |
setNetmask
Required. The network mask of the subnet for which the packet is routed to the ClientGateway.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |