class Google::Apis::ServicenetworkingV1::RemoveDnsRecordSetRequest

Request to remove a record set from a private managed DNS zone in the shared producer host project. The name, type, ttl, and data values must all exactly match an existing record set in the specified zone.

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 from which the record set will be removed. 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 3242
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 3247
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