Class: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace

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

Returns a new instance of ManagedZoneServiceDirectoryConfigNamespace.



826
827
828
# File 'lib/google/apis/dns_v1/classes.rb', line 826

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

Instance Attribute Details

#deletion_timeString

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

Returns:

  • (String)


812
813
814
# File 'lib/google/apis/dns_v1/classes.rb', line 812

def deletion_time
  @deletion_time
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


817
818
819
# File 'lib/google/apis/dns_v1/classes.rb', line 817

def kind
  @kind
end

#namespace_urlString

The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/`project`/locations/` location/namespaces/namespace Corresponds to the JSON propertynamespaceUrl`

Returns:

  • (String)


824
825
826
# File 'lib/google/apis/dns_v1/classes.rb', line 824

def namespace_url
  @namespace_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



831
832
833
834
835
# File 'lib/google/apis/dns_v1/classes.rb', line 831

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