Class: Google::Apis::DnsV1beta2::ManagedZone
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::ManagedZone
- 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
-
#creation_time ⇒ String
Corresponds to the JSON property
creationTime
. -
#description ⇒ String
Corresponds to the JSON property
description
. -
#dns_name ⇒ String
Corresponds to the JSON property
dnsName
. -
#dnssec_config ⇒ Google::Apis::DnsV1beta2::ManagedZoneDnsSecConfig
Corresponds to the JSON property
dnssecConfig
. -
#forwarding_config ⇒ Google::Apis::DnsV1beta2::ManagedZoneForwardingConfig
Corresponds to the JSON property
forwardingConfig
. -
#id ⇒ Fixnum
Corresponds to the JSON property
id
. -
#kind ⇒ String
Identifies what kind of resource this is.
-
#labels ⇒ Hash<String,String>
Corresponds to the JSON property
labels
. -
#name ⇒ String
Corresponds to the JSON property
name
. -
#name_server_set ⇒ String
Corresponds to the JSON property
nameServerSet
. -
#name_servers ⇒ Array<String>
Corresponds to the JSON property
nameServers
. -
#peering_config ⇒ Google::Apis::DnsV1beta2::ManagedZonePeeringConfig
Corresponds to the JSON property
peeringConfig
. -
#private_visibility_config ⇒ Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig
Corresponds to the JSON property
privateVisibilityConfig
. -
#visibility ⇒ String
Corresponds to the JSON property
visibility
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedZone
constructor
A new instance of ManagedZone.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ManagedZone
Returns a new instance of ManagedZone
373 374 375 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 373 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ String
Corresponds to the JSON property creationTime
305 306 307 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 305 def creation_time @creation_time end |
#description ⇒ String
Corresponds to the JSON property description
310 311 312 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 310 def description @description end |
#dns_name ⇒ String
Corresponds to the JSON property dnsName
315 316 317 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 315 def dns_name @dns_name end |
#dnssec_config ⇒ Google::Apis::DnsV1beta2::ManagedZoneDnsSecConfig
Corresponds to the JSON property dnssecConfig
320 321 322 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 320 def dnssec_config @dnssec_config end |
#forwarding_config ⇒ Google::Apis::DnsV1beta2::ManagedZoneForwardingConfig
Corresponds to the JSON property forwardingConfig
325 326 327 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 325 def forwarding_config @forwarding_config end |
#id ⇒ Fixnum
Corresponds to the JSON property id
330 331 332 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 330 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#
managedZone".
Corresponds to the JSON property kind
336 337 338 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 336 def kind @kind end |
#labels ⇒ Hash<String,String>
Corresponds to the JSON property labels
341 342 343 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 341 def labels @labels end |
#name ⇒ String
Corresponds to the JSON property name
346 347 348 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 346 def name @name end |
#name_server_set ⇒ String
Corresponds to the JSON property nameServerSet
351 352 353 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 351 def name_server_set @name_server_set end |
#name_servers ⇒ Array<String>
Corresponds to the JSON property nameServers
356 357 358 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 356 def name_servers @name_servers end |
#peering_config ⇒ Google::Apis::DnsV1beta2::ManagedZonePeeringConfig
Corresponds to the JSON property peeringConfig
361 362 363 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 361 def peering_config @peering_config end |
#private_visibility_config ⇒ Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig
Corresponds to the JSON property privateVisibilityConfig
366 367 368 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 366 def private_visibility_config @private_visibility_config end |
#visibility ⇒ String
Corresponds to the JSON property visibility
371 372 373 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 371 def visibility @visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 378 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @description = args[:description] if args.key?(:description) @dns_name = args[:dns_name] if args.key?(:dns_name) @dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config) @forwarding_config = args[:forwarding_config] if args.key?(:forwarding_config) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @name_server_set = args[:name_server_set] if args.key?(:name_server_set) @name_servers = args[:name_servers] if args.key?(:name_servers) @peering_config = args[:peering_config] if args.key?(:peering_config) @private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config) @visibility = args[:visibility] if args.key?(:visibility) end |