UNPKG

@enfonica/voice

Version:

Enfonica Numbering SDK for Node.js

1,310 lines (1,309 loc) 102 kB
{ "nested": { "enfonica": { "nested": { "voice": { "nested": { "v1beta1": { "options": { "cc_enable_arenas": true, "csharp_namespace": "Enfonica.Voice.V1Beta1", "go_package": "github.com/enfonica/enfonica-go/voice/v1beta1;voice", "java_multiple_files": true, "java_outer_classname": "TranscriptionsProto", "java_package": "com.enfonica.voice.v1beta1", "objc_class_prefix": "ENFON", "(google.api.resource_definition).type": "voice.api.enfonica.com/Stream", "(google.api.resource_definition).pattern": "projects/{project}/streams/{streams}" }, "nested": { "Aliases": { "options": { "(google.api.default_host)": "voice.api.enfonica.com", "(google.api.oauth_scopes)": "https://api.enfonica.com/auth/voice" }, "methods": { "CreateAlias": { "requestType": "CreateAliasRequest", "responseType": "Alias", "options": { "(google.api.http).post": "/v1beta1/{parent=projects/*/sipDomains/*}/aliases", "(google.api.http).body": "alias", "(google.api.method_signature)": "parent,alias,alias_id" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1beta1/{parent=projects/*/sipDomains/*}/aliases", "body": "alias" } }, { "(google.api.method_signature)": "parent,alias,alias_id" } ] }, "GetAlias": { "requestType": "GetAliasRequest", "responseType": "Alias", "options": { "(google.api.http).get": "/v1beta1/{name=projects/*/sipDomains/*/aliases/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta1/{name=projects/*/sipDomains/*/aliases/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListAliases": { "requestType": "ListAliasesRequest", "responseType": "ListAliasesResponse", "options": { "(google.api.http).get": "/v1beta1/{parent=projects/*/sipDomains/*}/aliases", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta1/{parent=projects/*/sipDomains/*}/aliases" } }, { "(google.api.method_signature)": "parent" } ] }, "UpdateAlias": { "requestType": "UpdateAliasRequest", "responseType": "Alias", "options": { "(google.api.http).patch": "/v1beta1/{alias.name=projects/*/sipDomains/*/aliases/*}", "(google.api.http).body": "alias", "(google.api.method_signature)": "alias,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1beta1/{alias.name=projects/*/sipDomains/*/aliases/*}", "body": "alias" } }, { "(google.api.method_signature)": "alias,update_mask" } ] }, "DeleteAlias": { "requestType": "DeleteAliasRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1beta1/{name=projects/*/sipDomains/*/aliases/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1beta1/{name=projects/*/sipDomains/*/aliases/*}" } }, { "(google.api.method_signature)": "name" } ] } } }, "Alias": { "options": { "(google.api.resource).type": "voice.api.enfonica.com/Alias", "(google.api.resource).pattern": "projects/{project}/sipDomains/{sip_domain}/aliases/{alias}" }, "oneofs": { "config": { "oneof": [ "loadBalancerConfig" ] } }, "fields": { "name": { "type": "string", "id": 1 }, "aliasId": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "displayName": { "type": "string", "id": 3 }, "loadBalancerConfig": { "type": "LoadBalancerConfig", "id": 4 }, "createTime": { "type": "google.protobuf.Timestamp", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "LoadBalancerConfig": { "fields": { "endpoints": { "rule": "repeated", "type": "LoadBalancerEndpoint", "id": 1 }, "failoverCallHandlerUris": { "rule": "repeated", "type": "string", "id": 2 } } }, "LoadBalancerEndpoint": { "fields": { "uri": { "type": "string", "id": 1 }, "priority": { "type": "int32", "id": 2 }, "weight": { "type": "int32", "id": 3 }, "enabled": { "type": "bool", "id": 4 } } }, "CreateAliasRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "voice.api.enfonica.com/Alias" } }, "alias": { "type": "Alias", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "aliasId": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "GetAliasRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "voice.api.enfonica.com/Alias" } } } }, "ListAliasesRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "voice.api.enfonica.com/Alias" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 } } }, "ListAliasesResponse": { "fields": { "aliases": { "rule": "repeated", "type": "Alias", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "UpdateAliasRequest": { "fields": { "alias": { "type": "Alias", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "updateMask": { "type": "google.protobuf.FieldMask", "id": 2 } } }, "DeleteAliasRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "voice.api.enfonica.com/Alias" } } } }, "CallRecordingConfig": { "fields": { "trigger": { "type": "CallRecordingTrigger", "id": 1 }, "postProcessing": { "rule": "repeated", "type": "PostProcessing", "id": 2 }, "recordingReadyUri": { "type": "string", "id": 3 }, "transcribe": { "type": "TranscribeOption", "id": 4 }, "transcriptionReadyUri": { "type": "string", "id": 5 } }, "nested": { "CallRecordingTrigger": { "values": { "CALL_RECORDING_TRIGGER_UNSPECIFIED": 0, "DISABLED": 1, "ANSWER": 2, "BRIDGE": 3 } } } }, "PostProcessing": { "values": { "POST_PROCESSING_UNSPECIFIED": 0, "TRIM_SILENCE": 1 } }, "TranscribeOption": { "values": { "TRANSCRIBE_OPTION_UNSPECIFIED": 0, "DISABLED": 1, "DEFAULT": 2 } }, "CallRequest": { "fields": { "call": { "type": "enfonica.voice.v1beta1.Call", "id": 1 }, "parameters": { "keyType": "string", "type": "string", "id": 2 } } }, "Calls": { "options": { "(google.api.default_host)": "voice.api.enfonica.com", "(google.api.oauth_scopes)": "https://api.enfonica.com/auth/voice" }, "methods": { "CreateCall": { "requestType": "CreateCallRequest", "responseType": "Call", "options": { "(google.api.http).post": "/v1beta1/{parent=projects/*}/calls", "(google.api.http).body": "call", "(google.api.method_signature)": "parent,call" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1beta1/{parent=projects/*}/calls", "body": "call" } }, { "(google.api.method_signature)": "parent,call" } ] }, "GetCall": { "requestType": "GetCallRequest", "responseType": "Call", "options": { "(google.api.http).get": "/v1beta1/{name=projects/*/calls/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta1/{name=projects/*/calls/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListCalls": { "requestType": "ListCallsRequest", "responseType": "ListCallsResponse", "options": { "(google.api.http).get": "/v1beta1/{parent=projects/*}/calls", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta1/{parent=projects/*}/calls" } }, { "(google.api.method_signature)": "parent" } ] } } }, "Call": { "options": { "(google.api.resource).type": "voice.api.enfonica.com/Call", "(google.api.resource).pattern": "projects/{project}/calls/{call}" }, "fields": { "name": { "type": "string", "id": 1 }, "to": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "from": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "fromLocation": { "type": "NumberLocation", "id": 25 }, "fromZone": { "type": "string", "id": 26 }, "isPrivate": { "type": "bool", "id": 4 }, "labels": { "keyType": "string", "type": "string", "id": 8 }, "transport": { "type": "Transport", "id": 9, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "direction": { "type": "Direction", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "errorCode": { "type": "string", "id": 11, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "errorMessage": { "type": "string", "id": 12, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "price": { "type": "google.type.Money", "id": 13, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "state": { "type": "State", "id": 14, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 16, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "startTime": { "type": "google.protobuf.Timestamp", "id": 17, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "ringTime": { "type": "google.protobuf.Timestamp", "id": 18, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "answerTime": { "type": "google.protobuf.Timestamp", "id": 19, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "endTime": { "type": "google.protobuf.Timestamp", "id": 20, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "bridged": { "type": "bool", "id": 21, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "originatingCall": { "type": "string", "id": 22, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createMethod": { "type": "CreateMethod", "id": 23, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "options": { "type": "ApiCallOptions", "id": 24, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "sipCallId": { "type": "string", "id": 27, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "answerDuration": { "type": "google.protobuf.Duration", "id": 28, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "ApiCallOptions": { "fields": { "handlerUris": { "rule": "repeated", "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "stateUpdateUri": { "type": "string", "id": 2 }, "timeoutSeconds": { "type": "int32", "id": 3 }, "recording": { "type": "CallRecordingConfig", "id": 4 } } }, "State": { "values": { "STATE_UNSPECIFIED": 0, "QUEUED": 1, "STARTING": 2, "RINGING": 3, "IN_PROGRESS": 4, "COMPLETED": 5, "FAILED": 6, "NOT_ANSWERED": 7, "BUSY": 8, "REJECTED": 9 } }, "Direction": { "values": { "DIRECTION_UNSPECIFIED": 0, "OUTGOING": 1, "INCOMING": 2 } }, "Transport": { "values": { "TRANSPORT_UNSPECIFIED": 0, "PSTN": 1, "CLIENT": 2, "SIP": 3 } }, "CreateMethod": { "values": { "CREATE_METHOD_UNSPECIFIED": 0, "INCOMING_CALL": 1, "PARENT_CALL": 2, "API": 3 } } } }, "NumberLocation": { "fields": { "regionCode": { "type": "string", "id": 1 }, "administrativeArea": { "type": "string", "id": 2 }, "locality": { "type": "string", "id": 3 }, "coordinates": { "type": "google.type.LatLng", "id": 4 } } }, "CreateCallRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "voice.api.enfonica.com/Call" } }, "call": { "type": "Call", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "GetCallRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "voice.api.enfonica.com/Call" } } } }, "ListCallsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "voice.api.enfonica.com/Call" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "filter": { "type": "string", "id": 4 } } }, "ListCallsResponse": { "fields": { "calls": { "rule": "repeated", "type": "Call", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "Recordings": { "options": { "(google.api.default_host)": "voice.api.enfonica.com", "(google.api.oauth_scopes)": "https://api.enfonica.com/auth/voice" }, "methods": { "GetRecording": { "requestType": "GetRecordingRequest", "responseType": "Recording", "options": { "(google.api.http).get": "/v1beta1/{name=projects/*/calls/*/recordings/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta1/{name=projects/*/calls/*/recordings/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListRecordings": { "requestType": "ListRecordingsRequest", "responseType": "ListRecordingsResponse", "options": { "(google.api.http).get": "/v1beta1/{parent=projects/*/calls/*}/recordings", "(google.api.http).additional_bindings.get": "/v1beta1/{parent=projects/*}/recordings", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta1/{parent=projects/*/calls/*}/recordings", "additional_bindings": { "get": "/v1beta1/{parent=projects/*}/recordings" } } }, { "(google.api.method_signature)": "parent" } ] }, "DeleteRecording": { "requestType": "DeleteRecordingRequest", "responseType": "Recording", "options": { "(google.api.http).delete": "/v1beta1/{name=projects/*/calls/*/recordings/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1beta1/{name=projects/*/calls/*/recordings/*}" } }, { "(google.api.method_signature)": "name" } ] } } }, "Recording": { "options": { "(google.api.resource).type": "voice.api.enfonica.com/Recording", "(google.api.resource).pattern": "projects/{project}/calls/{call}/recordings/{recording}" }, "fields": { "name": { "type": "string", "id": 1 }, "state": { "type": "State", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "source": { "type": "Source", "id": 4 }, "duration": { "type": "google.protobuf.Duration", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "channelCount": { "type": "int32", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "postProcessing": { "rule": "repeated", "type": "PostProcessing", "id": 7 }, "errorCode": { "type": "ErrorCode", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "audio": { "rule": "repeated", "type": "RecordingAudio", "id": 9, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "startTime": { "type": "google.protobuf.Timestamp", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 11, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "readyUri": { "type": "string", "id": 12 } }, "nested": { "Source": { "values": { "SOURCE_UNSPECIFIED": 0, "RECORD_ACTION": 1, "CALL_RECORDING": 2 } }, "State": { "values": { "STATE_UNSPECIFIED": 0, "PENDING": 1, "SUCCEEDED": 2, "EMPTY": 3, "FAILED": 4 } }, "ErrorCode": { "values": { "ERROR_CODE_UNSPECIFIED": 0, "TIMEOUT": 1, "INTERNAL_ERROR": 2 } } } }, "RecordingAudio": { "fields": { "mimeType": { "type": "string", "id": 1 }, "encoding": { "type": "AudioEncoding", "id": 2 }, "sampleRate": { "type": "int32", "id": 3 }, "sizeBytes": { "type": "int32", "id": 4 }, "uri": { "type": "string", "id": 5 } }, "nested": { "AudioEncoding": { "values": { "AUDIO_ENCODING_UNSPECIFIED": 0, "AUDIO_ENCODING_PCM_16BIT": 1, "AUDIO_ENCODING_MP3": 2 } } } }, "GetRecordingRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "voice.api.enfonica.com/Recording" } }, "view": { "type": "RecordingView", "id": 2 } } }, "ListRecordingsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "voice.api.enfonica.com/Recording" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "view": { "type": "RecordingView", "id": 4 } } }, "ListRecordingsResponse": { "fields": { "recordings": { "rule": "repeated", "type": "Recording", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "DeleteRecordingRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "voice.api.enfonica.com/Recording" } } } }, "RecordingView": { "values": { "RECORDING_VIEW_UNSPECIFIED": 0, "BASIC": 1, "FULL": 2 } }, "SipDomains": { "options": { "(google.api.default_host)": "voice.api.enfonica.com", "(google.api.oauth_scopes)": "https://api.enfonica.com/auth/voice" }, "methods": { "CreateSipDomain": { "requestType": "CreateSipDomainRequest", "responseType": "SipDomain", "options": { "(google.api.http).post": "/v1beta1/{parent=projects/*}/sipDomains", "(google.api.http).body": "sip_domain", "(google.api.method_signature)": "parent,sip_domain,sip_domain_id" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1beta1/{parent=projects/*}/sipDomains", "body": "sip_domain" } }, { "(google.api.method_signature)": "parent,sip_domain,sip_domain_id" } ] }, "GetSipDomain": { "requestType": "GetSipDomainRequest", "responseType": "SipDomain", "options": { "(google.api.http).get": "/v1beta1/{name=projects/*/sipDomains/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta1/{name=projects/*/sipDomains/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListSipDomains": { "requestType": "ListSipDomainsRequest", "responseType": "ListSipDomainsResponse", "options": { "(google.api.http).get": "/v1beta1/{parent=projects/*}/sipDomains", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta1/{parent=projects/*}/sipDomains" } }, { "(google.api.method_signature)": "parent" } ] }, "UpdateSipDomain": { "requestType": "UpdateSipDomainRequest", "responseType": "SipDomain", "options": { "(google.api.http).patch": "/v1beta1/{sip_domain.name=projects/*/sipDomains/*}", "(google.api.http).body": "sip_domain", "(google.api.method_signature)": "sip_domain,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1beta1/{sip_domain.name=projects/*/sipDomains/*}", "body": "sip_domain" } }, { "(google.api.method_signature)": "sip_domain,update_mask" } ] }, "DeleteSipDomain": { "requestType": "DeleteSipDomainRequest", "responseType": "SipDomain", "options": { "(google.api.http).delete": "/v1beta1/{name=projects/*/sipDomains/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1beta1/{name=projects/*/sipDomains/*}" } }, { "(google.api.method_signature)": "name" } ] } } }, "SipDomain": { "options": { "(google.api.resource).type": "voice.api.enfonica.com/SipDomain", "(google.api.resource).pattern": "projects/{project}/sipDomains/{sip_domain}" }, "fields": { "name": { "type": "string", "id": 1 }, "sipDomainId": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "displayName": { "type": "string", "id": 3 }, "allowRegister": { "type": "bool", "id": 4 }, "callTerminationMode": { "type": "TerminationMode", "id": 5 }, "callTerminationHandlerUris": { "rule": "repeated", "type": "string", "id": 6 }, "cidrBlocks": { "rule": "repeated", "type": "CidrBlock", "id": 8 }, "callRecording": { "type": "CallRecordingConfig", "id": 9 }, "createTime": { "type": "google.protobuf.Timestamp", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "deleteTime": { "type": "google.protobuf.Timestamp", "id": 11, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "TerminationMode": { "values": { "TERMINATION_MODE_UNSPECIFIED": 0, "TERMINATION_MODE_DISABLED": 1, "PSTN_TRUNK": 2, "PROGRAMMABLE": 3 } } } }, "CidrBlock": { "fields": { "displayName": { "type": "string", "id": 1 }, "cidrBlock": { "type": "string", "id": 2 } } }, "CreateSipDomainRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "voice.api.enfonica.com/SipDomain" } }, "sipDomain": { "type": "SipDomain", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "sipDomainId": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "GetSipDomainRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "voice.api.enfonica.com/SipDomain" } } } }, "ListSipDomainsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "voice.api.enfonica.com/SipDomain" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "showDeleted": { "type": "bool", "id": 4 } } }, "ListSipDomainsResponse": { "fields": { "sipDomains": { "rule": "repeated", "type": "SipDomain", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "UpdateSipDomainRequest": { "fields": { "sipDomain": { "type": "SipDomain", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "updateMask": { "type": "google.protobuf.FieldMask", "id": 2 } } }, "DeleteSipDomainRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "voice.api.enfonica.com/SipDomain" } } } }, "SipInfoService": { "options": { "(google.api.default_host)": "voice.api.enfonica.com", "(google.api.oauth_scopes)": "https://api.enfonica.com/auth/voice" }, "methods": { "GetSipInfo": { "requestType": "GetSipInfoRequest", "responseType": "SipInfo", "options": { "(google.api.http).get": "/v1beta1/{name=projects/*/calls/*/sipInfo}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1beta1/{name=projects/*/calls/*/sipInfo}" } }, { "(google.api.method_signature)": "name"