UNPKG

@google-cloud/video-stitcher

Version:
1,089 lines (1,088 loc) 174 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "video": { "nested": { "stitcher": { "nested": { "v1": { "options": { "go_package": "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb", "java_multiple_files": true, "java_outer_classname": "VodConfigsProto", "java_package": "com.google.cloud.video.stitcher.v1" }, "nested": { "LiveAdTagDetail": { "options": { "(google.api.resource).type": "videostitcher.googleapis.com/LiveAdTagDetail", "(google.api.resource).pattern": "projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}" }, "fields": { "name": { "type": "string", "id": 1 }, "adRequests": { "rule": "repeated", "type": "AdRequest", "id": 2 } } }, "VodAdTagDetail": { "options": { "(google.api.resource).type": "videostitcher.googleapis.com/VodAdTagDetail", "(google.api.resource).pattern": "projects/{project}/locations/{location}/vodSessions/{vod_session}/vodAdTagDetails/{vod_ad_tag_detail}" }, "fields": { "name": { "type": "string", "id": 1 }, "adRequests": { "rule": "repeated", "type": "AdRequest", "id": 2 } } }, "AdRequest": { "fields": { "uri": { "type": "string", "id": 1 }, "requestMetadata": { "type": "RequestMetadata", "id": 2 }, "responseMetadata": { "type": "ResponseMetadata", "id": 3 } } }, "RequestMetadata": { "fields": { "headers": { "type": "google.protobuf.Struct", "id": 1 } } }, "ResponseMetadata": { "fields": { "error": { "type": "string", "id": 1 }, "headers": { "type": "google.protobuf.Struct", "id": 2 }, "statusCode": { "type": "string", "id": 3 }, "sizeBytes": { "type": "int32", "id": 4 }, "duration": { "type": "google.protobuf.Duration", "id": 5 }, "body": { "type": "string", "id": 6 } } }, "CdnKey": { "options": { "(google.api.resource).type": "videostitcher.googleapis.com/CdnKey", "(google.api.resource).pattern": "projects/{project}/locations/{location}/cdnKeys/{cdn_key}" }, "oneofs": { "cdnKeyConfig": { "oneof": [ "googleCdnKey", "akamaiCdnKey", "mediaCdnKey" ] } }, "fields": { "googleCdnKey": { "type": "GoogleCdnKey", "id": 5 }, "akamaiCdnKey": { "type": "AkamaiCdnKey", "id": 6 }, "mediaCdnKey": { "type": "MediaCdnKey", "id": 8 }, "name": { "type": "string", "id": 1 }, "hostname": { "type": "string", "id": 4 } } }, "GoogleCdnKey": { "fields": { "privateKey": { "type": "bytes", "id": 1, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "keyName": { "type": "string", "id": 2 } } }, "AkamaiCdnKey": { "fields": { "tokenKey": { "type": "bytes", "id": 1, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } } } }, "MediaCdnKey": { "fields": { "privateKey": { "type": "bytes", "id": 1, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "keyName": { "type": "string", "id": 2 }, "tokenConfig": { "type": "TokenConfig", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "TokenConfig": { "fields": { "queryParameter": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } } } }, "CompanionAds": { "fields": { "displayRequirement": { "type": "DisplayRequirement", "id": 1 }, "companions": { "rule": "repeated", "type": "Companion", "id": 2 } }, "nested": { "DisplayRequirement": { "values": { "DISPLAY_REQUIREMENT_UNSPECIFIED": 0, "ALL": 1, "ANY": 2, "NONE": 3 } } } }, "Companion": { "oneofs": { "adResource": { "oneof": [ "iframeAdResource", "staticAdResource", "htmlAdResource" ] } }, "fields": { "iframeAdResource": { "type": "IframeAdResource", "id": 10 }, "staticAdResource": { "type": "StaticAdResource", "id": 11 }, "htmlAdResource": { "type": "HtmlAdResource", "id": 12 }, "apiFramework": { "type": "string", "id": 1 }, "heightPx": { "type": "int32", "id": 2 }, "widthPx": { "type": "int32", "id": 3 }, "assetHeightPx": { "type": "int32", "id": 4 }, "expandedHeightPx": { "type": "int32", "id": 5 }, "assetWidthPx": { "type": "int32", "id": 6 }, "expandedWidthPx": { "type": "int32", "id": 7 }, "adSlotId": { "type": "string", "id": 8 }, "events": { "rule": "repeated", "type": "Event", "id": 9 } } }, "HtmlAdResource": { "fields": { "htmlSource": { "type": "string", "id": 1 } } }, "IframeAdResource": { "fields": { "uri": { "type": "string", "id": 1 } } }, "StaticAdResource": { "fields": { "uri": { "type": "string", "id": 1 }, "creativeType": { "type": "string", "id": 2 } } }, "Event": { "fields": { "type": { "type": "EventType", "id": 1 }, "uri": { "type": "string", "id": 2 }, "id": { "type": "string", "id": 3 }, "offset": { "type": "google.protobuf.Duration", "id": 4 } }, "nested": { "EventType": { "values": { "EVENT_TYPE_UNSPECIFIED": 0, "CREATIVE_VIEW": 1, "START": 2, "BREAK_START": 3, "BREAK_END": 4, "IMPRESSION": 5, "FIRST_QUARTILE": 6, "MIDPOINT": 7, "THIRD_QUARTILE": 8, "COMPLETE": 9, "PROGRESS": 10, "MUTE": 11, "UNMUTE": 12, "PAUSE": 13, "CLICK": 14, "CLICK_THROUGH": 15, "REWIND": 16, "RESUME": 17, "ERROR": 18, "EXPAND": 21, "COLLAPSE": 22, "CLOSE": 24, "CLOSE_LINEAR": 25, "SKIP": 26, "ACCEPT_INVITATION": 27 } } } }, "ProgressEvent": { "fields": { "timeOffset": { "type": "google.protobuf.Duration", "id": 1 }, "events": { "rule": "repeated", "type": "Event", "id": 2 } } }, "FetchOptions": { "fields": { "headers": { "keyType": "string", "type": "string", "id": 1 } } }, "AdTracking": { "values": { "AD_TRACKING_UNSPECIFIED": 0, "CLIENT": 1, "SERVER": 2 } }, "LiveConfig": { "options": { "(google.api.resource).type": "videostitcher.googleapis.com/LiveConfig", "(google.api.resource).pattern": "projects/{project}/locations/{location}/liveConfigs/{live_config}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "sourceUri": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "adTagUri": { "type": "string", "id": 3 }, "gamLiveConfig": { "type": "GamLiveConfig", "id": 4 }, "state": { "type": "State", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "adTracking": { "type": "AdTracking", "id": 6, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "defaultSlate": { "type": "string", "id": 7, "options": { "(google.api.resource_reference).type": "videostitcher.googleapis.com/Slate" } }, "stitchingPolicy": { "type": "StitchingPolicy", "id": 8 }, "prefetchConfig": { "type": "PrefetchConfig", "id": 10 }, "sourceFetchOptions": { "type": "FetchOptions", "id": 16 } }, "nested": { "State": { "values": { "STATE_UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "DELETING": 3 } }, "StitchingPolicy": { "values": { "STITCHING_POLICY_UNSPECIFIED": 0, "CUT_CURRENT": 1, "COMPLETE_AD": 2 } } } }, "PrefetchConfig": { "fields": { "enabled": { "type": "bool", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "initialAdRequestDuration": { "type": "google.protobuf.Duration", "id": 2 } } }, "GamLiveConfig": { "fields": { "networkCode": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "assetKey": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "customAssetKey": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "VodSession": { "options": { "(google.api.resource).type": "videostitcher.googleapis.com/VodSession", "(google.api.resource).pattern": "projects/{project}/locations/{location}/vodSessions/{vod_session}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "interstitials": { "type": "Interstitials", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "playUri": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "sourceUri": { "type": "string", "id": 5 }, "adTagUri": { "type": "string", "id": 6 }, "adTagMacroMap": { "keyType": "string", "type": "string", "id": 7 }, "manifestOptions": { "type": "ManifestOptions", "id": 9 }, "assetId": { "type": "string", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "adTracking": { "type": "AdTracking", "id": 11, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "gamSettings": { "type": "GamSettings", "id": 13 }, "vodConfig": { "type": "string", "id": 14, "options": { "(google.api.resource_reference).type": "videostitcher.googleapis.com/VodConfig" } } }, "nested": { "GamSettings": { "fields": { "networkCode": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "streamId": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } } } }, "Interstitials": { "fields": { "adBreaks": { "rule": "repeated", "type": "VodSessionAdBreak", "id": 1 }, "sessionContent": { "type": "VodSessionContent", "id": 2 } } }, "VodSessionAd": { "fields": { "duration": { "type": "google.protobuf.Duration", "id": 1 }, "companionAds": { "type": "CompanionAds", "id": 2 }, "activityEvents": { "rule": "repeated", "type": "Event", "id": 3 } } }, "VodSessionContent": { "fields": { "duration": { "type": "google.protobuf.Duration", "id": 1 } } }, "VodSessionAdBreak": { "fields": { "progressEvents": { "rule": "repeated", "type": "ProgressEvent", "id": 1 }, "ads": { "rule": "repeated", "type": "VodSessionAd", "id": 2 }, "endTimeOffset": { "type": "google.protobuf.Duration", "id": 3 }, "startTimeOffset": { "type": "google.protobuf.Duration", "id": 4 } } }, "LiveSession": { "options": { "(google.api.resource).type": "videostitcher.googleapis.com/LiveSession", "(google.api.resource).pattern": "projects/{project}/locations/{location}/liveSessions/{live_session}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "playUri": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "adTagMacros": { "keyType": "string", "type": "string", "id": 6 }, "manifestOptions": { "type": "ManifestOptions", "id": 10 }, "gamSettings": { "type": "GamSettings", "id": 15 }, "liveConfig": { "type": "string", "id": 16, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "videostitcher.googleapis.com/LiveConfig" } }, "adTracking": { "type": "AdTracking", "id": 17 } }, "nested": { "GamSettings": { "fields": { "streamId": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "targetingParameters": { "keyType": "string", "type": "string", "id": 4 } } } } }, "ManifestOptions": { "fields": { "includeRenditions": { "rule": "repeated", "type": "RenditionFilter", "id": 1 }, "bitrateOrder": { "type": "OrderPolicy", "id": 2 } }, "nested": { "OrderPolicy": { "values": { "ORDER_POLICY_UNSPECIFIED": 0, "ASCENDING": 1, "DESCENDING": 2 } } } }, "RenditionFilter": { "fields": { "bitrateBps": { "type": "int32", "id": 1 }, "codecs": { "type": "string", "id": 2 } } }, "Slate": { "options": { "(google.api.resource).type": "videostitcher.googleapis.com/Slate", "(google.api.resource).pattern": "projects/{project}/locations/{location}/slates/{slate}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "uri": { "type": "string", "id": 2 }, "gamSlate": { "type": "GamSlate", "id": 3 } }, "nested": { "GamSlate": { "fields": { "networkCode": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "gamSlateId": { "type": "int64", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } } } }, "VodStitchDetail": { "options": { "(google.api.resource).type": "videostitcher.googleapis.com/VodStitchDetail", "(google.api.resource).pattern": "projects/{project}/locations/{location}/vodSessions/{vod_session}/vodStitchDetails/{vod_stitch_detail}" }, "fields": { "name": { "type": "string", "id": 1 }, "adStitchDetails": { "rule": "repeated", "type": "AdStitchDetail", "id": 3 } } }, "AdStitchDetail": { "fields": { "adBreakId": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "adId": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "adTimeOffset": { "type": "google.protobuf.Duration", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "skipReason": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "media": { "keyType": "string", "type": "google.protobuf.Value", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "VideoStitcherService": { "options": { "(google.api.default_host)": "videostitcher.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "CreateCdnKey": { "requestType": "CreateCdnKeyRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/cdnKeys", "(google.api.http).body": "cdn_key", "(google.api.method_signature)": "parent,cdn_key,cdn_key_id", "(google.longrunning.operation_info).response_type": "google.cloud.video.stitcher.v1.CdnKey", "(google.longrunning.operation_info).metadata_type": "google.cloud.video.stitcher.v1.OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/cdnKeys", "body": "cdn_key" } }, { "(google.api.method_signature)": "parent,cdn_key,cdn_key_id" }, { "(google.longrunning.operation_info)": { "response_type": "google.cloud.video.stitcher.v1.CdnKey", "metadata_type": "google.cloud.video.stitcher.v1.OperationMetadata" } } ] }, "ListCdnKeys": { "requestType": "ListCdnKeysRequest", "responseType": "ListCdnKeysResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/cdnKeys", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/cdnKeys" } }, { "(google.api.method_signature)": "parent" } ] }, "GetCdnKey": { "requestType": "GetCdnKeyRequest", "responseType": "CdnKey", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/cdnKeys/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/cdnKeys/*}" } }, { "(google.api.method_signature)": "name" } ] }, "DeleteCdnKey": { "requestType": "DeleteCdnKeyRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/cdnKeys/*}", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", "(google.longrunning.operation_info).metadata_type": "google.cloud.video.stitcher.v1.OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/cdnKeys/*}" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "google.protobuf.Empty", "metadata_type": "google.cloud.video.stitcher.v1.OperationMetadata" } } ] }, "UpdateCdnKey": { "requestType": "UpdateCdnKeyRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).patch": "/v1/{cdn_key.name=projects/*/locations/*/cdnKeys/*}", "(google.api.http).body": "cdn_key", "(google.api.method_signature)": "cdn_key,update_mask", "(google.longrunning.operation_info).response_type": "google.cloud.video.stitcher.v1.CdnKey", "(google.longrunning.operation_info).metadata_type": "google.cloud.video.stitcher.v1.OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{cdn_key.name=projects/*/locations/*/cdnKeys/*}", "body": "cdn_key" } }, { "(google.api.method_signature)": "cdn_key,update_mask" }, { "(google.longrunning.operation_info)": { "response_type": "google.cloud.video.stitcher.v1.CdnKey", "metadata_type": "google.cloud.video.stitcher.v1.OperationMetadata" } } ] }, "CreateVodSession": { "requestType": "CreateVodSessionRequest", "responseType": "VodSession", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/vodSessions", "(google.api.http).body": "vod_session", "(google.api.method_signature)": "parent,vod_session" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/vodSessions", "body": "vod_session" } }, { "(google.api.method_signature)": "parent,vod_session" } ] }, "GetVodSession": { "requestType": "GetVodSessionRequest", "responseType": "VodSession", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/vodSessions/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/vodSessions/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListVodStitchDetails": { "requestType": "ListVodStitchDetailsRequest", "responseType": "ListVodStitchDetailsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/vodSessions/*}/vodStitchDetails", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/vodSessions/*}/vodStitchDetails" } }, { "(google.api.method_signature)": "parent" } ] }, "GetVodStitchDetail": { "requestType": "GetVodStitchDetailRequest", "responseType": "VodStitchDetail", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/vodSessions/*/vodStitchDetails/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/vodSessions/*/vodStitchDetails/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListVodAdTagDetails": { "requestType": "ListVodAdTagDetailsRequest", "responseType": "ListVodAdTagDetailsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/vodSessions/*}/vodAdTagDetails", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/vodSessions/*}/vodAdTagDetails" } }, { "(google.api.method_signature)": "parent" } ] }, "GetVodAdTagDetail": { "requestType": "GetVodAdTagDetailRequest", "responseType": "VodAdTagDetail", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/vodSessions/*/vodAdTagDetails/*}", "(google.api.method_signature)": "name" },