xref: /aosp_15_r20/external/googleapis/google/cloud/video/stitcher/v1/slates.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2023 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.cloud.video.stitcher.v1;
18
19import "google/api/field_behavior.proto";
20import "google/api/resource.proto";
21
22option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb";
23option java_multiple_files = true;
24option java_outer_classname = "SlatesProto";
25option java_package = "com.google.cloud.video.stitcher.v1";
26
27// Slate object
28message Slate {
29  option (google.api.resource) = {
30    type: "videostitcher.googleapis.com/Slate"
31    pattern: "projects/{project}/locations/{location}/slates/{slate}"
32  };
33
34  // GamSlate object has Google Ad Manager (GAM) related properties for the
35  // slate.
36  message GamSlate {
37    // Required. Ad Manager network code to associate with the live config.
38    string network_code = 1 [(google.api.field_behavior) = REQUIRED];
39
40    // Output only. The identifier generated for the slate by GAM.
41    int64 gam_slate_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
42  }
43
44  // Output only. The name of the slate, in the form of
45  // `projects/{project_number}/locations/{location}/slates/{id}`.
46  string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
47
48  // The URI to fetch the source content for the slate. This URI must return an
49  // MP4 video with at least one audio track.
50  string uri = 2;
51
52  // gam_slate has all the GAM-related attributes of slates.
53  GamSlate gam_slate = 3;
54}
55