Class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfigNetwork

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ManagedZonePrivateVisibilityConfigNetwork

Returns a new instance of ManagedZonePrivateVisibilityConfigNetwork



622
623
624
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 622

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string "dns# managedZonePrivateVisibilityConfigNetwork". Corresponds to the JSON property kind

Returns:

  • (String)


613
614
615
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 613

def kind
  @kind
end

#network_urlString

The fully qualified URL of the GCE private 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

Returns:

  • (String)


620
621
622
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 620

def network_url
  @network_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



627
628
629
630
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 627

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