Class: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace
- 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
-
#deletion_time ⇒ String
The time that the namespace backing this zone was deleted, empty string if it still exists.
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#namespace_url ⇒ String
The fully qualified URL of the namespace associated with the zone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedZoneServiceDirectoryConfigNamespace
constructor
A new instance of ManagedZoneServiceDirectoryConfigNamespace.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedZoneServiceDirectoryConfigNamespace
Returns a new instance of ManagedZoneServiceDirectoryConfigNamespace.
792 793 794 |
# File 'lib/google/apis/dns_v1/classes.rb', line 792 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deletion_time ⇒ String
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
778 779 780 |
# File 'lib/google/apis/dns_v1/classes.rb', line 778 def deletion_time @deletion_time end |
#kind ⇒ String
Corresponds to the JSON property kind
783 784 785 |
# File 'lib/google/apis/dns_v1/classes.rb', line 783 def kind @kind end |
#namespace_url ⇒ String
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
790 791 792 |
# File 'lib/google/apis/dns_v1/classes.rb', line 790 def namespace_url @namespace_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
797 798 799 800 801 |
# File 'lib/google/apis/dns_v1/classes.rb', line 797 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 |