Class: Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedZonePeeringConfigTargetNetwork

Returns a new instance of ManagedZonePeeringConfigTargetNetwork.



1146
1147
1148
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1146

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

Instance Attribute Details

#deactivate_timeString

The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. Corresponds to the JSON property deactivateTime

Returns:

  • (String)


1132
1133
1134
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1132

def deactivate_time
  @deactivate_time
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1137
1138
1139
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1137

def kind
  @kind
end

#network_urlString

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 propertynetworkUrl`

Returns:

  • (String)


1144
1145
1146
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1144

def network_url
  @network_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1151
1152
1153
1154
1155
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1151

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