class Google::Apis::NetworkmanagementV1beta1::Step

A simulated forwarding path is composed of multiple steps. Each step has a well-defined state and an associated configuration.

Attributes

abort[RW]

Details of the final state “abort” and associated resource. Corresponds to the JSON property `abort` @return [Google::Apis::NetworkmanagementV1beta1::AbortInfo]

causes_drop[RW]

This is a step that leads to the final state Drop. Corresponds to the JSON property `causesDrop` @return [Boolean]

causes_drop?[RW]

This is a step that leads to the final state Drop. Corresponds to the JSON property `causesDrop` @return [Boolean]

cloud_sql_instance[RW]

For display only. Metadata associated with a Cloud SQL instance. Corresponds to the JSON property `cloudSqlInstance` @return [Google::Apis::NetworkmanagementV1beta1::CloudSqlInstanceInfo]

deliver[RW]

Details of the final state “deliver” and associated resource. Corresponds to the JSON property `deliver` @return [Google::Apis::NetworkmanagementV1beta1::DeliverInfo]

description[RW]

A description of the step. Usually this is a summary of the state. Corresponds to the JSON property `description` @return [String]

drop[RW]

Details of the final state “drop” and associated resource. Corresponds to the JSON property `drop` @return [Google::Apis::NetworkmanagementV1beta1::DropInfo]

endpoint[RW]

For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model. Corresponds to the JSON property `endpoint` @return [Google::Apis::NetworkmanagementV1beta1::EndpointInfo]

firewall[RW]

For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule. Corresponds to the JSON property `firewall` @return [Google::Apis::NetworkmanagementV1beta1::FirewallInfo]

forward[RW]

Details of the final state “forward” and associated resource. Corresponds to the JSON property `forward` @return [Google::Apis::NetworkmanagementV1beta1::ForwardInfo]

forwarding_rule[RW]

For display only. Metadata associated with a Compute Engine forwarding rule. Corresponds to the JSON property `forwardingRule` @return [Google::Apis::NetworkmanagementV1beta1::ForwardingRuleInfo]

gke_master[RW]

For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master. Corresponds to the JSON property `gkeMaster` @return [Google::Apis::NetworkmanagementV1beta1::GkeMasterInfo]

instance[RW]

For display only. Metadata associated with a Compute Engine instance. Corresponds to the JSON property `instance` @return [Google::Apis::NetworkmanagementV1beta1::InstanceInfo]

load_balancer[RW]

For display only. Metadata associated with a load balancer. Corresponds to the JSON property `loadBalancer` @return [Google::Apis::NetworkmanagementV1beta1::LoadBalancerInfo]

network[RW]

For display only. Metadata associated with a Compute Engine network. Corresponds to the JSON property `network` @return [Google::Apis::NetworkmanagementV1beta1::NetworkInfo]

project_id[RW]

Project ID that contains the configuration this step is validating. Corresponds to the JSON property `projectId` @return [String]

route[RW]

For display only. Metadata associated with a Compute Engine route. Corresponds to the JSON property `route` @return [Google::Apis::NetworkmanagementV1beta1::RouteInfo]

state[RW]

Each step is in one of the pre-defined states. Corresponds to the JSON property `state` @return [String]

vpn_gateway[RW]

For display only. Metadata associated with a Compute Engine VPN gateway. Corresponds to the JSON property `vpnGateway` @return [Google::Apis::NetworkmanagementV1beta1::VpnGatewayInfo]

vpn_tunnel[RW]

For display only. Metadata associated with a Compute Engine VPN tunnel. Corresponds to the JSON property `vpnTunnel` @return [Google::Apis::NetworkmanagementV1beta1::VpnTunnelInfo]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 1742
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 1747
def update!(**args)
  @abort = args[:abort] if args.key?(:abort)
  @causes_drop = args[:causes_drop] if args.key?(:causes_drop)
  @cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
  @deliver = args[:deliver] if args.key?(:deliver)
  @description = args[:description] if args.key?(:description)
  @drop = args[:drop] if args.key?(:drop)
  @endpoint = args[:endpoint] if args.key?(:endpoint)
  @firewall = args[:firewall] if args.key?(:firewall)
  @forward = args[:forward] if args.key?(:forward)
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
  @gke_master = args[:gke_master] if args.key?(:gke_master)
  @instance = args[:instance] if args.key?(:instance)
  @load_balancer = args[:load_balancer] if args.key?(:load_balancer)
  @network = args[:network] if args.key?(:network)
  @project_id = args[:project_id] if args.key?(:project_id)
  @route = args[:route] if args.key?(:route)
  @state = args[:state] if args.key?(:state)
  @vpn_gateway = args[:vpn_gateway] if args.key?(:vpn_gateway)
  @vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
end