Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SipTrunk

Returns a new instance of GoogleCloudDialogflowV2SipTrunk.



15359
15360
15361
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15359

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

Instance Attribute Details

#connectionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>

Corresponds to the JSON property connections



15342
15343
15344
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15342

def connections
  @connections
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


15347
15348
15349
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15347

def display_name
  @display_name
end

#expected_hostnameArray<String>

Corresponds to the JSON property expectedHostname

Returns:

  • (Array<String>)


15352
15353
15354
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15352

def expected_hostname
  @expected_hostname
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


15357
15358
15359
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15357

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15364
15365
15366
15367
15368
15369
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15364

def update!(**args)
  @connections = args[:connections] if args.key?(:connections)
  @display_name = args[:display_name] if args.key?(:display_name)
  @expected_hostname = args[:expected_hostname] if args.key?(:expected_hostname)
  @name = args[:name] if args.key?(:name)
end