1// Copyright 2022 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.monitoring.dashboard.v1; 18 19option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; 20option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; 21option java_multiple_files = true; 22option java_outer_classname = "TextProto"; 23option java_package = "com.google.monitoring.dashboard.v1"; 24option php_namespace = "Google\\Cloud\\Monitoring\\Dashboard\\V1"; 25option ruby_package = "Google::Cloud::Monitoring::Dashboard::V1"; 26 27// A widget that displays textual content. 28message Text { 29 // The format type of the text content. 30 enum Format { 31 // Format is unspecified. Defaults to MARKDOWN. 32 FORMAT_UNSPECIFIED = 0; 33 34 // The text contains Markdown formatting. 35 MARKDOWN = 1; 36 37 // The text contains no special formatting. 38 RAW = 2; 39 } 40 41 // The text content to be displayed. 42 string content = 1; 43 44 // How the text content is formatted. 45 Format format = 2; 46} 47