Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / resources / label.proto
1 // Copyright 2019 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 //
15
16 syntax = "proto3";
17
18 package google.ads.googleads.v1.resources;
19
20 import "google/ads/googleads/v1/common/text_label.proto";
21 import "google/ads/googleads/v1/enums/label_status.proto";
22 import "google/protobuf/wrappers.proto";
23 import "google/api/annotations.proto";
24
25 option csharp_namespace = "Google.Ads.GoogleAds.V1.Resources";
26 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources";
27 option java_multiple_files = true;
28 option java_outer_classname = "LabelProto";
29 option java_package = "com.google.ads.googleads.v1.resources";
30 option objc_class_prefix = "GAA";
31 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Resources";
32 option ruby_package = "Google::Ads::GoogleAds::V1::Resources";
33
34
35 // A label.
36 message Label {
37   // Name of the resource.
38   // Label resource names have the form:
39   // `customers/{customer_id}/labels/{label_id}`
40   string resource_name = 1;
41
42   // Id of the label. Read only.
43   google.protobuf.Int64Value id = 2;
44
45   // The name of the label.
46   //
47   // This field is required and should not be empty when creating a new label.
48   //
49   // The length of this string should be between 1 and 80, inclusive.
50   google.protobuf.StringValue name = 3;
51
52   // Status of the label. Read only.
53   google.ads.googleads.v1.enums.LabelStatusEnum.LabelStatus status = 4;
54
55   // A type of label displaying text on a colored background.
56   google.ads.googleads.v1.common.TextLabel text_label = 5;
57 }