Class: Google::Apis::DnsV1beta2::PolicyNetwork
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::PolicyNetwork
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1beta2/classes.rb,
generated/google/apis/dns_v1beta2/representations.rb,
generated/google/apis/dns_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#network_url ⇒ String
Corresponds to the JSON property
networkUrl
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyNetwork
constructor
A new instance of PolicyNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PolicyNetwork
Returns a new instance of PolicyNetwork
999 1000 1001 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#
policyNetwork".
Corresponds to the JSON property kind
992 993 994 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 992 def kind @kind end |
#network_url ⇒ String
Corresponds to the JSON property networkUrl
997 998 999 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 997 def network_url @network_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1004 1005 1006 1007 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1004 def update!(**args) @kind = args[:kind] if args.key?(:kind) @network_url = args[:network_url] if args.key?(:network_url) end |