Class: Google::Apis::DatafusionV1::DnsPeering
- Inherits:
-
Object
- Object
- Google::Apis::DatafusionV1::DnsPeering
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datafusion_v1/classes.rb,
lib/google/apis/datafusion_v1/representations.rb,
lib/google/apis/datafusion_v1/representations.rb
Overview
DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#domain ⇒ String
Required.
-
#name ⇒ String
Required.
-
#target_network ⇒ String
Optional.
-
#target_project ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsPeering
constructor
A new instance of DnsPeering.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DnsPeering
Returns a new instance of DnsPeering.
311 312 313 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. Optional description of the dns zone.
Corresponds to the JSON property description
288 289 290 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 288 def description @description end |
#domain ⇒ String
Required. The dns name suffix of the zone.
Corresponds to the JSON property domain
293 294 295 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 293 def domain @domain end |
#name ⇒ String
Required. The resource name of the dns peering zone. Format: projects/project
/locations/location/instances/instance/dnsPeerings/dns_peering
Corresponds to the JSON property name
299 300 301 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 299 def name @name end |
#target_network ⇒ String
Optional. Optional target network to which dns peering should happen.
Corresponds to the JSON property targetNetwork
304 305 306 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 304 def target_network @target_network end |
#target_project ⇒ String
Optional. Optional target project to which dns peering should happen.
Corresponds to the JSON property targetProject
309 310 311 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 309 def target_project @target_project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
316 317 318 319 320 321 322 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 316 def update!(**args) @description = args[:description] if args.key?(:description) @domain = args[:domain] if args.key?(:domain) @name = args[:name] if args.key?(:name) @target_network = args[:target_network] if args.key?(:target_network) @target_project = args[:target_project] if args.key?(:target_project) end |