Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks

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) ⇒ GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks

Returns a new instance of GoogleCloudDialogflowV2beta1PhoneNumberAllowedSipTrunks.



18466
18467
18468
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18466

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

Instance Attribute Details

#carrier_idsArray<String>

Corresponds to the JSON property carrierIds

Returns:

  • (Array<String>)


18459
18460
18461
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18459

def carrier_ids
  @carrier_ids
end

#sip_trunksArray<String>

Corresponds to the JSON property sipTrunks

Returns:

  • (Array<String>)


18464
18465
18466
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18464

def sip_trunks
  @sip_trunks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18471
18472
18473
18474
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18471

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