Class: Google::Apis::DnsV1beta2::ResponsePolicyNetwork
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::ResponsePolicyNetwork
- 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
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#network_url ⇒ String
The fully qualified URL of the VPC network to bind to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResponsePolicyNetwork
constructor
A new instance of ResponsePolicyNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResponsePolicyNetwork
Returns a new instance of ResponsePolicyNetwork.
2557 2558 2559 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
2548 2549 2550 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2548 def kind @kind end |
#network_url ⇒ String
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`
2555 2556 2557 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2555 def network_url @network_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2562 2563 2564 2565 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 2562 def update!(**args) @kind = args[:kind] if args.key?(:kind) @network_url = args[:network_url] if args.key?(:network_url) end |