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
User-provided description for this Response Policy
. Corresponds to the JSON property `description` @return [String]
The list of Google
Kubernetes Engine clusters to which this response policy is applied. Corresponds to the JSON property `gkeClusters` @return [Array<Google::Apis::DnsV1::ResponsePolicyGkeCluster>]
Unique identifier for the resource; defined by the server (output only). Corresponds to the JSON property `id` @return [Fixnum]
Corresponds to the JSON property `kind` @return [String]
User labels. Corresponds to the JSON property `labels` @return [Hash<String,String>]
List of network names specifying networks to which this policy is applied. Corresponds to the JSON property `networks` @return [Array<Google::Apis::DnsV1::ResponsePolicyNetwork>]
User assigned name for this Response Policy
. Corresponds to the JSON property `responsePolicyName` @return [String]
Public Class Methods
# File lib/google/apis/dns_v1/classes.rb, line 2534 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dns_v1/classes.rb, line 2539 def update!(**args) @description = args[:description] if args.key?(:description) @gke_clusters = args[:gke_clusters] if args.key?(:gke_clusters) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @labels = args[:labels] if args.key?(:labels) @networks = args[:networks] if args.key?(:networks) @response_policy_name = args[:response_policy_name] if args.key?(:response_policy_name) end