Class: Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork
- 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
-
#deactivate_time ⇒ String
If this zone has been deactivated due to a problem with the network it targeted, the time at which it was deactivated.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#network_url ⇒ String
The fully qualified URL of the VPC network to forward queries to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedZonePeeringConfigTargetNetwork
constructor
A new instance of ManagedZonePeeringConfigTargetNetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ManagedZonePeeringConfigTargetNetwork
Returns a new instance of ManagedZonePeeringConfigTargetNetwork
646 647 648 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 646 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deactivate_time ⇒ String
If this zone has been deactivated due to a problem with the network it
targeted, the time at which it was deactivated. The zone can be deactivated if,
for instance, the network it targeted was deleted. If the targeted network is
still present, this will be the empty string. This is in RFC3339 text format.
Output only.
Corresponds to the JSON property deactivateTime
631 632 633 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 631 def deactivate_time @deactivate_time end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#
managedZonePeeringConfigTargetNetwork".
Corresponds to the JSON property kind
637 638 639 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 637 def kind @kind end |
#network_url ⇒ String
The fully qualified URL of the VPC network to forward queries to. This should
be formatted like https://www.googleapis.com/compute/v1/projects/`project`/
global/networks/network
Corresponds to the JSON property networkUrl
644 645 646 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 644 def network_url @network_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
651 652 653 654 655 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 651 def update!(**args) @deactivate_time = args[:deactivate_time] if args.key?(:deactivate_time) @kind = args[:kind] if args.key?(:kind) @network_url = args[:network_url] if args.key?(:network_url) end |