class Google::Apis::ApikeysV2::V2ServerKeyRestrictions

The IP addresses of callers that are allowed to use the key.

Attributes

allowed_ips[RW]

A list of the caller IP addresses that are allowed to make API calls with this key. Corresponds to the JSON property `allowedIps` @return [Array<String>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apikeys_v2/classes.rb, line 473
def update!(**args)
  @allowed_ips = args[:allowed_ips] if args.key?(:allowed_ips)
end