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

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

Returns a new instance of ManagedZoneDnsSecConfig.



978
979
980
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 978

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

Instance Attribute Details

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

Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. Corresponds to the JSON property defaultKeySpecs



960
961
962
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 960

def default_key_specs
  @default_key_specs
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


965
966
967
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 965

def kind
  @kind
end

#non_existenceString

Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. Corresponds to the JSON property nonExistence

Returns:

  • (String)


971
972
973
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 971

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)


976
977
978
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 976

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



983
984
985
986
987
988
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 983

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