Class: Google::Apis::NetworkconnectivityV1::ProducerPscConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb

Overview

The PSC configurations on producer side.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProducerPscConfig

Returns a new instance of ProducerPscConfig.



3017
3018
3019
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3017

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

Instance Attribute Details

#automated_dns_creation_specGoogle::Apis::NetworkconnectivityV1::AutomatedDnsCreationSpec

The specification for automatically creating a DNS record. Corresponds to the JSON property automatedDnsCreationSpec



3009
3010
3011
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3009

def automated_dns_creation_spec
  @automated_dns_creation_spec
end

#service_attachment_uriString

The resource path of a service attachment. Example: projects/projectNumOrId/ regions/region/serviceAttachments/resourceId. Corresponds to the JSON property serviceAttachmentUri

Returns:

  • (String)


3015
3016
3017
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3015

def service_attachment_uri
  @service_attachment_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3022
3023
3024
3025
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 3022

def update!(**args)
  @automated_dns_creation_spec = args[:automated_dns_creation_spec] if args.key?(:automated_dns_creation_spec)
  @service_attachment_uri = args[:service_attachment_uri] if args.key?(:service_attachment_uri)
end