class Google::Apis::DnsV1::ResponsePolicy
A Response Policy
is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
Attributes
description[RW]
User-provided description for this Response Policy
. Corresponds to the JSON property `description` @return [String]
id[RW]
Unique identifier for the resource; defined by the server (output only). Corresponds to the JSON property `id` @return [Fixnum]
kind[RW]
Corresponds to the JSON property `kind` @return [String]
networks[RW]
List of network names specifying networks to which this policy is applied. Corresponds to the JSON property `networks` @return [Array<Google::Apis::DnsV1::ResponsePolicyNetwork>]
response_policy_name[RW]
User assigned name for this Response Policy
. Corresponds to the JSON property `responsePolicyName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dns_v1/classes.rb, line 2321 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dns_v1/classes.rb, line 2326 def update!(**args) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @networks = args[:networks] if args.key?(:networks) @response_policy_name = args[:response_policy_name] if args.key?(:response_policy_name) end