Class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfigNetwork

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dns_v1/classes.rb,
lib/google/apis/dns_v1/representations.rb,
lib/google/apis/dns_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedZonePrivateVisibilityConfigNetwork

Returns a new instance of ManagedZonePrivateVisibilityConfigNetwork.



1226
1227
1228
# File 'lib/google/apis/dns_v1/classes.rb', line 1226

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1217
1218
1219
# File 'lib/google/apis/dns_v1/classes.rb', line 1217

def kind
  @kind
end

#network_urlString

The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/`project`/global/networks/` network Corresponds to the JSON propertynetworkUrl`

Returns:

  • (String)


1224
1225
1226
# File 'lib/google/apis/dns_v1/classes.rb', line 1224

def network_url
  @network_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1231
1232
1233
1234
# File 'lib/google/apis/dns_v1/classes.rb', line 1231

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @network_url = args[:network_url] if args.key?(:network_url)
end