Class: Google::Apis::DnsV1::ResponsePolicyNetwork

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResponsePolicyNetwork

Returns a new instance of ResponsePolicyNetwork.



1877
1878
1879
# File 'lib/google/apis/dns_v1/classes.rb', line 1877

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1868
1869
1870
# File 'lib/google/apis/dns_v1/classes.rb', line 1868

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)


1875
1876
1877
# File 'lib/google/apis/dns_v1/classes.rb', line 1875

def network_url
  @network_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1882
1883
1884
1885
# File 'lib/google/apis/dns_v1/classes.rb', line 1882

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