class Google::Apis::ContainerV1::CidrBlock
CidrBlock
contains an optional name and one CIDR block.
Attributes
cidr_block[RW]
cidr_block
must be specified in CIDR notation. Corresponds to the JSON property `cidrBlock` @return [String]
display_name[RW]
display_name
is an optional field for users to identify CIDR blocks. Corresponds to the JSON property `displayName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1/classes.rb, line 406 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/container_v1/classes.rb, line 411 def update!(**args) @cidr_block = args[:cidr_block] if args.key?(:cidr_block) @display_name = args[:display_name] if args.key?(:display_name) end