Skip to content

Commit 9679beb

Browse files
feat: [livestream] added support for slate events which allow users to create and insert a slate into a live stream to replace the main live stream content (#9665)
* feat: added support for slate events which allow users to create and insert a slate into a live stream to replace the main live stream content feat: added a new asset resource which can be used as the content of slate events feat: added a new pool resource for protecting input endpoints within a VPC Service Controls perimeter PiperOrigin-RevId: 549682971 Source-Link: googleapis/googleapis@e43e3d6 Source-Link: https://github.com/googleapis/googleapis-gen/commit/47b82671ba10862a68df4c11a978131c2c92124c Copy-Tag: eyJwIjoiamF2YS12aWRlby1saXZlLXN0cmVhbS8uT3dsQm90LnlhbWwiLCJoIjoiNDdiODI2NzFiYTEwODYyYTY4ZGY0YzExYTk3ODEzMWMyYzkyMTI0YyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 378391e commit 9679beb

File tree

67 files changed

+26753
-566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+26753
-566
lines changed

java-video-live-stream/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2323
<dependency>
2424
<groupId>com.google.cloud</groupId>
2525
<artifactId>libraries-bom</artifactId>
26-
<version>26.16.0</version>
26+
<version>26.19.0</version>
2727
<type>pom</type>
2828
<scope>import</scope>
2929
</dependency>
@@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
201201
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
202202
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
203203
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-live-stream.svg
204-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.21.0
204+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.23.0
205205
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
206206
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
207207
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java

Lines changed: 902 additions & 0 deletions
Large diffs are not rendered by default.

java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceSettings.java

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

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

19+
import static com.google.cloud.video.livestream.v1.LivestreamServiceClient.ListAssetsPagedResponse;
1920
import static com.google.cloud.video.livestream.v1.LivestreamServiceClient.ListChannelsPagedResponse;
2021
import static com.google.cloud.video.livestream.v1.LivestreamServiceClient.ListEventsPagedResponse;
2122
import static com.google.cloud.video.livestream.v1.LivestreamServiceClient.ListInputsPagedResponse;
@@ -216,6 +217,55 @@ public UnaryCallSettings<DeleteEventRequest, Empty> deleteEventSettings() {
216217
return ((LivestreamServiceStubSettings) getStubSettings()).deleteEventSettings();
217218
}
218219

220+
/** Returns the object with the settings used for calls to createAsset. */
221+
public UnaryCallSettings<CreateAssetRequest, Operation> createAssetSettings() {
222+
return ((LivestreamServiceStubSettings) getStubSettings()).createAssetSettings();
223+
}
224+
225+
/** Returns the object with the settings used for calls to createAsset. */
226+
public OperationCallSettings<CreateAssetRequest, Asset, OperationMetadata>
227+
createAssetOperationSettings() {
228+
return ((LivestreamServiceStubSettings) getStubSettings()).createAssetOperationSettings();
229+
}
230+
231+
/** Returns the object with the settings used for calls to deleteAsset. */
232+
public UnaryCallSettings<DeleteAssetRequest, Operation> deleteAssetSettings() {
233+
return ((LivestreamServiceStubSettings) getStubSettings()).deleteAssetSettings();
234+
}
235+
236+
/** Returns the object with the settings used for calls to deleteAsset. */
237+
public OperationCallSettings<DeleteAssetRequest, Empty, OperationMetadata>
238+
deleteAssetOperationSettings() {
239+
return ((LivestreamServiceStubSettings) getStubSettings()).deleteAssetOperationSettings();
240+
}
241+
242+
/** Returns the object with the settings used for calls to getAsset. */
243+
public UnaryCallSettings<GetAssetRequest, Asset> getAssetSettings() {
244+
return ((LivestreamServiceStubSettings) getStubSettings()).getAssetSettings();
245+
}
246+
247+
/** Returns the object with the settings used for calls to listAssets. */
248+
public PagedCallSettings<ListAssetsRequest, ListAssetsResponse, ListAssetsPagedResponse>
249+
listAssetsSettings() {
250+
return ((LivestreamServiceStubSettings) getStubSettings()).listAssetsSettings();
251+
}
252+
253+
/** Returns the object with the settings used for calls to getPool. */
254+
public UnaryCallSettings<GetPoolRequest, Pool> getPoolSettings() {
255+
return ((LivestreamServiceStubSettings) getStubSettings()).getPoolSettings();
256+
}
257+
258+
/** Returns the object with the settings used for calls to updatePool. */
259+
public UnaryCallSettings<UpdatePoolRequest, Operation> updatePoolSettings() {
260+
return ((LivestreamServiceStubSettings) getStubSettings()).updatePoolSettings();
261+
}
262+
263+
/** Returns the object with the settings used for calls to updatePool. */
264+
public OperationCallSettings<UpdatePoolRequest, Pool, OperationMetadata>
265+
updatePoolOperationSettings() {
266+
return ((LivestreamServiceStubSettings) getStubSettings()).updatePoolOperationSettings();
267+
}
268+
219269
/** Returns the object with the settings used for calls to listLocations. */
220270
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
221271
listLocationsSettings() {
@@ -476,6 +526,55 @@ public UnaryCallSettings.Builder<DeleteEventRequest, Empty> deleteEventSettings(
476526
return getStubSettingsBuilder().deleteEventSettings();
477527
}
478528

529+
/** Returns the builder for the settings used for calls to createAsset. */
530+
public UnaryCallSettings.Builder<CreateAssetRequest, Operation> createAssetSettings() {
531+
return getStubSettingsBuilder().createAssetSettings();
532+
}
533+
534+
/** Returns the builder for the settings used for calls to createAsset. */
535+
public OperationCallSettings.Builder<CreateAssetRequest, Asset, OperationMetadata>
536+
createAssetOperationSettings() {
537+
return getStubSettingsBuilder().createAssetOperationSettings();
538+
}
539+
540+
/** Returns the builder for the settings used for calls to deleteAsset. */
541+
public UnaryCallSettings.Builder<DeleteAssetRequest, Operation> deleteAssetSettings() {
542+
return getStubSettingsBuilder().deleteAssetSettings();
543+
}
544+
545+
/** Returns the builder for the settings used for calls to deleteAsset. */
546+
public OperationCallSettings.Builder<DeleteAssetRequest, Empty, OperationMetadata>
547+
deleteAssetOperationSettings() {
548+
return getStubSettingsBuilder().deleteAssetOperationSettings();
549+
}
550+
551+
/** Returns the builder for the settings used for calls to getAsset. */
552+
public UnaryCallSettings.Builder<GetAssetRequest, Asset> getAssetSettings() {
553+
return getStubSettingsBuilder().getAssetSettings();
554+
}
555+
556+
/** Returns the builder for the settings used for calls to listAssets. */
557+
public PagedCallSettings.Builder<ListAssetsRequest, ListAssetsResponse, ListAssetsPagedResponse>
558+
listAssetsSettings() {
559+
return getStubSettingsBuilder().listAssetsSettings();
560+
}
561+
562+
/** Returns the builder for the settings used for calls to getPool. */
563+
public UnaryCallSettings.Builder<GetPoolRequest, Pool> getPoolSettings() {
564+
return getStubSettingsBuilder().getPoolSettings();
565+
}
566+
567+
/** Returns the builder for the settings used for calls to updatePool. */
568+
public UnaryCallSettings.Builder<UpdatePoolRequest, Operation> updatePoolSettings() {
569+
return getStubSettingsBuilder().updatePoolSettings();
570+
}
571+
572+
/** Returns the builder for the settings used for calls to updatePool. */
573+
public OperationCallSettings.Builder<UpdatePoolRequest, Pool, OperationMetadata>
574+
updatePoolOperationSettings() {
575+
return getStubSettingsBuilder().updatePoolOperationSettings();
576+
}
577+
479578
/** Returns the builder for the settings used for calls to listLocations. */
480579
public PagedCallSettings.Builder<
481580
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>

java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/gapic_metadata.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"grpc": {
1111
"libraryClient": "LivestreamServiceClient",
1212
"rpcs": {
13+
"CreateAsset": {
14+
"methods": ["createAssetAsync", "createAssetAsync", "createAssetAsync", "createAssetOperationCallable", "createAssetCallable"]
15+
},
1316
"CreateChannel": {
1417
"methods": ["createChannelAsync", "createChannelAsync", "createChannelAsync", "createChannelOperationCallable", "createChannelCallable"]
1518
},
@@ -19,6 +22,9 @@
1922
"CreateInput": {
2023
"methods": ["createInputAsync", "createInputAsync", "createInputAsync", "createInputOperationCallable", "createInputCallable"]
2124
},
25+
"DeleteAsset": {
26+
"methods": ["deleteAssetAsync", "deleteAssetAsync", "deleteAssetAsync", "deleteAssetOperationCallable", "deleteAssetCallable"]
27+
},
2228
"DeleteChannel": {
2329
"methods": ["deleteChannelAsync", "deleteChannelAsync", "deleteChannelAsync", "deleteChannelOperationCallable", "deleteChannelCallable"]
2430
},
@@ -28,6 +34,9 @@
2834
"DeleteInput": {
2935
"methods": ["deleteInputAsync", "deleteInputAsync", "deleteInputAsync", "deleteInputOperationCallable", "deleteInputCallable"]
3036
},
37+
"GetAsset": {
38+
"methods": ["getAsset", "getAsset", "getAsset", "getAssetCallable"]
39+
},
3140
"GetChannel": {
3241
"methods": ["getChannel", "getChannel", "getChannel", "getChannelCallable"]
3342
},
@@ -40,6 +49,12 @@
4049
"GetLocation": {
4150
"methods": ["getLocation", "getLocationCallable"]
4251
},
52+
"GetPool": {
53+
"methods": ["getPool", "getPool", "getPool", "getPoolCallable"]
54+
},
55+
"ListAssets": {
56+
"methods": ["listAssets", "listAssets", "listAssets", "listAssetsPagedCallable", "listAssetsCallable"]
57+
},
4358
"ListChannels": {
4459
"methods": ["listChannels", "listChannels", "listChannels", "listChannelsPagedCallable", "listChannelsCallable"]
4560
},
@@ -63,6 +78,9 @@
6378
},
6479
"UpdateInput": {
6580
"methods": ["updateInputAsync", "updateInputAsync", "updateInputOperationCallable", "updateInputCallable"]
81+
},
82+
"UpdatePool": {
83+
"methods": ["updatePoolAsync", "updatePoolAsync", "updatePoolOperationCallable", "updatePoolCallable"]
6684
}
6785
}
6886
}

0 commit comments

Comments
 (0)