Class: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfigNamespace

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) ⇒ ManagedZoneServiceDirectoryConfigNamespace

Returns a new instance of ManagedZoneServiceDirectoryConfigNamespace.



799
800
801
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 799

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

Instance Attribute Details

#deletion_timeString

The time that the namespace backing this zone was deleted, empty string if it still exists. This is in RFC3339 text format. Output only. Corresponds to the JSON property deletionTime

Returns:

  • (String)


785
786
787
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 785

def deletion_time
  @deletion_time
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


790
791
792
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 790

def kind
  @kind
end

#namespace_urlString

The fully qualified URL of the namespace associated with the zone. This should be formatted like https://servicedirectory.googleapis.com/v1/projects/`project` /locations/location/namespaces/namespace Corresponds to the JSON property namespaceUrl

Returns:

  • (String)


797
798
799
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 797

def namespace_url
  @namespace_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



804
805
806
807
808
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 804

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