class Google::Apis::ServicenetworkingV1::AddDnsRecordSetRequest
Request to add a record set to a private managed DNS zone in the shared producer host project.
Attributes
consumer_network[RW]
Required. The network that the consumer is using to connect with services. Must be in the form of projects/`project`/global/networks/`network` `project` is the project number, as in '12345' `network` is the network name. Corresponds to the JSON property `consumerNetwork` @return [String]
dns_record_set[RW]
Represents a DNS record set resource. Corresponds to the JSON property `dnsRecordSet` @return [Google::Apis::ServicenetworkingV1::DnsRecordSet]
zone[RW]
Required. The name of the private DNS zone in the shared producer host project to which the record set will be added. Corresponds to the JSON property `zone` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/servicenetworking_v1/classes.rb, line 62 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/servicenetworking_v1/classes.rb, line 67 def update!(**args) @consumer_network = args[:consumer_network] if args.key?(:consumer_network) @dns_record_set = args[:dns_record_set] if args.key?(:dns_record_set) @zone = args[:zone] if args.key?(:zone) end