class Google::Apis::TestingV1::NetworkConfiguration

Attributes

down_rule[RW]

Network emulation parameters. Corresponds to the JSON property `downRule` @return [Google::Apis::TestingV1::TrafficRule]

id[RW]

The unique opaque id for this network traffic configuration. Corresponds to the JSON property `id` @return [String]

up_rule[RW]

Network emulation parameters. Corresponds to the JSON property `upRule` @return [Google::Apis::TestingV1::TrafficRule]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/testing_v1/classes.rb, line 1650
def update!(**args)
  @down_rule = args[:down_rule] if args.key?(:down_rule)
  @id = args[:id] if args.key?(:id)
  @up_rule = args[:up_rule] if args.key?(:up_rule)
end