All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dialogflow.v2.RestoreAgentRequestOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/v2/agent.proto

package com.google.cloud.dialogflow.v2;

public interface RestoreAgentRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.RestoreAgentRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Required. The project that the agent to restore is associated with.
   * Format: `projects/<Project ID>`.
   * 
* * string parent = 1; */ java.lang.String getParent(); /** *
   * Required. The project that the agent to restore is associated with.
   * Format: `projects/<Project ID>`.
   * 
* * string parent = 1; */ com.google.protobuf.ByteString getParentBytes(); /** *
   * The URI to a Google Cloud Storage file containing the agent to restore.
   * Note: The URI must start with "gs://".
   * 
* * string agent_uri = 2; */ java.lang.String getAgentUri(); /** *
   * The URI to a Google Cloud Storage file containing the agent to restore.
   * Note: The URI must start with "gs://".
   * 
* * string agent_uri = 2; */ com.google.protobuf.ByteString getAgentUriBytes(); /** *
   * The agent to restore.
   * Example for how to restore an agent via the command line:
   * curl \
   *   'https://dialogflow.googleapis.com/v2/projects/<project_name>/agent:restore\
   *    -X POST \
   *    -H 'Authorization: Bearer '$(gcloud auth print-access-token) \
   *    -H 'Accept: application/json' \
   *    -H 'Content-Type: application/json' \
   *    --compressed \
   *    --data-binary "{
   *        'agentContent': '$(cat <agent zip file> | base64 -w 0)'
   *    }" \
   * 
* * bytes agent_content = 3; */ com.google.protobuf.ByteString getAgentContent(); public com.google.cloud.dialogflow.v2.RestoreAgentRequest.AgentCase getAgentCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy