Class: Google::Apis::DnsV1beta2::ResponsePolicyNetwork

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dns_v1beta2/classes.rb,
lib/google/apis/dns_v1beta2/representations.rb,
lib/google/apis/dns_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResponsePolicyNetwork

Returns a new instance of ResponsePolicyNetwork.



2647
2648
2649
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2647

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


2638
2639
2640
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2638

def kind
  @kind
end

#network_urlString

The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/ networks/network Corresponds to the JSON property networkUrl

Returns:

  • (String)


2645
2646
2647
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2645

def network_url
  @network_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2652
2653
2654
2655
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2652

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @network_url = args[:network_url] if args.key?(:network_url)
end