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.



19669
19670
19671
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19669

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

Instance Attribute Details

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

Corresponds to the JSON property connections



19652
19653
19654
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19652

def connections
  @connections
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


19657
19658
19659
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19657

def display_name
  @display_name
end

#expected_hostnameArray<String>

Corresponds to the JSON property expectedHostname

Returns:

  • (Array<String>)


19662
19663
19664
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19662

def expected_hostname
  @expected_hostname
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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