Class: Google::Apis::DnsV1beta2::ResourceRecordSet
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::ResourceRecordSet
- 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
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Corresponds to the JSON property
name
. -
#rrdatas ⇒ Array<String>
Corresponds to the JSON property
rrdatas
. -
#signature_rrdatas ⇒ Array<String>
Corresponds to the JSON property
signatureRrdatas
. -
#ttl ⇒ Fixnum
Corresponds to the JSON property
ttl
. -
#type ⇒ String
Corresponds to the JSON property
type
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceRecordSet
constructor
A new instance of ResourceRecordSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourceRecordSet
Returns a new instance of ResourceRecordSet
1186 1187 1188 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1186 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#
resourceRecordSet".
Corresponds to the JSON property kind
1159 1160 1161 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1159 def kind @kind end |
#name ⇒ String
Corresponds to the JSON property name
1164 1165 1166 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1164 def name @name end |
#rrdatas ⇒ Array<String>
Corresponds to the JSON property rrdatas
1169 1170 1171 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1169 def rrdatas @rrdatas end |
#signature_rrdatas ⇒ Array<String>
Corresponds to the JSON property signatureRrdatas
1174 1175 1176 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1174 def signature_rrdatas @signature_rrdatas end |
#ttl ⇒ Fixnum
Corresponds to the JSON property ttl
1179 1180 1181 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1179 def ttl @ttl end |
#type ⇒ String
Corresponds to the JSON property type
1184 1185 1186 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1184 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1191 1192 1193 1194 1195 1196 1197 1198 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1191 def update!(**args) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @rrdatas = args[:rrdatas] if args.key?(:rrdatas) @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas) @ttl = args[:ttl] if args.key?(:ttl) @type = args[:type] if args.key?(:type) end |