class Google::Apis::ComposerV1::AllowedIpRange
Allowed IP range with user-provided description.
Attributes
description[RW]
Optional. User-provided description. It must contain at most 300 characters. Corresponds to the JSON property `description` @return [String]
value[RW]
IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` or ` 2001:0db8:0000:0042:0000:8a2e:0370:7334`. IP range prefixes should be properly truncated. For example, `1.2.3.4/24` should be truncated to `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` should be truncated to `2001:db8::/32`. Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/composer_v1/classes.rb, line 43 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/composer_v1/classes.rb, line 48 def update!(**args) @description = args[:description] if args.key?(:description) @value = args[:value] if args.key?(:value) end