class Google::Apis::TestingV1::DeviceIpBlock

A single device IP block

Attributes

added_date[RW]

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and ` google.protobuf.Timestamp`. Corresponds to the JSON property `addedDate` @return [Google::Apis::TestingV1::Date]

block[RW]

An IP address block in CIDR notation eg: 34.68.194.64/29 Corresponds to the JSON property `block` @return [String]

form[RW]

Whether this block is used by physical or virtual devices Corresponds to the JSON property `form` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 898
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 903
def update!(**args)
  @added_date = args[:added_date] if args.key?(:added_date)
  @block = args[:block] if args.key?(:block)
  @form = args[:form] if args.key?(:form)
end