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

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

A simulated forwarding path is composed of multiple steps.

Each step has a well-defined state and an associated configuration.

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

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ description string

A description of the step. Usually this is a summary of the state.

↳ state int

Each step is in one of the pre-defined states.

↳ causes_drop bool

This is a step that leads to the final state Drop.

↳ project_id string

Project ID that contains the configuration this step is validating.

↳ instance Google\Cloud\NetworkManagement\V1\InstanceInfo

Display information of a Compute Engine instance.

↳ firewall Google\Cloud\NetworkManagement\V1\FirewallInfo

Display information of a Compute Engine firewall rule.

↳ route Google\Cloud\NetworkManagement\V1\RouteInfo

Display information of a Compute Engine route.

↳ endpoint Google\Cloud\NetworkManagement\V1\EndpointInfo

Display information of the source and destination under analysis. The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy.

↳ google_service Google\Cloud\NetworkManagement\V1\GoogleServiceInfo

Display information of a Google service

↳ forwarding_rule Google\Cloud\NetworkManagement\V1\ForwardingRuleInfo

Display information of a Compute Engine forwarding rule.

↳ vpn_gateway Google\Cloud\NetworkManagement\V1\VpnGatewayInfo

Display information of a Compute Engine VPN gateway.

↳ vpn_tunnel Google\Cloud\NetworkManagement\V1\VpnTunnelInfo

Display information of a Compute Engine VPN tunnel.

↳ vpc_connector Google\Cloud\NetworkManagement\V1\VpcConnectorInfo

Display information of a VPC connector.

↳ deliver Google\Cloud\NetworkManagement\V1\DeliverInfo

Display information of the final state "deliver" and reason.

↳ forward Google\Cloud\NetworkManagement\V1\ForwardInfo

Display information of the final state "forward" and reason.

↳ abort Google\Cloud\NetworkManagement\V1\AbortInfo

Display information of the final state "abort" and reason.

↳ drop Google\Cloud\NetworkManagement\V1\DropInfo

Display information of the final state "drop" and reason.

↳ load_balancer Google\Cloud\NetworkManagement\V1\LoadBalancerInfo

Display information of the load balancers.

↳ network Google\Cloud\NetworkManagement\V1\NetworkInfo

Display information of a Google Cloud network.

↳ gke_master Google\Cloud\NetworkManagement\V1\GKEMasterInfo

Display information of a Google Kubernetes Engine cluster master.

↳ cloud_sql_instance Google\Cloud\NetworkManagement\V1\CloudSQLInstanceInfo

Display information of a Cloud SQL instance.

↳ cloud_function Google\Cloud\NetworkManagement\V1\CloudFunctionInfo

Display information of a Cloud Function.

↳ app_engine_version Google\Cloud\NetworkManagement\V1\AppEngineVersionInfo

Display information of an App Engine service version.

↳ cloud_run_revision Google\Cloud\NetworkManagement\V1\CloudRunRevisionInfo

Display information of a Cloud Run revision.

getDescription

A description of the step. Usually this is a summary of the state.

Returns
TypeDescription
string

setDescription

A description of the step. Usually this is a summary of the state.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Each step is in one of the pre-defined states.

Returns
TypeDescription
int

setState

Each step is in one of the pre-defined states.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCausesDrop

This is a step that leads to the final state Drop.

Returns
TypeDescription
bool

setCausesDrop

This is a step that leads to the final state Drop.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getProjectId

Project ID that contains the configuration this step is validating.

Returns
TypeDescription
string

setProjectId

Project ID that contains the configuration this step is validating.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstance

Display information of a Compute Engine instance.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\InstanceInfo|null

hasInstance

setInstance

Display information of a Compute Engine instance.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\InstanceInfo
Returns
TypeDescription
$this

getFirewall

Display information of a Compute Engine firewall rule.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\FirewallInfo|null

hasFirewall

setFirewall

Display information of a Compute Engine firewall rule.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\FirewallInfo
Returns
TypeDescription
$this

getRoute

Display information of a Compute Engine route.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\RouteInfo|null

hasRoute

setRoute

Display information of a Compute Engine route.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\RouteInfo
Returns
TypeDescription
$this

getEndpoint

Display information of the source and destination under analysis.

The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\EndpointInfo|null

hasEndpoint

setEndpoint

Display information of the source and destination under analysis.

The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\EndpointInfo
Returns
TypeDescription
$this

getGoogleService

Display information of a Google service

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\GoogleServiceInfo|null

hasGoogleService

setGoogleService

Display information of a Google service

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\GoogleServiceInfo
Returns
TypeDescription
$this

getForwardingRule

Display information of a Compute Engine forwarding rule.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\ForwardingRuleInfo|null

hasForwardingRule

setForwardingRule

Display information of a Compute Engine forwarding rule.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\ForwardingRuleInfo
Returns
TypeDescription
$this

getVpnGateway

Display information of a Compute Engine VPN gateway.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\VpnGatewayInfo|null

hasVpnGateway

setVpnGateway

Display information of a Compute Engine VPN gateway.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\VpnGatewayInfo
Returns
TypeDescription
$this

getVpnTunnel

Display information of a Compute Engine VPN tunnel.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\VpnTunnelInfo|null

hasVpnTunnel

setVpnTunnel

Display information of a Compute Engine VPN tunnel.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\VpnTunnelInfo
Returns
TypeDescription
$this

getVpcConnector

Display information of a VPC connector.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\VpcConnectorInfo|null

hasVpcConnector

setVpcConnector

Display information of a VPC connector.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\VpcConnectorInfo
Returns
TypeDescription
$this

getDeliver

Display information of the final state "deliver" and reason.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\DeliverInfo|null

hasDeliver

setDeliver

Display information of the final state "deliver" and reason.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\DeliverInfo
Returns
TypeDescription
$this

getForward

Display information of the final state "forward" and reason.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\ForwardInfo|null

hasForward

setForward

Display information of the final state "forward" and reason.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\ForwardInfo
Returns
TypeDescription
$this

getAbort

Display information of the final state "abort" and reason.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\AbortInfo|null

hasAbort

setAbort

Display information of the final state "abort" and reason.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\AbortInfo
Returns
TypeDescription
$this

getDrop

Display information of the final state "drop" and reason.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\DropInfo|null

hasDrop

setDrop

Display information of the final state "drop" and reason.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\DropInfo
Returns
TypeDescription
$this

getLoadBalancer

Display information of the load balancers.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\LoadBalancerInfo|null

hasLoadBalancer

setLoadBalancer

Display information of the load balancers.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\LoadBalancerInfo
Returns
TypeDescription
$this

getNetwork

Display information of a Google Cloud network.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\NetworkInfo|null

hasNetwork

setNetwork

Display information of a Google Cloud network.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\NetworkInfo
Returns
TypeDescription
$this

getGkeMaster

Display information of a Google Kubernetes Engine cluster master.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\GKEMasterInfo|null

hasGkeMaster

setGkeMaster

Display information of a Google Kubernetes Engine cluster master.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\GKEMasterInfo
Returns
TypeDescription
$this

getCloudSqlInstance

Display information of a Cloud SQL instance.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\CloudSQLInstanceInfo|null

hasCloudSqlInstance

setCloudSqlInstance

Display information of a Cloud SQL instance.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\CloudSQLInstanceInfo
Returns
TypeDescription
$this

getCloudFunction

Display information of a Cloud Function.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\CloudFunctionInfo|null

hasCloudFunction

setCloudFunction

Display information of a Cloud Function.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\CloudFunctionInfo
Returns
TypeDescription
$this

getAppEngineVersion

Display information of an App Engine service version.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\AppEngineVersionInfo|null

hasAppEngineVersion

setAppEngineVersion

Display information of an App Engine service version.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\AppEngineVersionInfo
Returns
TypeDescription
$this

getCloudRunRevision

Display information of a Cloud Run revision.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\CloudRunRevisionInfo|null

hasCloudRunRevision

setCloudRunRevision

Display information of a Cloud Run revision.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\CloudRunRevisionInfo
Returns
TypeDescription
$this

getStepInfo

Returns
TypeDescription
string