Service Client: Google::Cloud::Dialogflow::V2beta1::SipTrunk::SipTrunksClient

Client stub representing the remote SipTrunks gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to dialogflow.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Dialogflow::V2beta1::SipTrunk - Compiled Protocol Buffers messages for google/cloud/dialogflow/v2beta1/sip_trunk.proto

SYNOPSIS

use Google::Cloud::Dialogflow::V2beta1::SipTrunk;

my $msg = Google::Cloud::Dialogflow::V2beta1::SipTrunk::CreateSipTrunkRequest->new({
    parent => $parent,
    sip_trunk => $sip_trunk,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::V2beta1::SipTrunk::CreateSipTrunkRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/v2beta1/sip_trunk.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Dialogflow::V2beta1::SipTrunk::CreateSipTrunkRequest

The request message for [SipTrunks.CreateSipTrunk][google.cloud.dialogflow.v2beta1.SipTrunks.CreateSipTrunk].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The location to create a SIP trunk for. Format: `projects/<Project ID>/locations/<Location ID>`.

  • $msg->sip_trunk() / $msg->sip_trunk($value)

    Type: Message (Google::Cloud::Dialogflow::V2beta1::SipTrunk::SipTrunk)

    Required. The SIP trunk to create.

Google::Cloud::Dialogflow::V2beta1::SipTrunk::DeleteSipTrunkRequest

The request message for [SipTrunks.DeleteSipTrunk][google.cloud.dialogflow.v2beta1.SipTrunks.DeleteSipTrunk].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the SIP trunk to delete. Format: `projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk ID>`.

Google::Cloud::Dialogflow::V2beta1::SipTrunk::ListSipTrunksRequest

The request message for [SipTrunks.ListSipTrunks][google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The location to list SIP trunks from. Format: `projects/<Project ID>/locations/<Location ID>`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The next_page_token value returned from a previous list request.

Google::Cloud::Dialogflow::V2beta1::SipTrunk::ListSipTrunksResponse

The response message for [SipTrunks.ListSipTrunks][google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks].

Inherits from Protobuf::Message.

Accessors

  • $msg->sip_trunks() / $msg->sip_trunks($value)

    Type: Message (Google::Cloud::Dialogflow::V2beta1::SipTrunk::SipTrunk)

    The list of SIP trunks.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

Google::Cloud::Dialogflow::V2beta1::SipTrunk::GetSipTrunkRequest

The request message for [SipTrunks.GetSipTrunk][google.cloud.dialogflow.v2beta1.SipTrunks.GetSipTrunk].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the SIP trunk to delete. Format: `projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk ID>`.

Google::Cloud::Dialogflow::V2beta1::SipTrunk::UpdateSipTrunkRequest

The request message for [SipTrunks.UpdateSipTrunk][google.cloud.dialogflow.v2beta1.SipTrunks.UpdateSipTrunk].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Dialogflow::V2beta1::SipTrunk::SipTrunk

SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The unique identifier of the SIP trunk. Format: `projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk ID>`.

  • $msg->expected_hostname() / $msg->expected_hostname($value)

    Type: String

    Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.

  • $msg->connections() / $msg->connections($value)

    Type: Message (Google::Cloud::Dialogflow::V2beta1::SipTrunk::Connection)

    Output only. Connections of the SIP trunk.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Optional. Human readable alias for this trunk.

  • $msg->peer_hostnames() / $msg->peer_hostnames($value)

    Type: Message (Google::Cloud::Dialogflow::V2beta1::SipTrunk::SipHostname)

    Required. Peer hostnames of the SIP trunk.

  • $msg->google_root_cert_file() / $msg->google_root_cert_file($value)

    Type: Enum (Google::Cloud::Dialogflow::V2beta1::SipTrunk::GoogleRootCertFile)

    Optional. The root certificate file to use for this SIP trunk.

Enum: SipTrunk::GoogleRootCertFile

  • CERT_FILE_UNSPECIFIED => 0

  • EXTERNAL_PRIVATE_CA => 5

Google::Cloud::Dialogflow::V2beta1::SipTrunk::Connection

Represents a connection for SIP Trunk.

Inherits from Protobuf::Message.

Accessors

Enum: Connection::State

  • STATE_UNSPECIFIED => 0

  • CONNECTED => 1

  • DISCONNECTED => 2

  • AUTHENTICATION_FAILED => 3

  • KEEPALIVE => 4

Enum: Connection::CertificateState

  • CERTIFICATE_STATE_UNSPECIFIED => 0

  • CERTIFICATE_VALID => 1

  • CERTIFICATE_INVALID => 2

  • CERTIFICATE_EXPIRED => 3

  • CERTIFICATE_HOSTNAME_NOT_FOUND => 4

  • CERTIFICATE_UNAUTHENTICATED => 5

  • CERTIFICATE_TRUST_STORE_NOT_FOUND => 6

  • CERTIFICATE_HOSTNAME_INVALID_FORMAT => 7

  • CERTIFICATE_QUOTA_EXCEEDED => 8

Google::Cloud::Dialogflow::V2beta1::SipTrunk::SipHostname

Represents a peer hostname for SIP Trunk.

Inherits from Protobuf::Message.

Accessors

Enum: SipHostname::ConnectionState

  • CONNECTION_STATE_UNSPECIFIED => 0

  • CONNECTED => 1

  • DISCONNECTED => 2

  • AUTHENTICATION_FAILED => 3

  • KEEPALIVE => 4

Enum: SipHostname::HostnameCertificateState

  • HOSTNAME_CERTIFICATE_STATE_UNSPECIFIED => 0

  • VALID => 1

  • INVALID => 2

  • EXPIRED => 3

  • HOSTNAME_NOT_FOUND => 4

  • UNAUTHENTICATED => 5

  • TRUST_STORE_NOT_FOUND => 6

  • HOSTNAME_INVALID_FORMAT => 7

  • QUOTA_EXCEEDED => 8

Google::Cloud::Dialogflow::V2beta1::SipTrunk::ProbeDetails

The probe details of Sip Trunk peer hostname.

Inherits from Protobuf::Message.

Accessors

Enum: ProbeDetails::ProbeStatus

  • PROBE_STATUS_UNSPECIFIED => 0

  • PROBE_STATUS_SUCCESS => 1

  • PROBE_STATUS_FAILED => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::V2beta1::SipTrunk::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.