API Keys V2 API - Class Google::Cloud::ApiKeys::V2::ServerKeyRestrictions (v0.3.0)

Reference documentation and code samples for the API Keys V2 API class Google::Cloud::ApiKeys::V2::ServerKeyRestrictions.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_ips

def allowed_ips() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of the caller IP addresses that are allowed to make API calls with this key.

#allowed_ips=

def allowed_ips=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of the caller IP addresses that are allowed to make API calls with this key.
Returns
  • (::Array<::String>) — A list of the caller IP addresses that are allowed to make API calls with this key.