Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SipTrunk

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SipTrunk

Returns a new instance of GoogleCloudDialogflowV2beta1SipTrunk.



19683
19684
19685
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19683

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

Instance Attribute Details

#connectionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Connection>

Corresponds to the JSON property connections



19666
19667
19668
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19666

def connections
  @connections
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


19671
19672
19673
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19671

def display_name
  @display_name
end

#expected_hostnameArray<String>

Corresponds to the JSON property expectedHostname

Returns:

  • (Array<String>)


19676
19677
19678
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19676

def expected_hostname
  @expected_hostname
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


19681
19682
19683
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19681

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19688
19689
19690
19691
19692
19693
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19688

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