Skip to content

Commit

Permalink
feat(video/stitcher): start generating apiv1 (#5720)
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzmo authored Mar 3, 2022
1 parent 35d591a commit 4ca8fea
Show file tree
Hide file tree
Showing 9 changed files with 1,917 additions and 3 deletions.
9 changes: 9 additions & 0 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -1493,6 +1493,15 @@
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/video/stitcher/apiv1": {
"distribution_name": "cloud.google.com/go/video/stitcher/apiv1",
"description": "Video Stitcher API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/video/latest/stitcher/apiv1",
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/video/transcoder/apiv1": {
"distribution_name": "cloud.google.com/go/video/transcoder/apiv1",
"description": "Transcoder API",
Expand Down
9 changes: 9 additions & 0 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,15 @@ var microgenGapicConfigs = []*microgenConfig{
// GA after 2022/02/28
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/video/stitcher/v1",
pkg: "stitcher",
importPath: "cloud.google.com/go/video/stitcher/apiv1",
gRPCServiceConfigPath: "videostitcher_grpc_service_config.json",
apiServiceConfigPath: "videostitcher_v1.yaml",
// GA after 2022/04/02
releaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down
2 changes: 1 addition & 1 deletion video/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
cloud.google.com/go v0.100.2
github.com/googleapis/gax-go/v2 v2.1.1
google.golang.org/api v0.70.0
google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf
google.golang.org/genproto v0.0.0-20220302033224-9aa15565e42a
google.golang.org/grpc v1.44.0
google.golang.org/protobuf v1.27.1
)
4 changes: 2 additions & 2 deletions video/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ6
google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf h1:SVYXkUz2yZS9FWb2Gm8ivSlbNQzL2Z/NpPKE3RG2jWk=
google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
google.golang.org/genproto v0.0.0-20220302033224-9aa15565e42a h1:uqouglH745GoGeZ1YFZbPBiu961tgi/9Qm5jaorajjQ=
google.golang.org/genproto v0.0.0-20220302033224-9aa15565e42a/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
Expand Down
159 changes: 159 additions & 0 deletions video/stitcher/apiv1/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

118 changes: 118 additions & 0 deletions video/stitcher/apiv1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
"language": "go",
"protoPackage": "google.cloud.video.stitcher.v1",
"libraryPackage": "cloud.google.com/go/video/stitcher/apiv1",
"services": {
"VideoStitcherService": {
"clients": {
"grpc": {
"libraryClient": "VideoStitcherClient",
"rpcs": {
"CreateCdnKey": {
"methods": [
"CreateCdnKey"
]
},
"CreateLiveSession": {
"methods": [
"CreateLiveSession"
]
},
"CreateSlate": {
"methods": [
"CreateSlate"
]
},
"CreateVodSession": {
"methods": [
"CreateVodSession"
]
},
"DeleteCdnKey": {
"methods": [
"DeleteCdnKey"
]
},
"DeleteSlate": {
"methods": [
"DeleteSlate"
]
},
"GetCdnKey": {
"methods": [
"GetCdnKey"
]
},
"GetLiveAdTagDetail": {
"methods": [
"GetLiveAdTagDetail"
]
},
"GetLiveSession": {
"methods": [
"GetLiveSession"
]
},
"GetSlate": {
"methods": [
"GetSlate"
]
},
"GetVodAdTagDetail": {
"methods": [
"GetVodAdTagDetail"
]
},
"GetVodSession": {
"methods": [
"GetVodSession"
]
},
"GetVodStitchDetail": {
"methods": [
"GetVodStitchDetail"
]
},
"ListCdnKeys": {
"methods": [
"ListCdnKeys"
]
},
"ListLiveAdTagDetails": {
"methods": [
"ListLiveAdTagDetails"
]
},
"ListSlates": {
"methods": [
"ListSlates"
]
},
"ListVodAdTagDetails": {
"methods": [
"ListVodAdTagDetails"
]
},
"ListVodStitchDetails": {
"methods": [
"ListVodStitchDetails"
]
},
"UpdateCdnKey": {
"methods": [
"UpdateCdnKey"
]
},
"UpdateSlate": {
"methods": [
"UpdateSlate"
]
}
}
}
}
}
}
}
23 changes: 23 additions & 0 deletions video/stitcher/apiv1/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4ca8fea

Please sign in to comment.