From 32fac21291a60b0f09546c27f8e547f8b138f297 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 28 Aug 2020 00:38:58 +0000 Subject: [PATCH] Autogenerated update (2020-08-28) Update: - adexchangebuyer_v1_4 - appengine_v1beta - bigquery_v2 - bigtableadmin_v1 - cloudprofiler_v2 - dialogflow_v2 - dialogflow_v2beta1 - dialogflow_v3beta1 - doubleclickbidmanager_v1 - doubleclickbidmanager_v1_1 - fitness_v1 - iamcredentials_v1 - ml_v1 - monitoring_v1 - monitoring_v3 - sheets_v4 - sql_v1beta4 - youtube_partner_v1 --- api_names_out.yaml | 745 +++++ generated/google/apis/adexchangebuyer_v1_4.rb | 2 +- .../apis/adexchangebuyer_v1_4/classes.rb | 49 +- .../adexchangebuyer_v1_4/representations.rb | 18 + generated/google/apis/appengine_v1beta.rb | 2 +- .../google/apis/appengine_v1beta/classes.rb | 7 + .../apis/appengine_v1beta/representations.rb | 1 + generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigtableadmin_v1.rb | 2 +- .../google/apis/bigtableadmin_v1/classes.rb | 50 + .../apis/bigtableadmin_v1/representations.rb | 29 + generated/google/apis/cloudprofiler_v2.rb | 2 +- generated/google/apis/dialogflow_v2.rb | 2 +- .../google/apis/dialogflow_v2/classes.rb | 38 + .../apis/dialogflow_v2/representations.rb | 26 + generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/classes.rb | 38 + .../dialogflow_v2beta1/representations.rb | 26 + generated/google/apis/dialogflow_v3beta1.rb | 2 +- .../google/apis/dialogflow_v3beta1/classes.rb | 2583 +++++++++++++++++ .../dialogflow_v3beta1/representations.rb | 1049 +++++++ .../google/apis/dialogflow_v3beta1/service.rb | 2524 ++++++++++++++++ .../google/apis/doubleclickbidmanager_v1.rb | 2 +- .../apis/doubleclickbidmanager_v1/service.rb | 4 +- .../google/apis/doubleclickbidmanager_v1_1.rb | 2 +- .../doubleclickbidmanager_v1_1/service.rb | 4 +- generated/google/apis/fitness_v1.rb | 2 +- generated/google/apis/iamcredentials_v1.rb | 6 +- .../google/apis/iamcredentials_v1/classes.rb | 10 +- .../google/apis/iamcredentials_v1/service.rb | 4 +- generated/google/apis/ml_v1.rb | 2 +- generated/google/apis/ml_v1/classes.rb | 210 +- .../google/apis/ml_v1/representations.rb | 61 +- generated/google/apis/monitoring_v1.rb | 2 +- .../google/apis/monitoring_v1/classes.rb | 82 + .../apis/monitoring_v1/representations.rb | 35 + generated/google/apis/monitoring_v3.rb | 2 +- .../google/apis/monitoring_v3/classes.rb | 123 +- .../apis/monitoring_v3/representations.rb | 51 - generated/google/apis/sheets_v4.rb | 2 +- generated/google/apis/sheets_v4/classes.rb | 1314 ++++++++- .../google/apis/sheets_v4/representations.rb | 625 ++++ generated/google/apis/sql_v1beta4.rb | 2 +- generated/google/apis/sql_v1beta4/classes.rb | 2 +- generated/google/apis/youtube_partner_v1.rb | 2 +- 45 files changed, 9498 insertions(+), 250 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 9d21b271b..981ad1b59 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -2156,6 +2156,7 @@ "/adexchangebuyer:v1.4/MarketplaceDeal/isSetupComplete": is_setup_complete "/adexchangebuyer:v1.4/MarketplaceDeal/kind": kind "/adexchangebuyer:v1.4/MarketplaceDeal/lastUpdateTimeMs": last_update_time_ms +"/adexchangebuyer:v1.4/MarketplaceDeal/makegoodRequestedReason": makegood_requested_reason "/adexchangebuyer:v1.4/MarketplaceDeal/name": name "/adexchangebuyer:v1.4/MarketplaceDeal/productId": product_id "/adexchangebuyer:v1.4/MarketplaceDeal/productRevisionNumber": product_revision_number @@ -2185,6 +2186,9 @@ "/adexchangebuyer:v1.4/MarketplaceNote/proposalId": proposal_id "/adexchangebuyer:v1.4/MarketplaceNote/proposalRevisionNumber": proposal_revision_number "/adexchangebuyer:v1.4/MarketplaceNote/timestampMs": timestamp_ms +"/adexchangebuyer:v1.4/MobileApplication": mobile_application +"/adexchangebuyer:v1.4/MobileApplication/appStore": app_store +"/adexchangebuyer:v1.4/MobileApplication/externalAppId": external_app_id "/adexchangebuyer:v1.4/PerformanceReport": performance_report "/adexchangebuyer:v1.4/PerformanceReport/bidRate": bid_rate "/adexchangebuyer:v1.4/PerformanceReport/bidRequestRate": bid_request_rate @@ -2365,6 +2369,10 @@ "/adexchangebuyer:v1.4/PublisherProfileApiProto/overview": overview "/adexchangebuyer:v1.4/PublisherProfileApiProto/profileId": profile_id "/adexchangebuyer:v1.4/PublisherProfileApiProto/programmaticContact": programmatic_contact +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherAppIds": publisher_app_ids +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherAppIds/publisher_app_id": publisher_app_id +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherApps": publisher_apps +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherApps/publisher_app": publisher_app "/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherDomains": publisher_domains "/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherDomains/publisher_domain": publisher_domain "/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherProfileId": publisher_profile_id @@ -11866,6 +11874,8 @@ "/appengine:v1beta/Version/basicScaling": basic_scaling "/appengine:v1beta/Version/betaSettings": beta_settings "/appengine:v1beta/Version/betaSettings/beta_setting": beta_setting +"/appengine:v1beta/Version/buildEnvVariables": build_env_variables +"/appengine:v1beta/Version/buildEnvVariables/build_env_variable": build_env_variable "/appengine:v1beta/Version/createTime": create_time "/appengine:v1beta/Version/createdBy": created_by "/appengine:v1beta/Version/defaultExpiration": default_expiration @@ -15040,6 +15050,13 @@ "/bigtableadmin:v1/CreateInstanceRequest/instance": instance "/bigtableadmin:v1/CreateInstanceRequest/instanceId": instance_id "/bigtableadmin:v1/CreateInstanceRequest/parent": parent +"/bigtableadmin:v1/FailureTrace": failure_trace +"/bigtableadmin:v1/FailureTrace/frames": frames +"/bigtableadmin:v1/FailureTrace/frames/frame": frame +"/bigtableadmin:v1/Frame": frame +"/bigtableadmin:v1/Frame/targetName": target_name +"/bigtableadmin:v1/Frame/workflowGuid": workflow_guid +"/bigtableadmin:v1/Frame/zoneId": zone_id "/bigtableadmin:v1/Instance": instance "/bigtableadmin:v1/Instance/displayName": display_name "/bigtableadmin:v1/Instance/labels": labels @@ -81590,6 +81607,8 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportAgentResponse": google_cloud_dialogflow_cx_v3beta1_export_agent_response "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentContent": agent_content "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportAgentResponse": google_cloud_dialogflow_cx_v3beta1_import_agent_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportAgentResponse/agent": agent "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1PageInfo": google_cloud_dialogflow_cx_v3beta1_page_info "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1PageInfo/currentPage": current_page "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1PageInfo/formInfo": form_info @@ -82490,6 +82509,8 @@ "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ExportAgentResponse": google_cloud_dialogflow_v3alpha1_export_agent_response "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ExportAgentResponse/agentContent": agent_content "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportAgentResponse": google_cloud_dialogflow_v3alpha1_import_agent_response +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportAgentResponse/agent": agent "/dialogflow:v2/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response "/dialogflow:v2/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token "/dialogflow:v2/GoogleLongrunningListOperationsResponse/operations": operations @@ -82797,6 +82818,8 @@ "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ExportAgentResponse": google_cloud_dialogflow_cx_v3beta1_export_agent_response "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentContent": agent_content "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ImportAgentResponse": google_cloud_dialogflow_cx_v3beta1_import_agent_response +"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1ImportAgentResponse/agent": agent "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1PageInfo": google_cloud_dialogflow_cx_v3beta1_page_info "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1PageInfo/currentPage": current_page "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1PageInfo/formInfo": form_info @@ -83900,6 +83923,8 @@ "/dialogflow:v2beta1/GoogleCloudDialogflowV3alpha1ExportAgentResponse": google_cloud_dialogflow_v3alpha1_export_agent_response "/dialogflow:v2beta1/GoogleCloudDialogflowV3alpha1ExportAgentResponse/agentContent": agent_content "/dialogflow:v2beta1/GoogleCloudDialogflowV3alpha1ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v2beta1/GoogleCloudDialogflowV3alpha1ImportAgentResponse": google_cloud_dialogflow_v3alpha1_import_agent_response +"/dialogflow:v2beta1/GoogleCloudDialogflowV3alpha1ImportAgentResponse/agent": agent "/dialogflow:v2beta1/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response "/dialogflow:v2beta1/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token "/dialogflow:v2beta1/GoogleLongrunningListOperationsResponse/operations": operations @@ -84682,11 +84707,238 @@ "/dialogflow:v2beta1/fields": fields "/dialogflow:v2beta1/key": key "/dialogflow:v2beta1/quotaUser": quota_user +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent": google_cloud_dialogflow_cx_v3beta1_agent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/avatarUri": avatar_uri +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/defaultLanguageCode": default_language_code +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/description": description +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/enableSpellCorrection": enable_spell_correction +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/enableStackdriverLogging": enable_stackdriver_logging +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/speechToTextSettings": speech_to_text_settings +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/startFlow": start_flow +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/timeZone": time_zone +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AudioInput": google_cloud_dialogflow_cx_v3beta1_audio_input +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AudioInput/audio": audio +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AudioInput/config": config "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": google_cloud_dialogflow_cx_v3beta1_create_version_operation_metadata "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata/version": version +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1DetectIntentRequest": google_cloud_dialogflow_cx_v3beta1_detect_intent_request +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1DetectIntentRequest/outputAudioConfig": output_audio_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1DetectIntentRequest/queryInput": query_input +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1DetectIntentRequest/queryParams": query_params +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1DetectIntentResponse": google_cloud_dialogflow_cx_v3beta1_detect_intent_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1DetectIntentResponse/outputAudio": output_audio +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1DetectIntentResponse/outputAudioConfig": output_audio_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1DetectIntentResponse/queryResult": query_result +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1DetectIntentResponse/responseId": response_id +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType": google_cloud_dialogflow_cx_v3beta1_entity_type +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType/autoExpansionMode": auto_expansion_mode +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType/enableFuzzyExtraction": enable_fuzzy_extraction +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType/entities": entities +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType/entities/entity": entity +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType/excludedPhrases": excluded_phrases +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType/excludedPhrases/excluded_phrase": excluded_phrase +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType/kind": kind +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityType/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityTypeEntity": google_cloud_dialogflow_cx_v3beta1_entity_type_entity +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityTypeEntity/synonyms": synonyms +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityTypeEntity/synonyms/synonym": synonym +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityTypeEntity/value": value +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase": google_cloud_dialogflow_cx_v3beta1_entity_type_excluded_phrase +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase/value": value +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Environment": google_cloud_dialogflow_cx_v3beta1_environment +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Environment/description": description +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Environment/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Environment/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Environment/updateTime": update_time +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Environment/versionConfigs": version_configs +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Environment/versionConfigs/version_config": version_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig": google_cloud_dialogflow_cx_v3beta1_environment_version_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig/version": version +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventHandler": google_cloud_dialogflow_cx_v3beta1_event_handler +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventHandler/event": event +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventHandler/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventHandler/targetFlow": target_flow +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventHandler/targetPage": target_page +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventHandler/triggerFulfillment": trigger_fulfillment +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentRequest": google_cloud_dialogflow_cx_v3beta1_export_agent_request +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentRequest/agentUri": agent_uri "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentResponse": google_cloud_dialogflow_cx_v3beta1_export_agent_response "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentContent": agent_content "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow": google_cloud_dialogflow_cx_v3beta1_flow +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/description": description +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/eventHandlers": event_handlers +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/eventHandlers/event_handler": event_handler +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/nluSettings": nlu_settings +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/transitionRoutes": transition_routes +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/transitionRoutes/transition_route": transition_route +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Form": google_cloud_dialogflow_cx_v3beta1_form +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Form/parameters": parameters +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Form/parameters/parameter": parameter +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter": google_cloud_dialogflow_cx_v3beta1_form_parameter +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/defaultValue": default_value +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/entityType": entity_type +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/fillBehavior": fill_behavior +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/isList": is_list +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/required": required +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/initialPromptFulfillment": initial_prompt_fulfillment +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/repromptEventHandlers": reprompt_event_handlers +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/repromptEventHandlers/reprompt_event_handler": reprompt_event_handler +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillIntentRequest": google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillIntentRequest/match": match +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillIntentRequest/matchIntentRequest": match_intent_request +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillIntentRequest/outputAudioConfig": output_audio_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillIntentResponse": google_cloud_dialogflow_cx_v3beta1_fulfill_intent_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillIntentResponse/outputAudio": output_audio +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillIntentResponse/outputAudioConfig": output_audio_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillIntentResponse/queryResult": query_result +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillIntentResponse/responseId": response_id +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Fulfillment": google_cloud_dialogflow_cx_v3beta1_fulfillment +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Fulfillment/conditionalCases": conditional_cases +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Fulfillment/conditionalCases/conditional_case": conditional_case +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Fulfillment/messages": messages +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Fulfillment/messages/message": message +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Fulfillment/setParameterActions": set_parameter_actions +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Fulfillment/setParameterActions/set_parameter_action": set_parameter_action +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Fulfillment/tag": tag +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Fulfillment/webhook": webhook +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": google_cloud_dialogflow_cx_v3beta1_fulfillment_conditional_cases +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases/cases": cases +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases/cases/case": case +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": google_cloud_dialogflow_cx_v3beta1_fulfillment_conditional_cases_case +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase/caseContent": case_content +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase/caseContent/case_content": case_content +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase/condition": condition +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": google_cloud_dialogflow_cx_v3beta1_fulfillment_conditional_cases_case_case_content +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent/additionalCases": additional_cases +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent/message": message +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": google_cloud_dialogflow_cx_v3beta1_fulfillment_set_parameter_action +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction/parameter": parameter +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction/value": value +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ImportAgentResponse": google_cloud_dialogflow_cx_v3beta1_import_agent_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ImportAgentResponse/agent": agent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig": google_cloud_dialogflow_cx_v3beta1_input_audio_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/audioEncoding": audio_encoding +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/enableWordInfo": enable_word_info +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/model": model +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/modelVariant": model_variant +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/phraseHints": phrase_hints +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/phraseHints/phrase_hint": phrase_hint +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/sampleRateHertz": sample_rate_hertz +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/singleUtterance": single_utterance +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent": google_cloud_dialogflow_cx_v3beta1_intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/isFallback": is_fallback +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/parameters": parameters +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/parameters/parameter": parameter +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/priority": priority +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/trainingPhrases": training_phrases +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/trainingPhrases/training_phrase": training_phrase +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentInput": google_cloud_dialogflow_cx_v3beta1_intent_input +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentInput/intent": intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter": google_cloud_dialogflow_cx_v3beta1_intent_parameter +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/entityType": entity_type +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/id": id +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/isList": is_list +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": google_cloud_dialogflow_cx_v3beta1_intent_training_phrase +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/id": id +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts": parts +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts/part": part +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/repeatCount": repeat_count +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": google_cloud_dialogflow_cx_v3beta1_intent_training_phrase_part +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart/parameterId": parameter_id +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart/text": text +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListAgentsResponse": google_cloud_dialogflow_cx_v3beta1_list_agents_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListAgentsResponse/agents": agents +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListAgentsResponse/agents/agent": agent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListAgentsResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse": google_cloud_dialogflow_cx_v3beta1_list_entity_types_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse/entityTypes": entity_types +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse/entityTypes/entity_type": entity_type +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse": google_cloud_dialogflow_cx_v3beta1_list_environments_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse/environments": environments +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse/environments/environment": environment +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse": google_cloud_dialogflow_cx_v3beta1_list_flows_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse/flows": flows +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse/flows/flow": flow +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListIntentsResponse": google_cloud_dialogflow_cx_v3beta1_list_intents_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListIntentsResponse/intents": intents +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListIntentsResponse/intents/intent": intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListIntentsResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListPagesResponse": google_cloud_dialogflow_cx_v3beta1_list_pages_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListPagesResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListPagesResponse/pages": pages +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListPagesResponse/pages/page": page +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse": google_cloud_dialogflow_cx_v3beta1_list_session_entity_types_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse/sessionEntityTypes": session_entity_types +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse/sessionEntityTypes/session_entity_type": session_entity_type +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse": google_cloud_dialogflow_cx_v3beta1_list_transition_route_groups_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse/transitionRouteGroups": transition_route_groups +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse/transitionRouteGroups/transition_route_group": transition_route_group +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListVersionsResponse": google_cloud_dialogflow_cx_v3beta1_list_versions_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListVersionsResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListVersionsResponse/versions": versions +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListVersionsResponse/versions/version": version +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListWebhooksResponse": google_cloud_dialogflow_cx_v3beta1_list_webhooks_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListWebhooksResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListWebhooksResponse/webhooks": webhooks +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListWebhooksResponse/webhooks/webhook": webhook +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1LoadVersionRequest": google_cloud_dialogflow_cx_v3beta1_load_version_request +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1LoadVersionRequest/allowOverrideAgentResources": allow_override_agent_resources +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse": google_cloud_dialogflow_cx_v3beta1_lookup_environment_history_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse/environments": environments +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse/environments/environment": environment +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse/nextPageToken": next_page_token +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Match": google_cloud_dialogflow_cx_v3beta1_match +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Match/confidence": confidence +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Match/intent": intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Match/matchType": match_type +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Match/parameters": parameters +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Match/parameters/parameter": parameter +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Match/resolvedInput": resolved_input +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentRequest": google_cloud_dialogflow_cx_v3beta1_match_intent_request +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentRequest/queryInput": query_input +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentRequest/queryParams": query_params +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse": google_cloud_dialogflow_cx_v3beta1_match_intent_response +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/currentPage": current_page +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/matches": matches +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/matches/match": match +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/text": text +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/transcript": transcript +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1MatchIntentResponse/triggerIntent": trigger_intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1NluSettings": google_cloud_dialogflow_cx_v3beta1_nlu_settings +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1NluSettings/classificationThreshold": classification_threshold +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1NluSettings/enableSpellCorrection": enable_spell_correction +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1NluSettings/modelTrainingMode": model_training_mode +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1NluSettings/modelType": model_type +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1OutputAudioConfig": google_cloud_dialogflow_cx_v3beta1_output_audio_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1OutputAudioConfig/audioEncoding": audio_encoding +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1OutputAudioConfig/sampleRateHertz": sample_rate_hertz +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1OutputAudioConfig/synthesizeSpeechConfig": synthesize_speech_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page": google_cloud_dialogflow_cx_v3beta1_page +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/entryFulfillment": entry_fulfillment +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/eventHandlers": event_handlers +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/eventHandlers/event_handler": event_handler +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/form": form +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/transitionRouteGroups": transition_route_groups +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/transitionRouteGroups/transition_route_group": transition_route_group +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/transitionRoutes": transition_routes +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Page/transitionRoutes/transition_route": transition_route "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1PageInfo": google_cloud_dialogflow_cx_v3beta1_page_info "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1PageInfo/currentPage": current_page "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1PageInfo/formInfo": form_info @@ -84699,6 +84951,41 @@ "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo/required": required "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo/state": state "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo/value": value +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryInput": google_cloud_dialogflow_cx_v3beta1_query_input +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryInput/audio": audio +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryInput/intent": intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryInput/languageCode": language_code +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryInput/text": text +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryParameters": google_cloud_dialogflow_cx_v3beta1_query_parameters +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryParameters/geoLocation": geo_location +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryParameters/parameters": parameters +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryParameters/parameters/parameter": parameter +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryParameters/payload": payload +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryParameters/payload/payload": payload +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryParameters/sessionEntityTypes": session_entity_types +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryParameters/sessionEntityTypes/session_entity_type": session_entity_type +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryParameters/timeZone": time_zone +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult": google_cloud_dialogflow_cx_v3beta1_query_result +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/currentPage": current_page +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/diagnosticInfo": diagnostic_info +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/diagnosticInfo/diagnostic_info": diagnostic_info +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/intent": intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/intentDetectionConfidence": intent_detection_confidence +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/languageCode": language_code +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/match": match +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/parameters": parameters +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/parameters/parameter": parameter +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/responseMessages": response_messages +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/responseMessages/response_message": response_message +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/text": text +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/transcript": transcript +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/triggerEvent": trigger_event +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/triggerIntent": trigger_intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/webhookPayloads": webhook_payloads +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/webhookPayloads/webhook_payload": webhook_payload +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/webhookPayloads/webhook_payload/webhook_payload": webhook_payload +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/webhookStatuses": webhook_statuses +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/webhookStatuses/webhook_status": webhook_status "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage": google_cloud_dialogflow_cx_v3beta1_response_message "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/conversationSuccess": conversation_success "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/endInteraction": end_interaction @@ -84737,10 +85024,64 @@ "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessageText/allowPlaybackInterruption": allow_playback_interruption "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessageText/text": text "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessageText/text/text": text +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1RestoreAgentRequest": google_cloud_dialogflow_cx_v3beta1_restore_agent_request +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1RestoreAgentRequest/agentContent": agent_content +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1RestoreAgentRequest/agentUri": agent_uri +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionEntityType": google_cloud_dialogflow_cx_v3beta1_session_entity_type +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionEntityType/entities": entities +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionEntityType/entities/entity": entity +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionEntityType/entityOverrideMode": entity_override_mode +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionEntityType/name": name "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionInfo": google_cloud_dialogflow_cx_v3beta1_session_info "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionInfo/parameters": parameters "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionInfo/parameters/parameter": parameter "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionInfo/session": session +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SpeechToTextSettings": google_cloud_dialogflow_cx_v3beta1_speech_to_text_settings +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SpeechToTextSettings/enableSpeechAdaptation": enable_speech_adaptation +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig": google_cloud_dialogflow_cx_v3beta1_synthesize_speech_config +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/effectsProfileId": effects_profile_id +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/effectsProfileId/effects_profile_id": effects_profile_id +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/pitch": pitch +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/speakingRate": speaking_rate +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/voice": voice +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/volumeGainDb": volume_gain_db +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TextInput": google_cloud_dialogflow_cx_v3beta1_text_input +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TextInput/text": text +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TrainFlowRequest": google_cloud_dialogflow_cx_v3beta1_train_flow_request +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRoute": google_cloud_dialogflow_cx_v3beta1_transition_route +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRoute/condition": condition +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRoute/intent": intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRoute/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRoute/targetFlow": target_flow +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRoute/targetPage": target_page +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRoute/triggerFulfillment": trigger_fulfillment +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRouteGroup": google_cloud_dialogflow_cx_v3beta1_transition_route_group +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRouteGroup/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRouteGroup/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRouteGroup/transitionRoutes": transition_routes +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRouteGroup/transitionRoutes/transition_route": transition_route +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version": google_cloud_dialogflow_cx_v3beta1_version +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/createTime": create_time +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/description": description +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/nluSettings": nlu_settings +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/state": state +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VoiceSelectionParams": google_cloud_dialogflow_cx_v3beta1_voice_selection_params +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VoiceSelectionParams/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VoiceSelectionParams/ssmlGender": ssml_gender +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Webhook": google_cloud_dialogflow_cx_v3beta1_webhook +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Webhook/disabled": disabled +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Webhook/displayName": display_name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Webhook/genericWebService": generic_web_service +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Webhook/name": name +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Webhook/timeout": timeout +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService": google_cloud_dialogflow_cx_v3beta1_webhook_generic_web_service +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/password": password +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/requestHeaders": request_headers +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/requestHeaders/request_header": request_header +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/uri": uri +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/username": username "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1WebhookRequest": google_cloud_dialogflow_cx_v3beta1_webhook_request "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1WebhookRequest/detectIntentResponseId": detect_intent_response_id "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1WebhookRequest/fulfillmentInfo": fulfillment_info @@ -85405,6 +85746,8 @@ "/dialogflow:v3beta1/GoogleCloudDialogflowV3alpha1ExportAgentResponse": google_cloud_dialogflow_v3alpha1_export_agent_response "/dialogflow:v3beta1/GoogleCloudDialogflowV3alpha1ExportAgentResponse/agentContent": agent_content "/dialogflow:v3beta1/GoogleCloudDialogflowV3alpha1ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v3beta1/GoogleCloudDialogflowV3alpha1ImportAgentResponse": google_cloud_dialogflow_v3alpha1_import_agent_response +"/dialogflow:v3beta1/GoogleCloudDialogflowV3alpha1ImportAgentResponse/agent": agent "/dialogflow:v3beta1/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response "/dialogflow:v3beta1/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token "/dialogflow:v3beta1/GoogleLongrunningListOperationsResponse/operations": operations @@ -85424,6 +85767,202 @@ "/dialogflow:v3beta1/GoogleRpcStatus/details/detail": detail "/dialogflow:v3beta1/GoogleRpcStatus/details/detail/detail": detail "/dialogflow:v3beta1/GoogleRpcStatus/message": message +"/dialogflow:v3beta1/GoogleTypeLatLng": google_type_lat_lng +"/dialogflow:v3beta1/GoogleTypeLatLng/latitude": latitude +"/dialogflow:v3beta1/GoogleTypeLatLng/longitude": longitude +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.create": create_project_location_agent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.delete": delete_project_location_agent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.create": create_project_location_agent_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.create/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.delete": delete_project_location_agent_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.delete/force": force +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.get": get_project_location_agent_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.get/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.list": list_project_location_agent_entity_types +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.list/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.patch": patch_project_location_agent_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.patch/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.entityTypes.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.create": create_project_location_agent_environment +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.delete": delete_project_location_agent_environment +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.get": get_project_location_agent_environment +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.list": list_project_location_agent_environments +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory": lookup_project_location_agent_environment_environment_history +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.patch": patch_project_location_agent_environment +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.detectIntent": detect_project_location_agent_environment_session_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.detectIntent/session": session +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.create": create_project_location_agent_environment_session_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete": delete_project_location_agent_environment_session_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.get": get_project_location_agent_environment_session_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.list": list_project_location_agent_environment_session_entity_types +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch": patch_project_location_agent_environment_session_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.fulfillIntent": fulfill_project_location_agent_environment_session_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.fulfillIntent/session": session +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.matchIntent": match_project_location_agent_environment_session_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.sessions.matchIntent/session": session +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.export": export_project_location_agent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.export/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.create": create_project_location_agent_flow +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.create/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.delete": delete_project_location_agent_flow +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.delete/force": force +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.get": get_project_location_agent_flow +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.get/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list": list_project_location_agent_flows +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.create": create_project_location_agent_flow_page +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.create/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.delete": delete_project_location_agent_flow_page +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.delete/force": force +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.get": get_project_location_agent_flow_page +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.get/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.list": list_project_location_agent_flow_pages +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.list/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.patch": patch_project_location_agent_flow_page +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.patch/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.pages.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.patch": patch_project_location_agent_flow +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.patch/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.train": train_project_location_agent_flow +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.train/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.create": create_project_location_agent_flow_transition_route_group +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.create/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete": delete_project_location_agent_flow_transition_route_group +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete/force": force +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.get": get_project_location_agent_flow_transition_route_group +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.get/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.list": list_project_location_agent_flow_transition_route_groups +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.list/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch": patch_project_location_agent_flow_transition_route_group +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.create": create_project_location_agent_flow_version +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.delete": delete_project_location_agent_flow_version +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.get": get_project_location_agent_flow_version +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.list": list_project_location_agent_flow_versions +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.load": load_project_location_agent_flow_version +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.load/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.patch": patch_project_location_agent_flow_version +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.get": get_project_location_agent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.create": create_project_location_agent_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.create/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.delete": delete_project_location_agent_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.get": get_project_location_agent_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.get/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.list": list_project_location_agent_intents +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.list/intentView": intent_view +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.list/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.patch": patch_project_location_agent_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.patch/languageCode": language_code +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.list": list_project_location_agents +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.patch": patch_project_location_agent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.restore": restore_project_location_agent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.restore/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.detectIntent": detect_project_location_agent_session_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.detectIntent/session": session +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.create": create_project_location_agent_session_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.delete": delete_project_location_agent_session_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.get": get_project_location_agent_session_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.list": list_project_location_agent_session_entity_types +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.patch": patch_project_location_agent_session_entity_type +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.entityTypes.patch/updateMask": update_mask +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.fulfillIntent": fulfill_project_location_agent_session_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.fulfillIntent/session": session +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.matchIntent": match_project_location_agent_session_intent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.sessions.matchIntent/session": session +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.create": create_project_location_agent_webhook +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.create/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.delete": delete_project_location_agent_webhook +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.delete/force": force +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.delete/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.get": get_project_location_agent_webhook +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.get/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.list": list_project_location_agent_webhooks +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.list/pageSize": page_size +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.list/pageToken": page_token +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.list/parent": parent +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.patch": patch_project_location_agent_webhook +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.patch/name": name +"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.patch/updateMask": update_mask "/dialogflow:v3beta1/dialogflow.projects.locations.operations.cancel": cancel_project_location_operation "/dialogflow:v3beta1/dialogflow.projects.locations.operations.cancel/name": name "/dialogflow:v3beta1/dialogflow.projects.locations.operations.get": get_project_location_operation @@ -108855,12 +109394,27 @@ "/ml:v1/GoogleCloudMlV1__CompleteTrialRequest/trialInfeasible": trial_infeasible "/ml:v1/GoogleCloudMlV1__Config": google_cloud_ml_v1__config "/ml:v1/GoogleCloudMlV1__Config/tpuServiceAccount": tpu_service_account +"/ml:v1/GoogleCloudMlV1__ContainerPort": google_cloud_ml_v1__container_port +"/ml:v1/GoogleCloudMlV1__ContainerPort/containerPort": container_port +"/ml:v1/GoogleCloudMlV1__ContainerSpec": google_cloud_ml_v1__container_spec +"/ml:v1/GoogleCloudMlV1__ContainerSpec/args": args +"/ml:v1/GoogleCloudMlV1__ContainerSpec/args/arg": arg +"/ml:v1/GoogleCloudMlV1__ContainerSpec/command": command +"/ml:v1/GoogleCloudMlV1__ContainerSpec/command/command": command +"/ml:v1/GoogleCloudMlV1__ContainerSpec/env": env +"/ml:v1/GoogleCloudMlV1__ContainerSpec/env/env": env +"/ml:v1/GoogleCloudMlV1__ContainerSpec/image": image +"/ml:v1/GoogleCloudMlV1__ContainerSpec/ports": ports +"/ml:v1/GoogleCloudMlV1__ContainerSpec/ports/port": port "/ml:v1/GoogleCloudMlV1__EncryptionConfig": google_cloud_ml_v1__encryption_config "/ml:v1/GoogleCloudMlV1__EncryptionConfig/kmsKeyName": kms_key_name "/ml:v1/GoogleCloudMlV1__EndpointMap": google_cloud_ml_v1__endpoint_map "/ml:v1/GoogleCloudMlV1__EndpointMap/explain": explain "/ml:v1/GoogleCloudMlV1__EndpointMap/health": health "/ml:v1/GoogleCloudMlV1__EndpointMap/predict": predict +"/ml:v1/GoogleCloudMlV1__EnvVar": google_cloud_ml_v1__env_var +"/ml:v1/GoogleCloudMlV1__EnvVar/name": name +"/ml:v1/GoogleCloudMlV1__EnvVar/value": value "/ml:v1/GoogleCloudMlV1__ExplainRequest": google_cloud_ml_v1__explain_request "/ml:v1/GoogleCloudMlV1__ExplainRequest/httpBody": http_body "/ml:v1/GoogleCloudMlV1__ExplanationConfig": google_cloud_ml_v1__explanation_config @@ -109008,6 +109562,9 @@ "/ml:v1/GoogleCloudMlV1__RequestLoggingConfig": google_cloud_ml_v1__request_logging_config "/ml:v1/GoogleCloudMlV1__RequestLoggingConfig/bigqueryTableName": bigquery_table_name "/ml:v1/GoogleCloudMlV1__RequestLoggingConfig/samplingPercentage": sampling_percentage +"/ml:v1/GoogleCloudMlV1__RouteMap": google_cloud_ml_v1__route_map +"/ml:v1/GoogleCloudMlV1__RouteMap/health": health +"/ml:v1/GoogleCloudMlV1__RouteMap/predict": predict "/ml:v1/GoogleCloudMlV1__SampledShapleyAttribution": google_cloud_ml_v1__sampled_shapley_attribution "/ml:v1/GoogleCloudMlV1__SampledShapleyAttribution/numPaths": num_paths "/ml:v1/GoogleCloudMlV1__Scheduling": google_cloud_ml_v1__scheduling @@ -109095,6 +109652,7 @@ "/ml:v1/GoogleCloudMlV1__Version": google_cloud_ml_v1__version "/ml:v1/GoogleCloudMlV1__Version/acceleratorConfig": accelerator_config "/ml:v1/GoogleCloudMlV1__Version/autoScaling": auto_scaling +"/ml:v1/GoogleCloudMlV1__Version/container": container "/ml:v1/GoogleCloudMlV1__Version/createTime": create_time "/ml:v1/GoogleCloudMlV1__Version/deploymentUri": deployment_uri "/ml:v1/GoogleCloudMlV1__Version/description": description @@ -109115,6 +109673,7 @@ "/ml:v1/GoogleCloudMlV1__Version/predictionClass": prediction_class "/ml:v1/GoogleCloudMlV1__Version/pythonVersion": python_version "/ml:v1/GoogleCloudMlV1__Version/requestLoggingConfig": request_logging_config +"/ml:v1/GoogleCloudMlV1__Version/routes": routes "/ml:v1/GoogleCloudMlV1__Version/runtimeVersion": runtime_version "/ml:v1/GoogleCloudMlV1__Version/serviceAccount": service_account "/ml:v1/GoogleCloudMlV1__Version/state": state @@ -109686,6 +110245,7 @@ "/monitoring:v1/Dashboard/displayName": display_name "/monitoring:v1/Dashboard/etag": etag "/monitoring:v1/Dashboard/gridLayout": grid_layout +"/monitoring:v1/Dashboard/mosaicLayout": mosaic_layout "/monitoring:v1/Dashboard/name": name "/monitoring:v1/Dashboard/rowLayout": row_layout "/monitoring:v1/DataSet": data_set @@ -109724,6 +110284,10 @@ "/monitoring:v1/ListOperationsResponse/nextPageToken": next_page_token "/monitoring:v1/ListOperationsResponse/operations": operations "/monitoring:v1/ListOperationsResponse/operations/operation": operation +"/monitoring:v1/MosaicLayout": mosaic_layout +"/monitoring:v1/MosaicLayout/columns": columns +"/monitoring:v1/MosaicLayout/tiles": tiles +"/monitoring:v1/MosaicLayout/tiles/tile": tile "/monitoring:v1/Operation": operation "/monitoring:v1/Operation/done": done "/monitoring:v1/Operation/error": error @@ -109780,6 +110344,12 @@ "/monitoring:v1/Threshold/direction": direction "/monitoring:v1/Threshold/label": label "/monitoring:v1/Threshold/value": value +"/monitoring:v1/Tile": tile +"/monitoring:v1/Tile/height": height +"/monitoring:v1/Tile/widget": widget +"/monitoring:v1/Tile/width": width +"/monitoring:v1/Tile/xPos": x_pos +"/monitoring:v1/Tile/yPos": y_pos "/monitoring:v1/TimeSeriesFilter": time_series_filter "/monitoring:v1/TimeSeriesFilter/aggregation": aggregation "/monitoring:v1/TimeSeriesFilter/filter": filter @@ -129478,6 +130048,11 @@ "/sheets:v4/AddConditionalFormatRuleRequest": add_conditional_format_rule_request "/sheets:v4/AddConditionalFormatRuleRequest/index": index "/sheets:v4/AddConditionalFormatRuleRequest/rule": rule +"/sheets:v4/AddDataSourceRequest": add_data_source_request +"/sheets:v4/AddDataSourceRequest/dataSource": data_source +"/sheets:v4/AddDataSourceResponse": add_data_source_response +"/sheets:v4/AddDataSourceResponse/dataExecutionStatus": data_execution_status +"/sheets:v4/AddDataSourceResponse/dataSource": data_source "/sheets:v4/AddDimensionGroupRequest": add_dimension_group_request "/sheets:v4/AddDimensionGroupRequest/range": range "/sheets:v4/AddDimensionGroupResponse": add_dimension_group_response @@ -129521,6 +130096,7 @@ "/sheets:v4/AutoFillRequest/sourceAndDestination": source_and_destination "/sheets:v4/AutoFillRequest/useAlternateSeries": use_alternate_series "/sheets:v4/AutoResizeDimensionsRequest": auto_resize_dimensions_request +"/sheets:v4/AutoResizeDimensionsRequest/dataSourceSheetDimensions": data_source_sheet_dimensions "/sheets:v4/AutoResizeDimensionsRequest/dimensions": dimensions "/sheets:v4/BandedRange": banded_range "/sheets:v4/BandedRange/bandedRangeId": banded_range_id @@ -129579,6 +130155,8 @@ "/sheets:v4/BasicFilter": basic_filter "/sheets:v4/BasicFilter/criteria": criteria "/sheets:v4/BasicFilter/criteria/criterium": criterium +"/sheets:v4/BasicFilter/filterSpecs": filter_specs +"/sheets:v4/BasicFilter/filterSpecs/filter_spec": filter_spec "/sheets:v4/BasicFilter/range": range "/sheets:v4/BasicFilter/sortSpecs": sort_specs "/sheets:v4/BasicFilter/sortSpecs/sort_spec": sort_spec @@ -129652,6 +130230,16 @@ "/sheets:v4/BatchUpdateValuesResponse/totalUpdatedColumns": total_updated_columns "/sheets:v4/BatchUpdateValuesResponse/totalUpdatedRows": total_updated_rows "/sheets:v4/BatchUpdateValuesResponse/totalUpdatedSheets": total_updated_sheets +"/sheets:v4/BigQueryDataSourceSpec": big_query_data_source_spec +"/sheets:v4/BigQueryDataSourceSpec/projectId": project_id +"/sheets:v4/BigQueryDataSourceSpec/querySpec": query_spec +"/sheets:v4/BigQueryDataSourceSpec/tableSpec": table_spec +"/sheets:v4/BigQueryQuerySpec": big_query_query_spec +"/sheets:v4/BigQueryQuerySpec/rawQuery": raw_query +"/sheets:v4/BigQueryTableSpec": big_query_table_spec +"/sheets:v4/BigQueryTableSpec/datasetId": dataset_id +"/sheets:v4/BigQueryTableSpec/tableId": table_id +"/sheets:v4/BigQueryTableSpec/tableProjectId": table_project_id "/sheets:v4/BooleanCondition": boolean_condition "/sheets:v4/BooleanCondition/type": type "/sheets:v4/BooleanCondition/values": values @@ -129697,6 +130285,8 @@ "/sheets:v4/CandlestickSeries": candlestick_series "/sheets:v4/CandlestickSeries/data": data "/sheets:v4/CellData": cell_data +"/sheets:v4/CellData/dataSourceFormula": data_source_formula +"/sheets:v4/CellData/dataSourceTable": data_source_table "/sheets:v4/CellData/dataValidation": data_validation "/sheets:v4/CellData/effectiveFormat": effective_format "/sheets:v4/CellData/effectiveValue": effective_value @@ -129729,7 +130319,19 @@ "/sheets:v4/ChartCustomNumberFormatOptions/prefix": prefix "/sheets:v4/ChartCustomNumberFormatOptions/suffix": suffix "/sheets:v4/ChartData": chart_data +"/sheets:v4/ChartData/aggregateType": aggregate_type +"/sheets:v4/ChartData/columnReference": column_reference +"/sheets:v4/ChartData/groupRule": group_rule "/sheets:v4/ChartData/sourceRange": source_range +"/sheets:v4/ChartDateTimeRule": chart_date_time_rule +"/sheets:v4/ChartDateTimeRule/type": type +"/sheets:v4/ChartGroupRule": chart_group_rule +"/sheets:v4/ChartGroupRule/dateTimeRule": date_time_rule +"/sheets:v4/ChartGroupRule/histogramRule": histogram_rule +"/sheets:v4/ChartHistogramRule": chart_histogram_rule +"/sheets:v4/ChartHistogramRule/intervalSize": interval_size +"/sheets:v4/ChartHistogramRule/maxValue": max_value +"/sheets:v4/ChartHistogramRule/minValue": min_value "/sheets:v4/ChartSourceRange": chart_source_range "/sheets:v4/ChartSourceRange/sources": sources "/sheets:v4/ChartSourceRange/sources/source": source @@ -129740,6 +130342,9 @@ "/sheets:v4/ChartSpec/basicChart": basic_chart "/sheets:v4/ChartSpec/bubbleChart": bubble_chart "/sheets:v4/ChartSpec/candlestickChart": candlestick_chart +"/sheets:v4/ChartSpec/dataSourceChartProperties": data_source_chart_properties +"/sheets:v4/ChartSpec/filterSpecs": filter_specs +"/sheets:v4/ChartSpec/filterSpecs/filter_spec": filter_spec "/sheets:v4/ChartSpec/fontName": font_name "/sheets:v4/ChartSpec/hiddenDimensionStrategy": hidden_dimension_strategy "/sheets:v4/ChartSpec/histogramChart": histogram_chart @@ -129747,6 +130352,8 @@ "/sheets:v4/ChartSpec/orgChart": org_chart "/sheets:v4/ChartSpec/pieChart": pie_chart "/sheets:v4/ChartSpec/scorecardChart": scorecard_chart +"/sheets:v4/ChartSpec/sortSpecs": sort_specs +"/sheets:v4/ChartSpec/sortSpecs/sort_spec": sort_spec "/sheets:v4/ChartSpec/subtitle": subtitle "/sheets:v4/ChartSpec/subtitleTextFormat": subtitle_text_format "/sheets:v4/ChartSpec/subtitleTextPosition": subtitle_text_position @@ -129792,6 +130399,11 @@ "/sheets:v4/CutPasteRequest/destination": destination "/sheets:v4/CutPasteRequest/pasteType": paste_type "/sheets:v4/CutPasteRequest/source": source +"/sheets:v4/DataExecutionStatus": data_execution_status +"/sheets:v4/DataExecutionStatus/errorCode": error_code +"/sheets:v4/DataExecutionStatus/errorMessage": error_message +"/sheets:v4/DataExecutionStatus/lastRefreshTime": last_refresh_time +"/sheets:v4/DataExecutionStatus/state": state "/sheets:v4/DataFilter": data_filter "/sheets:v4/DataFilter/a1Range": a1_range "/sheets:v4/DataFilter/developerMetadataLookup": developer_metadata_lookup @@ -129802,6 +130414,77 @@ "/sheets:v4/DataFilterValueRange/values": values "/sheets:v4/DataFilterValueRange/values/value": value "/sheets:v4/DataFilterValueRange/values/value/value": value +"/sheets:v4/DataSource": data_source +"/sheets:v4/DataSource/calculatedColumns": calculated_columns +"/sheets:v4/DataSource/calculatedColumns/calculated_column": calculated_column +"/sheets:v4/DataSource/dataSourceId": data_source_id +"/sheets:v4/DataSource/sheetId": sheet_id +"/sheets:v4/DataSource/spec": spec +"/sheets:v4/DataSourceChartProperties": data_source_chart_properties +"/sheets:v4/DataSourceChartProperties/dataExecutionStatus": data_execution_status +"/sheets:v4/DataSourceChartProperties/dataSourceId": data_source_id +"/sheets:v4/DataSourceColumn": data_source_column +"/sheets:v4/DataSourceColumn/formula": formula +"/sheets:v4/DataSourceColumn/reference": reference +"/sheets:v4/DataSourceColumnReference": data_source_column_reference +"/sheets:v4/DataSourceColumnReference/name": name +"/sheets:v4/DataSourceFormula": data_source_formula +"/sheets:v4/DataSourceFormula/dataExecutionStatus": data_execution_status +"/sheets:v4/DataSourceFormula/dataSourceId": data_source_id +"/sheets:v4/DataSourceObjectReference": data_source_object_reference +"/sheets:v4/DataSourceObjectReference/chartId": chart_id +"/sheets:v4/DataSourceObjectReference/dataSourceFormulaCell": data_source_formula_cell +"/sheets:v4/DataSourceObjectReference/dataSourcePivotTableAnchorCell": data_source_pivot_table_anchor_cell +"/sheets:v4/DataSourceObjectReference/dataSourceTableAnchorCell": data_source_table_anchor_cell +"/sheets:v4/DataSourceObjectReference/sheetId": sheet_id +"/sheets:v4/DataSourceObjectReferences": data_source_object_references +"/sheets:v4/DataSourceObjectReferences/references": references +"/sheets:v4/DataSourceObjectReferences/references/reference": reference +"/sheets:v4/DataSourceParameter": data_source_parameter +"/sheets:v4/DataSourceParameter/name": name +"/sheets:v4/DataSourceParameter/namedRangeId": named_range_id +"/sheets:v4/DataSourceParameter/range": range +"/sheets:v4/DataSourceRefreshDailySchedule": data_source_refresh_daily_schedule +"/sheets:v4/DataSourceRefreshDailySchedule/startTime": start_time +"/sheets:v4/DataSourceRefreshMonthlySchedule": data_source_refresh_monthly_schedule +"/sheets:v4/DataSourceRefreshMonthlySchedule/daysOfMonth": days_of_month +"/sheets:v4/DataSourceRefreshMonthlySchedule/daysOfMonth/days_of_month": days_of_month +"/sheets:v4/DataSourceRefreshMonthlySchedule/startTime": start_time +"/sheets:v4/DataSourceRefreshSchedule": data_source_refresh_schedule +"/sheets:v4/DataSourceRefreshSchedule/dailySchedule": daily_schedule +"/sheets:v4/DataSourceRefreshSchedule/enabled": enabled +"/sheets:v4/DataSourceRefreshSchedule/monthlySchedule": monthly_schedule +"/sheets:v4/DataSourceRefreshSchedule/nextRun": next_run +"/sheets:v4/DataSourceRefreshSchedule/refreshScope": refresh_scope +"/sheets:v4/DataSourceRefreshSchedule/weeklySchedule": weekly_schedule +"/sheets:v4/DataSourceRefreshWeeklySchedule": data_source_refresh_weekly_schedule +"/sheets:v4/DataSourceRefreshWeeklySchedule/daysOfWeek": days_of_week +"/sheets:v4/DataSourceRefreshWeeklySchedule/daysOfWeek/days_of_week": days_of_week +"/sheets:v4/DataSourceRefreshWeeklySchedule/startTime": start_time +"/sheets:v4/DataSourceSheetDimensionRange": data_source_sheet_dimension_range +"/sheets:v4/DataSourceSheetDimensionRange/columnReferences": column_references +"/sheets:v4/DataSourceSheetDimensionRange/columnReferences/column_reference": column_reference +"/sheets:v4/DataSourceSheetDimensionRange/sheetId": sheet_id +"/sheets:v4/DataSourceSheetProperties": data_source_sheet_properties +"/sheets:v4/DataSourceSheetProperties/columns": columns +"/sheets:v4/DataSourceSheetProperties/columns/column": column +"/sheets:v4/DataSourceSheetProperties/dataExecutionStatus": data_execution_status +"/sheets:v4/DataSourceSheetProperties/dataSourceId": data_source_id +"/sheets:v4/DataSourceSpec": data_source_spec +"/sheets:v4/DataSourceSpec/bigQuery": big_query +"/sheets:v4/DataSourceSpec/parameters": parameters +"/sheets:v4/DataSourceSpec/parameters/parameter": parameter +"/sheets:v4/DataSourceTable": data_source_table +"/sheets:v4/DataSourceTable/columnSelectionType": column_selection_type +"/sheets:v4/DataSourceTable/columns": columns +"/sheets:v4/DataSourceTable/columns/column": column +"/sheets:v4/DataSourceTable/dataExecutionStatus": data_execution_status +"/sheets:v4/DataSourceTable/dataSourceId": data_source_id +"/sheets:v4/DataSourceTable/filterSpecs": filter_specs +"/sheets:v4/DataSourceTable/filterSpecs/filter_spec": filter_spec +"/sheets:v4/DataSourceTable/rowLimit": row_limit +"/sheets:v4/DataSourceTable/sortSpecs": sort_specs +"/sheets:v4/DataSourceTable/sortSpecs/sort_spec": sort_spec "/sheets:v4/DataValidationRule": data_validation_rule "/sheets:v4/DataValidationRule/condition": condition "/sheets:v4/DataValidationRule/inputMessage": input_message @@ -129816,6 +130499,8 @@ "/sheets:v4/DeleteConditionalFormatRuleRequest/sheetId": sheet_id "/sheets:v4/DeleteConditionalFormatRuleResponse": delete_conditional_format_rule_response "/sheets:v4/DeleteConditionalFormatRuleResponse/rule": rule +"/sheets:v4/DeleteDataSourceRequest": delete_data_source_request +"/sheets:v4/DeleteDataSourceRequest/dataSourceId": data_source_id "/sheets:v4/DeleteDeveloperMetadataRequest": delete_developer_metadata_request "/sheets:v4/DeleteDeveloperMetadataRequest/dataFilter": data_filter "/sheets:v4/DeleteDeveloperMetadataResponse": delete_developer_metadata_response @@ -129871,6 +130556,7 @@ "/sheets:v4/DimensionGroup/depth": depth "/sheets:v4/DimensionGroup/range": range "/sheets:v4/DimensionProperties": dimension_properties +"/sheets:v4/DimensionProperties/dataSourceColumnReference": data_source_column_reference "/sheets:v4/DimensionProperties/developerMetadata": developer_metadata "/sheets:v4/DimensionProperties/developerMetadata/developer_metadatum": developer_metadatum "/sheets:v4/DimensionProperties/hiddenByFilter": hidden_by_filter @@ -129923,9 +130609,15 @@ "/sheets:v4/FilterCriteria/visibleBackgroundColorStyle": visible_background_color_style "/sheets:v4/FilterCriteria/visibleForegroundColor": visible_foreground_color "/sheets:v4/FilterCriteria/visibleForegroundColorStyle": visible_foreground_color_style +"/sheets:v4/FilterSpec": filter_spec +"/sheets:v4/FilterSpec/columnIndex": column_index +"/sheets:v4/FilterSpec/dataSourceColumnReference": data_source_column_reference +"/sheets:v4/FilterSpec/filterCriteria": filter_criteria "/sheets:v4/FilterView": filter_view "/sheets:v4/FilterView/criteria": criteria "/sheets:v4/FilterView/criteria/criterium": criterium +"/sheets:v4/FilterView/filterSpecs": filter_specs +"/sheets:v4/FilterView/filterSpecs/filter_spec": filter_spec "/sheets:v4/FilterView/filterViewId": filter_view_id "/sheets:v4/FilterView/namedRangeId": named_range_id "/sheets:v4/FilterView/range": range @@ -130009,6 +130701,9 @@ "/sheets:v4/InterpolationPoint/colorStyle": color_style "/sheets:v4/InterpolationPoint/type": type "/sheets:v4/InterpolationPoint/value": value +"/sheets:v4/Interval": interval +"/sheets:v4/Interval/endTime": end_time +"/sheets:v4/Interval/startTime": start_time "/sheets:v4/IterativeCalculationSettings": iterative_calculation_settings "/sheets:v4/IterativeCalculationSettings/convergenceThreshold": convergence_threshold "/sheets:v4/IterativeCalculationSettings/maxIterations": max_iterations @@ -130081,7 +130776,13 @@ "/sheets:v4/PivotFilterCriteria": pivot_filter_criteria "/sheets:v4/PivotFilterCriteria/visibleValues": visible_values "/sheets:v4/PivotFilterCriteria/visibleValues/visible_value": visible_value +"/sheets:v4/PivotFilterSpec": pivot_filter_spec +"/sheets:v4/PivotFilterSpec/columnOffsetIndex": column_offset_index +"/sheets:v4/PivotFilterSpec/dataSourceColumnReference": data_source_column_reference +"/sheets:v4/PivotFilterSpec/filterCriteria": filter_criteria "/sheets:v4/PivotGroup": pivot_group +"/sheets:v4/PivotGroup/dataSourceColumnReference": data_source_column_reference +"/sheets:v4/PivotGroup/groupLimit": group_limit "/sheets:v4/PivotGroup/groupRule": group_rule "/sheets:v4/PivotGroup/label": label "/sheets:v4/PivotGroup/repeatHeadings": repeat_headings @@ -130091,6 +130792,9 @@ "/sheets:v4/PivotGroup/valueBucket": value_bucket "/sheets:v4/PivotGroup/valueMetadata": value_metadata "/sheets:v4/PivotGroup/valueMetadata/value_metadatum": value_metadatum +"/sheets:v4/PivotGroupLimit": pivot_group_limit +"/sheets:v4/PivotGroupLimit/applyOrder": apply_order +"/sheets:v4/PivotGroupLimit/countLimit": count_limit "/sheets:v4/PivotGroupRule": pivot_group_rule "/sheets:v4/PivotGroupRule/dateTimeRule": date_time_rule "/sheets:v4/PivotGroupRule/histogramRule": histogram_rule @@ -130107,6 +130811,10 @@ "/sheets:v4/PivotTable/columns/column": column "/sheets:v4/PivotTable/criteria": criteria "/sheets:v4/PivotTable/criteria/criterium": criterium +"/sheets:v4/PivotTable/dataExecutionStatus": data_execution_status +"/sheets:v4/PivotTable/dataSourceId": data_source_id +"/sheets:v4/PivotTable/filterSpecs": filter_specs +"/sheets:v4/PivotTable/filterSpecs/filter_spec": filter_spec "/sheets:v4/PivotTable/rows": rows "/sheets:v4/PivotTable/rows/row": row "/sheets:v4/PivotTable/source": source @@ -130115,6 +130823,7 @@ "/sheets:v4/PivotTable/values/value": value "/sheets:v4/PivotValue": pivot_value "/sheets:v4/PivotValue/calculatedDisplayType": calculated_display_type +"/sheets:v4/PivotValue/dataSourceColumnReference": data_source_column_reference "/sheets:v4/PivotValue/formula": formula "/sheets:v4/PivotValue/name": name "/sheets:v4/PivotValue/sourceColumnOffset": source_column_offset @@ -130131,6 +130840,17 @@ "/sheets:v4/ProtectedRange/warningOnly": warning_only "/sheets:v4/RandomizeRangeRequest": randomize_range_request "/sheets:v4/RandomizeRangeRequest/range": range +"/sheets:v4/RefreshDataSourceObjectExecutionStatus": refresh_data_source_object_execution_status +"/sheets:v4/RefreshDataSourceObjectExecutionStatus/dataExecutionStatus": data_execution_status +"/sheets:v4/RefreshDataSourceObjectExecutionStatus/reference": reference +"/sheets:v4/RefreshDataSourceRequest": refresh_data_source_request +"/sheets:v4/RefreshDataSourceRequest/dataSourceId": data_source_id +"/sheets:v4/RefreshDataSourceRequest/force": force +"/sheets:v4/RefreshDataSourceRequest/isAll": is_all +"/sheets:v4/RefreshDataSourceRequest/references": references +"/sheets:v4/RefreshDataSourceResponse": refresh_data_source_response +"/sheets:v4/RefreshDataSourceResponse/statuses": statuses +"/sheets:v4/RefreshDataSourceResponse/statuses/status": status "/sheets:v4/RepeatCellRequest": repeat_cell_request "/sheets:v4/RepeatCellRequest/cell": cell "/sheets:v4/RepeatCellRequest/fields": fields @@ -130139,6 +130859,7 @@ "/sheets:v4/Request/addBanding": add_banding "/sheets:v4/Request/addChart": add_chart "/sheets:v4/Request/addConditionalFormatRule": add_conditional_format_rule +"/sheets:v4/Request/addDataSource": add_data_source "/sheets:v4/Request/addDimensionGroup": add_dimension_group "/sheets:v4/Request/addFilterView": add_filter_view "/sheets:v4/Request/addNamedRange": add_named_range @@ -130155,6 +130876,7 @@ "/sheets:v4/Request/cutPaste": cut_paste "/sheets:v4/Request/deleteBanding": delete_banding "/sheets:v4/Request/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Request/deleteDataSource": delete_data_source "/sheets:v4/Request/deleteDeveloperMetadata": delete_developer_metadata "/sheets:v4/Request/deleteDimension": delete_dimension "/sheets:v4/Request/deleteDimensionGroup": delete_dimension_group @@ -130174,6 +130896,7 @@ "/sheets:v4/Request/moveDimension": move_dimension "/sheets:v4/Request/pasteData": paste_data "/sheets:v4/Request/randomizeRange": randomize_range +"/sheets:v4/Request/refreshDataSource": refresh_data_source "/sheets:v4/Request/repeatCell": repeat_cell "/sheets:v4/Request/setBasicFilter": set_basic_filter "/sheets:v4/Request/setDataValidation": set_data_validation @@ -130186,6 +130909,7 @@ "/sheets:v4/Request/updateCells": update_cells "/sheets:v4/Request/updateChartSpec": update_chart_spec "/sheets:v4/Request/updateConditionalFormatRule": update_conditional_format_rule +"/sheets:v4/Request/updateDataSource": update_data_source "/sheets:v4/Request/updateDeveloperMetadata": update_developer_metadata "/sheets:v4/Request/updateDimensionGroup": update_dimension_group "/sheets:v4/Request/updateDimensionProperties": update_dimension_properties @@ -130199,6 +130923,7 @@ "/sheets:v4/Response": response "/sheets:v4/Response/addBanding": add_banding "/sheets:v4/Response/addChart": add_chart +"/sheets:v4/Response/addDataSource": add_data_source "/sheets:v4/Response/addDimensionGroup": add_dimension_group "/sheets:v4/Response/addFilterView": add_filter_view "/sheets:v4/Response/addNamedRange": add_named_range @@ -130213,8 +130938,10 @@ "/sheets:v4/Response/duplicateFilterView": duplicate_filter_view "/sheets:v4/Response/duplicateSheet": duplicate_sheet "/sheets:v4/Response/findReplace": find_replace +"/sheets:v4/Response/refreshDataSource": refresh_data_source "/sheets:v4/Response/trimWhitespace": trim_whitespace "/sheets:v4/Response/updateConditionalFormatRule": update_conditional_format_rule +"/sheets:v4/Response/updateDataSource": update_data_source "/sheets:v4/Response/updateDeveloperMetadata": update_developer_metadata "/sheets:v4/Response/updateEmbeddedObjectPosition": update_embedded_object_position "/sheets:v4/RowData": row_data @@ -130266,6 +130993,7 @@ "/sheets:v4/Sheet/slicers": slicers "/sheets:v4/Sheet/slicers/slicer": slicer "/sheets:v4/SheetProperties": sheet_properties +"/sheets:v4/SheetProperties/dataSourceSheetProperties": data_source_sheet_properties "/sheets:v4/SheetProperties/gridProperties": grid_properties "/sheets:v4/SheetProperties/hidden": hidden "/sheets:v4/SheetProperties/index": index @@ -130296,6 +131024,7 @@ "/sheets:v4/SortSpec": sort_spec "/sheets:v4/SortSpec/backgroundColor": background_color "/sheets:v4/SortSpec/backgroundColorStyle": background_color_style +"/sheets:v4/SortSpec/dataSourceColumnReference": data_source_column_reference "/sheets:v4/SortSpec/dimensionIndex": dimension_index "/sheets:v4/SortSpec/foregroundColor": foreground_color "/sheets:v4/SortSpec/foregroundColorStyle": foreground_color_style @@ -130305,6 +131034,10 @@ "/sheets:v4/SourceAndDestination/fillLength": fill_length "/sheets:v4/SourceAndDestination/source": source "/sheets:v4/Spreadsheet": spreadsheet +"/sheets:v4/Spreadsheet/dataSourceSchedules": data_source_schedules +"/sheets:v4/Spreadsheet/dataSourceSchedules/data_source_schedule": data_source_schedule +"/sheets:v4/Spreadsheet/dataSources": data_sources +"/sheets:v4/Spreadsheet/dataSources/data_source": data_source "/sheets:v4/Spreadsheet/developerMetadata": developer_metadata "/sheets:v4/Spreadsheet/developerMetadata/developer_metadatum": developer_metadatum "/sheets:v4/Spreadsheet/namedRanges": named_ranges @@ -130350,6 +131083,11 @@ "/sheets:v4/ThemeColorPair": theme_color_pair "/sheets:v4/ThemeColorPair/color": color "/sheets:v4/ThemeColorPair/colorType": color_type +"/sheets:v4/TimeOfDay": time_of_day +"/sheets:v4/TimeOfDay/hours": hours +"/sheets:v4/TimeOfDay/minutes": minutes +"/sheets:v4/TimeOfDay/nanos": nanos +"/sheets:v4/TimeOfDay/seconds": seconds "/sheets:v4/TreemapChartColorScale": treemap_chart_color_scale "/sheets:v4/TreemapChartColorScale/maxValueColor": max_value_color "/sheets:v4/TreemapChartColorScale/maxValueColorStyle": max_value_color_style @@ -130409,6 +131147,12 @@ "/sheets:v4/UpdateConditionalFormatRuleResponse/newRule": new_rule "/sheets:v4/UpdateConditionalFormatRuleResponse/oldIndex": old_index "/sheets:v4/UpdateConditionalFormatRuleResponse/oldRule": old_rule +"/sheets:v4/UpdateDataSourceRequest": update_data_source_request +"/sheets:v4/UpdateDataSourceRequest/dataSource": data_source +"/sheets:v4/UpdateDataSourceRequest/fields": fields +"/sheets:v4/UpdateDataSourceResponse": update_data_source_response +"/sheets:v4/UpdateDataSourceResponse/dataExecutionStatus": data_execution_status +"/sheets:v4/UpdateDataSourceResponse/dataSource": data_source "/sheets:v4/UpdateDeveloperMetadataRequest": update_developer_metadata_request "/sheets:v4/UpdateDeveloperMetadataRequest/dataFilters": data_filters "/sheets:v4/UpdateDeveloperMetadataRequest/dataFilters/data_filter": data_filter @@ -130421,6 +131165,7 @@ "/sheets:v4/UpdateDimensionGroupRequest/dimensionGroup": dimension_group "/sheets:v4/UpdateDimensionGroupRequest/fields": fields "/sheets:v4/UpdateDimensionPropertiesRequest": update_dimension_properties_request +"/sheets:v4/UpdateDimensionPropertiesRequest/dataSourceSheetRange": data_source_sheet_range "/sheets:v4/UpdateDimensionPropertiesRequest/fields": fields "/sheets:v4/UpdateDimensionPropertiesRequest/properties": properties "/sheets:v4/UpdateDimensionPropertiesRequest/range": range diff --git a/generated/google/apis/adexchangebuyer_v1_4.rb b/generated/google/apis/adexchangebuyer_v1_4.rb index 752226323..c97be2969 100644 --- a/generated/google/apis/adexchangebuyer_v1_4.rb +++ b/generated/google/apis/adexchangebuyer_v1_4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest module AdexchangebuyerV1_4 VERSION = 'V1_4' - REVISION = '20191108' + REVISION = '20200826' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer_v1_4/classes.rb b/generated/google/apis/adexchangebuyer_v1_4/classes.rb index a3ee86c8f..64beef97f 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/classes.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/classes.rb @@ -506,8 +506,8 @@ module Google # @return [Array] attr_accessor :advertiser_id - # The name of the company being advertised in the creative. The value provided - # must exist in the advertisers.txt file. + # The name of the company being advertised in the creative. A list of + # advertisers is provided in the advertisers.txt file. # Corresponds to the JSON property `advertiserName` # @return [String] attr_accessor :advertiser_name @@ -2022,6 +2022,11 @@ module Google # @return [Fixnum] attr_accessor :last_update_time_ms + # + # Corresponds to the JSON property `makegoodRequestedReason` + # @return [String] + attr_accessor :makegood_requested_reason + # The name of the deal. (updatable) # Corresponds to the JSON property `name` # @return [String] @@ -2097,6 +2102,7 @@ module Google @is_setup_complete = args[:is_setup_complete] if args.key?(:is_setup_complete) @kind = args[:kind] if args.key?(:kind) @last_update_time_ms = args[:last_update_time_ms] if args.key?(:last_update_time_ms) + @makegood_requested_reason = args[:makegood_requested_reason] if args.key?(:makegood_requested_reason) @name = args[:name] if args.key?(:name) @product_id = args[:product_id] if args.key?(:product_id) @product_revision_number = args[:product_revision_number] if args.key?(:product_revision_number) @@ -2238,6 +2244,31 @@ module Google end end + # + class MobileApplication + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `appStore` + # @return [String] + attr_accessor :app_store + + # + # Corresponds to the JSON property `externalAppId` + # @return [String] + attr_accessor :external_app_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_store = args[:app_store] if args.key?(:app_store) + @external_app_id = args[:external_app_id] if args.key?(:external_app_id) + end + end + # The configuration data for an Ad Exchange performance report list. class PerformanceReport include Google::Apis::Core::Hashable @@ -3308,6 +3339,18 @@ module Google # @return [String] attr_accessor :programmatic_contact + # The list of app IDs represented in this pubisher profile. Empty if this is a + # parent profile. Deprecated in favor of publisher_app. + # Corresponds to the JSON property `publisherAppIds` + # @return [Array] + attr_accessor :publisher_app_ids + + # The list of apps represented in this pubisher profile. Empty if this is a + # parent profile. + # Corresponds to the JSON property `publisherApps` + # @return [Array] + attr_accessor :publisher_apps + # The list of domains represented in this publisher profile. Empty if this is a # parent profile. # Corresponds to the JSON property `publisherDomains` @@ -3369,6 +3412,8 @@ module Google @overview = args[:overview] if args.key?(:overview) @profile_id = args[:profile_id] if args.key?(:profile_id) @programmatic_contact = args[:programmatic_contact] if args.key?(:programmatic_contact) + @publisher_app_ids = args[:publisher_app_ids] if args.key?(:publisher_app_ids) + @publisher_apps = args[:publisher_apps] if args.key?(:publisher_apps) @publisher_domains = args[:publisher_domains] if args.key?(:publisher_domains) @publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id) @publisher_provided_forecast = args[:publisher_provided_forecast] if args.key?(:publisher_provided_forecast) diff --git a/generated/google/apis/adexchangebuyer_v1_4/representations.rb b/generated/google/apis/adexchangebuyer_v1_4/representations.rb index 82492f633..f31561146 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/representations.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/representations.rb @@ -352,6 +352,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class MobileApplication + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PerformanceReport class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1058,6 +1064,7 @@ module Google property :is_setup_complete, as: 'isSetupComplete' property :kind, as: 'kind' property :last_update_time_ms, :numeric_string => true, as: 'lastUpdateTimeMs' + property :makegood_requested_reason, as: 'makegoodRequestedReason' property :name, as: 'name' property :product_id, as: 'productId' property :product_revision_number, :numeric_string => true, as: 'productRevisionNumber' @@ -1109,6 +1116,14 @@ module Google end end + class MobileApplication + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_store, as: 'appStore' + property :external_app_id, as: 'externalAppId' + end + end + class PerformanceReport # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1351,6 +1366,9 @@ module Google property :overview, as: 'overview' property :profile_id, as: 'profileId' property :programmatic_contact, as: 'programmaticContact' + collection :publisher_app_ids, as: 'publisherAppIds' + collection :publisher_apps, as: 'publisherApps', class: Google::Apis::AdexchangebuyerV1_4::MobileApplication, decorator: Google::Apis::AdexchangebuyerV1_4::MobileApplication::Representation + collection :publisher_domains, as: 'publisherDomains' property :publisher_profile_id, as: 'publisherProfileId' property :publisher_provided_forecast, as: 'publisherProvidedForecast', class: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast, decorator: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast::Representation diff --git a/generated/google/apis/appengine_v1beta.rb b/generated/google/apis/appengine_v1beta.rb index b8dc5e180..d77403210 100644 --- a/generated/google/apis/appengine_v1beta.rb +++ b/generated/google/apis/appengine_v1beta.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta VERSION = 'V1beta' - REVISION = '20200802' + REVISION = '20200822' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1beta/classes.rb b/generated/google/apis/appengine_v1beta/classes.rb index 6da1e8eac..6a6559e3d 100644 --- a/generated/google/apis/appengine_v1beta/classes.rb +++ b/generated/google/apis/appengine_v1beta/classes.rb @@ -2714,6 +2714,12 @@ module Google # @return [Hash] attr_accessor :beta_settings + # Environment variables available to the build environment.Only returned in GET + # requests if view=FULL is set. + # Corresponds to the JSON property `buildEnvVariables` + # @return [Hash] + attr_accessor :build_env_variables + # Time that this version was created.@OutputOnly # Corresponds to the JSON property `createTime` # @return [String] @@ -2926,6 +2932,7 @@ module Google @automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling) @basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling) @beta_settings = args[:beta_settings] if args.key?(:beta_settings) + @build_env_variables = args[:build_env_variables] if args.key?(:build_env_variables) @create_time = args[:create_time] if args.key?(:create_time) @created_by = args[:created_by] if args.key?(:created_by) @default_expiration = args[:default_expiration] if args.key?(:default_expiration) diff --git a/generated/google/apis/appengine_v1beta/representations.rb b/generated/google/apis/appengine_v1beta/representations.rb index 9b56ea9a5..200c74859 100644 --- a/generated/google/apis/appengine_v1beta/representations.rb +++ b/generated/google/apis/appengine_v1beta/representations.rb @@ -1147,6 +1147,7 @@ module Google property :basic_scaling, as: 'basicScaling', class: Google::Apis::AppengineV1beta::BasicScaling, decorator: Google::Apis::AppengineV1beta::BasicScaling::Representation hash :beta_settings, as: 'betaSettings' + hash :build_env_variables, as: 'buildEnvVariables' property :create_time, as: 'createTime' property :created_by, as: 'createdBy' property :default_expiration, as: 'defaultExpiration' diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index cbaf30c30..a5a9c9eac 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20200805' + REVISION = '20200818' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigtableadmin_v1.rb b/generated/google/apis/bigtableadmin_v1.rb index 9b8abf712..423c2082d 100644 --- a/generated/google/apis/bigtableadmin_v1.rb +++ b/generated/google/apis/bigtableadmin_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigtable/ module BigtableadminV1 VERSION = 'V1' - REVISION = '20200629' + REVISION = '20200817' end end end diff --git a/generated/google/apis/bigtableadmin_v1/classes.rb b/generated/google/apis/bigtableadmin_v1/classes.rb index 9453125a0..25738aa1f 100644 --- a/generated/google/apis/bigtableadmin_v1/classes.rb +++ b/generated/google/apis/bigtableadmin_v1/classes.rb @@ -386,6 +386,56 @@ module Google end end + # Added to the error payload. + class FailureTrace + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `frames` + # @return [Array] + attr_accessor :frames + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frames = args[:frames] if args.key?(:frames) + end + end + + # + class Frame + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `targetName` + # @return [String] + attr_accessor :target_name + + # + # Corresponds to the JSON property `workflowGuid` + # @return [String] + attr_accessor :workflow_guid + + # + # Corresponds to the JSON property `zoneId` + # @return [String] + attr_accessor :zone_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_name = args[:target_name] if args.key?(:target_name) + @workflow_guid = args[:workflow_guid] if args.key?(:workflow_guid) + @zone_id = args[:zone_id] if args.key?(:zone_id) + end + end + # A collection of Bigtable Tables and # the resources that serve them. # All tables in an instance are served from all diff --git a/generated/google/apis/bigtableadmin_v1/representations.rb b/generated/google/apis/bigtableadmin_v1/representations.rb index a3315b961..17a247089 100644 --- a/generated/google/apis/bigtableadmin_v1/representations.rb +++ b/generated/google/apis/bigtableadmin_v1/representations.rb @@ -70,6 +70,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FailureTrace + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Frame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Instance class Representation < Google::Apis::Core::JsonRepresentation; end @@ -212,6 +224,23 @@ module Google end end + class FailureTrace + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :frames, as: 'frames', class: Google::Apis::BigtableadminV1::Frame, decorator: Google::Apis::BigtableadminV1::Frame::Representation + + end + end + + class Frame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :target_name, as: 'targetName' + property :workflow_guid, as: 'workflowGuid' + property :zone_id, as: 'zoneId' + end + end + class Instance # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudprofiler_v2.rb b/generated/google/apis/cloudprofiler_v2.rb index 132bd117d..8d3998b33 100644 --- a/generated/google/apis/cloudprofiler_v2.rb +++ b/generated/google/apis/cloudprofiler_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/profiler/ module CloudprofilerV2 VERSION = 'V2' - REVISION = '20200803' + REVISION = '20200822' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 14fa91c09..f6e62e9a8 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2 VERSION = 'V2' - REVISION = '20200817' + REVISION = '20200823' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index b821936c7..0e2fb5e54 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -69,6 +69,25 @@ module Google end end + # The response message for Agents.ImportAgent. + class GoogleCloudDialogflowCxV3beta1ImportAgentResponse + include Google::Apis::Core::Hashable + + # The unique identifier of the new agent. Format: `projects//locations//agents/`. + # Corresponds to the JSON property `agent` + # @return [String] + attr_accessor :agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent = args[:agent] if args.key?(:agent) + end + end + # Represents page information communicated to and from the webhook. class GoogleCloudDialogflowCxV3beta1PageInfo include Google::Apis::Core::Hashable @@ -6836,6 +6855,25 @@ module Google end end + # The response message for Agents.ImportAgent. + class GoogleCloudDialogflowV3alpha1ImportAgentResponse + include Google::Apis::Core::Hashable + + # The unique identifier of the new agent. Format: `projects//locations//agents/`. + # Corresponds to the JSON property `agent` + # @return [String] + attr_accessor :agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent = args[:agent] if args.key?(:agent) + end + end + # The response message for Operations.ListOperations. class GoogleLongrunningListOperationsResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/dialogflow_v2/representations.rb b/generated/google/apis/dialogflow_v2/representations.rb index b48b024d3..b62da878a 100644 --- a/generated/google/apis/dialogflow_v2/representations.rb +++ b/generated/google/apis/dialogflow_v2/representations.rb @@ -34,6 +34,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1ImportAgentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1090,6 +1096,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV3alpha1ImportAgentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleLongrunningListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1135,6 +1147,13 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1ImportAgentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent, as: 'agent' + end + end + class GoogleCloudDialogflowCxV3beta1PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2965,6 +2984,13 @@ module Google end end + class GoogleCloudDialogflowV3alpha1ImportAgentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent, as: 'agent' + end + end + class GoogleLongrunningListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 49fd71a9b..9d5524554 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20200817' + REVISION = '20200823' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 4dc68e9c4..023812e1d 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -69,6 +69,25 @@ module Google end end + # The response message for Agents.ImportAgent. + class GoogleCloudDialogflowCxV3beta1ImportAgentResponse + include Google::Apis::Core::Hashable + + # The unique identifier of the new agent. Format: `projects//locations//agents/`. + # Corresponds to the JSON property `agent` + # @return [String] + attr_accessor :agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent = args[:agent] if args.key?(:agent) + end + end + # Represents page information communicated to and from the webhook. class GoogleCloudDialogflowCxV3beta1PageInfo include Google::Apis::Core::Hashable @@ -7160,6 +7179,25 @@ module Google end end + # The response message for Agents.ImportAgent. + class GoogleCloudDialogflowV3alpha1ImportAgentResponse + include Google::Apis::Core::Hashable + + # The unique identifier of the new agent. Format: `projects//locations//agents/`. + # Corresponds to the JSON property `agent` + # @return [String] + attr_accessor :agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent = args[:agent] if args.key?(:agent) + end + end + # The response message for Operations.ListOperations. class GoogleLongrunningListOperationsResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/dialogflow_v2beta1/representations.rb b/generated/google/apis/dialogflow_v2beta1/representations.rb index 44ca10d14..009244109 100644 --- a/generated/google/apis/dialogflow_v2beta1/representations.rb +++ b/generated/google/apis/dialogflow_v2beta1/representations.rb @@ -34,6 +34,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1ImportAgentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1138,6 +1144,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV3alpha1ImportAgentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleLongrunningListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1183,6 +1195,13 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1ImportAgentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent, as: 'agent' + end + end + class GoogleCloudDialogflowCxV3beta1PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3094,6 +3113,13 @@ module Google end end + class GoogleCloudDialogflowV3alpha1ImportAgentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent, as: 'agent' + end + end + class GoogleLongrunningListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v3beta1.rb b/generated/google/apis/dialogflow_v3beta1.rb index ceff8ba46..4df893cd9 100644 --- a/generated/google/apis/dialogflow_v3beta1.rb +++ b/generated/google/apis/dialogflow_v3beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV3beta1 VERSION = 'V3beta1' - REVISION = '20200817' + REVISION = '20200823' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v3beta1/classes.rb b/generated/google/apis/dialogflow_v3beta1/classes.rb index 987ad4d9b..3c89feeb8 100644 --- a/generated/google/apis/dialogflow_v3beta1/classes.rb +++ b/generated/google/apis/dialogflow_v3beta1/classes.rb @@ -22,6 +22,127 @@ module Google module Apis module DialogflowV3beta1 + # Agents are best described as Natural Language Understanding (NLU) modules that + # transform user requests into actionable data. You can include agents in your + # app, product, or service to determine user intent and respond to the user in a + # natural way. After you create an agent, you can add Intents, Entity Types, + # Flows, Fulfillments, Webhooks, and so on to manage the conversation flows.. + class GoogleCloudDialogflowCxV3beta1Agent + include Google::Apis::Core::Hashable + + # The URI of the agent's avatar. Avatars are used throughout the Dialogflow + # console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/ + # docs/integrations/web-demo) integration. + # Corresponds to the JSON property `avatarUri` + # @return [String] + attr_accessor :avatar_uri + + # Immutable. The default language of the agent as a language tag. See [Language + # Support](https://cloud.google.com/dialogflow/docs/reference/language) for a + # list of the currently supported language codes. This field cannot be set by + # the Agents.UpdateAgent method. + # Corresponds to the JSON property `defaultLanguageCode` + # @return [String] + attr_accessor :default_language_code + + # The description of the agent. The maximum length is 500 characters. If + # exceeded, the request is rejected. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The human-readable name of the agent, unique within the location. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Indicates if automatic spell correction is enabled in detect intent requests. + # Corresponds to the JSON property `enableSpellCorrection` + # @return [Boolean] + attr_accessor :enable_spell_correction + alias_method :enable_spell_correction?, :enable_spell_correction + + # Indicates if stackdriver logging is enabled for the agent. + # Corresponds to the JSON property `enableStackdriverLogging` + # @return [Boolean] + attr_accessor :enable_stackdriver_logging + alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging + + # The unique identifier of the agent. Required for the Agents.UpdateAgent method. + # Agents.CreateAgent populates the name automatically. Format: `projects// + # locations//agents/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Settings related to speech recognition. + # Corresponds to the JSON property `speechToTextSettings` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings] + attr_accessor :speech_to_text_settings + + # Immutable. Name of the start flow in this agent. A start flow will be + # automatically created when the agent is created, and can only be deleted by + # deleting the agent. Format: `projects//locations//agents//flows/`. + # Corresponds to the JSON property `startFlow` + # @return [String] + attr_accessor :start_flow + + # Required. The time zone of the agent from the [time zone database](https://www. + # iana.org/time-zones), e.g., America/New_York, Europe/Paris. + # Corresponds to the JSON property `timeZone` + # @return [String] + attr_accessor :time_zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri) + @default_language_code = args[:default_language_code] if args.key?(:default_language_code) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction) + @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging) + @name = args[:name] if args.key?(:name) + @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings) + @start_flow = args[:start_flow] if args.key?(:start_flow) + @time_zone = args[:time_zone] if args.key?(:time_zone) + end + end + + # Represents the natural speech audio to be processed. + class GoogleCloudDialogflowCxV3beta1AudioInput + include Google::Apis::Core::Hashable + + # The natural language speech audio to be processed. A single request can + # contain up to 1 minute of speech audio data. The transcribed text cannot + # contain more than 256 bytes. For non-streaming audio detect intent, both ` + # config` and `audio` must be provided. For streaming audio detect intent, ` + # config` must be provided in the first request and `audio` must be provided in + # all following requests. + # Corresponds to the JSON property `audio` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :audio + + # Instructs the speech recognizer on how to process the audio content. + # Corresponds to the JSON property `config` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InputAudioConfig] + attr_accessor :config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio = args[:audio] if args.key?(:audio) + @config = args[:config] if args.key?(:config) + end + end + # Metadata associated with the long running operation for Versions.CreateVersion. class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata include Google::Apis::Core::Hashable @@ -42,6 +163,363 @@ module Google end end + # The request to detect user's intent. + class GoogleCloudDialogflowCxV3beta1DetectIntentRequest + include Google::Apis::Core::Hashable + + # Instructs the speech synthesizer how to generate the output audio content. + # Corresponds to the JSON property `outputAudioConfig` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig] + attr_accessor :output_audio_config + + # Represents the query input. It can contain either: 1. A conversational query + # in the form of text. 2. An intent query that specifies which intent to trigger. + # Corresponds to the JSON property `queryInput` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput] + attr_accessor :query_input + + # Represents the parameters of a conversational query. + # Corresponds to the JSON property `queryParams` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters] + attr_accessor :query_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config) + @query_input = args[:query_input] if args.key?(:query_input) + @query_params = args[:query_params] if args.key?(:query_params) + end + end + + # The message returned from the DetectIntent method. + class GoogleCloudDialogflowCxV3beta1DetectIntentResponse + include Google::Apis::Core::Hashable + + # The audio data bytes encoded as specified in the request. Note: The output + # audio is generated based on the values of default platform text responses + # found in the `query_result.response_messages` field. If multiple default text + # responses exist, they will be concatenated when generating audio. If no + # default platform text responses exist, the generated audio content will be + # empty. In some scenarios, multiple output audio fields may be present in the + # response structure. In these cases, only the top-most-level audio output has + # content. + # Corresponds to the JSON property `outputAudio` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :output_audio + + # Instructs the speech synthesizer how to generate the output audio content. + # Corresponds to the JSON property `outputAudioConfig` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig] + attr_accessor :output_audio_config + + # Represents the result of a conversational query. + # Corresponds to the JSON property `queryResult` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult] + attr_accessor :query_result + + # Output only. The unique identifier of the response. It can be used to locate a + # response in the training example set or for reporting issues. + # Corresponds to the JSON property `responseId` + # @return [String] + attr_accessor :response_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_audio = args[:output_audio] if args.key?(:output_audio) + @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config) + @query_result = args[:query_result] if args.key?(:query_result) + @response_id = args[:response_id] if args.key?(:response_id) + end + end + + # Entities are extracted from user input and represent parameters that are + # meaningful to your application. For example, a date range, a proper name such + # as a geographic location or landmark, and so on. Entities represent actionable + # data for your application. When you define an entity, you can also include + # synonyms that all map to that entity. For example, "soft drink", "soda", "pop", + # and so on. There are three types of entities: * **System** - entities that + # are defined by the Dialogflow API for common data types such as date, time, + # currency, and so on. A system entity is represented by the `EntityType` type. * + # **Custom** - entities that are defined by you that represent actionable data + # that is meaningful to your application. For example, you could define a `pizza. + # sauce` entity for red or white pizza sauce, a `pizza.cheese` entity for the + # different types of cheese on a pizza, a `pizza.topping` entity for different + # toppings, and so on. A custom entity is represented by the `EntityType` type. * + # **User** - entities that are built for an individual user such as favorites, + # preferences, playlists, and so on. A user entity is represented by the + # SessionEntityType type. For more information about entity types, see the [ + # Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities- + # overview). + class GoogleCloudDialogflowCxV3beta1EntityType + include Google::Apis::Core::Hashable + + # Indicates whether the entity type can be automatically expanded. + # Corresponds to the JSON property `autoExpansionMode` + # @return [String] + attr_accessor :auto_expansion_mode + + # Required. The human-readable name of the entity type, unique within the agent. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Enables fuzzy entity extraction during classification. + # Corresponds to the JSON property `enableFuzzyExtraction` + # @return [Boolean] + attr_accessor :enable_fuzzy_extraction + alias_method :enable_fuzzy_extraction?, :enable_fuzzy_extraction + + # The collection of entity entries associated with the entity type. + # Corresponds to the JSON property `entities` + # @return [Array] + attr_accessor :entities + + # Collection of exceptional words and phrases that shouldn't be matched. For + # example, if you have a size entity type with entry `giant`(an adjective), you + # might consider adding `giants`(a noun) as an exclusion. If the kind of entity + # type is `KIND_MAP`, then the phrases specified by entities and excluded + # phrases should be mutually exclusive. + # Corresponds to the JSON property `excludedPhrases` + # @return [Array] + attr_accessor :excluded_phrases + + # Required. Indicates the kind of entity type. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The unique identifier of the entity type. Required for EntityTypes. + # UpdateEntityType. Format: `projects//locations//agents//entityTypes/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_expansion_mode = args[:auto_expansion_mode] if args.key?(:auto_expansion_mode) + @display_name = args[:display_name] if args.key?(:display_name) + @enable_fuzzy_extraction = args[:enable_fuzzy_extraction] if args.key?(:enable_fuzzy_extraction) + @entities = args[:entities] if args.key?(:entities) + @excluded_phrases = args[:excluded_phrases] if args.key?(:excluded_phrases) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # An **entity entry** for an associated entity type. Next Id = 8 + class GoogleCloudDialogflowCxV3beta1EntityTypeEntity + include Google::Apis::Core::Hashable + + # Required. A collection of value synonyms. For example, if the entity type is * + # vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For + # `KIND_LIST` entity types: * This collection must contain exactly one synonym + # equal to `value`. + # Corresponds to the JSON property `synonyms` + # @return [Array] + attr_accessor :synonyms + + # Required. The primary value associated with this entity entry. For example, if + # the entity type is *vegetable*, the value could be *scallions*. For `KIND_MAP` + # entity types: * A canonical value to be used in place of synonyms. For ` + # KIND_LIST` entity types: * A string that can contain references to other + # entity types (with or without aliases). + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @synonyms = args[:synonyms] if args.key?(:synonyms) + @value = args[:value] if args.key?(:value) + end + end + + # An excluded entity phrase that should not be matched. + class GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase + include Google::Apis::Core::Hashable + + # Required. The word or phrase to be excluded. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + end + end + + # Represents an environment for an agent. You can create multiple versions of + # your agent and publish them to separate environments. When you edit an agent, + # you are editing the draft agent. At any point, you can save the draft agent as + # an agent version, which is an immutable snapshot of your agent. When you save + # the draft agent, it is published to the default environment. When you create + # agent versions, you can publish them to custom environments. You can create a + # variety of custom environments for testing, development, production, etc. + class GoogleCloudDialogflowCxV3beta1Environment + include Google::Apis::Core::Hashable + + # The human-readable description of the environment. The maximum length is 500 + # characters. If exceeded, the request is rejected. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The human-readable name of the environment (unique in an agent). + # Limit of 64 characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The name of the environment. Format: `projects//locations//agents// + # environments/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. Update time of this environment. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Required. A list of configurations for flow versions. You should include + # version configs for all flows that are reachable from `Start Flow` in the + # agent. Otherwise, an error will be returned. + # Corresponds to the JSON property `versionConfigs` + # @return [Array] + attr_accessor :version_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @update_time = args[:update_time] if args.key?(:update_time) + @version_configs = args[:version_configs] if args.key?(:version_configs) + end + end + + # Configuration for the version. + class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig + include Google::Apis::Core::Hashable + + # Required. Format: projects//locations//agents//flows//versions/. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + end + end + + # An event handler specifies an event that can be handled during a session. When + # the specified event happens, the following actions are taken in order: * If + # there is a `trigger_fulfillment` associated with the event, it will be called. + # * If there is a `target_page` associated with the event, the session will + # transition into the specified page. * If there is a `target_flow` associated + # with the event, the session will transition into the specified flow. + class GoogleCloudDialogflowCxV3beta1EventHandler + include Google::Apis::Core::Hashable + + # Required. The name of the event to handle. + # Corresponds to the JSON property `event` + # @return [String] + attr_accessor :event + + # Output only. The unique identifier of this event handler. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The target flow to transition to. Format: `projects//locations//agents//flows/` + # . + # Corresponds to the JSON property `targetFlow` + # @return [String] + attr_accessor :target_flow + + # The target page to transition to. Format: `projects//locations//agents//flows// + # pages/`. + # Corresponds to the JSON property `targetPage` + # @return [String] + attr_accessor :target_page + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + # Corresponds to the JSON property `triggerFulfillment` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment] + attr_accessor :trigger_fulfillment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event = args[:event] if args.key?(:event) + @name = args[:name] if args.key?(:name) + @target_flow = args[:target_flow] if args.key?(:target_flow) + @target_page = args[:target_page] if args.key?(:target_page) + @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment) + end + end + + # The request message for Agents.ExportAgent. + class GoogleCloudDialogflowCxV3beta1ExportAgentRequest + include Google::Apis::Core::Hashable + + # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) + # URI to export the agent to. The format of this URI must be `gs:///`. If left + # unspecified, the serialized agent is returned inline. + # Corresponds to the JSON property `agentUri` + # @return [String] + attr_accessor :agent_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent_uri = args[:agent_uri] if args.key?(:agent_uri) + end + end + # The response message for Agents.ExportAgent. class GoogleCloudDialogflowCxV3beta1ExportAgentResponse include Google::Apis::Core::Hashable @@ -69,6 +547,1369 @@ module Google end end + # Flows represents the conversation flows when you build your chatbot agent. A + # flow consists of many pages connected by the transition routes. Conversations + # always start with the built-in Start Flow (with an all-0 ID). Transition + # routes can direct the conversation session from the current flow (parent flow) + # to another flow (sub flow). When the sub flow is finished, Dialogflow will + # bring the session back to the parent flow, where the sub flow is started. + # Usually, when a transition route is followed by a matched intent, the intent + # will be "consumed". This means the intent won't activate more transition + # routes. However, when the followed transition route moves the conversation + # session into a different flow, the matched intent can be carried over and to + # be consumed in the target flow. + class GoogleCloudDialogflowCxV3beta1Flow + include Google::Apis::Core::Hashable + + # The description of the flow. The maximum length is 500 characters. If exceeded, + # the request is rejected. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The human-readable name of the flow. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # A flow's event handlers serve two purposes: * They are responsible for + # handling events (e.g. no match, webhook errors) in the flow. * They are + # inherited by every page's event handlers, which can be used to handle common + # events regardless of the current page. Event handlers defined in the page have + # higher priority than those defined in the flow. Unlike transition_routes, + # these handlers are evaluated on a first-match basis. The first one that + # matches the event get executed, with the rest being ignored. + # Corresponds to the JSON property `eventHandlers` + # @return [Array] + attr_accessor :event_handlers + + # The unique identifier of the flow. Format: `projects//locations//agents//flows/ + # `. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Settings related to NLU. + # Corresponds to the JSON property `nluSettings` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings] + attr_accessor :nlu_settings + + # A flow's transition routes serve two purposes: * They are responsible for + # matching the user's first utterances in the flow. * They are inherited by + # every page's transition routes and can support use cases such as the user + # saying "help" or "can I talk to a human?", which can be handled in a common + # way regardless of the current page. Transition routes defined in the page have + # higher priority than those defined in the flow. TransitionRoutes are evalauted + # in the following order: * TransitionRoutes with intent specified.. * + # TransitionRoutes with only condition specified. TransitionRoutes with intent + # specified are inherited by pages in the flow. + # Corresponds to the JSON property `transitionRoutes` + # @return [Array] + attr_accessor :transition_routes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @event_handlers = args[:event_handlers] if args.key?(:event_handlers) + @name = args[:name] if args.key?(:name) + @nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings) + @transition_routes = args[:transition_routes] if args.key?(:transition_routes) + end + end + + # A form is a data model that groups related parameters that can be collected + # from the user. The process in which the agent prompts the user and collects + # parameter values from the user is called form filling. A form can be added to + # a page. When form filling is done, the filled parameters will be written to + # the session. + class GoogleCloudDialogflowCxV3beta1Form + include Google::Apis::Core::Hashable + + # Parameters to collect from the user. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # Represents a form parameter. + class GoogleCloudDialogflowCxV3beta1FormParameter + include Google::Apis::Core::Hashable + + # The default value of an optional parameter. If the parameter is required, the + # default value will be ignored. + # Corresponds to the JSON property `defaultValue` + # @return [Object] + attr_accessor :default_value + + # Required. The human-readable name of the parameter, unique within the form. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Required. The entity type of the parameter. Format: `projects/-/locations/-/ + # agents/-/entityTypes/` for system entity types (for example, `projects/-/ + # locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents// + # entityTypes/` for developer entity types. + # Corresponds to the JSON property `entityType` + # @return [String] + attr_accessor :entity_type + + # Configuration for how the filling of a parameter should be handled. + # Corresponds to the JSON property `fillBehavior` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior] + attr_accessor :fill_behavior + + # Indicates whether the parameter represents a list of values. + # Corresponds to the JSON property `isList` + # @return [Boolean] + attr_accessor :is_list + alias_method :is_list?, :is_list + + # Indicates whether the parameter is required. Optional parameters will not + # trigger prompts; however, they are filled if the user specifies them. Required + # parameters must be filled before form filling concludes. + # Corresponds to the JSON property `required` + # @return [Boolean] + attr_accessor :required + alias_method :required?, :required + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_value = args[:default_value] if args.key?(:default_value) + @display_name = args[:display_name] if args.key?(:display_name) + @entity_type = args[:entity_type] if args.key?(:entity_type) + @fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior) + @is_list = args[:is_list] if args.key?(:is_list) + @required = args[:required] if args.key?(:required) + end + end + + # Configuration for how the filling of a parameter should be handled. + class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior + include Google::Apis::Core::Hashable + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + # Corresponds to the JSON property `initialPromptFulfillment` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment] + attr_accessor :initial_prompt_fulfillment + + # The handlers for parameter-level events, used to provide reprompt for the + # parameter or transition to a different page/flow. The supported events are: * ` + # sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` * `sys.no- + # input-`, where N can be from 1 to 6 * `sys.no-input-default` * `sys.invalid- + # parameter` `initial_prompt_fulfillment` provides the first prompt for the + # parameter. If the user's response does not fill the parameter, a no-match/no- + # input event will be triggered, and the fulfillment associated with the `sys.no- + # match-1`/`sys.no-input-1` handler (if defined) will be called to provide a + # prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined) will + # respond to the next no-match/no-input event, and so on. A `sys.no-match- + # default` or `sys.no-input-default` handler will be used to handle all + # following no-match/no-input events after all numbered no-match/no-input + # handlers for the parameter are consumed. A `sys.invalid-parameter` handler can + # be defined to handle the case where the parameter values have been ` + # invalidated` by webhook. For example, if the user's response fill the + # parameter, however the parameter was invalidated by webhook, the fulfillment + # associated with the `sys.invalid-parameter` handler (if defined) will be + # called to provide a prompt. If the event handler for the corresponding event + # can't be found on the parameter, `initial_prompt_fulfillment` will be re- + # prompted. + # Corresponds to the JSON property `repromptEventHandlers` + # @return [Array] + attr_accessor :reprompt_event_handlers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @initial_prompt_fulfillment = args[:initial_prompt_fulfillment] if args.key?(:initial_prompt_fulfillment) + @reprompt_event_handlers = args[:reprompt_event_handlers] if args.key?(:reprompt_event_handlers) + end + end + + # Request of FulfillIntent + class GoogleCloudDialogflowCxV3beta1FulfillIntentRequest + include Google::Apis::Core::Hashable + + # Represents one match result of MatchIntent. + # Corresponds to the JSON property `match` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match] + attr_accessor :match + + # Request of MatchIntent. + # Corresponds to the JSON property `matchIntentRequest` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest] + attr_accessor :match_intent_request + + # Instructs the speech synthesizer how to generate the output audio content. + # Corresponds to the JSON property `outputAudioConfig` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig] + attr_accessor :output_audio_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @match = args[:match] if args.key?(:match) + @match_intent_request = args[:match_intent_request] if args.key?(:match_intent_request) + @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config) + end + end + + # Response of FulfillIntent + class GoogleCloudDialogflowCxV3beta1FulfillIntentResponse + include Google::Apis::Core::Hashable + + # The audio data bytes encoded as specified in the request. Note: The output + # audio is generated based on the values of default platform text responses + # found in the `query_result.response_messages` field. If multiple default text + # responses exist, they will be concatenated when generating audio. If no + # default platform text responses exist, the generated audio content will be + # empty. In some scenarios, multiple output audio fields may be present in the + # response structure. In these cases, only the top-most-level audio output has + # content. + # Corresponds to the JSON property `outputAudio` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :output_audio + + # Instructs the speech synthesizer how to generate the output audio content. + # Corresponds to the JSON property `outputAudioConfig` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig] + attr_accessor :output_audio_config + + # Represents the result of a conversational query. + # Corresponds to the JSON property `queryResult` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult] + attr_accessor :query_result + + # Output only. The unique identifier of the response. It can be used to locate a + # response in the training example set or for reporting issues. + # Corresponds to the JSON property `responseId` + # @return [String] + attr_accessor :response_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_audio = args[:output_audio] if args.key?(:output_audio) + @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config) + @query_result = args[:query_result] if args.key?(:query_result) + @response_id = args[:response_id] if args.key?(:response_id) + end + end + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + class GoogleCloudDialogflowCxV3beta1Fulfillment + include Google::Apis::Core::Hashable + + # Conditional cases for this fulfillment. + # Corresponds to the JSON property `conditionalCases` + # @return [Array] + attr_accessor :conditional_cases + + # The list of rich message responses to present to the user. + # Corresponds to the JSON property `messages` + # @return [Array] + attr_accessor :messages + + # Set parameter values before executing the webhook. + # Corresponds to the JSON property `setParameterActions` + # @return [Array] + attr_accessor :set_parameter_actions + + # The tag used by the webhook to identify which fulfillment is being called. + # This field is required if `webhook` is specified. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + # The webhook to call. Format: `projects//locations//agents//webhooks/`. + # Corresponds to the JSON property `webhook` + # @return [String] + attr_accessor :webhook + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases) + @messages = args[:messages] if args.key?(:messages) + @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions) + @tag = args[:tag] if args.key?(:tag) + @webhook = args[:webhook] if args.key?(:webhook) + end + end + + # A list of cascading if-else conditions. Cases are mutually exclusive. The + # first one with a matching condition is selected, all the rest ignored. + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases + include Google::Apis::Core::Hashable + + # A list of cascading if-else conditions. + # Corresponds to the JSON property `cases` + # @return [Array] + attr_accessor :cases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cases = args[:cases] if args.key?(:cases) + end + end + + # Each case has a Boolean condition. When it is evaluated to be True, the + # corresponding messages will be selected and evaluated recursively. + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + include Google::Apis::Core::Hashable + + # A list of case content. + # Corresponds to the JSON property `caseContent` + # @return [Array] + attr_accessor :case_content + + # The condition to activate and select this case. Empty means the condition is + # always true. The condition is evaluated against form parameters or session + # parameters. See the [conditions reference](https://cloud.google.com/dialogflow/ + # cx/docs/reference/condition). + # Corresponds to the JSON property `condition` + # @return [String] + attr_accessor :condition + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @case_content = args[:case_content] if args.key?(:case_content) + @condition = args[:condition] if args.key?(:condition) + end + end + + # The list of messages or conditional cases to activate for this case. + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent + include Google::Apis::Core::Hashable + + # A list of cascading if-else conditions. Cases are mutually exclusive. The + # first one with a matching condition is selected, all the rest ignored. + # Corresponds to the JSON property `additionalCases` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] + attr_accessor :additional_cases + + # Represents a response message that can be returned by a conversational agent. + # Response messages are also used for output audio synthesis. The approach is as + # follows: * If at least one OutputAudioText response is present, then all + # OutputAudioText responses are linearly concatenated, and the result is used + # for output audio synthesis. * If the OutputAudioText responses are a mixture + # of text and SSML, then the concatenated result is treated as SSML; otherwise, + # the result is treated as either text or SSML as appropriate. The agent + # designer should ideally use either text or SSML consistently throughout the + # bot design. * Otherwise, all Text responses are linearly concatenated, and the + # result is used for output audio synthesis. This approach allows for more + # sophisticated user experience scenarios, where the text displayed to the user + # may differ from what is heard. + # Corresponds to the JSON property `message` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_cases = args[:additional_cases] if args.key?(:additional_cases) + @message = args[:message] if args.key?(:message) + end + end + + # Setting a parameter value. + class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction + include Google::Apis::Core::Hashable + + # Display name of the parameter. + # Corresponds to the JSON property `parameter` + # @return [String] + attr_accessor :parameter + + # The new value of the parameter. A null value clears the parameter. + # Corresponds to the JSON property `value` + # @return [Object] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameter = args[:parameter] if args.key?(:parameter) + @value = args[:value] if args.key?(:value) + end + end + + # The response message for Agents.ImportAgent. + class GoogleCloudDialogflowCxV3beta1ImportAgentResponse + include Google::Apis::Core::Hashable + + # The unique identifier of the new agent. Format: `projects//locations//agents/`. + # Corresponds to the JSON property `agent` + # @return [String] + attr_accessor :agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent = args[:agent] if args.key?(:agent) + end + end + + # Instructs the speech recognizer on how to process the audio content. + class GoogleCloudDialogflowCxV3beta1InputAudioConfig + include Google::Apis::Core::Hashable + + # Required. Audio encoding of the audio content to process. + # Corresponds to the JSON property `audioEncoding` + # @return [String] + attr_accessor :audio_encoding + + # Optional. If `true`, Dialogflow returns SpeechWordInfo in + # StreamingRecognitionResult with information about the recognized speech words, + # e.g. start and end time offsets. If false or unspecified, Speech doesn't + # return any word-level information. + # Corresponds to the JSON property `enableWordInfo` + # @return [Boolean] + attr_accessor :enable_word_info + alias_method :enable_word_info?, :enable_word_info + + # Optional. Which Speech model to select for the given request. Select the model + # best suited to your domain to get best results. If a model is not explicitly + # specified, then we auto-select a model based on the parameters in the + # InputAudioConfig. If enhanced speech model is enabled for the agent and an + # enhanced version of the specified model for the language does not exist, then + # the speech is recognized using the standard version of the specified model. + # Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to- + # text/docs/basics#select-model) for more details. + # Corresponds to the JSON property `model` + # @return [String] + attr_accessor :model + + # Optional. Which variant of the Speech model to use. + # Corresponds to the JSON property `modelVariant` + # @return [String] + attr_accessor :model_variant + + # Optional. A list of strings containing words and phrases that the speech + # recognizer should recognize with higher likelihood. See [the Cloud Speech + # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase- + # hints) for more details. + # Corresponds to the JSON property `phraseHints` + # @return [Array] + attr_accessor :phrase_hints + + # Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud + # Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) + # for more details. + # Corresponds to the JSON property `sampleRateHertz` + # @return [Fixnum] + attr_accessor :sample_rate_hertz + + # Optional. If `false` (default), recognition does not cease until the client + # closes the stream. If `true`, the recognizer will detect a single spoken + # utterance in input audio. Recognition ceases when it detects the audio's voice + # has stopped or paused. In this case, once a detected intent is received, the + # client should close the stream and start a new request with a new stream as + # needed. Note: This setting is relevant only for streaming methods. + # Corresponds to the JSON property `singleUtterance` + # @return [Boolean] + attr_accessor :single_utterance + alias_method :single_utterance?, :single_utterance + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding) + @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info) + @model = args[:model] if args.key?(:model) + @model_variant = args[:model_variant] if args.key?(:model_variant) + @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints) + @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz) + @single_utterance = args[:single_utterance] if args.key?(:single_utterance) + end + end + + # An intent represents a user's intent to interact with a conversational agent. + # You can provide information for the Dialogflow API to use to match user input + # to an intent by adding training phrases (i.e., examples of user input) to your + # intent. + class GoogleCloudDialogflowCxV3beta1Intent + include Google::Apis::Core::Hashable + + # Required. The human-readable name of the intent, unique within the agent. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Indicates whether this is a fallback intent. Currently only default fallback + # intent is allowed in the agent, which is added upon agent creation. Adding + # training phrases to fallback intent is useful in the case of requests that are + # mistakenly matched, since training phrases assigned to fallback intents act as + # negative examples that triggers no-match event. + # Corresponds to the JSON property `isFallback` + # @return [Boolean] + attr_accessor :is_fallback + alias_method :is_fallback?, :is_fallback + + # The unique identifier of the intent. Required for the Intents.UpdateIntent + # method. Intents.CreateIntent populates the name automatically. Format: ` + # projects//locations//agents//intents/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The collection of parameters associated with the intent. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + # The priority of this intent. Higher numbers represent higher priorities. - If + # the supplied value is unspecified or 0, the service translates the value to + # 500,000, which corresponds to the `Normal` priority in the console. - If the + # supplied value is negative, the intent is ignored in runtime detect intent + # requests. + # Corresponds to the JSON property `priority` + # @return [Fixnum] + attr_accessor :priority + + # The collection of training phrases the agent is trained on to identify the + # intent. + # Corresponds to the JSON property `trainingPhrases` + # @return [Array] + attr_accessor :training_phrases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @is_fallback = args[:is_fallback] if args.key?(:is_fallback) + @name = args[:name] if args.key?(:name) + @parameters = args[:parameters] if args.key?(:parameters) + @priority = args[:priority] if args.key?(:priority) + @training_phrases = args[:training_phrases] if args.key?(:training_phrases) + end + end + + # Represents the intent to trigger programmatically rather than as a result of + # natural language processing. + class GoogleCloudDialogflowCxV3beta1IntentInput + include Google::Apis::Core::Hashable + + # Required. The unique identifier of the intent. Format: `projects//locations// + # agents//intents/`. + # Corresponds to the JSON property `intent` + # @return [String] + attr_accessor :intent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @intent = args[:intent] if args.key?(:intent) + end + end + + # Represents an intent parameter. + class GoogleCloudDialogflowCxV3beta1IntentParameter + include Google::Apis::Core::Hashable + + # Required. The entity type of the parameter. Format: `projects/-/locations/-/ + # agents/-/entityTypes/` for system entity types (for example, `projects/-/ + # locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents// + # entityTypes/` for developer entity types. + # Corresponds to the JSON property `entityType` + # @return [String] + attr_accessor :entity_type + + # Required. The unique identifier of the parameter. This field is used by + # training phrases to annotate their parts. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Indicates whether the parameter represents a list of values. + # Corresponds to the JSON property `isList` + # @return [Boolean] + attr_accessor :is_list + alias_method :is_list?, :is_list + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_type = args[:entity_type] if args.key?(:entity_type) + @id = args[:id] if args.key?(:id) + @is_list = args[:is_list] if args.key?(:is_list) + end + end + + # Represents an example that the agent is trained on to identify the intent. + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase + include Google::Apis::Core::Hashable + + # Output only. The unique identifier of the training phrase. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Required. The ordered list of training phrase parts. The parts are + # concatenated in order to form the training phrase. Note: The API does not + # automatically annotate training phrases like the Dialogflow Console does. Note: + # Do not forget to include whitespace at part boundaries, so the training + # phrase is well formatted when the parts are concatenated. If the training + # phrase does not need to be annotated with parameters, you just need a single + # part with only the Part.text field set. If you want to annotate the training + # phrase, you must create multiple parts, where the fields of each part are + # populated in one of two ways: - `Part.text` is set to a part of the phrase + # that has no parameters. - `Part.text` is set to a part of the phrase that you + # want to annotate, and the `parameter_id` field is set. + # Corresponds to the JSON property `parts` + # @return [Array] + attr_accessor :parts + + # Indicates how many times this example was added to the intent. + # Corresponds to the JSON property `repeatCount` + # @return [Fixnum] + attr_accessor :repeat_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @parts = args[:parts] if args.key?(:parts) + @repeat_count = args[:repeat_count] if args.key?(:repeat_count) + end + end + + # Represents a part of a training phrase. + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart + include Google::Apis::Core::Hashable + + # The parameter used to annotate this part of the training phrase. This field is + # required for annotated parts of the training phrase. + # Corresponds to the JSON property `parameterId` + # @return [String] + attr_accessor :parameter_id + + # Required. The text for this part. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameter_id = args[:parameter_id] if args.key?(:parameter_id) + @text = args[:text] if args.key?(:text) + end + end + + # The response message for Agents.ListAgents. + class GoogleCloudDialogflowCxV3beta1ListAgentsResponse + include Google::Apis::Core::Hashable + + # The list of agents. There will be a maximum number of items returned based on + # the page_size field in the request. + # Corresponds to the JSON property `agents` + # @return [Array] + attr_accessor :agents + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agents = args[:agents] if args.key?(:agents) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for EntityTypes.ListEntityTypes. + class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse + include Google::Apis::Core::Hashable + + # The list of entity types. There will be a maximum number of items returned + # based on the page_size field in the request. + # Corresponds to the JSON property `entityTypes` + # @return [Array] + attr_accessor :entity_types + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_types = args[:entity_types] if args.key?(:entity_types) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Environments.ListEnvironments. + class GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse + include Google::Apis::Core::Hashable + + # The list of environments. There will be a maximum number of items returned + # based on the page_size field in the request. The list may in some cases be + # empty or contain fewer entries than page_size even if this isn't the last page. + # Corresponds to the JSON property `environments` + # @return [Array] + attr_accessor :environments + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environments = args[:environments] if args.key?(:environments) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Flows.ListFlows. + class GoogleCloudDialogflowCxV3beta1ListFlowsResponse + include Google::Apis::Core::Hashable + + # The list of flows. There will be a maximum number of items returned based on + # the page_size field in the request. + # Corresponds to the JSON property `flows` + # @return [Array] + attr_accessor :flows + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @flows = args[:flows] if args.key?(:flows) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Intents.ListIntents. + class GoogleCloudDialogflowCxV3beta1ListIntentsResponse + include Google::Apis::Core::Hashable + + # The list of intents. There will be a maximum number of items returned based on + # the page_size field in the request. + # Corresponds to the JSON property `intents` + # @return [Array] + attr_accessor :intents + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @intents = args[:intents] if args.key?(:intents) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The response message for Pages.ListPages. + class GoogleCloudDialogflowCxV3beta1ListPagesResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of pages. There will be a maximum number of items returned based on + # the page_size field in the request. + # Corresponds to the JSON property `pages` + # @return [Array] + attr_accessor :pages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @pages = args[:pages] if args.key?(:pages) + end + end + + # The response message for SessionEntityTypes.ListSessionEntityTypes. + class GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of session entity types. There will be a maximum number of items + # returned based on the page_size field in the request. + # Corresponds to the JSON property `sessionEntityTypes` + # @return [Array] + attr_accessor :session_entity_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types) + end + end + + # The response message for TransitionRouteGroups.ListTransitionRouteGroups. + class GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of transition route groups. There will be a maximum number of items + # returned based on the page_size field in the request. The list may in some + # cases be empty or contain fewer entries than page_size even if this isn't the + # last page. + # Corresponds to the JSON property `transitionRouteGroups` + # @return [Array] + attr_accessor :transition_route_groups + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups) + end + end + + # The response message for Versions.ListVersions. + class GoogleCloudDialogflowCxV3beta1ListVersionsResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of versions. There will be a maximum number of items returned based on + # the page_size field in the request. The list may in some cases be empty or + # contain fewer entries than page_size even if this isn't the last page. + # Corresponds to the JSON property `versions` + # @return [Array] + attr_accessor :versions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @versions = args[:versions] if args.key?(:versions) + end + end + + # The response message for Webhooks.ListWebhooks. + class GoogleCloudDialogflowCxV3beta1ListWebhooksResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of webhooks. There will be a maximum number of items returned based + # on the page_size field in the request. + # Corresponds to the JSON property `webhooks` + # @return [Array] + attr_accessor :webhooks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @webhooks = args[:webhooks] if args.key?(:webhooks) + end + end + + # The request message for Versions.LoadVersion. + class GoogleCloudDialogflowCxV3beta1LoadVersionRequest + include Google::Apis::Core::Hashable + + # This field is used to prevent accidental overwrite of other agent resources in + # the draft version, which can potentially impact other flow's behavior. If ` + # allow_override_agent_resources` is false, conflicted agent-level resources + # will not be overridden (i.e. intents, entities, webhooks). + # Corresponds to the JSON property `allowOverrideAgentResources` + # @return [Boolean] + attr_accessor :allow_override_agent_resources + alias_method :allow_override_agent_resources?, :allow_override_agent_resources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allow_override_agent_resources = args[:allow_override_agent_resources] if args.key?(:allow_override_agent_resources) + end + end + + # The response message for Environments.LookupEnvironmentHistory. + class GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse + include Google::Apis::Core::Hashable + + # Represents a list of snapshots for an environment. Time of the snapshots is + # stored in `update_time`. + # Corresponds to the JSON property `environments` + # @return [Array] + attr_accessor :environments + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environments = args[:environments] if args.key?(:environments) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Represents one match result of MatchIntent. + class GoogleCloudDialogflowCxV3beta1Match + include Google::Apis::Core::Hashable + + # The confidence of this match. Values range from 0.0 (completely uncertain) to + # 1.0 (completely certain). This value is for informational purpose only and is + # only used to help match the best intent within the classification threshold. + # This value may change for the same end-user expression at any time due to a + # model retraining or change in implementation. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # An intent represents a user's intent to interact with a conversational agent. + # You can provide information for the Dialogflow API to use to match user input + # to an intent by adding training phrases (i.e., examples of user input) to your + # intent. + # Corresponds to the JSON property `intent` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] + attr_accessor :intent + + # Type of this Match. + # Corresponds to the JSON property `matchType` + # @return [String] + attr_accessor :match_type + + # The collection of parameters extracted from the query. Depending on your + # protocol or client library language, this is a map, associative array, symbol + # table, dictionary, or JSON object composed of a collection of (MapKey, + # MapValue) pairs: - MapKey type: string - MapKey value: parameter name - + # MapValue type: - If parameter's entity type is a composite entity: map - Else: + # string or number, depending on parameter value type - MapValue value: - If + # parameter's entity type is a composite entity: map from composite entity + # property names to property values - Else: parameter value + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + # Final text input which was matched during MatchIntent. This value can be + # different from original input sent in request because of spelling correction + # or other processing. + # Corresponds to the JSON property `resolvedInput` + # @return [String] + attr_accessor :resolved_input + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @intent = args[:intent] if args.key?(:intent) + @match_type = args[:match_type] if args.key?(:match_type) + @parameters = args[:parameters] if args.key?(:parameters) + @resolved_input = args[:resolved_input] if args.key?(:resolved_input) + end + end + + # Request of MatchIntent. + class GoogleCloudDialogflowCxV3beta1MatchIntentRequest + include Google::Apis::Core::Hashable + + # Represents the query input. It can contain either: 1. A conversational query + # in the form of text. 2. An intent query that specifies which intent to trigger. + # Corresponds to the JSON property `queryInput` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput] + attr_accessor :query_input + + # Represents the parameters of a conversational query. + # Corresponds to the JSON property `queryParams` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters] + attr_accessor :query_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query_input = args[:query_input] if args.key?(:query_input) + @query_params = args[:query_params] if args.key?(:query_params) + end + end + + # Response of MatchIntent. + class GoogleCloudDialogflowCxV3beta1MatchIntentResponse + include Google::Apis::Core::Hashable + + # A Dialogflow CX conversation (session) can be described and visualized as a + # state machine. The states of a CX session are represented by pages. For each + # flow, you define many pages, where your combined pages can handle a complete + # conversation on the topics the flow is designed for. At any given moment, + # exactly one page is the current page, the current page is considered active, + # and the flow associated with that page is considered active. Every flow has a + # special start page. When a flow initially becomes active, the start page page + # becomes the current page. For each conversational turn, the current page will + # either stay the same or transition to another page. You configure each page to + # collect information from the end-user that is relevant for the conversational + # state represented by the page. For more information, see the [Page guide]( + # https://cloud.google.com/dialogflow/cx/docs/concept/page). + # Corresponds to the JSON property `currentPage` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] + attr_accessor :current_page + + # Match results, if more than one, ordered descendingly by the confidence we + # have that the particular intent matches the query. + # Corresponds to the JSON property `matches` + # @return [Array] + attr_accessor :matches + + # If natural language text was provided as input, this field will contain a copy + # of the text. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # If natural language speech audio was provided as input, this field will + # contain the trascript for the audio. + # Corresponds to the JSON property `transcript` + # @return [String] + attr_accessor :transcript + + # If an intent was provided as input, this field will contain a copy of the + # intent identifier. + # Corresponds to the JSON property `triggerIntent` + # @return [String] + attr_accessor :trigger_intent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current_page = args[:current_page] if args.key?(:current_page) + @matches = args[:matches] if args.key?(:matches) + @text = args[:text] if args.key?(:text) + @transcript = args[:transcript] if args.key?(:transcript) + @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent) + end + end + + # Settings related to NLU. + class GoogleCloudDialogflowCxV3beta1NluSettings + include Google::Apis::Core::Hashable + + # To filter out false positive results and still get variety in matched natural + # language inputs for your agent, you can tune the machine learning + # classification threshold. If the returned score value is less than the + # threshold value, then a no-match event will be triggered. The score values + # range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0. + # 0, the default of 0.3 is used. + # Corresponds to the JSON property `classificationThreshold` + # @return [Float] + attr_accessor :classification_threshold + + # Indicates if automatic spell correction is enabled in detect intent requests. + # Corresponds to the JSON property `enableSpellCorrection` + # @return [Boolean] + attr_accessor :enable_spell_correction + alias_method :enable_spell_correction?, :enable_spell_correction + + # Indicates NLU model training mode. + # Corresponds to the JSON property `modelTrainingMode` + # @return [String] + attr_accessor :model_training_mode + + # Indicates the type of NLU model. + # Corresponds to the JSON property `modelType` + # @return [String] + attr_accessor :model_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold) + @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction) + @model_training_mode = args[:model_training_mode] if args.key?(:model_training_mode) + @model_type = args[:model_type] if args.key?(:model_type) + end + end + + # Instructs the speech synthesizer how to generate the output audio content. + class GoogleCloudDialogflowCxV3beta1OutputAudioConfig + include Google::Apis::Core::Hashable + + # Required. Audio encoding of the synthesized audio content. + # Corresponds to the JSON property `audioEncoding` + # @return [String] + attr_accessor :audio_encoding + + # Optional. The synthesis sample rate (in hertz) for this audio. If not provided, + # then the synthesizer will use the default sample rate based on the audio + # encoding. If this is different from the voice's natural sample rate, then the + # synthesizer will honor this request by converting to the desired sample rate ( + # which might result in worse audio quality). + # Corresponds to the JSON property `sampleRateHertz` + # @return [Fixnum] + attr_accessor :sample_rate_hertz + + # Configuration of how speech should be synthesized. + # Corresponds to the JSON property `synthesizeSpeechConfig` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig] + attr_accessor :synthesize_speech_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding) + @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz) + @synthesize_speech_config = args[:synthesize_speech_config] if args.key?(:synthesize_speech_config) + end + end + + # A Dialogflow CX conversation (session) can be described and visualized as a + # state machine. The states of a CX session are represented by pages. For each + # flow, you define many pages, where your combined pages can handle a complete + # conversation on the topics the flow is designed for. At any given moment, + # exactly one page is the current page, the current page is considered active, + # and the flow associated with that page is considered active. Every flow has a + # special start page. When a flow initially becomes active, the start page page + # becomes the current page. For each conversational turn, the current page will + # either stay the same or transition to another page. You configure each page to + # collect information from the end-user that is relevant for the conversational + # state represented by the page. For more information, see the [Page guide]( + # https://cloud.google.com/dialogflow/cx/docs/concept/page). + class GoogleCloudDialogflowCxV3beta1Page + include Google::Apis::Core::Hashable + + # Required. The human-readable name of the page, unique within the agent. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + # Corresponds to the JSON property `entryFulfillment` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment] + attr_accessor :entry_fulfillment + + # Handlers associated with the page to handle events such as webhook errors, no + # match or no input. + # Corresponds to the JSON property `eventHandlers` + # @return [Array] + attr_accessor :event_handlers + + # A form is a data model that groups related parameters that can be collected + # from the user. The process in which the agent prompts the user and collects + # parameter values from the user is called form filling. A form can be added to + # a page. When form filling is done, the filled parameters will be written to + # the session. + # Corresponds to the JSON property `form` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Form] + attr_accessor :form + + # The unique identifier of the page. Required for the Pages.UpdatePage method. + # Pages.CreatePage populates the name automatically. Format: `projects// + # locations//agents//flows//pages/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Ordered list of `TransitionRouteGroups` associated with the page. Transition + # route groups must be unique within a page. * If multiple transition routes + # within a page scope refer to the same intent, then the precedence order is: + # page's transition route -> page's transition route group -> flow's transition + # routes. * If multiple transition route groups within a page contain the same + # intent, then the first group in the ordered list takes precedence. Format:` + # projects//locations//agents//flows//transitionRouteGroups/`. + # Corresponds to the JSON property `transitionRouteGroups` + # @return [Array] + attr_accessor :transition_route_groups + + # A list of transitions for the transition rules of this page. They route the + # conversation to another page in the same flow, or another flow. When we are in + # a certain page, the TransitionRoutes are evalauted in the following order: * + # TransitionRoutes defined in the page with intent specified. * TransitionRoutes + # defined in the transition route groups. * TransitionRoutes defined in flow + # with intent specified. * TransitionRoutes defined in the page with only + # condition specified. + # Corresponds to the JSON property `transitionRoutes` + # @return [Array] + attr_accessor :transition_routes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment) + @event_handlers = args[:event_handlers] if args.key?(:event_handlers) + @form = args[:form] if args.key?(:form) + @name = args[:name] if args.key?(:name) + @transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups) + @transition_routes = args[:transition_routes] if args.key?(:transition_routes) + end + end + # Represents page information communicated to and from the webhook. class GoogleCloudDialogflowCxV3beta1PageInfo include Google::Apis::Core::Hashable @@ -170,6 +2011,242 @@ module Google end end + # Represents the query input. It can contain either: 1. A conversational query + # in the form of text. 2. An intent query that specifies which intent to trigger. + class GoogleCloudDialogflowCxV3beta1QueryInput + include Google::Apis::Core::Hashable + + # Represents the natural speech audio to be processed. + # Corresponds to the JSON property `audio` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AudioInput] + attr_accessor :audio + + # Represents the intent to trigger programmatically rather than as a result of + # natural language processing. + # Corresponds to the JSON property `intent` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentInput] + attr_accessor :intent + + # Required. The language of the input. See [Language Support](https://cloud. + # google.com/dialogflow/docs/reference/language) for a list of the currently + # supported language codes. Note that queries in the same session do not + # necessarily need to specify the same language. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Represents the natural language text to be processed. + # Corresponds to the JSON property `text` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TextInput] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio = args[:audio] if args.key?(:audio) + @intent = args[:intent] if args.key?(:intent) + @language_code = args[:language_code] if args.key?(:language_code) + @text = args[:text] if args.key?(:text) + end + end + + # Represents the parameters of a conversational query. + class GoogleCloudDialogflowCxV3beta1QueryParameters + include Google::Apis::Core::Hashable + + # An object representing a latitude/longitude pair. This is expressed as a pair + # of doubles representing degrees latitude and degrees longitude. Unless + # specified otherwise, this must conform to the WGS84 standard. Values must be + # within normalized ranges. + # Corresponds to the JSON property `geoLocation` + # @return [Google::Apis::DialogflowV3beta1::GoogleTypeLatLng] + attr_accessor :geo_location + + # Additional parameters to be put into session parameters. To remove a parameter + # from the session, clients should explicitly set the parameter value to null. + # Depending on your protocol or client library language, this is a map, + # associative array, symbol table, dictionary, or JSON object composed of a + # collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: + # parameter name - MapValue type: - If parameter's entity type is a composite + # entity: map - Else: string or number, depending on parameter value type - + # MapValue value: - If parameter's entity type is a composite entity: map from + # composite entity property names to property values - Else: parameter value + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + # This field can be used to pass custom data into the webhook associated with + # the agent. Arbitrary JSON objects are supported. + # Corresponds to the JSON property `payload` + # @return [Hash] + attr_accessor :payload + + # Additional session entity types to replace or extend developer entity types + # with. The entity synonyms apply to all languages and persist for the session + # of this query. + # Corresponds to the JSON property `sessionEntityTypes` + # @return [Array] + attr_accessor :session_entity_types + + # The time zone of this conversational query from the [time zone database](https: + # //www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. If not + # provided, the time zone specified in the agent is used. + # Corresponds to the JSON property `timeZone` + # @return [String] + attr_accessor :time_zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @geo_location = args[:geo_location] if args.key?(:geo_location) + @parameters = args[:parameters] if args.key?(:parameters) + @payload = args[:payload] if args.key?(:payload) + @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types) + @time_zone = args[:time_zone] if args.key?(:time_zone) + end + end + + # Represents the result of a conversational query. + class GoogleCloudDialogflowCxV3beta1QueryResult + include Google::Apis::Core::Hashable + + # A Dialogflow CX conversation (session) can be described and visualized as a + # state machine. The states of a CX session are represented by pages. For each + # flow, you define many pages, where your combined pages can handle a complete + # conversation on the topics the flow is designed for. At any given moment, + # exactly one page is the current page, the current page is considered active, + # and the flow associated with that page is considered active. Every flow has a + # special start page. When a flow initially becomes active, the start page page + # becomes the current page. For each conversational turn, the current page will + # either stay the same or transition to another page. You configure each page to + # collect information from the end-user that is relevant for the conversational + # state represented by the page. For more information, see the [Page guide]( + # https://cloud.google.com/dialogflow/cx/docs/concept/page). + # Corresponds to the JSON property `currentPage` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] + attr_accessor :current_page + + # The free-form diagnostic info. For example, this field could contain webhook + # call latency. The string keys of the Struct's fields map can change without + # notice. + # Corresponds to the JSON property `diagnosticInfo` + # @return [Hash] + attr_accessor :diagnostic_info + + # An intent represents a user's intent to interact with a conversational agent. + # You can provide information for the Dialogflow API to use to match user input + # to an intent by adding training phrases (i.e., examples of user input) to your + # intent. + # Corresponds to the JSON property `intent` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] + attr_accessor :intent + + # The intent detection confidence. Values range from 0.0 (completely uncertain) + # to 1.0 (completely certain). This value is for informational purpose only and + # is only used to help match the best intent within the classification threshold. + # This value may change for the same end-user expression at any time due to a + # model retraining or change in implementation. This field is deprecated, please + # use QueryResult.match instead. + # Corresponds to the JSON property `intentDetectionConfidence` + # @return [Float] + attr_accessor :intent_detection_confidence + + # The language that was triggered during intent detection. See [Language Support] + # (https://cloud.google.com/dialogflow/docs/reference/language) for a list of + # the currently supported language codes. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Represents one match result of MatchIntent. + # Corresponds to the JSON property `match` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match] + attr_accessor :match + + # The collected session parameters. Depending on your protocol or client library + # language, this is a map, associative array, symbol table, dictionary, or JSON + # object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: + # string - MapKey value: parameter name - MapValue type: - If parameter's entity + # type is a composite entity: map - Else: string or number, depending on + # parameter value type - MapValue value: - If parameter's entity type is a + # composite entity: map from composite entity property names to property values - + # Else: parameter value + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + # The list of rich messages returned to the client. Responses vary from simple + # text messages to more sophisticated, structured payloads used to drive complex + # logic. + # Corresponds to the JSON property `responseMessages` + # @return [Array] + attr_accessor :response_messages + + # If natural language text was provided as input, this field will contain a copy + # of the text. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # If natural language speech audio was provided as input, this field will + # contain the trascript for the audio. + # Corresponds to the JSON property `transcript` + # @return [String] + attr_accessor :transcript + + # If an event was provided as input, this field will contain the name of the + # event. + # Corresponds to the JSON property `triggerEvent` + # @return [String] + attr_accessor :trigger_event + + # If an intent was provided as input, this field will contain a copy of the + # intent identifier. + # Corresponds to the JSON property `triggerIntent` + # @return [String] + attr_accessor :trigger_intent + + # The list of webhook payload in WebhookResponse.payload, in the order of call + # sequence. If some webhook call fails or doesn't return any payload, an empty ` + # Struct` would be used instead. + # Corresponds to the JSON property `webhookPayloads` + # @return [Array>] + attr_accessor :webhook_payloads + + # The list of webhook call status in the order of call sequence. + # Corresponds to the JSON property `webhookStatuses` + # @return [Array] + attr_accessor :webhook_statuses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current_page = args[:current_page] if args.key?(:current_page) + @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info) + @intent = args[:intent] if args.key?(:intent) + @intent_detection_confidence = args[:intent_detection_confidence] if args.key?(:intent_detection_confidence) + @language_code = args[:language_code] if args.key?(:language_code) + @match = args[:match] if args.key?(:match) + @parameters = args[:parameters] if args.key?(:parameters) + @response_messages = args[:response_messages] if args.key?(:response_messages) + @text = args[:text] if args.key?(:text) + @transcript = args[:transcript] if args.key?(:transcript) + @trigger_event = args[:trigger_event] if args.key?(:trigger_event) + @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent) + @webhook_payloads = args[:webhook_payloads] if args.key?(:webhook_payloads) + @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses) + end + end + # Represents a response message that can be returned by a conversational agent. # Response messages are also used for output audio synthesis. The approach is as # follows: * If at least one OutputAudioText response is present, then all @@ -468,6 +2545,76 @@ module Google end end + # The request message for Agents.RestoreAgent. + class GoogleCloudDialogflowCxV3beta1RestoreAgentRequest + include Google::Apis::Core::Hashable + + # Uncompressed raw byte content for agent. + # Corresponds to the JSON property `agentContent` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :agent_content + + # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to + # restore agent from. The format of this URI must be `gs:///`. + # Corresponds to the JSON property `agentUri` + # @return [String] + attr_accessor :agent_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent_content = args[:agent_content] if args.key?(:agent_content) + @agent_uri = args[:agent_uri] if args.key?(:agent_uri) + end + end + + # Session entity types are referred to as **User** entity types and are entities + # that are built for an individual user such as favorites, preferences, + # playlists, and so on. You can redefine a session entity type at the session + # level to extend or replace a custom entity type at the user session level (we + # refer to the entity types defined at the agent level as "custom entity types"). + # Note: session entity types apply to all queries, regardless of the language. + # For more information about entity types, see the [Dialogflow documentation]( + # https://cloud.google.com/dialogflow/docs/entities-overview). + class GoogleCloudDialogflowCxV3beta1SessionEntityType + include Google::Apis::Core::Hashable + + # Required. The collection of entities to override or supplement the custom + # entity type. + # Corresponds to the JSON property `entities` + # @return [Array] + attr_accessor :entities + + # Required. Indicates whether the additional data should override or supplement + # the custom entity type definition. + # Corresponds to the JSON property `entityOverrideMode` + # @return [String] + attr_accessor :entity_override_mode + + # Required. The unique identifier of the session entity type. Format: `projects// + # locations//agents//sessions//entityTypes/` or `projects//locations//agents// + # environments//sessions//entityTypes/`. If `Environment ID` is not specified, + # we assume default 'draft' environment. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entities = args[:entities] if args.key?(:entities) + @entity_override_mode = args[:entity_override_mode] if args.key?(:entity_override_mode) + @name = args[:name] if args.key?(:name) + end + end + # Represents session information communicated to and from the webhook. class GoogleCloudDialogflowCxV3beta1SessionInfo include Google::Apis::Core::Hashable @@ -499,6 +2646,395 @@ module Google end end + # Settings related to speech recognition. + class GoogleCloudDialogflowCxV3beta1SpeechToTextSettings + include Google::Apis::Core::Hashable + + # Whether to use speech adaptation for speech recognition. + # Corresponds to the JSON property `enableSpeechAdaptation` + # @return [Boolean] + attr_accessor :enable_speech_adaptation + alias_method :enable_speech_adaptation?, :enable_speech_adaptation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enable_speech_adaptation = args[:enable_speech_adaptation] if args.key?(:enable_speech_adaptation) + end + end + + # Configuration of how speech should be synthesized. + class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig + include Google::Apis::Core::Hashable + + # Optional. An identifier which selects 'audio effects' profiles that are + # applied on (post synthesized) text to speech. Effects are applied on top of + # each other in the order they are given. + # Corresponds to the JSON property `effectsProfileId` + # @return [Array] + attr_accessor :effects_profile_id + + # Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 + # semitones from the original pitch. -20 means decrease 20 semitones from the + # original pitch. + # Corresponds to the JSON property `pitch` + # @return [Float] + attr_accessor :pitch + + # Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal + # native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is + # half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other + # values < 0.25 or > 4.0 will return an error. + # Corresponds to the JSON property `speakingRate` + # @return [Float] + attr_accessor :speaking_rate + + # Description of which voice to use for speech synthesis. + # Corresponds to the JSON property `voice` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VoiceSelectionParams] + attr_accessor :voice + + # Optional. Volume gain (in dB) of the normal native volume supported by the + # specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of 0.0 + # (dB), will play at normal native signal amplitude. A value of -6.0 (dB) will + # play at approximately half the amplitude of the normal native signal amplitude. + # A value of +6.0 (dB) will play at approximately twice the amplitude of the + # normal native signal amplitude. We strongly recommend not to exceed +10 (dB) + # as there's usually no effective increase in loudness for any value greater + # than that. + # Corresponds to the JSON property `volumeGainDb` + # @return [Float] + attr_accessor :volume_gain_db + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id) + @pitch = args[:pitch] if args.key?(:pitch) + @speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate) + @voice = args[:voice] if args.key?(:voice) + @volume_gain_db = args[:volume_gain_db] if args.key?(:volume_gain_db) + end + end + + # Represents the natural language text to be processed. + class GoogleCloudDialogflowCxV3beta1TextInput + include Google::Apis::Core::Hashable + + # Required. The UTF-8 encoded natural language text to be processed. Text length + # must not exceed 256 characters. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + end + end + + # The request message for Flows.TrainFlow. + class GoogleCloudDialogflowCxV3beta1TrainFlowRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A transition route specifies a intent that can be matched and/or a data + # condition that can be evaluated during a session. When a specified transition + # is matched, the following actions are taken in order: * If there is a ` + # trigger_fulfillment` associated with the transition, it will be called. * If + # there is a `target_page` associated with the transition, the session will + # transition into the specified page. * If there is a `target_flow` associated + # with the transition, the session will transition into the specified flow. + class GoogleCloudDialogflowCxV3beta1TransitionRoute + include Google::Apis::Core::Hashable + + # The condition to evaluate against form parameters or session parameters. See + # the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/ + # reference/condition). At least one of `intent` or `condition` must be + # specified. When both `intent` and `condition` are specified, the transition + # can only happen when both are fulfilled. + # Corresponds to the JSON property `condition` + # @return [String] + attr_accessor :condition + + # The unique identifier of an Intent. Format: `projects//locations//agents// + # intents/`. Indicates that the transition can only happen when the given intent + # is matched. At least one of `intent` or `condition` must be specified. When + # both `intent` and `condition` are specified, the transition can only happen + # when both are fulfilled. + # Corresponds to the JSON property `intent` + # @return [String] + attr_accessor :intent + + # Output only. The unique identifier of this transition route. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The target flow to transition to. Format: `projects//locations//agents//flows/` + # . + # Corresponds to the JSON property `targetFlow` + # @return [String] + attr_accessor :target_flow + + # The target page to transition to. Format: `projects//locations//agents//flows// + # pages/`. + # Corresponds to the JSON property `targetPage` + # @return [String] + attr_accessor :target_page + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + # Corresponds to the JSON property `triggerFulfillment` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment] + attr_accessor :trigger_fulfillment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @intent = args[:intent] if args.key?(:intent) + @name = args[:name] if args.key?(:name) + @target_flow = args[:target_flow] if args.key?(:target_flow) + @target_page = args[:target_page] if args.key?(:target_page) + @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment) + end + end + + # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by + # a Page. + class GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + include Google::Apis::Core::Hashable + + # Required. The human-readable name of the transition route group, unique within + # the Agent. The display name can be no longer than 30 characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The unique identifier of the transition route group. TransitionRouteGroups. + # CreateTransitionRouteGroup populates the name automatically. Format: `projects/ + # /locations//agents//flows//transitionRouteGroups/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Transition routes associated with the TransitionRouteGroup. Duplicate + # transition routes (i.e. using the same `intent`) are not allowed. Note that + # the `name` field is not used in the transition route group scope. + # Corresponds to the JSON property `transitionRoutes` + # @return [Array] + attr_accessor :transition_routes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @transition_routes = args[:transition_routes] if args.key?(:transition_routes) + end + end + + # Represents a version of a flow. + class GoogleCloudDialogflowCxV3beta1Version + include Google::Apis::Core::Hashable + + # Output only. Create time of the version. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The description of the version. The maximum length is 500 characters. If + # exceeded, the request is rejected. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The human-readable name of the version. Limit of 64 characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Format: projects//locations//agents//flows//versions/. Version ID is a self- + # increasing number generated by Dialogflow upon version creation. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Settings related to NLU. + # Corresponds to the JSON property `nluSettings` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings] + attr_accessor :nlu_settings + + # Output only. The state of this version. This field is read-only and cannot be + # set by create and update methods. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings) + @state = args[:state] if args.key?(:state) + end + end + + # Description of which voice to use for speech synthesis. + class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams + include Google::Apis::Core::Hashable + + # Optional. The name of the voice. If not set, the service will choose a voice + # based on the other parameters such as language_code and ssml_gender. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optional. The preferred gender of the voice. If not set, the service will + # choose a voice based on the other parameters such as language_code and name. + # Note that this is only a preference, not requirement. If a voice of the + # appropriate gender is not available, the synthesizer should substitute a voice + # with a different gender rather than failing the request. + # Corresponds to the JSON property `ssmlGender` + # @return [String] + attr_accessor :ssml_gender + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender) + end + end + + # Webhooks host the developer's business logic. During a session, webhooks allow + # the developer to use the data extracted by Dialogflow's natural language + # processing to generate dynamic responses, validate collected data, or trigger + # actions on the backend. + class GoogleCloudDialogflowCxV3beta1Webhook + include Google::Apis::Core::Hashable + + # Indicates whether the webhook is disabled. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + # Required. The human-readable name of the webhook, unique within the agent. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Represents configuration for a generic web service. + # Corresponds to the JSON property `genericWebService` + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService] + attr_accessor :generic_web_service + + # The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook + # method. Webhooks.CreateWebhook populates the name automatically. Format: ` + # projects//locations//agents//webhooks/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Webhook execution timeout. Execution is considered failed if Dialogflow doesn' + # t receive a response from webhook at the end of the timeout period. Defaults + # to 5 seconds, maximum allowed timeout is 30 seconds. + # Corresponds to the JSON property `timeout` + # @return [String] + attr_accessor :timeout + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disabled = args[:disabled] if args.key?(:disabled) + @display_name = args[:display_name] if args.key?(:display_name) + @generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service) + @name = args[:name] if args.key?(:name) + @timeout = args[:timeout] if args.key?(:timeout) + end + end + + # Represents configuration for a generic web service. + class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService + include Google::Apis::Core::Hashable + + # The password for HTTP Basic authentication. + # Corresponds to the JSON property `password` + # @return [String] + attr_accessor :password + + # The HTTP request headers to send together with webhook requests. + # Corresponds to the JSON property `requestHeaders` + # @return [Hash] + attr_accessor :request_headers + + # Required. The webhook URI for receiving POST requests. It must use https + # protocol. + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + # The user name for HTTP Basic authentication. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @password = args[:password] if args.key?(:password) + @request_headers = args[:request_headers] if args.key?(:request_headers) + @uri = args[:uri] if args.key?(:uri) + @username = args[:username] if args.key?(:username) + end + end + # The request message for a webhook call. class GoogleCloudDialogflowCxV3beta1WebhookRequest include Google::Apis::Core::Hashable @@ -5453,6 +7989,25 @@ module Google end end + # The response message for Agents.ImportAgent. + class GoogleCloudDialogflowV3alpha1ImportAgentResponse + include Google::Apis::Core::Hashable + + # The unique identifier of the new agent. Format: `projects//locations//agents/`. + # Corresponds to the JSON property `agent` + # @return [String] + attr_accessor :agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent = args[:agent] if args.key?(:agent) + end + end + # The response message for Operations.ListOperations. class GoogleLongrunningListOperationsResponse include Google::Apis::Core::Hashable @@ -5595,6 +8150,34 @@ module Google @message = args[:message] if args.key?(:message) end end + + # An object representing a latitude/longitude pair. This is expressed as a pair + # of doubles representing degrees latitude and degrees longitude. Unless + # specified otherwise, this must conform to the WGS84 standard. Values must be + # within normalized ranges. + class GoogleTypeLatLng + include Google::Apis::Core::Hashable + + # The latitude in degrees. It must be in the range [-90.0, +90.0]. + # Corresponds to the JSON property `latitude` + # @return [Float] + attr_accessor :latitude + + # The longitude in degrees. It must be in the range [-180.0, +180.0]. + # Corresponds to the JSON property `longitude` + # @return [Float] + attr_accessor :longitude + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @latitude = args[:latitude] if args.key?(:latitude) + @longitude = args[:longitude] if args.key?(:longitude) + end + end end end end diff --git a/generated/google/apis/dialogflow_v3beta1/representations.rb b/generated/google/apis/dialogflow_v3beta1/representations.rb index 4b78dda69..d4d18b7c0 100644 --- a/generated/google/apis/dialogflow_v3beta1/representations.rb +++ b/generated/google/apis/dialogflow_v3beta1/representations.rb @@ -22,18 +22,300 @@ module Google module Apis module DialogflowV3beta1 + class GoogleCloudDialogflowCxV3beta1Agent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1AudioInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1DetectIntentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1DetectIntentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1EntityType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1EntityTypeEntity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Environment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1EventHandler + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ExportAgentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1ExportAgentResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1Flow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Form + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FormParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillIntentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillIntentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Fulfillment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ImportAgentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1InputAudioConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Intent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1IntentInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1IntentParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListAgentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListFlowsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListIntentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListPagesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListVersionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ListWebhooksResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1LoadVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Match + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1MatchIntentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1MatchIntentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1NluSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1OutputAudioConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Page + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -52,6 +334,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1QueryInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1QueryParameters + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1QueryResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1ResponseMessage class Representation < Google::Apis::Core::JsonRepresentation; end @@ -106,12 +406,84 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1RestoreAgentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1SessionEntityType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1SessionInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1SpeechToTextSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TextInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TrainFlowRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TransitionRoute + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Version + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Webhook + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1WebhookRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -868,6 +1240,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV3alpha1ImportAgentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleLongrunningListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -892,6 +1270,38 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleTypeLatLng + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Agent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :avatar_uri, as: 'avatarUri' + property :default_language_code, as: 'defaultLanguageCode' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :enable_spell_correction, as: 'enableSpellCorrection' + property :enable_stackdriver_logging, as: 'enableStackdriverLogging' + property :name, as: 'name' + property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings::Representation + + property :start_flow, as: 'startFlow' + property :time_zone, as: 'timeZone' + end + end + + class GoogleCloudDialogflowCxV3beta1AudioInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, :base64 => true, as: 'audio' + property :config, as: 'config', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InputAudioConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InputAudioConfig::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -899,6 +1309,98 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1DetectIntentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig::Representation + + property :query_input, as: 'queryInput', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput::Representation + + property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1DetectIntentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_audio, :base64 => true, as: 'outputAudio' + property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig::Representation + + property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult::Representation + + property :response_id, as: 'responseId' + end + end + + class GoogleCloudDialogflowCxV3beta1EntityType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_expansion_mode, as: 'autoExpansionMode' + property :display_name, as: 'displayName' + property :enable_fuzzy_extraction, as: 'enableFuzzyExtraction' + collection :entities, as: 'entities', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityTypeEntity::Representation + + collection :excluded_phrases, as: 'excludedPhrases', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase::Representation + + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class GoogleCloudDialogflowCxV3beta1EntityTypeEntity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :synonyms, as: 'synonyms' + property :value, as: 'value' + end + end + + class GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + end + end + + class GoogleCloudDialogflowCxV3beta1Environment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + property :name, as: 'name' + property :update_time, as: 'updateTime' + collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + end + end + + class GoogleCloudDialogflowCxV3beta1EventHandler + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event, as: 'event' + property :name, as: 'name' + property :target_flow, as: 'targetFlow' + property :target_page, as: 'targetPage' + property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ExportAgentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent_uri, as: 'agentUri' + end + end + class GoogleCloudDialogflowCxV3beta1ExportAgentResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -907,6 +1409,371 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1Flow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler::Representation + + property :name, as: 'name' + property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings::Representation + + collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1Form + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :parameters, as: 'parameters', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameter, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameter::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1FormParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_value, as: 'defaultValue' + property :display_name, as: 'displayName' + property :entity_type, as: 'entityType' + property :fill_behavior, as: 'fillBehavior', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior::Representation + + property :is_list, as: 'isList' + property :required, as: 'required' + end + end + + class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :initial_prompt_fulfillment, as: 'initialPromptFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + collection :reprompt_event_handlers, as: 'repromptEventHandlers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillIntentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :match, as: 'match', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match::Representation + + property :match_intent_request, as: 'matchIntentRequest', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest::Representation + + property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillIntentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_audio, :base64 => true, as: 'outputAudio' + property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig::Representation + + property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult::Representation + + property :response_id, as: 'responseId' + end + end + + class GoogleCloudDialogflowCxV3beta1Fulfillment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation + + collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation + + collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation + + property :tag, as: 'tag' + property :webhook, as: 'webhook' + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cases, as: 'cases', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :case_content, as: 'caseContent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent::Representation + + property :condition, as: 'condition' + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :additional_cases, as: 'additionalCases', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation + + property :message, as: 'message', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :parameter, as: 'parameter' + property :value, as: 'value' + end + end + + class GoogleCloudDialogflowCxV3beta1ImportAgentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent, as: 'agent' + end + end + + class GoogleCloudDialogflowCxV3beta1InputAudioConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio_encoding, as: 'audioEncoding' + property :enable_word_info, as: 'enableWordInfo' + property :model, as: 'model' + property :model_variant, as: 'modelVariant' + collection :phrase_hints, as: 'phraseHints' + property :sample_rate_hertz, as: 'sampleRateHertz' + property :single_utterance, as: 'singleUtterance' + end + end + + class GoogleCloudDialogflowCxV3beta1Intent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :is_fallback, as: 'isFallback' + property :name, as: 'name' + collection :parameters, as: 'parameters', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentParameter, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentParameter::Representation + + property :priority, as: 'priority' + collection :training_phrases, as: 'trainingPhrases', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1IntentInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :intent, as: 'intent' + end + end + + class GoogleCloudDialogflowCxV3beta1IntentParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_type, as: 'entityType' + property :id, as: 'id' + property :is_list, as: 'isList' + end + end + + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :parts, as: 'parts', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart::Representation + + property :repeat_count, as: 'repeatCount' + end + end + + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :parameter_id, as: 'parameterId' + property :text, as: 'text' + end + end + + class GoogleCloudDialogflowCxV3beta1ListAgentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :agents, as: 'agents', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entity_types, as: 'entityTypes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :environments, as: 'environments', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDialogflowCxV3beta1ListFlowsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :flows, as: 'flows', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDialogflowCxV3beta1ListIntentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :intents, as: 'intents', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDialogflowCxV3beta1ListPagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :pages, as: 'pages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :transition_route_groups, as: 'transitionRouteGroups', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ListVersionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :versions, as: 'versions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ListWebhooksResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :webhooks, as: 'webhooks', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1LoadVersionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allow_override_agent_resources, as: 'allowOverrideAgentResources' + end + end + + class GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :environments, as: 'environments', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class GoogleCloudDialogflowCxV3beta1Match + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + property :intent, as: 'intent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation + + property :match_type, as: 'matchType' + hash :parameters, as: 'parameters' + property :resolved_input, as: 'resolvedInput' + end + end + + class GoogleCloudDialogflowCxV3beta1MatchIntentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :query_input, as: 'queryInput', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput::Representation + + property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryParameters::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1MatchIntentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation + + collection :matches, as: 'matches', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match::Representation + + property :text, as: 'text' + property :transcript, as: 'transcript' + property :trigger_intent, as: 'triggerIntent' + end + end + + class GoogleCloudDialogflowCxV3beta1NluSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :classification_threshold, as: 'classificationThreshold' + property :enable_spell_correction, as: 'enableSpellCorrection' + property :model_training_mode, as: 'modelTrainingMode' + property :model_type, as: 'modelType' + end + end + + class GoogleCloudDialogflowCxV3beta1OutputAudioConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio_encoding, as: 'audioEncoding' + property :sample_rate_hertz, as: 'sampleRateHertz' + property :synthesize_speech_config, as: 'synthesizeSpeechConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1Page + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EventHandler::Representation + + property :form, as: 'form', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Form, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Form::Representation + + property :name, as: 'name' + collection :transition_route_groups, as: 'transitionRouteGroups' + collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -935,6 +1802,57 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1QueryInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, as: 'audio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AudioInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AudioInput::Representation + + property :intent, as: 'intent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentInput::Representation + + property :language_code, as: 'languageCode' + property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TextInput::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1QueryParameters + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng::Representation + + hash :parameters, as: 'parameters' + hash :payload, as: 'payload' + collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + + property :time_zone, as: 'timeZone' + end + end + + class GoogleCloudDialogflowCxV3beta1QueryResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation + + hash :diagnostic_info, as: 'diagnosticInfo' + property :intent, as: 'intent', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation + + property :intent_detection_confidence, as: 'intentDetectionConfidence' + property :language_code, as: 'languageCode' + property :match, as: 'match', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match::Representation + + hash :parameters, as: 'parameters' + collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation + + property :text, as: 'text' + property :transcript, as: 'transcript' + property :trigger_event, as: 'triggerEvent' + property :trigger_intent, as: 'triggerIntent' + collection :webhook_payloads, as: 'webhookPayloads' + collection :webhook_statuses, as: 'webhookStatuses', class: Google::Apis::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::GoogleRpcStatus::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1ResponseMessage # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1017,6 +1935,24 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1RestoreAgentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent_content, :base64 => true, as: 'agentContent' + property :agent_uri, as: 'agentUri' + end + end + + class GoogleCloudDialogflowCxV3beta1SessionEntityType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entities, as: 'entities', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityTypeEntity::Representation + + property :entity_override_mode, as: 'entityOverrideMode' + property :name, as: 'name' + end + end + class GoogleCloudDialogflowCxV3beta1SessionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1025,6 +1961,104 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1SpeechToTextSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enable_speech_adaptation, as: 'enableSpeechAdaptation' + end + end + + class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :effects_profile_id, as: 'effectsProfileId' + property :pitch, as: 'pitch' + property :speaking_rate, as: 'speakingRate' + property :voice, as: 'voice', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VoiceSelectionParams, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VoiceSelectionParams::Representation + + property :volume_gain_db, as: 'volumeGainDb' + end + end + + class GoogleCloudDialogflowCxV3beta1TextInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + end + end + + class GoogleCloudDialogflowCxV3beta1TrainFlowRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDialogflowCxV3beta1TransitionRoute + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition' + property :intent, as: 'intent' + property :name, as: 'name' + property :target_flow, as: 'targetFlow' + property :target_page, as: 'targetPage' + property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :name, as: 'name' + collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1Version + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :name, as: 'name' + property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings::Representation + + property :state, as: 'state' + end + end + + class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :ssml_gender, as: 'ssmlGender' + end + end + + class GoogleCloudDialogflowCxV3beta1Webhook + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disabled, as: 'disabled' + property :display_name, as: 'displayName' + property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation + + property :name, as: 'name' + property :timeout, as: 'timeout' + end + end + + class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :password, as: 'password' + hash :request_headers, as: 'requestHeaders' + property :uri, as: 'uri' + property :username, as: 'username' + end + end + class GoogleCloudDialogflowCxV3beta1WebhookRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2370,6 +3404,13 @@ module Google end end + class GoogleCloudDialogflowV3alpha1ImportAgentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent, as: 'agent' + end + end + class GoogleLongrunningListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2405,6 +3446,14 @@ module Google property :message, as: 'message' end end + + class GoogleTypeLatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end end end end diff --git a/generated/google/apis/dialogflow_v3beta1/service.rb b/generated/google/apis/dialogflow_v3beta1/service.rb index 710aae425..86ce20e61 100644 --- a/generated/google/apis/dialogflow_v3beta1/service.rb +++ b/generated/google/apis/dialogflow_v3beta1/service.rb @@ -48,6 +48,2530 @@ module Google @batch_path = 'batch' end + # Creates an agent in the specified location. + # @param [String] parent + # Required. The location to create a agent for. Format: `projects//locations/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] google_cloud_dialogflow_cx_v3beta1_agent_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent(parent, google_cloud_dialogflow_cx_v3beta1_agent_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/agents', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_agent_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified agent. + # @param [String] name + # Required. The name of the agent to delete. Format: `projects//locations// + # agents/`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Exports the specified agent to a ZIP file. + # @param [String] name + # Required. The name of the agent to export. Format: `projects//locations// + # agents/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportAgentRequest] google_cloud_dialogflow_cx_v3beta1_export_agent_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def export_project_location_agent(name, google_cloud_dialogflow_cx_v3beta1_export_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+name}:export', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportAgentRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_export_agent_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified agent. + # @param [String] name + # Required. The name of the agent. Format: `projects//locations//agents/`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all agents in the specified location. + # @param [String] parent + # Required. The location to list all agents for. Format: `projects//locations/`. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListAgentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListAgentsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/agents', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListAgentsResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListAgentsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified agent. + # @param [String] name + # The unique identifier of the agent. Required for the Agents.UpdateAgent method. + # Agents.CreateAgent populates the name automatically. Format: `projects// + # locations//agents/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] google_cloud_dialogflow_cx_v3beta1_agent_object + # @param [String] update_mask + # The mask to control which fields get updated. If the mask is not present, all + # fields will be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent(name, google_cloud_dialogflow_cx_v3beta1_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_agent_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Restores the specified agent from a ZIP file. Note that all existing intents, + # intent routes, entity types, pages and webhooks in the agent will be deleted. + # @param [String] name + # Required. The name of the agent to restore into. Format: `projects//locations// + # agents/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreAgentRequest] google_cloud_dialogflow_cx_v3beta1_restore_agent_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def restore_project_location_agent(name, google_cloud_dialogflow_cx_v3beta1_restore_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+name}:restore', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreAgentRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_restore_agent_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an entity type in the specified agent. + # @param [String] parent + # Required. The agent to create a entity type for. Format: `projects//locations// + # agents/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] google_cloud_dialogflow_cx_v3beta1_entity_type_object + # @param [String] language_code + # The language of the following fields in `entity_type`: * `EntityType.entities. + # value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` + # If not specified, the agent's default language is used. [Many languages](https: + # //cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + # languages must be enabled in the agent before they can be used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_entity_type(parent, google_cloud_dialogflow_cx_v3beta1_entity_type_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/entityTypes', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_entity_type_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified entity type. + # @param [String] name + # Required. The name of the entity type to delete. Format: `projects//locations// + # agents//entityTypes/`. + # @param [Boolean] force + # This field has no effect for entity type not being used. For entity types that + # are used by intents or pages: * If `force` is set to false, an error will be + # returned with message indicating the referencing resources. * If `force` is + # set to true, Dialogflow will remove the entity type, as well as any references + # to the entity type (i.e. Page parameter of the entity type will be changed to ' + # @sys.any' and intent parameter of the entity type will be removed). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_entity_type(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['force'] = force unless force.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified entity type. + # @param [String] name + # Required. The name of the entity type. Format: `projects//locations//agents// + # entityTypes/`. + # @param [String] language_code + # The language to retrieve the entity type for. The following fields are + # language dependent: * `EntityType.entities.value` * `EntityType.entities. + # synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's + # default language is used. [Many languages](https://cloud.google.com/dialogflow/ + # docs/reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_entity_type(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all entity types in the specified agent. + # @param [String] parent + # Required. The agent to list all entity types for. Format: `projects//locations/ + # /agents/`. + # @param [String] language_code + # The language to list entity types for. The following fields are language + # dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * ` + # EntityType.excluded_phrases.value` If not specified, the agent's default + # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/ + # reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_entity_types(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/entityTypes', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified entity type. + # @param [String] name + # The unique identifier of the entity type. Required for EntityTypes. + # UpdateEntityType. Format: `projects//locations//agents//entityTypes/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] google_cloud_dialogflow_cx_v3beta1_entity_type_object + # @param [String] language_code + # The language of the following fields in `entity_type`: * `EntityType.entities. + # value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` + # If not specified, the agent's default language is used. [Many languages](https: + # //cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + # languages must be enabled in the agent before they can be used. + # @param [String] update_mask + # The mask to control which fields get updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_entity_type(name, google_cloud_dialogflow_cx_v3beta1_entity_type_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_entity_type_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityType + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an Environment in the specified Agent. + # @param [String] parent + # Required. The Agent to create an Environment for. Format: `projects//locations/ + # /agents/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment] google_cloud_dialogflow_cx_v3beta1_environment_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_environment(parent, google_cloud_dialogflow_cx_v3beta1_environment_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/environments', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_environment_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified Environment. + # @param [String] name + # Required. The name of the Environment to delete. Format: `projects//locations// + # agents//environments/`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_environment(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified Environment. + # @param [String] name + # Required. The name of the Environment. Format: `projects//locations//agents// + # environments/`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_environment(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all environments in the specified Agent. + # @param [String] parent + # Required. The Agent to list all environments for. Format: `projects//locations/ + # /agents/`. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 20 and at + # most 100. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_environments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/environments', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Looks up the history of the specified Environment. + # @param [String] name + # Required. Resource name of the environment to look up the history for. Format: + # `projects//locations//agents//environments/`. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def lookup_project_location_agent_environment_environment_history(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}:lookupEnvironmentHistory', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse + command.params['name'] = name unless name.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified Environment. + # @param [String] name + # The name of the environment. Format: `projects//locations//agents// + # environments/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment] google_cloud_dialogflow_cx_v3beta1_environment_object + # @param [String] update_mask + # Required. The mask to control which fields get updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_environment(name, google_cloud_dialogflow_cx_v3beta1_environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_environment_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Processes a natural language query and returns structured, actionable data as + # a result. This method is not idempotent, because it may cause session entity + # types to be updated, which in turn might affect results of future queries. + # @param [String] session + # Required. The name of the session this query is sent to. Format: `projects// + # locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. It's up to the API caller to choose an appropriate `Session ID`. + # It can be a random number or some type of session identifiers (preferably + # hashed). The length of the `Session ID` must not exceed 36 characters. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest] google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def detect_project_location_agent_environment_session_intent(session, google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+session}:detectIntent', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Fulfills a matched intent returned by MatchIntent. Must be called after + # MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is + # undefined. + # @param [String] session + # Required. The name of the session this query is sent to. Format: `projects// + # locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. It's up to the API caller to choose an appropriate `Session ID`. + # It can be a random number or some type of session identifiers (preferably + # hashed). The length of the `Session ID` must not exceed 36 characters. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest] google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def fulfill_project_location_agent_environment_session_intent(session, google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+session}:fulfillIntent', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns preliminary intent match results, doesn't change the session status. + # @param [String] session + # Required. The name of the session this query is sent to. Format: `projects// + # locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. It's up to the API caller to choose an appropriate `Session ID`. + # It can be a random number or some type of session identifiers (preferably + # hashed). The length of the `Session ID` must not exceed 36 characters. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest] google_cloud_dialogflow_cx_v3beta1_match_intent_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def match_project_location_agent_environment_session_intent(session, google_cloud_dialogflow_cx_v3beta1_match_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+session}:matchIntent', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_match_intent_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a session entity type. If the specified session entity type already + # exists, overrides the session entity type. + # @param [String] parent + # Required. The session to create a session entity type for. Format: `projects// + # locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] google_cloud_dialogflow_cx_v3beta1_session_entity_type_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_environment_session_entity_type(parent, google_cloud_dialogflow_cx_v3beta1_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/entityTypes', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_session_entity_type_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified session entity type. + # @param [String] name + # Required. The name of the session entity type to delete. Format: `projects// + # locations//agents//sessions//entityTypes/` or `projects//locations//agents// + # environments//sessions//entityTypes/`. If `Environment ID` is not specified, + # we assume default 'draft' environment. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_environment_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified session entity type. + # @param [String] name + # Required. The name of the session entity type. Format: `projects//locations// + # agents//sessions//entityTypes/` or `projects//locations//agents//environments// + # sessions//entityTypes/`. If `Environment ID` is not specified, we assume + # default 'draft' environment. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_environment_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all session entity types in the specified session. + # @param [String] parent + # Required. The session to list all session entity types from. Format: `projects/ + # /locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_environment_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/entityTypes', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified session entity type. + # @param [String] name + # Required. The unique identifier of the session entity type. Format: `projects// + # locations//agents//sessions//entityTypes/` or `projects//locations//agents// + # environments//sessions//entityTypes/`. If `Environment ID` is not specified, + # we assume default 'draft' environment. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] google_cloud_dialogflow_cx_v3beta1_session_entity_type_object + # @param [String] update_mask + # The mask to control which fields get updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_environment_session_entity_type(name, google_cloud_dialogflow_cx_v3beta1_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_session_entity_type_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a flow in the specified agent. + # @param [String] parent + # Required. The agent to create a flow for. Format: `projects//locations//agents/ + # `. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] google_cloud_dialogflow_cx_v3beta1_flow_object + # @param [String] language_code + # The language of the following fields in `flow`: * `Flow.event_handlers. + # trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment. + # messages` If not specified, the agent's default language is used. [Many + # languages](https://cloud.google.com/dialogflow/docs/reference/language) are + # supported. Note: languages must be enabled in the agent before they can be + # used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_flow(parent, google_cloud_dialogflow_cx_v3beta1_flow_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/flows', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_flow_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a specified flow. + # @param [String] name + # Required. The name of the flow to delete. Format: `projects//locations//agents/ + # /flows/`. + # @param [Boolean] force + # This field has no effect for flows with no incoming transitions. For flows + # with incoming transitions: * If `force` is set to false, an error will be + # returned with message indicating the incoming transitions. * If `force` is set + # to true, Dialogflow will remove the flow, as well as any transitions to the + # flow (i.e. Target flow in event handlers or Target flow in transition routes + # that point to this flow will be cleared). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_flow(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['force'] = force unless force.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified flow. + # @param [String] name + # Required. The name of the flow to get. Format: `projects//locations//agents// + # flows/`. + # @param [String] language_code + # The language to retrieve the flow for. The following fields are language + # dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow. + # transition_routes.trigger_fulfillment.messages` If not specified, the agent's + # default language is used. [Many languages](https://cloud.google.com/dialogflow/ + # docs/reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_flow(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all flows in the specified agent. + # @param [String] parent + # Required. The agent containing the flows. Format: `projects//locations//agents/ + # `. + # @param [String] language_code + # The language to list flows for. The following fields are language dependent: * + # `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes. + # trigger_fulfillment.messages` If not specified, the agent's default language + # is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/ + # language) are supported. Note: languages must be enabled in the agent before + # they can be used. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListFlowsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListFlowsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_flows(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/flows', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListFlowsResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListFlowsResponse + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified flow. + # @param [String] name + # The unique identifier of the flow. Format: `projects//locations//agents//flows/ + # `. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] google_cloud_dialogflow_cx_v3beta1_flow_object + # @param [String] language_code + # The language of the following fields in `flow`: * `Flow.event_handlers. + # trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment. + # messages` If not specified, the agent's default language is used. [Many + # languages](https://cloud.google.com/dialogflow/docs/reference/language) are + # supported. Note: languages must be enabled in the agent before they can be + # used. + # @param [String] update_mask + # Required. The mask to control which fields get updated. If `update_mask` is + # not specified, an error will be returned. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_flow(name, google_cloud_dialogflow_cx_v3beta1_flow_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_flow_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Flow + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Trains the specified flow. Note that only the flow in 'draft' environment is + # trained. + # @param [String] name + # Required. The flow to train. Format: `projects//locations//agents//flows/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TrainFlowRequest] google_cloud_dialogflow_cx_v3beta1_train_flow_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def train_project_location_agent_flow(name, google_cloud_dialogflow_cx_v3beta1_train_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+name}:train', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TrainFlowRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_train_flow_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a page in the specified flow. + # @param [String] parent + # Required. The flow to create a page for. Format: `projects//locations//agents// + # flows/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] google_cloud_dialogflow_cx_v3beta1_page_object + # @param [String] language_code + # The language of the following fields in `page`: * `Page.entry_fulfillment. + # messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment. + # messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers. + # messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page. + # transition_route_groups.transition_routes.trigger_fulfillment.messages` If not + # specified, the agent's default language is used. [Many languages](https:// + # cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + # languages must be enabled in the agent before they can be used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_flow_page(parent, google_cloud_dialogflow_cx_v3beta1_page_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/pages', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_page_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified page. + # @param [String] name + # Required. The name of the page to delete. Format: `projects//locations//agents/ + # /Flows//pages/`. + # @param [Boolean] force + # This field has no effect for pages with no incoming transitions. For pages + # with incoming transitions: * If `force` is set to false, an error will be + # returned with message indicating the incoming transitions. * If `force` is set + # to true, Dialogflow will remove the page, as well as any transitions to the + # page (i.e. Target page in event handlers or Target page in transition routes + # that point to this page will be cleared). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_flow_page(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['force'] = force unless force.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified page. + # @param [String] name + # Required. The name of the page. Format: `projects//locations//agents//flows// + # pages/`. + # @param [String] language_code + # The language to retrieve the page for. The following fields are language + # dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters. + # fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters. + # fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes. + # trigger_fulfillment.messages` * `Page.transition_route_groups. + # transition_routes.trigger_fulfillment.messages` If not specified, the agent's + # default language is used. [Many languages](https://cloud.google.com/dialogflow/ + # docs/reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_flow_page(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all pages in the specified flow. + # @param [String] parent + # Required. The flow to list all pages for. Format: `projects//locations//agents/ + # /flows/`. + # @param [String] language_code + # The language to list pages for. The following fields are language dependent: * + # `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior. + # initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior. + # reprompt_event_handlers.messages` * `Page.transition_routes. + # trigger_fulfillment.messages` * `Page.transition_route_groups. + # transition_routes.trigger_fulfillment.messages` If not specified, the agent's + # default language is used. [Many languages](https://cloud.google.com/dialogflow/ + # docs/reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListPagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListPagesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_flow_pages(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/pages', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListPagesResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListPagesResponse + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified page. + # @param [String] name + # The unique identifier of the page. Required for the Pages.UpdatePage method. + # Pages.CreatePage populates the name automatically. Format: `projects// + # locations//agents//flows//pages/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] google_cloud_dialogflow_cx_v3beta1_page_object + # @param [String] language_code + # The language of the following fields in `page`: * `Page.entry_fulfillment. + # messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment. + # messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers. + # messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page. + # transition_route_groups.transition_routes.trigger_fulfillment.messages` If not + # specified, the agent's default language is used. [Many languages](https:// + # cloud.google.com/dialogflow/docs/reference/language) are supported. Note: + # languages must be enabled in the agent before they can be used. + # @param [String] update_mask + # The mask to control which fields get updated. If the mask is not present, all + # fields will be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_flow_page(name, google_cloud_dialogflow_cx_v3beta1_page_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_page_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an TransitionRouteGroup in the specified flow. + # @param [String] parent + # Required. The flow to create an TransitionRouteGroup for. Format: `projects// + # locations//agents//flows/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object + # @param [String] language_code + # The language to list transition route groups for. The field `messages` in + # TransitionRoute is language dependent. If not specified, the agent's default + # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/ + # reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_flow_transition_route_group(parent, google_cloud_dialogflow_cx_v3beta1_transition_route_group_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/transitionRouteGroups', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_transition_route_group_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified TransitionRouteGroup. + # @param [String] name + # Required. The name of the TransitionRouteGroup to delete. Format: `projects// + # locations//agents//flows//transitionRouteGroups/`. + # @param [Boolean] force + # This field has no effect for transition route group that no page is using. If + # the transition route group is referenced by any page: * If `force` is set to + # false, an error will be returned with message indicating pages that reference + # the transition route group. * If `force` is set to true, Dialogflow will + # remove the transition route group, as well as any reference to it. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_flow_transition_route_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['force'] = force unless force.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified TransitionRouteGroup. + # @param [String] name + # Required. The name of the TransitionRouteGroup. Format: `projects//locations// + # agents//flows//transitionRouteGroups/`. + # @param [String] language_code + # The language to list transition route groups for. The field `messages` in + # TransitionRoute is language dependent. If not specified, the agent's default + # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/ + # reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_flow_transition_route_group(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all transition route groups in the specified flow. + # @param [String] parent + # Required. The flow to list all transition route groups for. Format: `projects// + # locations//agents//flows/`. + # @param [String] language_code + # The language to list transition route groups for. The field `messages` in + # TransitionRoute is language dependent. If not specified, the agent's default + # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/ + # reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_flow_transition_route_groups(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/transitionRouteGroups', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified TransitionRouteGroup. + # @param [String] name + # The unique identifier of the transition route group. TransitionRouteGroups. + # CreateTransitionRouteGroup populates the name automatically. Format: `projects/ + # /locations//agents//flows//transitionRouteGroups/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] google_cloud_dialogflow_cx_v3beta1_transition_route_group_object + # @param [String] language_code + # The language to list transition route groups for. The field `messages` in + # TransitionRoute is language dependent. If not specified, the agent's default + # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/ + # reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [String] update_mask + # The mask to control which fields get updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_flow_transition_route_group(name, google_cloud_dialogflow_cx_v3beta1_transition_route_group_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_transition_route_group_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a Version in the specified Flow. + # @param [String] parent + # Required. The Flow to create an Version for. Format: `projects//locations// + # agents//flows/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] google_cloud_dialogflow_cx_v3beta1_version_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_flow_version(parent, google_cloud_dialogflow_cx_v3beta1_version_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/versions', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_version_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified Version. + # @param [String] name + # Required. The name of the Version to delete. Format: `projects//locations// + # agents//flows//versions/`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_flow_version(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified Version. + # @param [String] name + # Required. The name of the Version. Format: `projects//locations//agents//flows/ + # /versions/`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_flow_version(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all versions in the specified Flow. + # @param [String] parent + # Required. The Flow to list all versions for. Format: `projects//locations// + # agents//flows/`. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 20 and at + # most 100. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListVersionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListVersionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_flow_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/versions', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListVersionsResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListVersionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Loads a specified version to draft version. + # @param [String] name + # Required. The Version to be loaded to draft version. Format: `projects// + # locations//agents//flows//versions/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LoadVersionRequest] google_cloud_dialogflow_cx_v3beta1_load_version_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def load_project_location_agent_flow_version(name, google_cloud_dialogflow_cx_v3beta1_load_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+name}:load', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LoadVersionRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_load_version_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified Version. + # @param [String] name + # Format: projects//locations//agents//flows//versions/. Version ID is a self- + # increasing number generated by Dialogflow upon version creation. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] google_cloud_dialogflow_cx_v3beta1_version_object + # @param [String] update_mask + # Required. The mask to control which fields get updated. Currently only ` + # description` and `display_name` can be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_flow_version(name, google_cloud_dialogflow_cx_v3beta1_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_version_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Version + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates an intent in the specified agent. + # @param [String] parent + # Required. The agent to create an intent for. Format: `projects//locations// + # agents/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] google_cloud_dialogflow_cx_v3beta1_intent_object + # @param [String] language_code + # The language of the following fields in `intent`: * `Intent.training_phrases. + # parts.text` If not specified, the agent's default language is used. [Many + # languages](https://cloud.google.com/dialogflow/docs/reference/language) are + # supported. Note: languages must be enabled in the agent before they can be + # used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_intent(parent, google_cloud_dialogflow_cx_v3beta1_intent_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/intents', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_intent_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent + command.params['parent'] = parent unless parent.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified intent. + # @param [String] name + # Required. The name of the intent to delete. Format: `projects//locations// + # agents//intents/`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_intent(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified intent. + # @param [String] name + # Required. The name of the intent. Format: `projects//locations//agents// + # intents/`. + # @param [String] language_code + # The language to retrieve the intent for. The following fields are language + # dependent: * `Intent.training_phrases.parts.text` If not specified, the agent' + # s default language is used. [Many languages](https://cloud.google.com/ + # dialogflow/docs/reference/language) are supported. Note: languages must be + # enabled in the agent before they can be used. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_intent(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all intents in the specified agent. + # @param [String] parent + # Required. The agent to list all intents for. Format: `projects//locations// + # agents/`. + # @param [String] intent_view + # The resource view to apply to the returned intent. + # @param [String] language_code + # The language to list intents for. The following fields are language dependent: + # * `Intent.training_phrases.parts.text` If not specified, the agent's default + # language is used. [Many languages](https://cloud.google.com/dialogflow/docs/ + # reference/language) are supported. Note: languages must be enabled in the + # agent before they can be used. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListIntentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListIntentsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/intents', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListIntentsResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListIntentsResponse + command.params['parent'] = parent unless parent.nil? + command.query['intentView'] = intent_view unless intent_view.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified intent. + # @param [String] name + # The unique identifier of the intent. Required for the Intents.UpdateIntent + # method. Intents.CreateIntent populates the name automatically. Format: ` + # projects//locations//agents//intents/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] google_cloud_dialogflow_cx_v3beta1_intent_object + # @param [String] language_code + # The language of the following fields in `intent`: * `Intent.training_phrases. + # parts.text` If not specified, the agent's default language is used. [Many + # languages](https://cloud.google.com/dialogflow/docs/reference/language) are + # supported. Note: languages must be enabled in the agent before they can be + # used. + # @param [String] update_mask + # The mask to control which fields get updated. If the mask is not present, all + # fields will be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_intent(name, google_cloud_dialogflow_cx_v3beta1_intent_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_intent_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent + command.params['name'] = name unless name.nil? + command.query['languageCode'] = language_code unless language_code.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Processes a natural language query and returns structured, actionable data as + # a result. This method is not idempotent, because it may cause session entity + # types to be updated, which in turn might affect results of future queries. + # @param [String] session + # Required. The name of the session this query is sent to. Format: `projects// + # locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. It's up to the API caller to choose an appropriate `Session ID`. + # It can be a random number or some type of session identifiers (preferably + # hashed). The length of the `Session ID` must not exceed 36 characters. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest] google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def detect_project_location_agent_session_intent(session, google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+session}:detectIntent', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Fulfills a matched intent returned by MatchIntent. Must be called after + # MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is + # undefined. + # @param [String] session + # Required. The name of the session this query is sent to. Format: `projects// + # locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. It's up to the API caller to choose an appropriate `Session ID`. + # It can be a random number or some type of session identifiers (preferably + # hashed). The length of the `Session ID` must not exceed 36 characters. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest] google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def fulfill_project_location_agent_session_intent(session, google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+session}:fulfillIntent', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_fulfill_intent_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillIntentResponse + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns preliminary intent match results, doesn't change the session status. + # @param [String] session + # Required. The name of the session this query is sent to. Format: `projects// + # locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. It's up to the API caller to choose an appropriate `Session ID`. + # It can be a random number or some type of session identifiers (preferably + # hashed). The length of the `Session ID` must not exceed 36 characters. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest] google_cloud_dialogflow_cx_v3beta1_match_intent_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def match_project_location_agent_session_intent(session, google_cloud_dialogflow_cx_v3beta1_match_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+session}:matchIntent', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_match_intent_request_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse + command.params['session'] = session unless session.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a session entity type. If the specified session entity type already + # exists, overrides the session entity type. + # @param [String] parent + # Required. The session to create a session entity type for. Format: `projects// + # locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] google_cloud_dialogflow_cx_v3beta1_session_entity_type_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_session_entity_type(parent, google_cloud_dialogflow_cx_v3beta1_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/entityTypes', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_session_entity_type_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified session entity type. + # @param [String] name + # Required. The name of the session entity type to delete. Format: `projects// + # locations//agents//sessions//entityTypes/` or `projects//locations//agents// + # environments//sessions//entityTypes/`. If `Environment ID` is not specified, + # we assume default 'draft' environment. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified session entity type. + # @param [String] name + # Required. The name of the session entity type. Format: `projects//locations// + # agents//sessions//entityTypes/` or `projects//locations//agents//environments// + # sessions//entityTypes/`. If `Environment ID` is not specified, we assume + # default 'draft' environment. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all session entity types in the specified session. + # @param [String] parent + # Required. The session to list all session entity types from. Format: `projects/ + # /locations//agents//sessions/` or `projects//locations//agents//environments// + # sessions/`. If `Environment ID` is not specified, we assume default 'draft' + # environment. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/entityTypes', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified session entity type. + # @param [String] name + # Required. The unique identifier of the session entity type. Format: `projects// + # locations//agents//sessions//entityTypes/` or `projects//locations//agents// + # environments//sessions//entityTypes/`. If `Environment ID` is not specified, + # we assume default 'draft' environment. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] google_cloud_dialogflow_cx_v3beta1_session_entity_type_object + # @param [String] update_mask + # The mask to control which fields get updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_session_entity_type(name, google_cloud_dialogflow_cx_v3beta1_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_session_entity_type_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a webhook in the specified agent. + # @param [String] parent + # Required. The agent to create a webhook for. Format: `projects//locations// + # agents/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] google_cloud_dialogflow_cx_v3beta1_webhook_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_webhook(parent, google_cloud_dialogflow_cx_v3beta1_webhook_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3beta1/{+parent}/webhooks', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_webhook_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified webhook. + # @param [String] name + # Required. The name of the webhook to delete. Format: `projects//locations// + # agents//webhooks/`. + # @param [Boolean] force + # This field has no effect for webhook not being used. For webhooks that are + # used by pages/flows/transition route groups: * If `force` is set to false, an + # error will be returned with message indicating the referenced resources. * If ` + # force` is set to true, Dialogflow will remove the webhook, as well as any + # references to the webhook (i.e. Webhook and tagin fulfillments that point to + # this webhook will be removed). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_agent_webhook(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['force'] = force unless force.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the specified webhook. + # @param [String] name + # Required. The name of the webhook. Format: `projects//locations//agents// + # webhooks/`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_webhook(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of all webhooks in the specified agent. + # @param [String] parent + # Required. The agent to list all webhooks for. Format: `projects//locations// + # agents/`. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListWebhooksResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListWebhooksResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_webhooks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3beta1/{+parent}/webhooks', options) + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListWebhooksResponse::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListWebhooksResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified webhook. + # @param [String] name + # The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook + # method. Webhooks.CreateWebhook populates the name automatically. Format: ` + # projects//locations//agents//webhooks/`. + # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] google_cloud_dialogflow_cx_v3beta1_webhook_object + # @param [String] update_mask + # The mask to control which fields get updated. If the mask is not present, all + # fields will be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_webhook(name, google_cloud_dialogflow_cx_v3beta1_webhook_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3beta1/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation + command.request_object = google_cloud_dialogflow_cx_v3beta1_webhook_object + command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook::Representation + command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Webhook + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Starts asynchronous cancellation on a long-running operation. The server makes # a best effort to cancel the operation, but success is not guaranteed. If the # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. diff --git a/generated/google/apis/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index 962254bc6..27198abda 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1 VERSION = 'V1' - REVISION = '20200811' + REVISION = '20200819' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/doubleclickbidmanager_v1/service.rb b/generated/google/apis/doubleclickbidmanager_v1/service.rb index 218912d26..71b878fd4 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/service.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/service.rb @@ -44,8 +44,8 @@ module Google attr_accessor :quota_user def initialize - super('https://www.googleapis.com/', 'doubleclickbidmanager/v1/') - @batch_path = 'batch/doubleclickbidmanager' + super('https://doubleclickbidmanager.googleapis.com/', 'doubleclickbidmanager/v1/') + @batch_path = 'batch' end # Retrieves line items in CSV format. YouTube & partners line items are not diff --git a/generated/google/apis/doubleclickbidmanager_v1_1.rb b/generated/google/apis/doubleclickbidmanager_v1_1.rb index c4d734523..d952a279e 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1_1 VERSION = 'V1_1' - REVISION = '20200817' + REVISION = '20200819' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/doubleclickbidmanager_v1_1/service.rb b/generated/google/apis/doubleclickbidmanager_v1_1/service.rb index 6a86a4d64..ff13d5096 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1/service.rb @@ -44,8 +44,8 @@ module Google attr_accessor :quota_user def initialize - super('https://www.googleapis.com/', 'doubleclickbidmanager/v1.1/') - @batch_path = 'batch/doubleclickbidmanager' + super('https://doubleclickbidmanager.googleapis.com/', 'doubleclickbidmanager/v1.1/') + @batch_path = 'batch' end # Retrieves line items in CSV format. YouTube & partners line items are not diff --git a/generated/google/apis/fitness_v1.rb b/generated/google/apis/fitness_v1.rb index 0396bb984..cae4a4f5b 100644 --- a/generated/google/apis/fitness_v1.rb +++ b/generated/google/apis/fitness_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fit/rest/v1/get-started module FitnessV1 VERSION = 'V1' - REVISION = '20200820' + REVISION = '20200825' # Use Google Fit to see and store your physical activity data AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read' diff --git a/generated/google/apis/iamcredentials_v1.rb b/generated/google/apis/iamcredentials_v1.rb index 04850f54a..0c86782a6 100644 --- a/generated/google/apis/iamcredentials_v1.rb +++ b/generated/google/apis/iamcredentials_v1.rb @@ -20,12 +20,14 @@ module Google module Apis # IAM Service Account Credentials API # - # Creates short-lived credentials for impersonating IAM service accounts. + # Creates short-lived credentials for impersonating IAM service accounts. *Note: + # * This API is tied to the IAM API (iam.googleapis.com). Enabling or disabling + # this API will also enable or disable the IAM API. # # @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials module IamcredentialsV1 VERSION = 'V1' - REVISION = '20200807' + REVISION = '20200821' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/iamcredentials_v1/classes.rb b/generated/google/apis/iamcredentials_v1/classes.rb index e63db041e..ace02a9c3 100644 --- a/generated/google/apis/iamcredentials_v1/classes.rb +++ b/generated/google/apis/iamcredentials_v1/classes.rb @@ -38,9 +38,13 @@ module Google # @return [Array] attr_accessor :delegates - # The desired lifetime duration of the access token in seconds. Must be set to a - # value less than or equal to 3600 (1 hour). If a value is not specified, the - # token's lifetime will be set to a default value of one hour. + # The desired lifetime duration of the access token in seconds. By default, the + # maximum allowed value is 1 hour. To set a lifetime of up to 12 hours, you can + # add the service account as an allowed value in an Organization Policy that + # enforces the `constraints/iam.allowServiceAccountCredentialLifetimeExtension` + # constraint. See detailed instructions at https://cloud.google.com/iam/help/ + # credentials/lifetime If a value is not specified, the token's lifetime will be + # set to a default value of 1 hour. # Corresponds to the JSON property `lifetime` # @return [String] attr_accessor :lifetime diff --git a/generated/google/apis/iamcredentials_v1/service.rb b/generated/google/apis/iamcredentials_v1/service.rb index 8eca3aef0..776da38f8 100644 --- a/generated/google/apis/iamcredentials_v1/service.rb +++ b/generated/google/apis/iamcredentials_v1/service.rb @@ -22,7 +22,9 @@ module Google module IamcredentialsV1 # IAM Service Account Credentials API # - # Creates short-lived credentials for impersonating IAM service accounts. + # Creates short-lived credentials for impersonating IAM service accounts. *Note: + # * This API is tied to the IAM API (iam.googleapis.com). Enabling or disabling + # this API will also enable or disable the IAM API. # # @example # require 'google/apis/iamcredentials_v1' diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index c77f799c5..43fe98029 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20200814' + REVISION = '20200821' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index 7ee64893c..e37d773e1 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -790,6 +790,91 @@ module Google end end + # ContainerPort represents a network port in a single container. + class GoogleCloudMlV1ContainerPort + include Google::Apis::Core::Hashable + + # Number of port to expose on the pod's IP address. This must be a valid port + # number, 0 < x < 65536. + # Corresponds to the JSON property `containerPort` + # @return [Fixnum] + attr_accessor :container_port + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @container_port = args[:container_port] if args.key?(:container_port) + end + end + + # Specify a custom container to deploy. Our ContainerSpec is a subset of the + # Kubernetes Container specification. https://kubernetes.io/docs/reference/ + # generated/kubernetes-api/v1.10/#container-v1-core + class GoogleCloudMlV1ContainerSpec + include Google::Apis::Core::Hashable + + # Immutable. Arguments to the entrypoint. The docker image's CMD is used if this + # is not provided. Variable references $(VAR_NAME) are expanded using the + # container's environment. If a variable cannot be resolved, the reference in + # the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with + # a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, + # regardless of whether the variable exists or not. More info: https:// + # kubernetes.io/docs/tasks/inject-data-application/define-command-argument- + # container/#running-a-command-in-a-shell + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # Immutable. Entrypoint array. Not executed within a shell. The docker image's + # ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) + # are expanded using the container's environment. If a variable cannot be + # resolved, the reference in the input string will be unchanged. The $(VAR_NAME) + # syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references + # will never be expanded, regardless of whether the variable exists or not. More + # info: https://kubernetes.io/docs/tasks/inject-data-application/define-command- + # argument-container/#running-a-command-in-a-shell + # Corresponds to the JSON property `command` + # @return [Array] + attr_accessor :command + + # Immutable. List of environment variables to set in the container. + # Corresponds to the JSON property `env` + # @return [Array] + attr_accessor :env + + # Docker image name. More info: https://kubernetes.io/docs/concepts/containers/ + # images + # Corresponds to the JSON property `image` + # @return [String] + attr_accessor :image + + # Immutable. List of ports to expose from the container. Exposing a port here + # gives the system additional information about the network connections a + # container uses, but is primarily informational. Not specifying a port here + # DOES NOT prevent that port from being exposed. Any port which is listening on + # the default "0.0.0.0" address inside a container will be accessible from the + # network. + # Corresponds to the JSON property `ports` + # @return [Array] + attr_accessor :ports + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @args = args[:args] if args.key?(:args) + @command = args[:command] if args.key?(:command) + @env = args[:env] if args.key?(:env) + @image = args[:image] if args.key?(:image) + @ports = args[:ports] if args.key?(:ports) + end + end + # Represents a custom encryption key configuration that can be applied to a # resource. class GoogleCloudMlV1EncryptionConfig @@ -813,28 +898,24 @@ module Google end end - # EndpointMap is used to provide paths for predict/explain/healthcheck to - # customers. It's an output only field in the version proto which can be only - # set on the server side. Public endpoints follow the format specified on the - # user facing doc, and private endpoints are customized for each privately - # deploymed model/version. - class GoogleCloudMlV1EndpointMap + # EnvVar represents an environment variable present in a Container. + class GoogleCloudMlV1EnvVar include Google::Apis::Core::Hashable - # Optional. Http(s) path to send explain requests. - # Corresponds to the JSON property `explain` + # Name of the environment variable. Must be a C_IDENTIFIER. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :explain + attr_accessor :name - # Http(s) path to send health check requests. - # Corresponds to the JSON property `health` + # Variable references $(VAR_NAME) are expanded using the previous defined + # environment variables in the container and any service environment variables. + # If a variable cannot be resolved, the reference in the input string will be + # unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$( + # VAR_NAME). Escaped references will never be expanded, regardless of whether + # the variable exists or not. Defaults to "". + # Corresponds to the JSON property `value` # @return [String] - attr_accessor :health - - # Http(s) path to send prediction requests. - # Corresponds to the JSON property `predict` - # @return [String] - attr_accessor :predict + attr_accessor :value def initialize(**args) update!(**args) @@ -842,9 +923,8 @@ module Google # Update properties of this object def update!(**args) - @explain = args[:explain] if args.key?(:explain) - @health = args[:health] if args.key?(:health) - @predict = args[:predict] if args.key?(:predict) + @name = args[:name] if args.key?(:name) + @value = args[:value] if args.key?(:value) end end @@ -883,8 +963,8 @@ module Google end # Message holding configuration options for explaining model predictions. There - # are two feature attribution methods supported for TensorFlow models: - # integrated gradients and sampled Shapley. [Learn more about feature + # are three feature attribution methods supported for TensorFlow models: + # integrated gradients, sampled Shapley, and XRAI. [Learn more about feature # attributions.](/ai-platform/prediction/docs/ai-explanations/overview) class GoogleCloudMlV1ExplanationConfig include Google::Apis::Core::Hashable @@ -1977,6 +2057,33 @@ module Google end end + # RouteMap is used to override HTTP paths sent to a Custom Container. If + # specified, the HTTP server implemented in the ContainerSpec must support the + # route. If unspecified, standard HTTP paths will be used. + class GoogleCloudMlV1RouteMap + include Google::Apis::Core::Hashable + + # HTTP path to send health check requests. + # Corresponds to the JSON property `health` + # @return [String] + attr_accessor :health + + # HTTP path to send prediction requests. + # Corresponds to the JSON property `predict` + # @return [String] + attr_accessor :predict + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @health = args[:health] if args.key?(:health) + @predict = args[:predict] if args.key?(:predict) + end + end + # An attribution method that approximates Shapley values for features that # contribute to the label being predicted. A sampling strategy is used to # approximate the value rather than considering all subsets of features. @@ -2006,18 +2113,39 @@ module Google # Optional. The maximum job running time, expressed in seconds. The field can # contain up to nine fractional digits, terminated by `s`. If not specified, # this field defaults to `604800s` (seven days). If the training job is still - # running after this duration, AI Platform Training cancels it. For example, if + # running after this duration, AI Platform Training cancels it. The duration is + # measured from when the job enters the `RUNNING` state; therefore it does not + # overlap with the duration limited by Scheduling.max_wait_time. For example, if # you want to ensure your job runs for no more than 2 hours, set this field to ` # 7200s` (2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your - # training job using the `gcloud` tool, you can [provide this field in a `config. + # training job using the `gcloud` tool, you can [specify this field in a `config. # yaml` file](/ai-platform/training/docs/training-jobs# # formatting_your_configuration_parameters). For example: ```yaml trainingInput: - # ... scheduling: maxRunningTime: 7200s ... ``` + # scheduling: maxRunningTime: 7200s ``` # Corresponds to the JSON property `maxRunningTime` # @return [String] attr_accessor :max_running_time - # + # Optional. The maximum job wait time, expressed in seconds. The field can + # contain up to nine fractional digits, terminated by `s`. If not specified, + # there is no limit to the wait time. The minimum for this field is `1800s` (30 + # minutes). If the training job has not entered the `RUNNING` state after this + # duration, AI Platform Training cancels it. After the job begins running, it + # can no longer be cancelled due to the maximum wait time. Therefore the + # duration limited by this field does not overlap with the duration limited by + # Scheduling.max_running_time. For example, if the job temporarily stops running + # and retries due to a [VM restart](/ai-platform/training/docs/overview#restarts) + # , this cannot lead to a maximum wait time cancellation. However, independently + # of this constraint, AI Platform Training might stop a job if there are too + # many retries due to exhausted resources in a region. The following example + # describes how you might use this field: To cancel your job if it doesn't start + # running within 1 hour, set this field to `3600s` (1 hour * 60 minutes / hour * + # 60 seconds / minute). If the job is still in the `QUEUED` or `PREPARING` state + # after an hour of waiting, AI Platform Training cancels the job. If you submit + # your training job using the `gcloud` tool, you can [specify this field in a ` + # config.yaml` file](/ai-platform/training/docs/training-jobs# + # formatting_your_configuration_parameters). For example: ```yaml trainingInput: + # scheduling: maxWaitTime: 3600s ``` # Corresponds to the JSON property `maxWaitTime` # @return [String] attr_accessor :max_wait_time @@ -2657,6 +2785,13 @@ module Google # @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling] attr_accessor :auto_scaling + # Specify a custom container to deploy. Our ContainerSpec is a subset of the + # Kubernetes Container specification. https://kubernetes.io/docs/reference/ + # generated/kubernetes-api/v1.10/#container-v1-core + # Corresponds to the JSON property `container` + # @return [Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec] + attr_accessor :container + # Output only. The time the version was created. # Corresponds to the JSON property `createTime` # @return [String] @@ -2678,15 +2813,6 @@ module Google # @return [String] attr_accessor :description - # EndpointMap is used to provide paths for predict/explain/healthcheck to - # customers. It's an output only field in the version proto which can be only - # set on the server side. Public endpoints follow the format specified on the - # user facing doc, and private endpoints are customized for each privately - # deploymed model/version. - # Corresponds to the JSON property `endpoints` - # @return [Google::Apis::MlV1::GoogleCloudMlV1EndpointMap] - attr_accessor :endpoints - # Output only. The details of a failure or a cancellation. # Corresponds to the JSON property `errorMessage` # @return [String] @@ -2705,8 +2831,8 @@ module Google attr_accessor :etag # Message holding configuration options for explaining model predictions. There - # are two feature attribution methods supported for TensorFlow models: - # integrated gradients and sampled Shapley. [Learn more about feature + # are three feature attribution methods supported for TensorFlow models: + # integrated gradients, sampled Shapley, and XRAI. [Learn more about feature # attributions.](/ai-platform/prediction/docs/ai-explanations/overview) # Corresponds to the JSON property `explanationConfig` # @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig] @@ -2838,6 +2964,13 @@ module Google # @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig] attr_accessor :request_logging_config + # RouteMap is used to override HTTP paths sent to a Custom Container. If + # specified, the HTTP server implemented in the ContainerSpec must support the + # route. If unspecified, standard HTTP paths will be used. + # Corresponds to the JSON property `routes` + # @return [Google::Apis::MlV1::GoogleCloudMlV1RouteMap] + attr_accessor :routes + # Required. The AI Platform runtime version to use for this deployment. For more # information, see the [runtime version list](/ml-engine/docs/runtime-version- # list) and [how to manage runtime versions](/ml-engine/docs/versioning). @@ -2863,10 +2996,10 @@ module Google def update!(**args) @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config) @auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling) + @container = args[:container] if args.key?(:container) @create_time = args[:create_time] if args.key?(:create_time) @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri) @description = args[:description] if args.key?(:description) - @endpoints = args[:endpoints] if args.key?(:endpoints) @error_message = args[:error_message] if args.key?(:error_message) @etag = args[:etag] if args.key?(:etag) @explanation_config = args[:explanation_config] if args.key?(:explanation_config) @@ -2881,6 +3014,7 @@ module Google @prediction_class = args[:prediction_class] if args.key?(:prediction_class) @python_version = args[:python_version] if args.key?(:python_version) @request_logging_config = args[:request_logging_config] if args.key?(:request_logging_config) + @routes = args[:routes] if args.key?(:routes) @runtime_version = args[:runtime_version] if args.key?(:runtime_version) @service_account = args[:service_account] if args.key?(:service_account) @state = args[:state] if args.key?(:state) diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index eaec06969..27f96b74f 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -184,13 +184,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudMlV1ContainerPort + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudMlV1ContainerSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudMlV1EncryptionConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudMlV1EndpointMap + class GoogleCloudMlV1EnvVar class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -340,6 +352,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudMlV1RouteMap + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudMlV1SampledShapleyAttribution class Representation < Google::Apis::Core::JsonRepresentation; end @@ -727,6 +745,26 @@ module Google end end + class GoogleCloudMlV1ContainerPort + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :container_port, as: 'containerPort' + end + end + + class GoogleCloudMlV1ContainerSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :args, as: 'args' + collection :command, as: 'command' + collection :env, as: 'env', class: Google::Apis::MlV1::GoogleCloudMlV1EnvVar, decorator: Google::Apis::MlV1::GoogleCloudMlV1EnvVar::Representation + + property :image, as: 'image' + collection :ports, as: 'ports', class: Google::Apis::MlV1::GoogleCloudMlV1ContainerPort, decorator: Google::Apis::MlV1::GoogleCloudMlV1ContainerPort::Representation + + end + end + class GoogleCloudMlV1EncryptionConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -734,12 +772,11 @@ module Google end end - class GoogleCloudMlV1EndpointMap + class GoogleCloudMlV1EnvVar # @private class Representation < Google::Apis::Core::JsonRepresentation - property :explain, as: 'explain' - property :health, as: 'health' - property :predict, as: 'predict' + property :name, as: 'name' + property :value, as: 'value' end end @@ -1014,6 +1051,14 @@ module Google end end + class GoogleCloudMlV1RouteMap + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :health, as: 'health' + property :predict, as: 'predict' + end + end + class GoogleCloudMlV1SampledShapleyAttribution # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1174,11 +1219,11 @@ module Google property :auto_scaling, as: 'autoScaling', class: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1AutoScaling::Representation + property :container, as: 'container', class: Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec, decorator: Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec::Representation + property :create_time, as: 'createTime' property :deployment_uri, as: 'deploymentUri' property :description, as: 'description' - property :endpoints, as: 'endpoints', class: Google::Apis::MlV1::GoogleCloudMlV1EndpointMap, decorator: Google::Apis::MlV1::GoogleCloudMlV1EndpointMap::Representation - property :error_message, as: 'errorMessage' property :etag, :base64 => true, as: 'etag' property :explanation_config, as: 'explanationConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig::Representation @@ -1196,6 +1241,8 @@ module Google property :python_version, as: 'pythonVersion' property :request_logging_config, as: 'requestLoggingConfig', class: Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig::Representation + property :routes, as: 'routes', class: Google::Apis::MlV1::GoogleCloudMlV1RouteMap, decorator: Google::Apis::MlV1::GoogleCloudMlV1RouteMap::Representation + property :runtime_version, as: 'runtimeVersion' property :service_account, as: 'serviceAccount' property :state, as: 'state' diff --git a/generated/google/apis/monitoring_v1.rb b/generated/google/apis/monitoring_v1.rb index d5ebd3ee9..033f87c18 100644 --- a/generated/google/apis/monitoring_v1.rb +++ b/generated/google/apis/monitoring_v1.rb @@ -29,7 +29,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV1 VERSION = 'V1' - REVISION = '20200803' + REVISION = '20200827' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v1/classes.rb b/generated/google/apis/monitoring_v1/classes.rb index 348323957..c314556fd 100644 --- a/generated/google/apis/monitoring_v1/classes.rb +++ b/generated/google/apis/monitoring_v1/classes.rb @@ -240,6 +240,13 @@ module Google # @return [Google::Apis::MonitoringV1::GridLayout] attr_accessor :grid_layout + # A mosaic layout divides the available space into a grid of squares, and + # overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid + # squares and can be placed at arbitrary locations in the grid. + # Corresponds to the JSON property `mosaicLayout` + # @return [Google::Apis::MonitoringV1::MosaicLayout] + attr_accessor :mosaic_layout + # Immutable. The resource name of the dashboard. # Corresponds to the JSON property `name` # @return [String] @@ -261,6 +268,7 @@ module Google @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @grid_layout = args[:grid_layout] if args.key?(:grid_layout) + @mosaic_layout = args[:mosaic_layout] if args.key?(:mosaic_layout) @name = args[:name] if args.key?(:name) @row_layout = args[:row_layout] if args.key?(:row_layout) end @@ -516,6 +524,33 @@ module Google end end + # A mosaic layout divides the available space into a grid of squares, and + # overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid + # squares and can be placed at arbitrary locations in the grid. + class MosaicLayout + include Google::Apis::Core::Hashable + + # The number of columns in the mosaic grid. + # Corresponds to the JSON property `columns` + # @return [Fixnum] + attr_accessor :columns + + # The tiles to display. + # Corresponds to the JSON property `tiles` + # @return [Array] + attr_accessor :tiles + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @columns = args[:columns] if args.key?(:columns) + @tiles = args[:tiles] if args.key?(:tiles) + end + end + # A protocol buffer option, which can be attached to a message, field, # enumeration, etc. class Option @@ -907,6 +942,53 @@ module Google end end + # A single tile in the mosaic. The placement and size of the tile are + # configurable. + class Tile + include Google::Apis::Core::Hashable + + # The height of the tile, measured in grid squares. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # Widget contains a single dashboard component and configuration of how to + # present the component in the dashboard. + # Corresponds to the JSON property `widget` + # @return [Google::Apis::MonitoringV1::Widget] + attr_accessor :widget + + # The width of the tile, measured in grid squares. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + # The zero-indexed position of the tile in grid squares relative to the left + # edge of the grid. + # Corresponds to the JSON property `xPos` + # @return [Fixnum] + attr_accessor :x_pos + + # The zero-indexed position of the tile in grid squares relative to the top edge + # of the grid. + # Corresponds to the JSON property `yPos` + # @return [Fixnum] + attr_accessor :y_pos + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @widget = args[:widget] if args.key?(:widget) + @width = args[:width] if args.key?(:width) + @x_pos = args[:x_pos] if args.key?(:x_pos) + @y_pos = args[:y_pos] if args.key?(:y_pos) + end + end + # A filter that defines a subset of time series data that is displayed in a # widget. Time series data is fetched using the ListTimeSeries (https://cloud. # google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) method. diff --git a/generated/google/apis/monitoring_v1/representations.rb b/generated/google/apis/monitoring_v1/representations.rb index d31dbc9db..6ea81e9e7 100644 --- a/generated/google/apis/monitoring_v1/representations.rb +++ b/generated/google/apis/monitoring_v1/representations.rb @@ -100,6 +100,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class MosaicLayout + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Option class Representation < Google::Apis::Core::JsonRepresentation; end @@ -172,6 +178,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Tile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TimeSeriesFilter class Representation < Google::Apis::Core::JsonRepresentation; end @@ -259,6 +271,8 @@ module Google property :etag, as: 'etag' property :grid_layout, as: 'gridLayout', class: Google::Apis::MonitoringV1::GridLayout, decorator: Google::Apis::MonitoringV1::GridLayout::Representation + property :mosaic_layout, as: 'mosaicLayout', class: Google::Apis::MonitoringV1::MosaicLayout, decorator: Google::Apis::MonitoringV1::MosaicLayout::Representation + property :name, as: 'name' property :row_layout, as: 'rowLayout', class: Google::Apis::MonitoringV1::RowLayout, decorator: Google::Apis::MonitoringV1::RowLayout::Representation @@ -332,6 +346,15 @@ module Google end end + class MosaicLayout + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :columns, as: 'columns' + collection :tiles, as: 'tiles', class: Google::Apis::MonitoringV1::Tile, decorator: Google::Apis::MonitoringV1::Tile::Representation + + end + end + class Option # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -437,6 +460,18 @@ module Google end end + class Tile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height, as: 'height' + property :widget, as: 'widget', class: Google::Apis::MonitoringV1::Widget, decorator: Google::Apis::MonitoringV1::Widget::Representation + + property :width, as: 'width' + property :x_pos, as: 'xPos' + property :y_pos, as: 'yPos' + end + end + class TimeSeriesFilter # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index e2d56cd33..83979e36c 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -29,7 +29,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20200817' + REVISION = '20200827' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index da4a8d108..e5dc09a47 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -925,7 +925,7 @@ module Google # The sum of squared deviations from the mean of the values in the population. # For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, "The Art of - # Computer Programming", Vol. 2, page 323, 3rd edition describes Welford's + # Computer Programming", Vol. 2, page 232, 3rd edition describes Welford's # method for accumulating this sum in one pass.If count is zero then this field # must be zero. # Corresponds to the JSON property `sumOfSquaredDeviation` @@ -2985,61 +2985,6 @@ module Google end end - # The position of a byte within the text. - class Position - include Google::Apis::Core::Hashable - - # The column within the line, starting with 1, where the byte is positioned. - # This is a byte index even though the text is UTF-8. - # Corresponds to the JSON property `column` - # @return [Fixnum] - attr_accessor :column - - # The line, starting with 1, where the byte is positioned. - # Corresponds to the JSON property `line` - # @return [Fixnum] - attr_accessor :line - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @column = args[:column] if args.key?(:column) - @line = args[:line] if args.key?(:line) - end - end - - # An error associated with a query in the time series query language format. - class QueryError - include Google::Apis::Core::Hashable - - # A locator for text. Indicates a particular part of the text of a request or of - # an object referenced in the request.For example, suppose the request field - # text contains:text: "The quick brown fox jumps over the lazy dog."Then the - # locator:source: "text" start_position ` line: 1 column: 17 ` end_position ` - # line: 1 column: 19 `refers to the part of the text: "fox". - # Corresponds to the JSON property `locator` - # @return [Google::Apis::MonitoringV3::TextLocator] - attr_accessor :locator - - # The error message. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @locator = args[:locator] if args.key?(:locator) - @message = args[:message] if args.key?(:message) - end - end - # The QueryTimeSeries request. class QueryTimeSeriesRequest include Google::Apis::Core::Hashable @@ -3101,11 +3046,6 @@ module Google # @return [Google::Apis::MonitoringV3::TimeSeriesDescriptor] attr_accessor :time_series_descriptor - # Warnings about query, includes unit errors. - # Corresponds to the JSON property `warnings` - # @return [Array] - attr_accessor :warnings - def initialize(**args) update!(**args) end @@ -3116,7 +3056,6 @@ module Google @partial_errors = args[:partial_errors] if args.key?(:partial_errors) @time_series_data = args[:time_series_data] if args.key?(:time_series_data) @time_series_descriptor = args[:time_series_descriptor] if args.key?(:time_series_descriptor) - @warnings = args[:warnings] if args.key?(:warnings) end end @@ -3531,66 +3470,6 @@ module Google end end - # A locator for text. Indicates a particular part of the text of a request or of - # an object referenced in the request.For example, suppose the request field - # text contains:text: "The quick brown fox jumps over the lazy dog."Then the - # locator:source: "text" start_position ` line: 1 column: 17 ` end_position ` - # line: 1 column: 19 `refers to the part of the text: "fox". - class TextLocator - include Google::Apis::Core::Hashable - - # The position of a byte within the text. - # Corresponds to the JSON property `endPosition` - # @return [Google::Apis::MonitoringV3::Position] - attr_accessor :end_position - - # A locator for text. Indicates a particular part of the text of a request or of - # an object referenced in the request.For example, suppose the request field - # text contains:text: "The quick brown fox jumps over the lazy dog."Then the - # locator:source: "text" start_position ` line: 1 column: 17 ` end_position ` - # line: 1 column: 19 `refers to the part of the text: "fox". - # Corresponds to the JSON property `nestedLocator` - # @return [Google::Apis::MonitoringV3::TextLocator] - attr_accessor :nested_locator - - # When nested_locator is set, this field gives the reason for the nesting. - # Usually, the reason is a macro invocation. In that case, the macro name ( - # including the leading '@') signals the location of the macro call in the text - # and a macro argument name (including the leading '$') signals the location of - # the macro argument inside the macro body that got substituted away. - # Corresponds to the JSON property `nestingReason` - # @return [String] - attr_accessor :nesting_reason - - # The source of the text. The source may be a field in the request, in which - # case its format is the format of the google.rpc.BadRequest.FieldViolation. - # field field in https://cloud.google.com/apis/design/errors#error_details. It - # may also be be a source other than the request field (e.g. a macro definition - # referenced in the text of the query), in which case this is the name of the - # source (e.g. the macro name). - # Corresponds to the JSON property `source` - # @return [String] - attr_accessor :source - - # The position of a byte within the text. - # Corresponds to the JSON property `startPosition` - # @return [Google::Apis::MonitoringV3::Position] - attr_accessor :start_position - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_position = args[:end_position] if args.key?(:end_position) - @nested_locator = args[:nested_locator] if args.key?(:nested_locator) - @nesting_reason = args[:nesting_reason] if args.key?(:nesting_reason) - @source = args[:source] if args.key?(:source) - @start_position = args[:start_position] if args.key?(:start_position) - end - end - # A closed time interval. It extends from the start time to the end time, and # includes both: [startTime, endTime]. Valid time intervals depend on the # MetricKind of the metric value. In no case can the end time be earlier than diff --git a/generated/google/apis/monitoring_v3/representations.rb b/generated/google/apis/monitoring_v3/representations.rb index 53252fc40..5f8848ccd 100644 --- a/generated/google/apis/monitoring_v3/representations.rb +++ b/generated/google/apis/monitoring_v3/representations.rb @@ -436,18 +436,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Position - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QueryError - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class QueryTimeSeriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -532,12 +520,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class TextLocator - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class TimeInterval class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1317,23 +1299,6 @@ module Google end end - class Position - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :column, as: 'column' - property :line, as: 'line' - end - end - - class QueryError - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :locator, as: 'locator', class: Google::Apis::MonitoringV3::TextLocator, decorator: Google::Apis::MonitoringV3::TextLocator::Representation - - property :message, as: 'message' - end - end - class QueryTimeSeriesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1353,8 +1318,6 @@ module Google property :time_series_descriptor, as: 'timeSeriesDescriptor', class: Google::Apis::MonitoringV3::TimeSeriesDescriptor, decorator: Google::Apis::MonitoringV3::TimeSeriesDescriptor::Representation - collection :warnings, as: 'warnings', class: Google::Apis::MonitoringV3::QueryError, decorator: Google::Apis::MonitoringV3::QueryError::Representation - end end @@ -1472,20 +1435,6 @@ module Google end end - class TextLocator - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_position, as: 'endPosition', class: Google::Apis::MonitoringV3::Position, decorator: Google::Apis::MonitoringV3::Position::Representation - - property :nested_locator, as: 'nestedLocator', class: Google::Apis::MonitoringV3::TextLocator, decorator: Google::Apis::MonitoringV3::TextLocator::Representation - - property :nesting_reason, as: 'nestingReason' - property :source, as: 'source' - property :start_position, as: 'startPosition', class: Google::Apis::MonitoringV3::Position, decorator: Google::Apis::MonitoringV3::Position::Representation - - end - end - class TimeInterval # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index 358174e3a..5c149e2d9 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20200813' + REVISION = '20200825' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/sheets_v4/classes.rb b/generated/google/apis/sheets_v4/classes.rb index 5a73d018e..999d532f1 100644 --- a/generated/google/apis/sheets_v4/classes.rb +++ b/generated/google/apis/sheets_v4/classes.rb @@ -124,6 +124,53 @@ module Google end end + # Adds a data source. After the data source is added successfully, an associated + # DataSource sheet is created and an execution is triggered to refresh the sheet + # to read data from the data source. The request requires an additional bigquery. + # readonly OAuth scope. + class AddDataSourceRequest + include Google::Apis::Core::Hashable + + # Information about an external data source in the spreadsheet. + # Corresponds to the JSON property `dataSource` + # @return [Google::Apis::SheetsV4::DataSource] + attr_accessor :data_source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_source = args[:data_source] if args.key?(:data_source) + end + end + + # The result of adding a data source. + class AddDataSourceResponse + include Google::Apis::Core::Hashable + + # The data execution status. + # Corresponds to the JSON property `dataExecutionStatus` + # @return [Google::Apis::SheetsV4::DataExecutionStatus] + attr_accessor :data_execution_status + + # Information about an external data source in the spreadsheet. + # Corresponds to the JSON property `dataSource` + # @return [Google::Apis::SheetsV4::DataSource] + attr_accessor :data_source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_execution_status = args[:data_execution_status] if args.key?(:data_execution_status) + @data_source = args[:data_source] if args.key?(:data_source) + end + end + # Creates a group over the specified range. If the requested range is a superset # of the range of an existing group G, then the depth of G is incremented and # this new group G' has the depth of that group. For example, a group [C:D, @@ -516,6 +563,11 @@ module Google class AutoResizeDimensionsRequest include Google::Apis::Core::Hashable + # A range along a single dimension on a DataSource sheet. + # Corresponds to the JSON property `dataSourceSheetDimensions` + # @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange] + attr_accessor :data_source_sheet_dimensions + # A range along a single dimension on a sheet. All indexes are zero-based. # Indexes are half open: the start index is inclusive and the end index is # exclusive. Missing indexes indicate the range is unbounded on that side. @@ -529,6 +581,7 @@ module Google # Update properties of this object def update!(**args) + @data_source_sheet_dimensions = args[:data_source_sheet_dimensions] if args.key?(:data_source_sheet_dimensions) @dimensions = args[:dimensions] if args.key?(:dimensions) end end @@ -1272,6 +1325,13 @@ module Google # @return [Hash] attr_accessor :criteria + # The filter criteria per column. Both criteria and filter_specs are populated + # in responses. If both fields are specified in an update request, this field + # takes precedence. + # Corresponds to the JSON property `filterSpecs` + # @return [Array] + attr_accessor :filter_specs + # A range on a sheet. All indexes are zero-based. Indexes are half open, i.e. # the start index is inclusive and the end index is exclusive -- [start_index, # end_index). Missing indexes indicate the range is unbounded on that side. For @@ -1302,6 +1362,7 @@ module Google # Update properties of this object def update!(**args) @criteria = args[:criteria] if args.key?(:criteria) + @filter_specs = args[:filter_specs] if args.key?(:filter_specs) @range = args[:range] if args.key?(:range) @sort_specs = args[:sort_specs] if args.key?(:sort_specs) end @@ -1779,6 +1840,89 @@ module Google end end + # The specification of a BigQuery data source. + class BigQueryDataSourceSpec + include Google::Apis::Core::Hashable + + # The ID of a BigQuery enabled GCP project with a billing account attached. For + # any queries executed against the data source, the project is charged. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Specifies a custom BigQuery query. + # Corresponds to the JSON property `querySpec` + # @return [Google::Apis::SheetsV4::BigQueryQuerySpec] + attr_accessor :query_spec + + # Specifies a BigQuery table definition. Only native tables is allowed. + # Corresponds to the JSON property `tableSpec` + # @return [Google::Apis::SheetsV4::BigQueryTableSpec] + attr_accessor :table_spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) + @query_spec = args[:query_spec] if args.key?(:query_spec) + @table_spec = args[:table_spec] if args.key?(:table_spec) + end + end + + # Specifies a custom BigQuery query. + class BigQueryQuerySpec + include Google::Apis::Core::Hashable + + # The raw query string. + # Corresponds to the JSON property `rawQuery` + # @return [String] + attr_accessor :raw_query + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @raw_query = args[:raw_query] if args.key?(:raw_query) + end + end + + # Specifies a BigQuery table definition. Only native tables is allowed. + class BigQueryTableSpec + include Google::Apis::Core::Hashable + + # The BigQuery dataset id. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The BigQuery table id. + # Corresponds to the JSON property `tableId` + # @return [String] + attr_accessor :table_id + + # The ID of a BigQuery project the table belongs to. If not specified, the + # project_id is assumed. + # Corresponds to the JSON property `tableProjectId` + # @return [String] + attr_accessor :table_project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @table_id = args[:table_id] if args.key?(:table_id) + @table_project_id = args[:table_project_id] if args.key?(:table_project_id) + end + end + # A condition that can evaluate to true or false. BooleanConditions are used by # conditional formatting, data validation, and the criteria in filters. class BooleanCondition @@ -2197,6 +2341,17 @@ module Google class CellData include Google::Apis::Core::Hashable + # A data source formula. + # Corresponds to the JSON property `dataSourceFormula` + # @return [Google::Apis::SheetsV4::DataSourceFormula] + attr_accessor :data_source_formula + + # A data source table, allowing to import a static table of data from the + # DataSource into Sheets. This is also known as "Extract" in the Sheets editor. + # Corresponds to the JSON property `dataSourceTable` + # @return [Google::Apis::SheetsV4::DataSourceTable] + attr_accessor :data_source_table + # A data validation rule. # Corresponds to the JSON property `dataValidation` # @return [Google::Apis::SheetsV4::DataValidationRule] @@ -2261,6 +2416,8 @@ module Google # Update properties of this object def update!(**args) + @data_source_formula = args[:data_source_formula] if args.key?(:data_source_formula) + @data_source_table = args[:data_source_table] if args.key?(:data_source_table) @data_validation = args[:data_validation] if args.key?(:data_validation) @effective_format = args[:effective_format] if args.key?(:effective_format) @effective_value = args[:effective_value] if args.key?(:effective_value) @@ -2468,6 +2625,27 @@ module Google class ChartData include Google::Apis::Core::Hashable + # The aggregation type for the series of a data source chart. Not supported for + # regular charts. + # Corresponds to the JSON property `aggregateType` + # @return [String] + attr_accessor :aggregate_type + + # An unique identifier that references to a data source column. + # Corresponds to the JSON property `columnReference` + # @return [Google::Apis::SheetsV4::DataSourceColumnReference] + attr_accessor :column_reference + + # An optional setting on the ChartData of the domain of a data source chart that + # defines buckets for the values in the domain rather than breaking out each + # individual value. For example, when plotting a data source chart, you can + # specify a histogram rule on the domain (it should only contain numeric values), + # grouping its values into buckets. Any values of a chart series that fall into + # the same bucket are aggregated based on the aggregate_type. + # Corresponds to the JSON property `groupRule` + # @return [Google::Apis::SheetsV4::ChartGroupRule] + attr_accessor :group_rule + # Source ranges for a chart. # Corresponds to the JSON property `sourceRange` # @return [Google::Apis::SheetsV4::ChartSourceRange] @@ -2479,10 +2657,101 @@ module Google # Update properties of this object def update!(**args) + @aggregate_type = args[:aggregate_type] if args.key?(:aggregate_type) + @column_reference = args[:column_reference] if args.key?(:column_reference) + @group_rule = args[:group_rule] if args.key?(:group_rule) @source_range = args[:source_range] if args.key?(:source_range) end end + # Allows you to organize the date-time values in a source data column into + # buckets based on selected parts of their date or time values. + class ChartDateTimeRule + include Google::Apis::Core::Hashable + + # The type of date-time grouping to apply. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + end + end + + # An optional setting on the ChartData of the domain of a data source chart that + # defines buckets for the values in the domain rather than breaking out each + # individual value. For example, when plotting a data source chart, you can + # specify a histogram rule on the domain (it should only contain numeric values), + # grouping its values into buckets. Any values of a chart series that fall into + # the same bucket are aggregated based on the aggregate_type. + class ChartGroupRule + include Google::Apis::Core::Hashable + + # Allows you to organize the date-time values in a source data column into + # buckets based on selected parts of their date or time values. + # Corresponds to the JSON property `dateTimeRule` + # @return [Google::Apis::SheetsV4::ChartDateTimeRule] + attr_accessor :date_time_rule + + # Allows you to organize numeric values in a source data column into buckets of + # constant size. + # Corresponds to the JSON property `histogramRule` + # @return [Google::Apis::SheetsV4::ChartHistogramRule] + attr_accessor :histogram_rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @date_time_rule = args[:date_time_rule] if args.key?(:date_time_rule) + @histogram_rule = args[:histogram_rule] if args.key?(:histogram_rule) + end + end + + # Allows you to organize numeric values in a source data column into buckets of + # constant size. + class ChartHistogramRule + include Google::Apis::Core::Hashable + + # The size of the buckets that are created. Must be positive. + # Corresponds to the JSON property `intervalSize` + # @return [Float] + attr_accessor :interval_size + + # The maximum value at which items are placed into buckets. Values greater than + # the maximum are grouped into a single bucket. If omitted, it is determined by + # the maximum item value. + # Corresponds to the JSON property `maxValue` + # @return [Float] + attr_accessor :max_value + + # The minimum value at which items are placed into buckets. Values that are less + # than the minimum are grouped into a single bucket. If omitted, it is + # determined by the minimum item value. + # Corresponds to the JSON property `minValue` + # @return [Float] + attr_accessor :min_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @interval_size = args[:interval_size] if args.key?(:interval_size) + @max_value = args[:max_value] if args.key?(:max_value) + @min_value = args[:min_value] if args.key?(:min_value) + end + end + # Source ranges for a chart. class ChartSourceRange include Google::Apis::Core::Hashable @@ -2589,6 +2858,17 @@ module Google # @return [Google::Apis::SheetsV4::CandlestickChartSpec] attr_accessor :candlestick_chart + # Properties of a data source chart. + # Corresponds to the JSON property `dataSourceChartProperties` + # @return [Google::Apis::SheetsV4::DataSourceChartProperties] + attr_accessor :data_source_chart_properties + + # The filters applied to the source data of the chart. Only supported for data + # source charts. + # Corresponds to the JSON property `filterSpecs` + # @return [Array] + attr_accessor :filter_specs + # The name of the font to use by default for all chart text (e.g. title, axis # labels, legend). If a font is specified for a specific part of the chart it # will override this font name. @@ -2644,6 +2924,12 @@ module Google # @return [Google::Apis::SheetsV4::ScorecardChartSpec] attr_accessor :scorecard_chart + # The order to sort the chart data by. Only a single sort spec is supported. + # Only supported for data source charts. + # Corresponds to the JSON property `sortSpecs` + # @return [Array] + attr_accessor :sort_specs + # The subtitle of the chart. # Corresponds to the JSON property `subtitle` # @return [String] @@ -2698,6 +2984,8 @@ module Google @basic_chart = args[:basic_chart] if args.key?(:basic_chart) @bubble_chart = args[:bubble_chart] if args.key?(:bubble_chart) @candlestick_chart = args[:candlestick_chart] if args.key?(:candlestick_chart) + @data_source_chart_properties = args[:data_source_chart_properties] if args.key?(:data_source_chart_properties) + @filter_specs = args[:filter_specs] if args.key?(:filter_specs) @font_name = args[:font_name] if args.key?(:font_name) @hidden_dimension_strategy = args[:hidden_dimension_strategy] if args.key?(:hidden_dimension_strategy) @histogram_chart = args[:histogram_chart] if args.key?(:histogram_chart) @@ -2705,6 +2993,7 @@ module Google @org_chart = args[:org_chart] if args.key?(:org_chart) @pie_chart = args[:pie_chart] if args.key?(:pie_chart) @scorecard_chart = args[:scorecard_chart] if args.key?(:scorecard_chart) + @sort_specs = args[:sort_specs] if args.key?(:sort_specs) @subtitle = args[:subtitle] if args.key?(:subtitle) @subtitle_text_format = args[:subtitle_text_format] if args.key?(:subtitle_text_format) @subtitle_text_position = args[:subtitle_text_position] if args.key?(:subtitle_text_position) @@ -3172,6 +3461,43 @@ module Google end end + # The data execution status. + class DataExecutionStatus + include Google::Apis::Core::Hashable + + # The error code. + # Corresponds to the JSON property `errorCode` + # @return [String] + attr_accessor :error_code + + # The error message, which may be empty. + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message + + # Gets the time the data last successfully refreshed. + # Corresponds to the JSON property `lastRefreshTime` + # @return [String] + attr_accessor :last_refresh_time + + # The state of the data execution. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_code = args[:error_code] if args.key?(:error_code) + @error_message = args[:error_message] if args.key?(:error_message) + @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time) + @state = args[:state] if args.key?(:state) + end + end + # Filter that describes what data should be selected or returned from a request. class DataFilter include Google::Apis::Core::Hashable @@ -3257,6 +3583,524 @@ module Google end end + # Information about an external data source in the spreadsheet. + class DataSource + include Google::Apis::Core::Hashable + + # All calculated columns in the data source. + # Corresponds to the JSON property `calculatedColumns` + # @return [Array] + attr_accessor :calculated_columns + + # The spreadsheet-scoped unique ID that identifies the data source. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + # The ID of the Sheet connected with the data source. The field cannot be + # changed once set. When creating a data source, an associated SheetType. + # DATA_SOURCE sheet is also created, if the field is not specified, the ID of + # the created sheet will be randomly generated. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # The specification of a data source. + # Corresponds to the JSON property `spec` + # @return [Google::Apis::SheetsV4::DataSourceSpec] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @calculated_columns = args[:calculated_columns] if args.key?(:calculated_columns) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @spec = args[:spec] if args.key?(:spec) + end + end + + # Properties of a data source chart. + class DataSourceChartProperties + include Google::Apis::Core::Hashable + + # The data execution status. + # Corresponds to the JSON property `dataExecutionStatus` + # @return [Google::Apis::SheetsV4::DataExecutionStatus] + attr_accessor :data_execution_status + + # ID of the data source that the chart is associated with. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_execution_status = args[:data_execution_status] if args.key?(:data_execution_status) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + end + end + + # A data source column. + class DataSourceColumn + include Google::Apis::Core::Hashable + + # The formula of the calculated column. + # Corresponds to the JSON property `formula` + # @return [String] + attr_accessor :formula + + # An unique identifier that references to a data source column. + # Corresponds to the JSON property `reference` + # @return [Google::Apis::SheetsV4::DataSourceColumnReference] + attr_accessor :reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formula = args[:formula] if args.key?(:formula) + @reference = args[:reference] if args.key?(:reference) + end + end + + # An unique identifier that references to a data source column. + class DataSourceColumnReference + include Google::Apis::Core::Hashable + + # The display name of the column. It should be unique within a data source. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # A data source formula. + class DataSourceFormula + include Google::Apis::Core::Hashable + + # The data execution status. + # Corresponds to the JSON property `dataExecutionStatus` + # @return [Google::Apis::SheetsV4::DataExecutionStatus] + attr_accessor :data_execution_status + + # The ID of the data source the formula is associated with. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_execution_status = args[:data_execution_status] if args.key?(:data_execution_status) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + end + end + + # Reference to a data source object. + class DataSourceObjectReference + include Google::Apis::Core::Hashable + + # References to a DataSourceChart. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # A coordinate in a sheet. All indexes are zero-based. + # Corresponds to the JSON property `dataSourceFormulaCell` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :data_source_formula_cell + + # A coordinate in a sheet. All indexes are zero-based. + # Corresponds to the JSON property `dataSourcePivotTableAnchorCell` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :data_source_pivot_table_anchor_cell + + # A coordinate in a sheet. All indexes are zero-based. + # Corresponds to the JSON property `dataSourceTableAnchorCell` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :data_source_table_anchor_cell + + # References to a SheetType.DATA_SOURCE sheet. + # Corresponds to the JSON property `sheetId` + # @return [String] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @data_source_formula_cell = args[:data_source_formula_cell] if args.key?(:data_source_formula_cell) + @data_source_pivot_table_anchor_cell = args[:data_source_pivot_table_anchor_cell] if args.key?(:data_source_pivot_table_anchor_cell) + @data_source_table_anchor_cell = args[:data_source_table_anchor_cell] if args.key?(:data_source_table_anchor_cell) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # A list of references to data source objects. + class DataSourceObjectReferences + include Google::Apis::Core::Hashable + + # The references. + # Corresponds to the JSON property `references` + # @return [Array] + attr_accessor :references + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @references = args[:references] if args.key?(:references) + end + end + + # A parameter in a data source's query. The parameter allows user to pass in + # values from the spreadsheet into a query. + class DataSourceParameter + include Google::Apis::Core::Hashable + + # Named parameter. Must be a legitimate identifier for the DataSource that + # supports it. For example, BigQuery identifier + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # ID of a NamedRange. Its size must be 1x1. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id + + # A range on a sheet. All indexes are zero-based. Indexes are half open, i.e. + # the start index is inclusive and the end index is exclusive -- [start_index, + # end_index). Missing indexes indicate the range is unbounded on that side. For + # example, if `"Sheet1"` is sheet ID 0, then: `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, start_column_index: 0, end_column_index: + # 1` `Sheet1!A3:B4 == sheet_id: 0, start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, start_column_index: 0, end_column_index: 2` `Sheet1 == + # sheet_id:0` The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. Empty + # ranges are typically not meaningful and are usually rendered in the UI as `# + # REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + @range = args[:range] if args.key?(:range) + end + end + + # Schedule refreshes in a time interval everyday. + class DataSourceRefreshDailySchedule + include Google::Apis::Core::Hashable + + # Represents a time of day. The date and time zone are either not significant or + # are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `startTime` + # @return [Google::Apis::SheetsV4::TimeOfDay] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # Schedule refreshes in a time interval on specified days in a month and repeats + # monthly. + class DataSourceRefreshMonthlySchedule + include Google::Apis::Core::Hashable + + # Days of the month to refresh. Only 1-28 are supported, mapping to the 1st to + # the 28th day. At lesat one day must be specified. + # Corresponds to the JSON property `daysOfMonth` + # @return [Array] + attr_accessor :days_of_month + + # Represents a time of day. The date and time zone are either not significant or + # are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `startTime` + # @return [Google::Apis::SheetsV4::TimeOfDay] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @days_of_month = args[:days_of_month] if args.key?(:days_of_month) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # The data source refresh schedule. All data sources in the spreadsheet are + # scheduled to refresh in a future time interval. The time interval size + # defaults to the one defined in the Sheets editor. For example, if a daily + # schedule at start time of 8am is scheduled, and the time interval is 4 hours, + # the scheduled refresh will happen between 8am and 12pm every day. + class DataSourceRefreshSchedule + include Google::Apis::Core::Hashable + + # Schedule refreshes in a time interval everyday. + # Corresponds to the JSON property `dailySchedule` + # @return [Google::Apis::SheetsV4::DataSourceRefreshDailySchedule] + attr_accessor :daily_schedule + + # True if the refresh schedule is enabled, or false otherwise. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # Schedule refreshes in a time interval on specified days in a month and repeats + # monthly. + # Corresponds to the JSON property `monthlySchedule` + # @return [Google::Apis::SheetsV4::DataSourceRefreshMonthlySchedule] + attr_accessor :monthly_schedule + + # Represents a time interval, encoded as a Timestamp start (inclusive) and a + # Timestamp end (exclusive). The start must be less than or equal to the end. + # When the start equals the end, the interval is empty (matches no time). When + # both start and end are unspecified, the interval matches any time. + # Corresponds to the JSON property `nextRun` + # @return [Google::Apis::SheetsV4::Interval] + attr_accessor :next_run + + # The scope of the refresh. + # Corresponds to the JSON property `refreshScope` + # @return [String] + attr_accessor :refresh_scope + + # Schedule refreshes in a time interval on specified days in a week and repeats + # weekly. + # Corresponds to the JSON property `weeklySchedule` + # @return [Google::Apis::SheetsV4::DataSourceRefreshWeeklySchedule] + attr_accessor :weekly_schedule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @daily_schedule = args[:daily_schedule] if args.key?(:daily_schedule) + @enabled = args[:enabled] if args.key?(:enabled) + @monthly_schedule = args[:monthly_schedule] if args.key?(:monthly_schedule) + @next_run = args[:next_run] if args.key?(:next_run) + @refresh_scope = args[:refresh_scope] if args.key?(:refresh_scope) + @weekly_schedule = args[:weekly_schedule] if args.key?(:weekly_schedule) + end + end + + # Schedule refreshes in a time interval on specified days in a week and repeats + # weekly. + class DataSourceRefreshWeeklySchedule + include Google::Apis::Core::Hashable + + # Days of the week to refresh. At least one day must be specified. + # Corresponds to the JSON property `daysOfWeek` + # @return [Array] + attr_accessor :days_of_week + + # Represents a time of day. The date and time zone are either not significant or + # are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `startTime` + # @return [Google::Apis::SheetsV4::TimeOfDay] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @days_of_week = args[:days_of_week] if args.key?(:days_of_week) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # A range along a single dimension on a DataSource sheet. + class DataSourceSheetDimensionRange + include Google::Apis::Core::Hashable + + # The columns on the data source sheet. + # Corresponds to the JSON property `columnReferences` + # @return [Array] + attr_accessor :column_references + + # The ID of the data source sheet the range is on. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_references = args[:column_references] if args.key?(:column_references) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # Additional properties of a SheetType.DATA_SOURCE sheet. + class DataSourceSheetProperties + include Google::Apis::Core::Hashable + + # The columns displayed on the sheet, corresponding to the values in RowData. + # Corresponds to the JSON property `columns` + # @return [Array] + attr_accessor :columns + + # The data execution status. + # Corresponds to the JSON property `dataExecutionStatus` + # @return [Google::Apis::SheetsV4::DataExecutionStatus] + attr_accessor :data_execution_status + + # ID of the DataSource the sheet connected with. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @columns = args[:columns] if args.key?(:columns) + @data_execution_status = args[:data_execution_status] if args.key?(:data_execution_status) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + end + end + + # The specification of a data source. + class DataSourceSpec + include Google::Apis::Core::Hashable + + # The specification of a BigQuery data source. + # Corresponds to the JSON property `bigQuery` + # @return [Google::Apis::SheetsV4::BigQueryDataSourceSpec] + attr_accessor :big_query + + # The parameters of the data source. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @big_query = args[:big_query] if args.key?(:big_query) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # A data source table, allowing to import a static table of data from the + # DataSource into Sheets. This is also known as "Extract" in the Sheets editor. + class DataSourceTable + include Google::Apis::Core::Hashable + + # The type to select columns for the data source table. Defaults to SELECTED. + # Corresponds to the JSON property `columnSelectionType` + # @return [String] + attr_accessor :column_selection_type + + # Columns selected for the data source table. The column_selection_type must be + # SELECTED. + # Corresponds to the JSON property `columns` + # @return [Array] + attr_accessor :columns + + # The data execution status. + # Corresponds to the JSON property `dataExecutionStatus` + # @return [Google::Apis::SheetsV4::DataExecutionStatus] + attr_accessor :data_execution_status + + # The ID of the data source the data source table is associated with. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + # Filter specifications in the data source table. + # Corresponds to the JSON property `filterSpecs` + # @return [Array] + attr_accessor :filter_specs + + # The limit of rows to return. If not set, a default limit is applied. Please + # refer to the Sheets editor for the default and max limit. + # Corresponds to the JSON property `rowLimit` + # @return [Fixnum] + attr_accessor :row_limit + + # Sort specifications in the data source table. The result of the data source + # table is sorted based on the sort specifications in order. + # Corresponds to the JSON property `sortSpecs` + # @return [Array] + attr_accessor :sort_specs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_selection_type = args[:column_selection_type] if args.key?(:column_selection_type) + @columns = args[:columns] if args.key?(:columns) + @data_execution_status = args[:data_execution_status] if args.key?(:data_execution_status) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + @filter_specs = args[:filter_specs] if args.key?(:filter_specs) + @row_limit = args[:row_limit] if args.key?(:row_limit) + @sort_specs = args[:sort_specs] if args.key?(:sort_specs) + end + end + # A data validation rule. class DataValidationRule include Google::Apis::Core::Hashable @@ -3390,6 +4234,26 @@ module Google end end + # Deletes a data source. The request also deletes the associated data source + # sheet, and unlinks all associated data source objects. + class DeleteDataSourceRequest + include Google::Apis::Core::Hashable + + # The ID of the data source to delete. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + end + end + # A request to delete developer metadata. class DeleteDeveloperMetadataRequest include Google::Apis::Core::Hashable @@ -3912,6 +4776,11 @@ module Google class DimensionProperties include Google::Apis::Core::Hashable + # An unique identifier that references to a data source column. + # Corresponds to the JSON property `dataSourceColumnReference` + # @return [Google::Apis::SheetsV4::DataSourceColumnReference] + attr_accessor :data_source_column_reference + # The developer metadata associated with a single row or column. # Corresponds to the JSON property `developerMetadata` # @return [Array] @@ -3940,6 +4809,7 @@ module Google # Update properties of this object def update!(**args) + @data_source_column_reference = args[:data_source_column_reference] if args.key?(:data_source_column_reference) @developer_metadata = args[:developer_metadata] if args.key?(:developer_metadata) @hidden_by_filter = args[:hidden_by_filter] if args.key?(:hidden_by_filter) @hidden_by_user = args[:hidden_by_user] if args.key?(:hidden_by_user) @@ -4390,6 +5260,37 @@ module Google end end + # The filter criteria associated with a specific column. + class FilterSpec + include Google::Apis::Core::Hashable + + # The column index. + # Corresponds to the JSON property `columnIndex` + # @return [Fixnum] + attr_accessor :column_index + + # An unique identifier that references to a data source column. + # Corresponds to the JSON property `dataSourceColumnReference` + # @return [Google::Apis::SheetsV4::DataSourceColumnReference] + attr_accessor :data_source_column_reference + + # Criteria for showing/hiding rows in a filter or filter view. + # Corresponds to the JSON property `filterCriteria` + # @return [Google::Apis::SheetsV4::FilterCriteria] + attr_accessor :filter_criteria + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_index = args[:column_index] if args.key?(:column_index) + @data_source_column_reference = args[:data_source_column_reference] if args.key?(:data_source_column_reference) + @filter_criteria = args[:filter_criteria] if args.key?(:filter_criteria) + end + end + # A filter view. class FilterView include Google::Apis::Core::Hashable @@ -4400,6 +5301,13 @@ module Google # @return [Hash] attr_accessor :criteria + # The filter criteria for showing/hiding values per column. Both criteria and + # filter_specs are populated in responses. If both fields are specified in an + # update request, this field takes precedence. + # Corresponds to the JSON property `filterSpecs` + # @return [Array] + attr_accessor :filter_specs + # The ID of the filter view. # Corresponds to the JSON property `filterViewId` # @return [Fixnum] @@ -4446,6 +5354,7 @@ module Google # Update properties of this object def update!(**args) @criteria = args[:criteria] if args.key?(:criteria) + @filter_specs = args[:filter_specs] if args.key?(:filter_specs) @filter_view_id = args[:filter_view_id] if args.key?(:filter_view_id) @named_range_id = args[:named_range_id] if args.key?(:named_range_id) @range = args[:range] if args.key?(:range) @@ -5182,6 +6091,36 @@ module Google end end + # Represents a time interval, encoded as a Timestamp start (inclusive) and a + # Timestamp end (exclusive). The start must be less than or equal to the end. + # When the start equals the end, the interval is empty (matches no time). When + # both start and end are unspecified, the interval matches any time. + class Interval + include Google::Apis::Core::Hashable + + # Optional. Exclusive end of the interval. If specified, a Timestamp matching + # this interval will have to be before the end. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Optional. Inclusive start of the interval. If specified, a Timestamp matching + # this interval will have to be the same or after the start. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + # Settings to control how circular dependencies are resolved with iterative # calculation. class IterativeCalculationSettings @@ -5867,10 +6806,52 @@ module Google end end + # The pivot table filter criteria associated with a specific source column + # offset. + class PivotFilterSpec + include Google::Apis::Core::Hashable + + # The column offset of the source range. + # Corresponds to the JSON property `columnOffsetIndex` + # @return [Fixnum] + attr_accessor :column_offset_index + + # An unique identifier that references to a data source column. + # Corresponds to the JSON property `dataSourceColumnReference` + # @return [Google::Apis::SheetsV4::DataSourceColumnReference] + attr_accessor :data_source_column_reference + + # Criteria for showing/hiding rows in a pivot table. + # Corresponds to the JSON property `filterCriteria` + # @return [Google::Apis::SheetsV4::PivotFilterCriteria] + attr_accessor :filter_criteria + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_offset_index = args[:column_offset_index] if args.key?(:column_offset_index) + @data_source_column_reference = args[:data_source_column_reference] if args.key?(:data_source_column_reference) + @filter_criteria = args[:filter_criteria] if args.key?(:filter_criteria) + end + end + # A single grouping (either row or column) in a pivot table. class PivotGroup include Google::Apis::Core::Hashable + # An unique identifier that references to a data source column. + # Corresponds to the JSON property `dataSourceColumnReference` + # @return [Google::Apis::SheetsV4::DataSourceColumnReference] + attr_accessor :data_source_column_reference + + # The count limit on rows or columns in the pivot group. + # Corresponds to the JSON property `groupLimit` + # @return [Google::Apis::SheetsV4::PivotGroupLimit] + attr_accessor :group_limit + # An optional setting on a PivotGroup that defines buckets for the values in the # source data column rather than breaking out each individual value. Only one # PivotGroup with a group rule may be added for each column in the source data, @@ -5941,6 +6922,8 @@ module Google # Update properties of this object def update!(**args) + @data_source_column_reference = args[:data_source_column_reference] if args.key?(:data_source_column_reference) + @group_limit = args[:group_limit] if args.key?(:group_limit) @group_rule = args[:group_rule] if args.key?(:group_rule) @label = args[:label] if args.key?(:label) @repeat_headings = args[:repeat_headings] if args.key?(:repeat_headings) @@ -5952,6 +6935,36 @@ module Google end end + # The count limit on rows or columns in the pivot group. + class PivotGroupLimit + include Google::Apis::Core::Hashable + + # The order in which the group limit is applied to the pivot table. Pivot group + # limits are applied from lower to higher order number. Order numbers are + # normalized to consecutive integers from 0. For write request, to fully + # customize the applying orders, all pivot group limits should have this field + # set with an unique number. Otherwise, the order is determined by the index in + # the PivotTable.rows list and then the PivotTable.columns list. + # Corresponds to the JSON property `applyOrder` + # @return [Fixnum] + attr_accessor :apply_order + + # The count limit. + # Corresponds to the JSON property `countLimit` + # @return [Fixnum] + attr_accessor :count_limit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apply_order = args[:apply_order] if args.key?(:apply_order) + @count_limit = args[:count_limit] if args.key?(:count_limit) + end + end + # An optional setting on a PivotGroup that defines buckets for the values in the # source data column rather than breaking out each individual value. Only one # PivotGroup with a group rule may be added for each column in the source data, @@ -6100,6 +7113,23 @@ module Google # @return [Hash] attr_accessor :criteria + # The data execution status. + # Corresponds to the JSON property `dataExecutionStatus` + # @return [Google::Apis::SheetsV4::DataExecutionStatus] + attr_accessor :data_execution_status + + # The ID of the data source the pivot table is reading data from. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + # The filters applied to the source columns before aggregating data for the + # pivot table. Both criteria and filter_specs are populated in responses. If + # both fields are specified in an update request, this field takes precedence. + # Corresponds to the JSON property `filterSpecs` + # @return [Array] + attr_accessor :filter_specs + # Each row grouping in the pivot table. # Corresponds to the JSON property `rows` # @return [Array] @@ -6141,6 +7171,9 @@ module Google def update!(**args) @columns = args[:columns] if args.key?(:columns) @criteria = args[:criteria] if args.key?(:criteria) + @data_execution_status = args[:data_execution_status] if args.key?(:data_execution_status) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + @filter_specs = args[:filter_specs] if args.key?(:filter_specs) @rows = args[:rows] if args.key?(:rows) @source = args[:source] if args.key?(:source) @value_layout = args[:value_layout] if args.key?(:value_layout) @@ -6155,12 +7188,17 @@ module Google # If specified, indicates that pivot values should be displayed as the result of # a calculation with another pivot value. For example, if # calculated_display_type is specified as PERCENT_OF_GRAND_TOTAL, all the pivot - # values are displayed as the percentage of the grand total. In the Sheets UI, - # this is referred to as "Show As" in the value section of a pivot table. + # values are displayed as the percentage of the grand total. In the Sheets + # editor, this is referred to as "Show As" in the value section of a pivot table. # Corresponds to the JSON property `calculatedDisplayType` # @return [String] attr_accessor :calculated_display_type + # An unique identifier that references to a data source column. + # Corresponds to the JSON property `dataSourceColumnReference` + # @return [Google::Apis::SheetsV4::DataSourceColumnReference] + attr_accessor :data_source_column_reference + # A custom formula to calculate the value. The formula must start with an `=` # character. # Corresponds to the JSON property `formula` @@ -6193,6 +7231,7 @@ module Google # Update properties of this object def update!(**args) @calculated_display_type = args[:calculated_display_type] if args.key?(:calculated_display_type) + @data_source_column_reference = args[:data_source_column_reference] if args.key?(:data_source_column_reference) @formula = args[:formula] if args.key?(:formula) @name = args[:name] if args.key?(:name) @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset) @@ -6315,6 +7354,98 @@ module Google end end + # The execution status of refreshing one data source object. + class RefreshDataSourceObjectExecutionStatus + include Google::Apis::Core::Hashable + + # The data execution status. + # Corresponds to the JSON property `dataExecutionStatus` + # @return [Google::Apis::SheetsV4::DataExecutionStatus] + attr_accessor :data_execution_status + + # Reference to a data source object. + # Corresponds to the JSON property `reference` + # @return [Google::Apis::SheetsV4::DataSourceObjectReference] + attr_accessor :reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_execution_status = args[:data_execution_status] if args.key?(:data_execution_status) + @reference = args[:reference] if args.key?(:reference) + end + end + + # Refreshes one or multiple data source objects in the spreadsheet by the + # specified references. The request requires an additional bigquery.readonly + # OAuth scope. If there're multiple refresh requests referencing the same data + # source objects in one batch, only the last refresh request is processed, and + # all those requests will have the same response accordingly. + class RefreshDataSourceRequest + include Google::Apis::Core::Hashable + + # Reference to a DataSource. If specified, refreshes all associated data source + # objects for the data source. + # Corresponds to the JSON property `dataSourceId` + # @return [String] + attr_accessor :data_source_id + + # Refreshes the data source objects regardless of the current state. If not set + # and a referenced data source object was in error state, the refresh will fail + # immediately. + # Corresponds to the JSON property `force` + # @return [Boolean] + attr_accessor :force + alias_method :force?, :force + + # Refreshes all existing data source objects in the spreadsheet. + # Corresponds to the JSON property `isAll` + # @return [Boolean] + attr_accessor :is_all + alias_method :is_all?, :is_all + + # A list of references to data source objects. + # Corresponds to the JSON property `references` + # @return [Google::Apis::SheetsV4::DataSourceObjectReferences] + attr_accessor :references + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_source_id = args[:data_source_id] if args.key?(:data_source_id) + @force = args[:force] if args.key?(:force) + @is_all = args[:is_all] if args.key?(:is_all) + @references = args[:references] if args.key?(:references) + end + end + + # The response from refreshing one or multiple data source objects. + class RefreshDataSourceResponse + include Google::Apis::Core::Hashable + + # All the refresh status for the data source object references specified in the + # request. If is_all is specified, the field contains only those in failure + # status. + # Corresponds to the JSON property `statuses` + # @return [Array] + attr_accessor :statuses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @statuses = args[:statuses] if args.key?(:statuses) + end + end + # Updates all cells in the range to the values in the given Cell object. Only # the fields listed in the fields field are updated; others are unchanged. If # writing a cell with a formula, the formula's ranges will automatically @@ -6387,6 +7518,14 @@ module Google # @return [Google::Apis::SheetsV4::AddConditionalFormatRuleRequest] attr_accessor :add_conditional_format_rule + # Adds a data source. After the data source is added successfully, an associated + # DataSource sheet is created and an execution is triggered to refresh the sheet + # to read data from the data source. The request requires an additional bigquery. + # readonly OAuth scope. + # Corresponds to the JSON property `addDataSource` + # @return [Google::Apis::SheetsV4::AddDataSourceRequest] + attr_accessor :add_data_source + # Creates a group over the specified range. If the requested range is a superset # of the range of an existing group G, then the depth of G is incremented and # this new group G' has the depth of that group. For example, a group [C:D, @@ -6485,6 +7624,12 @@ module Google # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest] attr_accessor :delete_conditional_format_rule + # Deletes a data source. The request also deletes the associated data source + # sheet, and unlinks all associated data source objects. + # Corresponds to the JSON property `deleteDataSource` + # @return [Google::Apis::SheetsV4::DeleteDataSourceRequest] + attr_accessor :delete_data_source + # A request to delete developer metadata. # Corresponds to the JSON property `deleteDeveloperMetadata` # @return [Google::Apis::SheetsV4::DeleteDeveloperMetadataRequest] @@ -6590,6 +7735,15 @@ module Google # @return [Google::Apis::SheetsV4::RandomizeRangeRequest] attr_accessor :randomize_range + # Refreshes one or multiple data source objects in the spreadsheet by the + # specified references. The request requires an additional bigquery.readonly + # OAuth scope. If there're multiple refresh requests referencing the same data + # source objects in one batch, only the last refresh request is processed, and + # all those requests will have the same response accordingly. + # Corresponds to the JSON property `refreshDataSource` + # @return [Google::Apis::SheetsV4::RefreshDataSourceRequest] + attr_accessor :refresh_data_source + # Updates all cells in the range to the values in the given Cell object. Only # the fields listed in the fields field are updated; others are unchanged. If # writing a cell with a formula, the formula's ranges will automatically @@ -6671,6 +7825,14 @@ module Google # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest] attr_accessor :update_conditional_format_rule + # Updates a data source. After the data source is updated successfully, an + # execution is triggered to refresh the associated DataSource sheet to read data + # from the updated data source. The request requires an additional bigquery. + # readonly OAuth scope. + # Corresponds to the JSON property `updateDataSource` + # @return [Google::Apis::SheetsV4::UpdateDataSourceRequest] + attr_accessor :update_data_source + # A request to update properties of developer metadata. Updates the properties # of the developer metadata selected by the filters to the values provided in # the DeveloperMetadata resource. Callers must specify the properties they wish @@ -6736,6 +7898,7 @@ module Google @add_banding = args[:add_banding] if args.key?(:add_banding) @add_chart = args[:add_chart] if args.key?(:add_chart) @add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule) + @add_data_source = args[:add_data_source] if args.key?(:add_data_source) @add_dimension_group = args[:add_dimension_group] if args.key?(:add_dimension_group) @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) @add_named_range = args[:add_named_range] if args.key?(:add_named_range) @@ -6752,6 +7915,7 @@ module Google @cut_paste = args[:cut_paste] if args.key?(:cut_paste) @delete_banding = args[:delete_banding] if args.key?(:delete_banding) @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) + @delete_data_source = args[:delete_data_source] if args.key?(:delete_data_source) @delete_developer_metadata = args[:delete_developer_metadata] if args.key?(:delete_developer_metadata) @delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension) @delete_dimension_group = args[:delete_dimension_group] if args.key?(:delete_dimension_group) @@ -6771,6 +7935,7 @@ module Google @move_dimension = args[:move_dimension] if args.key?(:move_dimension) @paste_data = args[:paste_data] if args.key?(:paste_data) @randomize_range = args[:randomize_range] if args.key?(:randomize_range) + @refresh_data_source = args[:refresh_data_source] if args.key?(:refresh_data_source) @repeat_cell = args[:repeat_cell] if args.key?(:repeat_cell) @set_basic_filter = args[:set_basic_filter] if args.key?(:set_basic_filter) @set_data_validation = args[:set_data_validation] if args.key?(:set_data_validation) @@ -6783,6 +7948,7 @@ module Google @update_cells = args[:update_cells] if args.key?(:update_cells) @update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec) @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) + @update_data_source = args[:update_data_source] if args.key?(:update_data_source) @update_developer_metadata = args[:update_developer_metadata] if args.key?(:update_developer_metadata) @update_dimension_group = args[:update_dimension_group] if args.key?(:update_dimension_group) @update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties) @@ -6810,6 +7976,11 @@ module Google # @return [Google::Apis::SheetsV4::AddChartResponse] attr_accessor :add_chart + # The result of adding a data source. + # Corresponds to the JSON property `addDataSource` + # @return [Google::Apis::SheetsV4::AddDataSourceResponse] + attr_accessor :add_data_source + # The result of adding a group. # Corresponds to the JSON property `addDimensionGroup` # @return [Google::Apis::SheetsV4::AddDimensionGroupResponse] @@ -6880,6 +8051,11 @@ module Google # @return [Google::Apis::SheetsV4::FindReplaceResponse] attr_accessor :find_replace + # The response from refreshing one or multiple data source objects. + # Corresponds to the JSON property `refreshDataSource` + # @return [Google::Apis::SheetsV4::RefreshDataSourceResponse] + attr_accessor :refresh_data_source + # The result of trimming whitespace in cells. # Corresponds to the JSON property `trimWhitespace` # @return [Google::Apis::SheetsV4::TrimWhitespaceResponse] @@ -6890,6 +8066,11 @@ module Google # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse] attr_accessor :update_conditional_format_rule + # The response from updating data source. + # Corresponds to the JSON property `updateDataSource` + # @return [Google::Apis::SheetsV4::UpdateDataSourceResponse] + attr_accessor :update_data_source + # The response from updating developer metadata. # Corresponds to the JSON property `updateDeveloperMetadata` # @return [Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse] @@ -6908,6 +8089,7 @@ module Google def update!(**args) @add_banding = args[:add_banding] if args.key?(:add_banding) @add_chart = args[:add_chart] if args.key?(:add_chart) + @add_data_source = args[:add_data_source] if args.key?(:add_data_source) @add_dimension_group = args[:add_dimension_group] if args.key?(:add_dimension_group) @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) @add_named_range = args[:add_named_range] if args.key?(:add_named_range) @@ -6922,8 +8104,10 @@ module Google @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) @find_replace = args[:find_replace] if args.key?(:find_replace) + @refresh_data_source = args[:refresh_data_source] if args.key?(:refresh_data_source) @trim_whitespace = args[:trim_whitespace] if args.key?(:trim_whitespace) @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) + @update_data_source = args[:update_data_source] if args.key?(:update_data_source) @update_developer_metadata = args[:update_developer_metadata] if args.key?(:update_developer_metadata) @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) end @@ -7215,6 +8399,11 @@ module Google class SheetProperties include Google::Apis::Core::Hashable + # Additional properties of a SheetType.DATA_SOURCE sheet. + # Corresponds to the JSON property `dataSourceSheetProperties` + # @return [Google::Apis::SheetsV4::DataSourceSheetProperties] + attr_accessor :data_source_sheet_properties + # Properties of a grid. # Corresponds to the JSON property `gridProperties` # @return [Google::Apis::SheetsV4::GridProperties] @@ -7320,6 +8509,7 @@ module Google # Update properties of this object def update!(**args) + @data_source_sheet_properties = args[:data_source_sheet_properties] if args.key?(:data_source_sheet_properties) @grid_properties = args[:grid_properties] if args.key?(:grid_properties) @hidden = args[:hidden] if args.key?(:hidden) @index = args[:index] if args.key?(:index) @@ -7585,6 +8775,11 @@ module Google # @return [Google::Apis::SheetsV4::ColorStyle] attr_accessor :background_color_style + # An unique identifier that references to a data source column. + # Corresponds to the JSON property `dataSourceColumnReference` + # @return [Google::Apis::SheetsV4::DataSourceColumnReference] + attr_accessor :data_source_column_reference + # The dimension the sort should be applied to. # Corresponds to the JSON property `dimensionIndex` # @return [Fixnum] @@ -7657,6 +8852,7 @@ module Google def update!(**args) @background_color = args[:background_color] if args.key?(:background_color) @background_color_style = args[:background_color_style] if args.key?(:background_color_style) + @data_source_column_reference = args[:data_source_column_reference] if args.key?(:data_source_column_reference) @dimension_index = args[:dimension_index] if args.key?(:dimension_index) @foreground_color = args[:foreground_color] if args.key?(:foreground_color) @foreground_color_style = args[:foreground_color_style] if args.key?(:foreground_color_style) @@ -7713,6 +8909,16 @@ module Google class Spreadsheet include Google::Apis::Core::Hashable + # Output only. A list of data source refresh schedules. + # Corresponds to the JSON property `dataSourceSchedules` + # @return [Array] + attr_accessor :data_source_schedules + + # A list of external data sources connected with the spreadsheet. + # Corresponds to the JSON property `dataSources` + # @return [Array] + attr_accessor :data_sources + # The developer metadata associated with a spreadsheet. # Corresponds to the JSON property `developerMetadata` # @return [Array] @@ -7749,6 +8955,8 @@ module Google # Update properties of this object def update!(**args) + @data_source_schedules = args[:data_source_schedules] if args.key?(:data_source_schedules) + @data_sources = args[:data_sources] if args.key?(:data_sources) @developer_metadata = args[:developer_metadata] if args.key?(:developer_metadata) @named_ranges = args[:named_ranges] if args.key?(:named_ranges) @properties = args[:properties] if args.key?(:properties) @@ -8104,6 +9312,47 @@ module Google end end + # Represents a time of day. The date and time zone are either not significant or + # are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + class TimeOfDay + include Google::Apis::Core::Hashable + + # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to + # allow the value "24:00:00" for scenarios like business closing time. + # Corresponds to the JSON property `hours` + # @return [Fixnum] + attr_accessor :hours + + # Minutes of hour of day. Must be from 0 to 59. + # Corresponds to the JSON property `minutes` + # @return [Fixnum] + attr_accessor :minutes + + # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # Seconds of minutes of the time. Must normally be from 0 to 59. An API may + # allow the value 60 if it allows leap-seconds. + # Corresponds to the JSON property `seconds` + # @return [Fixnum] + attr_accessor :seconds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hours = args[:hours] if args.key?(:hours) + @minutes = args[:minutes] if args.key?(:minutes) + @nanos = args[:nanos] if args.key?(:nanos) + @seconds = args[:seconds] if args.key?(:seconds) + end + end + # A color scale for a treemap chart. class TreemapChartColorScale include Google::Apis::Core::Hashable @@ -8825,6 +10074,61 @@ module Google end end + # Updates a data source. After the data source is updated successfully, an + # execution is triggered to refresh the associated DataSource sheet to read data + # from the updated data source. The request requires an additional bigquery. + # readonly OAuth scope. + class UpdateDataSourceRequest + include Google::Apis::Core::Hashable + + # Information about an external data source in the spreadsheet. + # Corresponds to the JSON property `dataSource` + # @return [Google::Apis::SheetsV4::DataSource] + attr_accessor :data_source + + # The fields that should be updated. At least one field must be specified. The + # root 'dataSource' is implied and should not be specified. A single `"*"` can + # be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_source = args[:data_source] if args.key?(:data_source) + @fields = args[:fields] if args.key?(:fields) + end + end + + # The response from updating data source. + class UpdateDataSourceResponse + include Google::Apis::Core::Hashable + + # The data execution status. + # Corresponds to the JSON property `dataExecutionStatus` + # @return [Google::Apis::SheetsV4::DataExecutionStatus] + attr_accessor :data_execution_status + + # Information about an external data source in the spreadsheet. + # Corresponds to the JSON property `dataSource` + # @return [Google::Apis::SheetsV4::DataSource] + attr_accessor :data_source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_execution_status = args[:data_execution_status] if args.key?(:data_execution_status) + @data_source = args[:data_source] if args.key?(:data_source) + end + end + # A request to update properties of developer metadata. Updates the properties # of the developer metadata selected by the filters to the values provided in # the DeveloperMetadata resource. Callers must specify the properties they wish @@ -8921,6 +10225,11 @@ module Google class UpdateDimensionPropertiesRequest include Google::Apis::Core::Hashable + # A range along a single dimension on a DataSource sheet. + # Corresponds to the JSON property `dataSourceSheetRange` + # @return [Google::Apis::SheetsV4::DataSourceSheetDimensionRange] + attr_accessor :data_source_sheet_range + # The fields that should be updated. At least one field must be specified. The # root `properties` is implied and should not be specified. A single `"*"` can # be used as short-hand for listing every field. @@ -8946,6 +10255,7 @@ module Google # Update properties of this object def update!(**args) + @data_source_sheet_range = args[:data_source_sheet_range] if args.key?(:data_source_sheet_range) @fields = args[:fields] if args.key?(:fields) @properties = args[:properties] if args.key?(:properties) @range = args[:range] if args.key?(:range) diff --git a/generated/google/apis/sheets_v4/representations.rb b/generated/google/apis/sheets_v4/representations.rb index a5068de77..cfc0912fe 100644 --- a/generated/google/apis/sheets_v4/representations.rb +++ b/generated/google/apis/sheets_v4/representations.rb @@ -52,6 +52,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AddDataSourceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddDataSourceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AddDimensionGroupRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -280,6 +292,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BigQueryDataSourceSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BigQueryQuerySpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BigQueryTableSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BooleanCondition class Representation < Google::Apis::Core::JsonRepresentation; end @@ -364,6 +394,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ChartDateTimeRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChartGroupRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChartHistogramRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ChartSourceRange class Representation < Google::Apis::Core::JsonRepresentation; end @@ -448,6 +496,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DataExecutionStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DataFilter class Representation < Google::Apis::Core::JsonRepresentation; end @@ -460,6 +514,102 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DataSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceChartProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceColumn + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceColumnReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceFormula + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceObjectReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceObjectReferences + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceRefreshDailySchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceRefreshMonthlySchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceRefreshSchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceRefreshWeeklySchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceSheetDimensionRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceSheetProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataSourceTable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DataValidationRule class Representation < Google::Apis::Core::JsonRepresentation; end @@ -490,6 +640,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DeleteDataSourceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DeleteDeveloperMetadataRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -664,6 +820,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FilterSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class FilterView class Representation < Google::Apis::Core::JsonRepresentation; end @@ -754,6 +916,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Interval + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class IterativeCalculationSettings class Representation < Google::Apis::Core::JsonRepresentation; end @@ -856,12 +1024,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PivotFilterSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PivotGroup class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class PivotGroupLimit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PivotGroupRule class Representation < Google::Apis::Core::JsonRepresentation; end @@ -904,6 +1084,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RefreshDataSourceObjectExecutionStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RefreshDataSourceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RefreshDataSourceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RepeatCellRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1054,6 +1252,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TimeOfDay + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TreemapChartColorScale class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1120,6 +1324,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UpdateDataSourceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateDataSourceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UpdateDeveloperMetadataRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1281,6 +1497,24 @@ module Google end end + class AddDataSourceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_source, as: 'dataSource', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation + + end + end + + class AddDataSourceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation + + property :data_source, as: 'dataSource', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation + + end + end + class AddDimensionGroupRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1420,6 +1654,8 @@ module Google class AutoResizeDimensionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_sheet_dimensions, as: 'dataSourceSheetDimensions', class: Google::Apis::SheetsV4::DataSourceSheetDimensionRange, decorator: Google::Apis::SheetsV4::DataSourceSheetDimensionRange::Representation + property :dimensions, as: 'dimensions', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation end @@ -1544,6 +1780,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation + collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::FilterSpec, decorator: Google::Apis::SheetsV4::FilterSpec::Representation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation @@ -1683,6 +1921,33 @@ module Google end end + class BigQueryDataSourceSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + property :query_spec, as: 'querySpec', class: Google::Apis::SheetsV4::BigQueryQuerySpec, decorator: Google::Apis::SheetsV4::BigQueryQuerySpec::Representation + + property :table_spec, as: 'tableSpec', class: Google::Apis::SheetsV4::BigQueryTableSpec, decorator: Google::Apis::SheetsV4::BigQueryTableSpec::Representation + + end + end + + class BigQueryQuerySpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :raw_query, as: 'rawQuery' + end + end + + class BigQueryTableSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset_id, as: 'datasetId' + property :table_id, as: 'tableId' + property :table_project_id, as: 'tableProjectId' + end + end + class BooleanCondition # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1798,6 +2063,10 @@ module Google class CellData # @private class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_formula, as: 'dataSourceFormula', class: Google::Apis::SheetsV4::DataSourceFormula, decorator: Google::Apis::SheetsV4::DataSourceFormula::Representation + + property :data_source_table, as: 'dataSourceTable', class: Google::Apis::SheetsV4::DataSourceTable, decorator: Google::Apis::SheetsV4::DataSourceTable::Representation + property :data_validation, as: 'dataValidation', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation property :effective_format, as: 'effectiveFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation @@ -1863,11 +2132,42 @@ module Google class ChartData # @private class Representation < Google::Apis::Core::JsonRepresentation + property :aggregate_type, as: 'aggregateType' + property :column_reference, as: 'columnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + + property :group_rule, as: 'groupRule', class: Google::Apis::SheetsV4::ChartGroupRule, decorator: Google::Apis::SheetsV4::ChartGroupRule::Representation + property :source_range, as: 'sourceRange', class: Google::Apis::SheetsV4::ChartSourceRange, decorator: Google::Apis::SheetsV4::ChartSourceRange::Representation end end + class ChartDateTimeRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + end + end + + class ChartGroupRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :date_time_rule, as: 'dateTimeRule', class: Google::Apis::SheetsV4::ChartDateTimeRule, decorator: Google::Apis::SheetsV4::ChartDateTimeRule::Representation + + property :histogram_rule, as: 'histogramRule', class: Google::Apis::SheetsV4::ChartHistogramRule, decorator: Google::Apis::SheetsV4::ChartHistogramRule::Representation + + end + end + + class ChartHistogramRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :interval_size, as: 'intervalSize' + property :max_value, as: 'maxValue' + property :min_value, as: 'minValue' + end + end + class ChartSourceRange # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1890,6 +2190,10 @@ module Google property :candlestick_chart, as: 'candlestickChart', class: Google::Apis::SheetsV4::CandlestickChartSpec, decorator: Google::Apis::SheetsV4::CandlestickChartSpec::Representation + property :data_source_chart_properties, as: 'dataSourceChartProperties', class: Google::Apis::SheetsV4::DataSourceChartProperties, decorator: Google::Apis::SheetsV4::DataSourceChartProperties::Representation + + collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::FilterSpec, decorator: Google::Apis::SheetsV4::FilterSpec::Representation + property :font_name, as: 'fontName' property :hidden_dimension_strategy, as: 'hiddenDimensionStrategy' property :histogram_chart, as: 'histogramChart', class: Google::Apis::SheetsV4::HistogramChartSpec, decorator: Google::Apis::SheetsV4::HistogramChartSpec::Representation @@ -1901,6 +2205,8 @@ module Google property :scorecard_chart, as: 'scorecardChart', class: Google::Apis::SheetsV4::ScorecardChartSpec, decorator: Google::Apis::SheetsV4::ScorecardChartSpec::Representation + collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation + property :subtitle, as: 'subtitle' property :subtitle_text_format, as: 'subtitleTextFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation @@ -2024,6 +2330,16 @@ module Google end end + class DataExecutionStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error_code, as: 'errorCode' + property :error_message, as: 'errorMessage' + property :last_refresh_time, as: 'lastRefreshTime' + property :state, as: 'state' + end + end + class DataFilter # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2049,6 +2365,173 @@ module Google end end + class DataSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :calculated_columns, as: 'calculatedColumns', class: Google::Apis::SheetsV4::DataSourceColumn, decorator: Google::Apis::SheetsV4::DataSourceColumn::Representation + + property :data_source_id, as: 'dataSourceId' + property :sheet_id, as: 'sheetId' + property :spec, as: 'spec', class: Google::Apis::SheetsV4::DataSourceSpec, decorator: Google::Apis::SheetsV4::DataSourceSpec::Representation + + end + end + + class DataSourceChartProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation + + property :data_source_id, as: 'dataSourceId' + end + end + + class DataSourceColumn + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formula, as: 'formula' + property :reference, as: 'reference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + + end + end + + class DataSourceColumnReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class DataSourceFormula + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation + + property :data_source_id, as: 'dataSourceId' + end + end + + class DataSourceObjectReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id, as: 'chartId' + property :data_source_formula_cell, as: 'dataSourceFormulaCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :data_source_pivot_table_anchor_cell, as: 'dataSourcePivotTableAnchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :data_source_table_anchor_cell, as: 'dataSourceTableAnchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :sheet_id, as: 'sheetId' + end + end + + class DataSourceObjectReferences + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :references, as: 'references', class: Google::Apis::SheetsV4::DataSourceObjectReference, decorator: Google::Apis::SheetsV4::DataSourceObjectReference::Representation + + end + end + + class DataSourceParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :named_range_id, as: 'namedRangeId' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + end + end + + class DataSourceRefreshDailySchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_time, as: 'startTime', class: Google::Apis::SheetsV4::TimeOfDay, decorator: Google::Apis::SheetsV4::TimeOfDay::Representation + + end + end + + class DataSourceRefreshMonthlySchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :days_of_month, as: 'daysOfMonth' + property :start_time, as: 'startTime', class: Google::Apis::SheetsV4::TimeOfDay, decorator: Google::Apis::SheetsV4::TimeOfDay::Representation + + end + end + + class DataSourceRefreshSchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :daily_schedule, as: 'dailySchedule', class: Google::Apis::SheetsV4::DataSourceRefreshDailySchedule, decorator: Google::Apis::SheetsV4::DataSourceRefreshDailySchedule::Representation + + property :enabled, as: 'enabled' + property :monthly_schedule, as: 'monthlySchedule', class: Google::Apis::SheetsV4::DataSourceRefreshMonthlySchedule, decorator: Google::Apis::SheetsV4::DataSourceRefreshMonthlySchedule::Representation + + property :next_run, as: 'nextRun', class: Google::Apis::SheetsV4::Interval, decorator: Google::Apis::SheetsV4::Interval::Representation + + property :refresh_scope, as: 'refreshScope' + property :weekly_schedule, as: 'weeklySchedule', class: Google::Apis::SheetsV4::DataSourceRefreshWeeklySchedule, decorator: Google::Apis::SheetsV4::DataSourceRefreshWeeklySchedule::Representation + + end + end + + class DataSourceRefreshWeeklySchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :days_of_week, as: 'daysOfWeek' + property :start_time, as: 'startTime', class: Google::Apis::SheetsV4::TimeOfDay, decorator: Google::Apis::SheetsV4::TimeOfDay::Representation + + end + end + + class DataSourceSheetDimensionRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :column_references, as: 'columnReferences', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + + property :sheet_id, as: 'sheetId' + end + end + + class DataSourceSheetProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :columns, as: 'columns', class: Google::Apis::SheetsV4::DataSourceColumn, decorator: Google::Apis::SheetsV4::DataSourceColumn::Representation + + property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation + + property :data_source_id, as: 'dataSourceId' + end + end + + class DataSourceSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :big_query, as: 'bigQuery', class: Google::Apis::SheetsV4::BigQueryDataSourceSpec, decorator: Google::Apis::SheetsV4::BigQueryDataSourceSpec::Representation + + collection :parameters, as: 'parameters', class: Google::Apis::SheetsV4::DataSourceParameter, decorator: Google::Apis::SheetsV4::DataSourceParameter::Representation + + end + end + + class DataSourceTable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_selection_type, as: 'columnSelectionType' + collection :columns, as: 'columns', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + + property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation + + property :data_source_id, as: 'dataSourceId' + collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::FilterSpec, decorator: Google::Apis::SheetsV4::FilterSpec::Representation + + property :row_limit, as: 'rowLimit' + collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation + + end + end + class DataValidationRule # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2090,6 +2573,13 @@ module Google end end + class DeleteDataSourceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_id, as: 'dataSourceId' + end + end + class DeleteDeveloperMetadataRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2241,6 +2731,8 @@ module Google class DimensionProperties # @private class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + collection :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation property :hidden_by_filter, as: 'hiddenByFilter' @@ -2359,11 +2851,24 @@ module Google end end + class FilterSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_index, as: 'columnIndex' + property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + + property :filter_criteria, as: 'filterCriteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation + + end + end + class FilterView # @private class Representation < Google::Apis::Core::JsonRepresentation hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation + collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::FilterSpec, decorator: Google::Apis::SheetsV4::FilterSpec::Representation + property :filter_view_id, as: 'filterViewId' property :named_range_id, as: 'namedRangeId' property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation @@ -2532,6 +3037,14 @@ module Google end end + class Interval + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + end + end + class IterativeCalculationSettings # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2707,9 +3220,24 @@ module Google end end + class PivotFilterSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_offset_index, as: 'columnOffsetIndex' + property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + + property :filter_criteria, as: 'filterCriteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation + + end + end + class PivotGroup # @private class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + + property :group_limit, as: 'groupLimit', class: Google::Apis::SheetsV4::PivotGroupLimit, decorator: Google::Apis::SheetsV4::PivotGroupLimit::Representation + property :group_rule, as: 'groupRule', class: Google::Apis::SheetsV4::PivotGroupRule, decorator: Google::Apis::SheetsV4::PivotGroupRule::Representation property :label, as: 'label' @@ -2724,6 +3252,14 @@ module Google end end + class PivotGroupLimit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :apply_order, as: 'applyOrder' + property :count_limit, as: 'countLimit' + end + end + class PivotGroupRule # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2761,6 +3297,11 @@ module Google hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation + property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation + + property :data_source_id, as: 'dataSourceId' + collection :filter_specs, as: 'filterSpecs', class: Google::Apis::SheetsV4::PivotFilterSpec, decorator: Google::Apis::SheetsV4::PivotFilterSpec::Representation + collection :rows, as: 'rows', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation @@ -2775,6 +3316,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :calculated_display_type, as: 'calculatedDisplayType' + property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + property :formula, as: 'formula' property :name, as: 'name' property :source_column_offset, as: 'sourceColumnOffset' @@ -2807,6 +3350,35 @@ module Google end end + class RefreshDataSourceObjectExecutionStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation + + property :reference, as: 'reference', class: Google::Apis::SheetsV4::DataSourceObjectReference, decorator: Google::Apis::SheetsV4::DataSourceObjectReference::Representation + + end + end + + class RefreshDataSourceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_id, as: 'dataSourceId' + property :force, as: 'force' + property :is_all, as: 'isAll' + property :references, as: 'references', class: Google::Apis::SheetsV4::DataSourceObjectReferences, decorator: Google::Apis::SheetsV4::DataSourceObjectReferences::Representation + + end + end + + class RefreshDataSourceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :statuses, as: 'statuses', class: Google::Apis::SheetsV4::RefreshDataSourceObjectExecutionStatus, decorator: Google::Apis::SheetsV4::RefreshDataSourceObjectExecutionStatus::Representation + + end + end + class RepeatCellRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2827,6 +3399,8 @@ module Google property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation + property :add_data_source, as: 'addDataSource', class: Google::Apis::SheetsV4::AddDataSourceRequest, decorator: Google::Apis::SheetsV4::AddDataSourceRequest::Representation + property :add_dimension_group, as: 'addDimensionGroup', class: Google::Apis::SheetsV4::AddDimensionGroupRequest, decorator: Google::Apis::SheetsV4::AddDimensionGroupRequest::Representation property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewRequest, decorator: Google::Apis::SheetsV4::AddFilterViewRequest::Representation @@ -2859,6 +3433,8 @@ module Google property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation + property :delete_data_source, as: 'deleteDataSource', class: Google::Apis::SheetsV4::DeleteDataSourceRequest, decorator: Google::Apis::SheetsV4::DeleteDataSourceRequest::Representation + property :delete_developer_metadata, as: 'deleteDeveloperMetadata', class: Google::Apis::SheetsV4::DeleteDeveloperMetadataRequest, decorator: Google::Apis::SheetsV4::DeleteDeveloperMetadataRequest::Representation property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation @@ -2897,6 +3473,8 @@ module Google property :randomize_range, as: 'randomizeRange', class: Google::Apis::SheetsV4::RandomizeRangeRequest, decorator: Google::Apis::SheetsV4::RandomizeRangeRequest::Representation + property :refresh_data_source, as: 'refreshDataSource', class: Google::Apis::SheetsV4::RefreshDataSourceRequest, decorator: Google::Apis::SheetsV4::RefreshDataSourceRequest::Representation + property :repeat_cell, as: 'repeatCell', class: Google::Apis::SheetsV4::RepeatCellRequest, decorator: Google::Apis::SheetsV4::RepeatCellRequest::Representation property :set_basic_filter, as: 'setBasicFilter', class: Google::Apis::SheetsV4::SetBasicFilterRequest, decorator: Google::Apis::SheetsV4::SetBasicFilterRequest::Representation @@ -2921,6 +3499,8 @@ module Google property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest::Representation + property :update_data_source, as: 'updateDataSource', class: Google::Apis::SheetsV4::UpdateDataSourceRequest, decorator: Google::Apis::SheetsV4::UpdateDataSourceRequest::Representation + property :update_developer_metadata, as: 'updateDeveloperMetadata', class: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest, decorator: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest::Representation property :update_dimension_group, as: 'updateDimensionGroup', class: Google::Apis::SheetsV4::UpdateDimensionGroupRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionGroupRequest::Representation @@ -2951,6 +3531,8 @@ module Google property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartResponse, decorator: Google::Apis::SheetsV4::AddChartResponse::Representation + property :add_data_source, as: 'addDataSource', class: Google::Apis::SheetsV4::AddDataSourceResponse, decorator: Google::Apis::SheetsV4::AddDataSourceResponse::Representation + property :add_dimension_group, as: 'addDimensionGroup', class: Google::Apis::SheetsV4::AddDimensionGroupResponse, decorator: Google::Apis::SheetsV4::AddDimensionGroupResponse::Representation property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewResponse, decorator: Google::Apis::SheetsV4::AddFilterViewResponse::Representation @@ -2979,10 +3561,14 @@ module Google property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceResponse, decorator: Google::Apis::SheetsV4::FindReplaceResponse::Representation + property :refresh_data_source, as: 'refreshDataSource', class: Google::Apis::SheetsV4::RefreshDataSourceResponse, decorator: Google::Apis::SheetsV4::RefreshDataSourceResponse::Representation + property :trim_whitespace, as: 'trimWhitespace', class: Google::Apis::SheetsV4::TrimWhitespaceResponse, decorator: Google::Apis::SheetsV4::TrimWhitespaceResponse::Representation property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation + property :update_data_source, as: 'updateDataSource', class: Google::Apis::SheetsV4::UpdateDataSourceResponse, decorator: Google::Apis::SheetsV4::UpdateDataSourceResponse::Representation + property :update_developer_metadata, as: 'updateDeveloperMetadata', class: Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse, decorator: Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse::Representation property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse::Representation @@ -3086,6 +3672,8 @@ module Google class SheetProperties # @private class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_sheet_properties, as: 'dataSourceSheetProperties', class: Google::Apis::SheetsV4::DataSourceSheetProperties, decorator: Google::Apis::SheetsV4::DataSourceSheetProperties::Representation + property :grid_properties, as: 'gridProperties', class: Google::Apis::SheetsV4::GridProperties, decorator: Google::Apis::SheetsV4::GridProperties::Representation property :hidden, as: 'hidden' @@ -3149,6 +3737,8 @@ module Google property :background_color_style, as: 'backgroundColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation + property :data_source_column_reference, as: 'dataSourceColumnReference', class: Google::Apis::SheetsV4::DataSourceColumnReference, decorator: Google::Apis::SheetsV4::DataSourceColumnReference::Representation + property :dimension_index, as: 'dimensionIndex' property :foreground_color, as: 'foregroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation @@ -3171,6 +3761,10 @@ module Google class Spreadsheet # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :data_source_schedules, as: 'dataSourceSchedules', class: Google::Apis::SheetsV4::DataSourceRefreshSchedule, decorator: Google::Apis::SheetsV4::DataSourceRefreshSchedule::Representation + + collection :data_sources, as: 'dataSources', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation + collection :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation collection :named_ranges, as: 'namedRanges', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation @@ -3268,6 +3862,16 @@ module Google end end + class TimeOfDay + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hours, as: 'hours' + property :minutes, as: 'minutes' + property :nanos, as: 'nanos' + property :seconds, as: 'seconds' + end + end + class TreemapChartColorScale # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3414,6 +4018,25 @@ module Google end end + class UpdateDataSourceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_source, as: 'dataSource', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation + + property :fields, as: 'fields' + end + end + + class UpdateDataSourceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_execution_status, as: 'dataExecutionStatus', class: Google::Apis::SheetsV4::DataExecutionStatus, decorator: Google::Apis::SheetsV4::DataExecutionStatus::Representation + + property :data_source, as: 'dataSource', class: Google::Apis::SheetsV4::DataSource, decorator: Google::Apis::SheetsV4::DataSource::Representation + + end + end + class UpdateDeveloperMetadataRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3445,6 +4068,8 @@ module Google class UpdateDimensionPropertiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_sheet_range, as: 'dataSourceSheetRange', class: Google::Apis::SheetsV4::DataSourceSheetDimensionRange, decorator: Google::Apis::SheetsV4::DataSourceSheetDimensionRange::Representation + property :fields, as: 'fields' property :properties, as: 'properties', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation diff --git a/generated/google/apis/sql_v1beta4.rb b/generated/google/apis/sql_v1beta4.rb index 3a18b0e5a..dadd8285d 100644 --- a/generated/google/apis/sql_v1beta4.rb +++ b/generated/google/apis/sql_v1beta4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-sql/ module SqlV1beta4 VERSION = 'V1beta4' - REVISION = '20200805' + REVISION = '20200820' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/sql_v1beta4/classes.rb b/generated/google/apis/sql_v1beta4/classes.rb index fb33fe762..5170bd6b6 100644 --- a/generated/google/apis/sql_v1beta4/classes.rb +++ b/generated/google/apis/sql_v1beta4/classes.rb @@ -464,7 +464,7 @@ module Google end end - # A Cloud SQL instance resource. Next field: 34 + # A Cloud SQL instance resource. Next field: 35 class DatabaseInstance include Google::Apis::Core::Hashable diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 3f706ce91..ba06f9990 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://devsite.googleplex.com/youtube/partner/docs/v1/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20200825' + REVISION = '20200827' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'