Class: Google::Apis::DnsV1::PolicyNetwork
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::PolicyNetwork
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1/classes.rb,
generated/google/apis/dns_v1/representations.rb,
generated/google/apis/dns_v1/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) ⇒ PolicyNetwork
constructor
A new instance of PolicyNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyNetwork
Returns a new instance of PolicyNetwork.
1216 1217 1218 |
# File 'generated/google/apis/dns_v1/classes.rb', line 1216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
1207 1208 1209 |
# File 'generated/google/apis/dns_v1/classes.rb', line 1207 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
1214 1215 1216 |
# File 'generated/google/apis/dns_v1/classes.rb', line 1214 def network_url @network_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1221 1222 1223 1224 |
# File 'generated/google/apis/dns_v1/classes.rb', line 1221 def update!(**args) @kind = args[:kind] if args.key?(:kind) @network_url = args[:network_url] if args.key?(:network_url) end |