1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.actions.sdk.v2.conversation; 18 19import "google/actions/sdk/v2/conversation/prompt/content/canvas.proto"; 20import "google/actions/sdk/v2/conversation/prompt/content/card.proto"; 21import "google/actions/sdk/v2/conversation/prompt/content/collection.proto"; 22import "google/actions/sdk/v2/conversation/prompt/content/image.proto"; 23import "google/actions/sdk/v2/conversation/prompt/content/list.proto"; 24import "google/actions/sdk/v2/conversation/prompt/content/media.proto"; 25import "google/actions/sdk/v2/conversation/prompt/content/table.proto"; 26 27option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/conversation;conversation"; 28option java_multiple_files = true; 29option java_outer_classname = "ContentProto"; 30option java_package = "com.google.actions.sdk.v2.conversation"; 31 32// Content to be shown. 33message Content { 34 // Content. 35 oneof content { 36 // A basic card. 37 Card card = 1; 38 39 // An image. 40 Image image = 2; 41 42 // Table card. 43 Table table = 3; 44 45 // Response indicating a set of media to be played. 46 Media media = 4; 47 48 // A response to be used for interactive canvas experience. 49 Canvas canvas = 5 [deprecated = true]; 50 51 // A card presenting a collection of options to select from. 52 Collection collection = 6; 53 54 // A card presenting a list of options to select from. 55 List list = 7; 56 } 57} 58