Google Cloud Network Management V1 Client - Class GoogleServiceInfo (1.4.2)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class GoogleServiceInfo.

For display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances.

https://cloud.google.com/vpc/docs/routes#special_return_paths

Generated from protobuf message google.cloud.networkmanagement.v1.GoogleServiceInfo

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ source_ip string

Source IP address.

↳ google_service_type int

Recognized type of a Google Service.

getSourceIp

Source IP address.

Returns
TypeDescription
string

setSourceIp

Source IP address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGoogleServiceType

Recognized type of a Google Service.

Returns
TypeDescription
int

setGoogleServiceType

Recognized type of a Google Service.

Parameter
NameDescription
var int
Returns
TypeDescription
$this