Class: Google::Apis::DnsV1beta2::ManagedZoneDnsSecConfig

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

Returns a new instance of ManagedZoneDnsSecConfig



476
477
478
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 476

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

Instance Attribute Details

#default_key_specsArray<Google::Apis::DnsV1beta2::DnsKeySpec>

Specifies parameters that will be used for generating initial DnsKeys for this ManagedZone. Output only while state is not OFF. Corresponds to the JSON property defaultKeySpecs



457
458
459
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 457

def default_key_specs
  @default_key_specs
end

#kindString

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

Returns:

  • (String)


463
464
465
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 463

def kind
  @kind
end

#non_existenceString

Specifies the mechanism used to provide authenticated denial-of-existence responses. Output only while state is not OFF. Corresponds to the JSON property nonExistence

Returns:

  • (String)


469
470
471
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 469

def non_existence
  @non_existence
end

#stateString

Specifies whether DNSSEC is enabled, and what mode it is in. Corresponds to the JSON property state

Returns:

  • (String)


474
475
476
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 474

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



481
482
483
484
485
486
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 481

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