Skip to content

Commit 1c4f24e

Browse files
Google APIscopybara-github
authored andcommitted
fix!: use correct child_type annotation
PiperOrigin-RevId: 558967926
1 parent a7ee700 commit 1c4f24e

5 files changed

Lines changed: 13 additions & 12 deletions

File tree

google/cloud/video/stitcher/v1/ad_tag_details.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ message LiveAdTagDetail {
4040
repeated AdRequest ad_requests = 2;
4141
}
4242

43-
// Information related to the details for one ad tag.
43+
// Information related to the details for one ad tag. This resource is only
44+
// available for VOD sessions that do not implement Google Ad Manager ad
45+
// insertion.
4446
message VodAdTagDetail {
4547
option (google.api.resource) = {
4648
type: "videostitcher.googleapis.com/VodAdTagDetail"

google/cloud/video/stitcher/v1/sessions.proto

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ message VodSession {
8181
// Output only. The generated ID of the VodSession's source media.
8282
string asset_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
8383

84-
// Required. Determines how the ad should be tracked. If
85-
// [gam_vod_config][google.cloud.video.stitcher.v1.VodSession.gam_vod_config]
86-
// is set, the value must be `CLIENT` because the IMA SDK handles ad tracking.
84+
// Required. Determines how the ad should be tracked.
8785
AdTracking ad_tracking = 11 [(google.api.field_behavior) = REQUIRED];
8886

8987
// This field should be set with appropriate values if GAM is being used for
@@ -147,8 +145,7 @@ message LiveSession {
147145
};
148146

149147
// Defines fields related to Google Ad Manager (GAM). This should be set if
150-
// GAM
151-
// is being used for ads.
148+
// GAM is being used for ads.
152149
message GamSettings {
153150
// Required. The stream ID generated by Ad Manager.
154151
string stream_id = 1 [(google.api.field_behavior) = REQUIRED];

google/cloud/video/stitcher/v1/stitch_details.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ option java_multiple_files = true;
2626
option java_outer_classname = "StitchDetailsProto";
2727
option java_package = "com.google.cloud.video.stitcher.v1";
2828

29-
// Detailed information related to the interstitial of a VOD session.
29+
// Detailed information related to the interstitial of a VOD session. This
30+
// resource is only available for VOD sessions that do not implement Google Ad
31+
// Manager ad insertion.
3032
message VodStitchDetail {
3133
option (google.api.resource) = {
3234
type: "videostitcher.googleapis.com/VodStitchDetail"

google/cloud/video/stitcher/v1/video_stitcher_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ message CreateLiveSessionRequest {
647647
string parent = 1 [
648648
(google.api.field_behavior) = REQUIRED,
649649
(google.api.resource_reference) = {
650-
type: "videostitcher.googleapis.com/LiveSession"
650+
child_type: "videostitcher.googleapis.com/LiveSession"
651651
}
652652
];
653653

google/cloud/video/stitcher/v1/videostitcher_grpc_service_config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "GetCdnKey" },
1818
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "DeleteCdnKey" },
1919
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "UpdateCdnKey" },
20-
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "CreateLiveConfigKey" },
21-
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "ListLiveConfigKeys" },
22-
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "GetLiveConfigKey" },
23-
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "DeleteLiveConfigKey" },
20+
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "CreateLiveConfig" },
21+
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "ListLiveConfigs" },
22+
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "GetLiveConfig" },
23+
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "DeleteLiveConfig" },
2424
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "CreateSlate" },
2525
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "ListSlates" },
2626
{ "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "GetSlate" },

0 commit comments

Comments
 (0)