Skip to content

Commit 4c6f583

Browse files
Google APIscopybara-github
authored andcommitted
docs: updated comments to match API behaviors
PiperOrigin-RevId: 449874412
1 parent 6b3b071 commit 4c6f583

5 files changed

Lines changed: 9 additions & 59 deletions

File tree

.github/mistaken-pull-closer.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
filters:
66
# Don't close PRs in the pubsub_dev branch.
77
- '@.pull_request.base.ref != "pubsub_dev"'
8-
- '@.pull_request.base.ref != "diregapic"'
98

109
# The message to post to the closed PR.
1110
commentBody: |

.github/workflows/diregapic.yaml

Lines changed: 0 additions & 50 deletions
This file was deleted.

google/cloud/video/livestream/v1/outputs.proto

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@ syntax = "proto3";
1616

1717
package google.cloud.video.livestream.v1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/protobuf/duration.proto";
2221

@@ -106,7 +105,7 @@ message Manifest {
106105
// Maximum number of segments that this manifest holds. Once the manifest
107106
// reaches this maximum number of segments, whenever a new segment is added to
108107
// the manifest, the oldest segment will be removed from the manifest.
109-
// The minimum value is 1 and the default value is 5.
108+
// The minimum value is 3 and the default value is 5.
110109
int32 max_segment_count = 4;
111110

112111
// How long to keep a segment on the output Google Cloud Storage bucket after

google/cloud/video/livestream/v1/resources.proto

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@ syntax = "proto3";
1616

1717
package google.cloud.video.livestream.v1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
2221
import "google/cloud/video/livestream/v1/outputs.proto";
@@ -143,8 +142,7 @@ message Channel {
143142
// specified output location.
144143
STREAMING = 1;
145144

146-
// Channel is waiting for the input stream through the input. Live streams
147-
// do not start yet.
145+
// Channel is waiting for the input stream through the input.
148146
AWAITING_INPUT = 2;
149147

150148
// Channel is running, but has trouble publishing the live streams onto the
@@ -154,6 +152,7 @@ message Channel {
154152

155153
// Channel is generating live streams with no input stream. Live streams are
156154
// filled out with black screen, while input stream is missing.
155+
// Not supported yet.
157156
STREAMING_NO_INPUT = 5;
158157

159158
// Channel is stopped, finishing live streams.
@@ -366,6 +365,9 @@ message Event {
366365

367366
// Event has been created but not scheduled yet.
368367
PENDING = 5;
368+
369+
// Event was stopped before running for its full duration.
370+
STOPPED = 6;
369371
}
370372

371373
// The resource name of the event, in the form of:

google/cloud/video/livestream/v1/service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)