google-cloud-dialogflow-cx-v3 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +5 -1
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +6 -2
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +6 -2
- data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +69 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f703e068ae7586d3e7d8e01b1685393ead7d80bc5fc5434893cc3bbb69c8875
|
4
|
+
data.tar.gz: 8182513d8ff99c18a2b2442915c088b8986a94efdad815a5d79b53c5da431829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8b8b80b050ad28fab6612201ea205da5369fe86ac4773ca085236b79980daae547e273e7e29a0d65bd5d36eed7d75e766a52862681dcc2de87c2e83ab789a67
|
7
|
+
data.tar.gz: 9f2e1de10a241ac714de1661799cb3bb8356edf1eb46ce25b2b63fd03a97b9e1d6f3f14ee220140a64bd621f73900e273403f49560db549d2ab1817c5adad658
|
@@ -17,7 +17,7 @@ require 'google/protobuf/field_mask_pb'
|
|
17
17
|
require 'google/protobuf/struct_pb'
|
18
18
|
|
19
19
|
|
20
|
-
descriptor_data = "\n)google/cloud/dialogflow/cx/v3/agent.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x30google/cloud/dialogflow/cx/v3/audio_config.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\"8\n\x14SpeechToTextSettings\x12 \n\x18\x65nable_speech_adaptation\x18\x01 \x01(\x08\"\
|
20
|
+
descriptor_data = "\n)google/cloud/dialogflow/cx/v3/agent.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x30google/cloud/dialogflow/cx/v3/audio_config.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\"8\n\x14SpeechToTextSettings\x12 \n\x18\x65nable_speech_adaptation\x18\x01 \x01(\x08\"\xe3\x08\n\x05\x41gent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12%\n\x15\x64\x65\x66\x61ult_language_code\x18\x03 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12 \n\x18supported_language_codes\x18\x04 \x03(\t\x12\x16\n\ttime_zone\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x12\n\navatar_uri\x18\x07 \x01(\t\x12T\n\x17speech_to_text_settings\x18\r \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.SpeechToTextSettings\x12:\n\nstart_flow\x18\x10 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12J\n\x11security_settings\x18\x11 \x01(\tB/\xfa\x41,\n*dialogflow.googleapis.com/SecuritySettings\x12&\n\x1a\x65nable_stackdriver_logging\x18\x12 \x01(\x08\x42\x02\x18\x01\x12\x1f\n\x17\x65nable_spell_correction\x18\x14 \x01(\x08\x12\x0e\n\x06locked\x18\x1b \x01(\x08\x12J\n\x11\x61\x64vanced_settings\x18\x16 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.AdvancedSettings\x12]\n\x18git_integration_settings\x18\x1e \x01(\x0b\x32;.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings\x12T\n\x17text_to_speech_settings\x18\x1f \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TextToSpeechSettings\x1a\x90\x02\n\x16GitIntegrationSettings\x12\x65\n\x0fgithub_settings\x18\x01 \x01(\x0b\x32J.google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings.GithubSettingsH\x00\x1a\x7f\n\x0eGithubSettings\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x16\n\x0erepository_uri\x18\x02 \x01(\t\x12\x17\n\x0ftracking_branch\x18\x03 \x01(\t\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x04 \x01(\t\x12\x10\n\x08\x62ranches\x18\x05 \x03(\tB\x0e\n\x0cgit_settings:\\\xea\x41Y\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x36projects/{project}/locations/{location}/agents/{agent}\"s\n\x11ListAgentsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64ialogflow.googleapis.com/Agent\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"c\n\x12ListAgentsResponse\x12\x34\n\x06\x61gents\x18\x01 \x03(\x0b\x32$.google.cloud.dialogflow.cx.v3.Agent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"H\n\x0fGetAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\"\x87\x01\n\x12\x43reateAgentRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x64ialogflow.googleapis.com/Agent\x12\x38\n\x05\x61gent\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.AgentB\x03\xe0\x41\x02\"\x7f\n\x12UpdateAgentRequest\x12\x38\n\x05\x61gent\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.AgentB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"K\n\x12\x44\x65leteAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\"\x98\x04\n\x12\x45xportAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x16\n\tagent_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12V\n\x0b\x64\x61ta_format\x18\x03 \x01(\x0e\x32<.google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormatB\x03\xe0\x41\x01\x12\x42\n\x0b\x65nvironment\x18\x05 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12^\n\x0fgit_destination\x18\x06 \x01(\x0b\x32@.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestinationB\x03\xe0\x41\x01\x12-\n include_bigquery_export_settings\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x41\n\x0eGitDestination\x12\x17\n\x0ftracking_branch\x18\x01 \x01(\t\x12\x16\n\x0e\x63ommit_message\x18\x02 \x01(\t\"E\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42LOB\x10\x01\x12\x10\n\x0cJSON_PACKAGE\x10\x04\"b\n\x13\x45xportAgentResponse\x12\x13\n\tagent_uri\x18\x01 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x02 \x01(\x0cH\x00\x12\x14\n\ncommit_sha\x18\x03 \x01(\tH\x00\x42\x07\n\x05\x61gent\"\xa0\x03\n\x13RestoreAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x13\n\tagent_uri\x18\x02 \x01(\tH\x00\x12\x17\n\ragent_content\x18\x03 \x01(\x0cH\x00\x12R\n\ngit_source\x18\x06 \x01(\x0b\x32<.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.GitSourceH\x00\x12X\n\x0erestore_option\x18\x05 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption\x1a$\n\tGitSource\x12\x17\n\x0ftracking_branch\x18\x01 \x01(\t\"G\n\rRestoreOption\x12\x1e\n\x1aRESTORE_OPTION_UNSPECIFIED\x10\x00\x12\x08\n\x04KEEP\x10\x01\x12\x0c\n\x08\x46\x41LLBACK\x10\x02\x42\x07\n\x05\x61gent\"d\n\x14ValidateAgentRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\x7f\n\x1fGetAgentValidationResultRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/dialogflow.googleapis.com/AgentValidationResult\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xfa\x01\n\x15\x41gentValidationResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12T\n\x17\x66low_validation_results\x18\x02 \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.FlowValidationResult:}\xea\x41z\n/dialogflow.googleapis.com/AgentValidationResult\x12Gprojects/{project}/locations/{location}/agents/{agent}/validationResult2\x99\x0e\n\x06\x41gents\x12\xae\x01\n\nListAgents\x12\x30.google.cloud.dialogflow.cx.v3.ListAgentsRequest\x1a\x31.google.cloud.dialogflow.cx.v3.ListAgentsResponse\";\x82\xd3\xe4\x93\x02,\x12*/v3/{parent=projects/*/locations/*}/agents\xda\x41\x06parent\x12\x9b\x01\n\x08GetAgent\x12..google.cloud.dialogflow.cx.v3.GetAgentRequest\x1a$.google.cloud.dialogflow.cx.v3.Agent\"9\x82\xd3\xe4\x93\x02,\x12*/v3/{name=projects/*/locations/*/agents/*}\xda\x41\x04name\x12\xb0\x01\n\x0b\x43reateAgent\x12\x31.google.cloud.dialogflow.cx.v3.CreateAgentRequest\x1a$.google.cloud.dialogflow.cx.v3.Agent\"H\x82\xd3\xe4\x93\x02\x33\"*/v3/{parent=projects/*/locations/*}/agents:\x05\x61gent\xda\x41\x0cparent,agent\x12\xbb\x01\n\x0bUpdateAgent\x12\x31.google.cloud.dialogflow.cx.v3.UpdateAgentRequest\x1a$.google.cloud.dialogflow.cx.v3.Agent\"S\x82\xd3\xe4\x93\x02\x39\x32\x30/v3/{agent.name=projects/*/locations/*/agents/*}:\x05\x61gent\xda\x41\x11\x61gent,update_mask\x12\x93\x01\n\x0b\x44\x65leteAgent\x12\x31.google.cloud.dialogflow.cx.v3.DeleteAgentRequest\x1a\x16.google.protobuf.Empty\"9\x82\xd3\xe4\x93\x02,**/v3/{name=projects/*/locations/*/agents/*}\xda\x41\x04name\x12\xcd\x01\n\x0b\x45xportAgent\x12\x31.google.cloud.dialogflow.cx.v3.ExportAgentRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x36\"1/v3/{name=projects/*/locations/*/agents/*}:export:\x01*\xca\x41-\n\x13\x45xportAgentResponse\x12\x16google.protobuf.Struct\x12\xd2\x01\n\x0cRestoreAgent\x12\x32.google.cloud.dialogflow.cx.v3.RestoreAgentRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x37\"2/v3/{name=projects/*/locations/*/agents/*}:restore:\x01*\xca\x41/\n\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\x12\xba\x01\n\rValidateAgent\x12\x33.google.cloud.dialogflow.cx.v3.ValidateAgentRequest\x1a\x34.google.cloud.dialogflow.cx.v3.AgentValidationResult\">\x82\xd3\xe4\x93\x02\x38\"3/v3/{name=projects/*/locations/*/agents/*}:validate:\x01*\x12\xdc\x01\n\x18GetAgentValidationResult\x12>.google.cloud.dialogflow.cx.v3.GetAgentValidationResultRequest\x1a\x34.google.cloud.dialogflow.cx.v3.AgentValidationResult\"J\x82\xd3\xe4\x93\x02=\x12;/v3/{name=projects/*/locations/*/agents/*/validationResult}\xda\x41\x04name\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb0\x01\n!com.google.cloud.dialogflow.cx.v3B\nAgentProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
|
21
21
|
|
22
22
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
23
23
|
|
@@ -54,6 +54,8 @@ module Google
|
|
54
54
|
module V3
|
55
55
|
SpeechToTextSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SpeechToTextSettings").msgclass
|
56
56
|
Agent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Agent").msgclass
|
57
|
+
Agent::GitIntegrationSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings").msgclass
|
58
|
+
Agent::GitIntegrationSettings::GithubSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.Agent.GitIntegrationSettings.GithubSettings").msgclass
|
57
59
|
ListAgentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListAgentsRequest").msgclass
|
58
60
|
ListAgentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListAgentsResponse").msgclass
|
59
61
|
GetAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetAgentRequest").msgclass
|
@@ -61,9 +63,11 @@ module Google
|
|
61
63
|
UpdateAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateAgentRequest").msgclass
|
62
64
|
DeleteAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteAgentRequest").msgclass
|
63
65
|
ExportAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentRequest").msgclass
|
66
|
+
ExportAgentRequest::GitDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination").msgclass
|
64
67
|
ExportAgentRequest::DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat").enummodule
|
65
68
|
ExportAgentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ExportAgentResponse").msgclass
|
66
69
|
RestoreAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest").msgclass
|
70
|
+
RestoreAgentRequest::GitSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest.GitSource").msgclass
|
67
71
|
RestoreAgentRequest::RestoreOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption").enummodule
|
68
72
|
ValidateAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ValidateAgentRequest").msgclass
|
69
73
|
GetAgentValidationResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetAgentValidationResultRequest").msgclass
|
@@ -656,7 +656,7 @@ module Google
|
|
656
656
|
# @param options [::Gapic::CallOptions, ::Hash]
|
657
657
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
658
658
|
#
|
659
|
-
# @overload export_agent(name: nil, agent_uri: nil, data_format: nil, environment: nil, include_bigquery_export_settings: nil)
|
659
|
+
# @overload export_agent(name: nil, agent_uri: nil, data_format: nil, environment: nil, git_destination: nil, include_bigquery_export_settings: nil)
|
660
660
|
# Pass arguments to `export_agent` via keyword arguments. Note that at
|
661
661
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
662
662
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -682,6 +682,8 @@ module Google
|
|
682
682
|
# Optional. Environment name. If not set, draft environment is assumed.
|
683
683
|
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
684
684
|
# ID>/environments/<Environment ID>`.
|
685
|
+
# @param git_destination [::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest::GitDestination, ::Hash]
|
686
|
+
# Optional. The Git branch to export the agent to.
|
685
687
|
# @param include_bigquery_export_settings [::Boolean]
|
686
688
|
# Optional. Whether to include BigQuery Export setting.
|
687
689
|
#
|
@@ -786,7 +788,7 @@ module Google
|
|
786
788
|
# @param options [::Gapic::CallOptions, ::Hash]
|
787
789
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
788
790
|
#
|
789
|
-
# @overload restore_agent(name: nil, agent_uri: nil, agent_content: nil, restore_option: nil)
|
791
|
+
# @overload restore_agent(name: nil, agent_uri: nil, agent_content: nil, git_source: nil, restore_option: nil)
|
790
792
|
# Pass arguments to `restore_agent` via keyword arguments. Note that at
|
791
793
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
792
794
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -806,6 +808,8 @@ module Google
|
|
806
808
|
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
807
809
|
# @param agent_content [::String]
|
808
810
|
# Uncompressed raw byte content for agent.
|
811
|
+
# @param git_source [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource, ::Hash]
|
812
|
+
# Setting for restoring from a git branch
|
809
813
|
# @param restore_option [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption]
|
810
814
|
# Agent restore mode. If not specified, `KEEP` is assumed.
|
811
815
|
#
|
@@ -529,7 +529,7 @@ module Google
|
|
529
529
|
# @param options [::Gapic::CallOptions, ::Hash]
|
530
530
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
531
531
|
#
|
532
|
-
# @overload export_agent(name: nil, agent_uri: nil, data_format: nil, environment: nil, include_bigquery_export_settings: nil)
|
532
|
+
# @overload export_agent(name: nil, agent_uri: nil, data_format: nil, environment: nil, git_destination: nil, include_bigquery_export_settings: nil)
|
533
533
|
# Pass arguments to `export_agent` via keyword arguments. Note that at
|
534
534
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
535
535
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -555,6 +555,8 @@ module Google
|
|
555
555
|
# Optional. Environment name. If not set, draft environment is assumed.
|
556
556
|
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
557
557
|
# ID>/environments/<Environment ID>`.
|
558
|
+
# @param git_destination [::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest::GitDestination, ::Hash]
|
559
|
+
# Optional. The Git branch to export the agent to.
|
558
560
|
# @param include_bigquery_export_settings [::Boolean]
|
559
561
|
# Optional. Whether to include BigQuery Export setting.
|
560
562
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -629,7 +631,7 @@ module Google
|
|
629
631
|
# @param options [::Gapic::CallOptions, ::Hash]
|
630
632
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
631
633
|
#
|
632
|
-
# @overload restore_agent(name: nil, agent_uri: nil, agent_content: nil, restore_option: nil)
|
634
|
+
# @overload restore_agent(name: nil, agent_uri: nil, agent_content: nil, git_source: nil, restore_option: nil)
|
633
635
|
# Pass arguments to `restore_agent` via keyword arguments. Note that at
|
634
636
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
635
637
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -649,6 +651,8 @@ module Google
|
|
649
651
|
# control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
|
650
652
|
# @param agent_content [::String]
|
651
653
|
# Uncompressed raw byte content for agent.
|
654
|
+
# @param git_source [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource, ::Hash]
|
655
|
+
# Setting for restoring from a git branch
|
652
656
|
# @param restore_option [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption]
|
653
657
|
# Agent restore mode. If not specified, `KEEP` is assumed.
|
654
658
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -94,7 +94,8 @@ module Google
|
|
94
94
|
# - `response`:
|
95
95
|
# [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse]
|
96
96
|
rpc :ExportTestCases, ::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesRequest, ::Google::Longrunning::Operation
|
97
|
-
# Fetches
|
97
|
+
# Fetches the list of run results for the given test case. A maximum of 100
|
98
|
+
# results are kept for each test case.
|
98
99
|
rpc :ListTestCaseResults, ::Google::Cloud::Dialogflow::CX::V3::ListTestCaseResultsRequest, ::Google::Cloud::Dialogflow::CX::V3::ListTestCaseResultsResponse
|
99
100
|
# Gets a test case result.
|
100
101
|
rpc :GetTestCaseResult, ::Google::Cloud::Dialogflow::CX::V3::GetTestCaseResultRequest, ::Google::Cloud::Dialogflow::CX::V3::TestCaseResult
|
@@ -1183,7 +1183,8 @@ module Google
|
|
1183
1183
|
end
|
1184
1184
|
|
1185
1185
|
##
|
1186
|
-
# Fetches
|
1186
|
+
# Fetches the list of run results for the given test case. A maximum of 100
|
1187
|
+
# results are kept for each test case.
|
1187
1188
|
#
|
1188
1189
|
# @overload list_test_case_results(request, options = nil)
|
1189
1190
|
# Pass arguments to `list_test_case_results` via a request object, either of type
|
@@ -913,7 +913,8 @@ module Google
|
|
913
913
|
end
|
914
914
|
|
915
915
|
##
|
916
|
-
# Fetches
|
916
|
+
# Fetches the list of run results for the given test case. A maximum of 100
|
917
|
+
# results are kept for each test case.
|
917
918
|
#
|
918
919
|
# @overload list_test_case_results(request, options = nil)
|
919
920
|
# Pass arguments to `list_test_case_results` via a request object, either of type
|
@@ -116,6 +116,9 @@ module Google
|
|
116
116
|
# @return [::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings]
|
117
117
|
# Hierarchical advanced settings for this agent. The settings exposed at the
|
118
118
|
# lower level overrides the settings exposed at the higher level.
|
119
|
+
# @!attribute [rw] git_integration_settings
|
120
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Agent::GitIntegrationSettings]
|
121
|
+
# Git integration settings for this agent.
|
119
122
|
# @!attribute [rw] text_to_speech_settings
|
120
123
|
# @return [::Google::Cloud::Dialogflow::CX::V3::TextToSpeechSettings]
|
121
124
|
# Settings on instructing the speech synthesizer on how to generate the
|
@@ -123,6 +126,37 @@ module Google
|
|
123
126
|
class Agent
|
124
127
|
include ::Google::Protobuf::MessageExts
|
125
128
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
129
|
+
|
130
|
+
# Settings for connecting to Git repository for an agent.
|
131
|
+
# @!attribute [rw] github_settings
|
132
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Agent::GitIntegrationSettings::GithubSettings]
|
133
|
+
# GitHub settings.
|
134
|
+
class GitIntegrationSettings
|
135
|
+
include ::Google::Protobuf::MessageExts
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
137
|
+
|
138
|
+
# Settings of integration with GitHub.
|
139
|
+
# @!attribute [rw] display_name
|
140
|
+
# @return [::String]
|
141
|
+
# The unique repository display name for the GitHub repository.
|
142
|
+
# @!attribute [rw] repository_uri
|
143
|
+
# @return [::String]
|
144
|
+
# The GitHub repository URI related to the agent.
|
145
|
+
# @!attribute [rw] tracking_branch
|
146
|
+
# @return [::String]
|
147
|
+
# The branch of GitHub repository tracked for this agent.
|
148
|
+
# @!attribute [rw] access_token
|
149
|
+
# @return [::String]
|
150
|
+
# The access token used to authenticate the access to the GitHub
|
151
|
+
# repository.
|
152
|
+
# @!attribute [rw] branches
|
153
|
+
# @return [::Array<::String>]
|
154
|
+
# A list of branches configured to be used from Dialogflow.
|
155
|
+
class GithubSettings
|
156
|
+
include ::Google::Protobuf::MessageExts
|
157
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
158
|
+
end
|
159
|
+
end
|
126
160
|
end
|
127
161
|
|
128
162
|
# The request message for
|
@@ -235,6 +269,9 @@ module Google
|
|
235
269
|
# Optional. Environment name. If not set, draft environment is assumed.
|
236
270
|
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
237
271
|
# ID>/environments/<Environment ID>`.
|
272
|
+
# @!attribute [rw] git_destination
|
273
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest::GitDestination]
|
274
|
+
# Optional. The Git branch to export the agent to.
|
238
275
|
# @!attribute [rw] include_bigquery_export_settings
|
239
276
|
# @return [::Boolean]
|
240
277
|
# Optional. Whether to include BigQuery Export setting.
|
@@ -242,6 +279,18 @@ module Google
|
|
242
279
|
include ::Google::Protobuf::MessageExts
|
243
280
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
244
281
|
|
282
|
+
# Settings for exporting to a git branch.
|
283
|
+
# @!attribute [rw] tracking_branch
|
284
|
+
# @return [::String]
|
285
|
+
# Tracking branch for the git push.
|
286
|
+
# @!attribute [rw] commit_message
|
287
|
+
# @return [::String]
|
288
|
+
# Commit message for the git push.
|
289
|
+
class GitDestination
|
290
|
+
include ::Google::Protobuf::MessageExts
|
291
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
292
|
+
end
|
293
|
+
|
245
294
|
# Data format of the exported agent.
|
246
295
|
module DataFormat
|
247
296
|
# Unspecified format.
|
@@ -264,7 +313,14 @@ module Google
|
|
264
313
|
# {::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest ExportAgentRequest}.
|
265
314
|
# @!attribute [rw] agent_content
|
266
315
|
# @return [::String]
|
267
|
-
# Uncompressed raw byte content for agent.
|
316
|
+
# Uncompressed raw byte content for agent. This field is populated
|
317
|
+
# if none of `agent_uri` and `git_destination` are specified in
|
318
|
+
# {::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest ExportAgentRequest}.
|
319
|
+
# @!attribute [rw] commit_sha
|
320
|
+
# @return [::String]
|
321
|
+
# Commit SHA of the git push. This field is populated if
|
322
|
+
# `git_destination` are specified in
|
323
|
+
# {::Google::Cloud::Dialogflow::CX::V3::ExportAgentRequest ExportAgentRequest}.
|
268
324
|
class ExportAgentResponse
|
269
325
|
include ::Google::Protobuf::MessageExts
|
270
326
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -290,6 +346,9 @@ module Google
|
|
290
346
|
# @!attribute [rw] agent_content
|
291
347
|
# @return [::String]
|
292
348
|
# Uncompressed raw byte content for agent.
|
349
|
+
# @!attribute [rw] git_source
|
350
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::GitSource]
|
351
|
+
# Setting for restoring from a git branch
|
293
352
|
# @!attribute [rw] restore_option
|
294
353
|
# @return [::Google::Cloud::Dialogflow::CX::V3::RestoreAgentRequest::RestoreOption]
|
295
354
|
# Agent restore mode. If not specified, `KEEP` is assumed.
|
@@ -297,6 +356,15 @@ module Google
|
|
297
356
|
include ::Google::Protobuf::MessageExts
|
298
357
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
299
358
|
|
359
|
+
# Settings for restoring from a git branch
|
360
|
+
# @!attribute [rw] tracking_branch
|
361
|
+
# @return [::String]
|
362
|
+
# tracking branch for the git pull
|
363
|
+
class GitSource
|
364
|
+
include ::Google::Protobuf::MessageExts
|
365
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
366
|
+
end
|
367
|
+
|
300
368
|
# Restore option.
|
301
369
|
module RestoreOption
|
302
370
|
# Unspecified. Treated as KEEP.
|
@@ -101,8 +101,8 @@ module Google
|
|
101
101
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
102
102
|
# Optional. Maps the values extracted from specific fields of the flexible
|
103
103
|
# webhook response into session parameters.
|
104
|
-
#
|
105
|
-
#
|
104
|
+
# - Key: session parameter name
|
105
|
+
# - Value: field path in the webhook response
|
106
106
|
class GenericWebService
|
107
107
|
include ::Google::Protobuf::MessageExts
|
108
108
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-cx-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|