feat: Automated regeneration of transcoder v1beta1 client (#1481)

This PR was generated using Autosynth. 🌈


<details><summary>Log from Synthtool</summary>

```
2020-11-11 03:26:16,864 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-transcoder-v1beta1
nothing to commit, working tree clean
2020-11-11 03:26:16,893 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth transcoder v1beta1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth transcoder v1beta1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.49.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.0
Installing parallel 1.20.0
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:

HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.

If you are upgrading your Rails application from an older version of Rails:

Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.

If you are starting a NEW Rails application, you can ignore this notice.

For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0

Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=transcoder.v1beta1 --names-out=/workspace/api_names_out.yaml
Loading transcoder, version v1beta1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/transcoder.v1beta1.json
      create  google/apis/transcoder_v1beta1.rb
      create  google/apis/transcoder_v1beta1/service.rb
      create  google/apis/transcoder_v1beta1/classes.rb
      create  google/apis/transcoder_v1beta1/representations.rb
    conflict  /workspace/api_names_out.yaml
Overwrite /workspace/api_names_out.yaml? (enter "h" for help) [Ynaqdhm] a
       force  /workspace/api_names_out.yaml
2020-11-11 03:26:42,474 synthtool [DEBUG] > Wrote metadata to generated/google/apis/transcoder_v1beta1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/transcoder_v1beta1/synth.metadata.

```
</details>

Full log will be available here:
https://source.cloud.google.com/results/invocations/563cc11f-8781-4ca7-969f-979083ad200c/targets

- [ ] To automatically regenerate this PR, check this box.
This commit is contained in:
Yoshi Automation Bot 2020-11-11 03:40:07 -08:00 committed by GitHub
parent 1bb17b1864
commit f98e8cc384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3061 additions and 0 deletions

View File

@ -148634,6 +148634,253 @@
"/trafficdirector:v2/key": key "/trafficdirector:v2/key": key
"/trafficdirector:v2/quotaUser": quota_user "/trafficdirector:v2/quotaUser": quota_user
"/trafficdirector:v2/trafficdirector.discovery.client_status": client_discovery_status "/trafficdirector:v2/trafficdirector.discovery.client_status": client_discovery_status
"/transcoder:v1beta1/AdBreak": ad_break
"/transcoder:v1beta1/AdBreak/startTimeOffset": start_time_offset
"/transcoder:v1beta1/Aes128Encryption": aes128_encryption
"/transcoder:v1beta1/Aes128Encryption/keyUri": key_uri
"/transcoder:v1beta1/Animation": animation
"/transcoder:v1beta1/Animation/animationEnd": animation_end
"/transcoder:v1beta1/Animation/animationFade": animation_fade
"/transcoder:v1beta1/Animation/animationStatic": animation_static
"/transcoder:v1beta1/AnimationEnd": animation_end
"/transcoder:v1beta1/AnimationEnd/startTimeOffset": start_time_offset
"/transcoder:v1beta1/AnimationFade": animation_fade
"/transcoder:v1beta1/AnimationFade/endTimeOffset": end_time_offset
"/transcoder:v1beta1/AnimationFade/fadeType": fade_type
"/transcoder:v1beta1/AnimationFade/startTimeOffset": start_time_offset
"/transcoder:v1beta1/AnimationFade/xy": xy
"/transcoder:v1beta1/AnimationStatic": animation_static
"/transcoder:v1beta1/AnimationStatic/startTimeOffset": start_time_offset
"/transcoder:v1beta1/AnimationStatic/xy": xy
"/transcoder:v1beta1/Audio": audio
"/transcoder:v1beta1/Audio/highBoost": high_boost
"/transcoder:v1beta1/Audio/lowBoost": low_boost
"/transcoder:v1beta1/Audio/lufs": lufs
"/transcoder:v1beta1/AudioAtom": audio_atom
"/transcoder:v1beta1/AudioAtom/channels": channels
"/transcoder:v1beta1/AudioAtom/channels/channel": channel
"/transcoder:v1beta1/AudioAtom/key": key
"/transcoder:v1beta1/AudioChannel": audio_channel
"/transcoder:v1beta1/AudioChannel/inputs": inputs
"/transcoder:v1beta1/AudioChannel/inputs/input": input
"/transcoder:v1beta1/AudioChannelInput": audio_channel_input
"/transcoder:v1beta1/AudioChannelInput/channel": channel
"/transcoder:v1beta1/AudioChannelInput/gainDb": gain_db
"/transcoder:v1beta1/AudioChannelInput/key": key
"/transcoder:v1beta1/AudioChannelInput/track": track
"/transcoder:v1beta1/AudioStream": audio_stream
"/transcoder:v1beta1/AudioStream/bitrateBps": bitrate_bps
"/transcoder:v1beta1/AudioStream/channelCount": channel_count
"/transcoder:v1beta1/AudioStream/channelLayout": channel_layout
"/transcoder:v1beta1/AudioStream/channelLayout/channel_layout": channel_layout
"/transcoder:v1beta1/AudioStream/codec": codec
"/transcoder:v1beta1/AudioStream/mapping": mapping
"/transcoder:v1beta1/AudioStream/mapping/mapping": mapping
"/transcoder:v1beta1/AudioStream/sampleRateHertz": sample_rate_hertz
"/transcoder:v1beta1/Color": color
"/transcoder:v1beta1/Color/brightness": brightness
"/transcoder:v1beta1/Color/contrast": contrast
"/transcoder:v1beta1/Color/saturation": saturation
"/transcoder:v1beta1/Crop": crop
"/transcoder:v1beta1/Crop/bottomPixels": bottom_pixels
"/transcoder:v1beta1/Crop/leftPixels": left_pixels
"/transcoder:v1beta1/Crop/rightPixels": right_pixels
"/transcoder:v1beta1/Crop/topPixels": top_pixels
"/transcoder:v1beta1/Deblock": deblock
"/transcoder:v1beta1/Deblock/enabled": enabled
"/transcoder:v1beta1/Deblock/strength": strength
"/transcoder:v1beta1/Denoise": denoise
"/transcoder:v1beta1/Denoise/strength": strength
"/transcoder:v1beta1/Denoise/tune": tune
"/transcoder:v1beta1/EditAtom": edit_atom
"/transcoder:v1beta1/EditAtom/endTimeOffset": end_time_offset
"/transcoder:v1beta1/EditAtom/inputs": inputs
"/transcoder:v1beta1/EditAtom/inputs/input": input
"/transcoder:v1beta1/EditAtom/key": key
"/transcoder:v1beta1/EditAtom/startTimeOffset": start_time_offset
"/transcoder:v1beta1/ElementaryStream": elementary_stream
"/transcoder:v1beta1/ElementaryStream/audioStream": audio_stream
"/transcoder:v1beta1/ElementaryStream/key": key
"/transcoder:v1beta1/ElementaryStream/textStream": text_stream
"/transcoder:v1beta1/ElementaryStream/videoStream": video_stream
"/transcoder:v1beta1/Empty": empty
"/transcoder:v1beta1/Encryption": encryption
"/transcoder:v1beta1/Encryption/aes128": aes128
"/transcoder:v1beta1/Encryption/iv": iv
"/transcoder:v1beta1/Encryption/key": key
"/transcoder:v1beta1/Encryption/mpegCenc": mpeg_cenc
"/transcoder:v1beta1/Encryption/sampleAes": sample_aes
"/transcoder:v1beta1/FailureDetail": failure_detail
"/transcoder:v1beta1/FailureDetail/description": description
"/transcoder:v1beta1/Image": image
"/transcoder:v1beta1/Image/alpha": alpha
"/transcoder:v1beta1/Image/resolution": resolution
"/transcoder:v1beta1/Image/uri": uri
"/transcoder:v1beta1/Input": input
"/transcoder:v1beta1/Input/key": key
"/transcoder:v1beta1/Input/preprocessingConfig": preprocessing_config
"/transcoder:v1beta1/Input/uri": uri
"/transcoder:v1beta1/Job": job
"/transcoder:v1beta1/Job/config": config
"/transcoder:v1beta1/Job/createTime": create_time
"/transcoder:v1beta1/Job/endTime": end_time
"/transcoder:v1beta1/Job/failureDetails": failure_details
"/transcoder:v1beta1/Job/failureDetails/failure_detail": failure_detail
"/transcoder:v1beta1/Job/failureReason": failure_reason
"/transcoder:v1beta1/Job/inputUri": input_uri
"/transcoder:v1beta1/Job/name": name
"/transcoder:v1beta1/Job/originUri": origin_uri
"/transcoder:v1beta1/Job/outputUri": output_uri
"/transcoder:v1beta1/Job/priority": priority
"/transcoder:v1beta1/Job/progress": progress
"/transcoder:v1beta1/Job/startTime": start_time
"/transcoder:v1beta1/Job/state": state
"/transcoder:v1beta1/Job/templateId": template_id
"/transcoder:v1beta1/JobConfig": job_config
"/transcoder:v1beta1/JobConfig/adBreaks": ad_breaks
"/transcoder:v1beta1/JobConfig/adBreaks/ad_break": ad_break
"/transcoder:v1beta1/JobConfig/editList": edit_list
"/transcoder:v1beta1/JobConfig/editList/edit_list": edit_list
"/transcoder:v1beta1/JobConfig/elementaryStreams": elementary_streams
"/transcoder:v1beta1/JobConfig/elementaryStreams/elementary_stream": elementary_stream
"/transcoder:v1beta1/JobConfig/inputs": inputs
"/transcoder:v1beta1/JobConfig/inputs/input": input
"/transcoder:v1beta1/JobConfig/manifests": manifests
"/transcoder:v1beta1/JobConfig/manifests/manifest": manifest
"/transcoder:v1beta1/JobConfig/muxStreams": mux_streams
"/transcoder:v1beta1/JobConfig/muxStreams/mux_stream": mux_stream
"/transcoder:v1beta1/JobConfig/output": output
"/transcoder:v1beta1/JobConfig/overlays": overlays
"/transcoder:v1beta1/JobConfig/overlays/overlay": overlay
"/transcoder:v1beta1/JobConfig/pubsubDestination": pubsub_destination
"/transcoder:v1beta1/JobConfig/spriteSheets": sprite_sheets
"/transcoder:v1beta1/JobConfig/spriteSheets/sprite_sheet": sprite_sheet
"/transcoder:v1beta1/JobTemplate": job_template
"/transcoder:v1beta1/JobTemplate/config": config
"/transcoder:v1beta1/JobTemplate/name": name
"/transcoder:v1beta1/ListJobTemplatesResponse": list_job_templates_response
"/transcoder:v1beta1/ListJobTemplatesResponse/jobTemplates": job_templates
"/transcoder:v1beta1/ListJobTemplatesResponse/jobTemplates/job_template": job_template
"/transcoder:v1beta1/ListJobTemplatesResponse/nextPageToken": next_page_token
"/transcoder:v1beta1/ListJobsResponse": list_jobs_response
"/transcoder:v1beta1/ListJobsResponse/jobs": jobs
"/transcoder:v1beta1/ListJobsResponse/jobs/job": job
"/transcoder:v1beta1/ListJobsResponse/nextPageToken": next_page_token
"/transcoder:v1beta1/Manifest": manifest
"/transcoder:v1beta1/Manifest/fileName": file_name
"/transcoder:v1beta1/Manifest/muxStreams": mux_streams
"/transcoder:v1beta1/Manifest/muxStreams/mux_stream": mux_stream
"/transcoder:v1beta1/Manifest/type": type
"/transcoder:v1beta1/MpegCommonEncryption": mpeg_common_encryption
"/transcoder:v1beta1/MpegCommonEncryption/keyId": key_id
"/transcoder:v1beta1/MpegCommonEncryption/scheme": scheme
"/transcoder:v1beta1/MuxStream": mux_stream
"/transcoder:v1beta1/MuxStream/container": container
"/transcoder:v1beta1/MuxStream/elementaryStreams": elementary_streams
"/transcoder:v1beta1/MuxStream/elementaryStreams/elementary_stream": elementary_stream
"/transcoder:v1beta1/MuxStream/encryption": encryption
"/transcoder:v1beta1/MuxStream/fileName": file_name
"/transcoder:v1beta1/MuxStream/key": key
"/transcoder:v1beta1/MuxStream/segmentSettings": segment_settings
"/transcoder:v1beta1/NormalizedCoordinate": normalized_coordinate
"/transcoder:v1beta1/NormalizedCoordinate/x": x
"/transcoder:v1beta1/NormalizedCoordinate/y": y
"/transcoder:v1beta1/OriginUri": origin_uri
"/transcoder:v1beta1/OriginUri/dash": dash
"/transcoder:v1beta1/OriginUri/hls": hls
"/transcoder:v1beta1/Output": output
"/transcoder:v1beta1/Output/uri": uri
"/transcoder:v1beta1/Overlay": overlay
"/transcoder:v1beta1/Overlay/animations": animations
"/transcoder:v1beta1/Overlay/animations/animation": animation
"/transcoder:v1beta1/Overlay/image": image
"/transcoder:v1beta1/PreprocessingConfig": preprocessing_config
"/transcoder:v1beta1/PreprocessingConfig/audio": audio
"/transcoder:v1beta1/PreprocessingConfig/color": color
"/transcoder:v1beta1/PreprocessingConfig/crop": crop
"/transcoder:v1beta1/PreprocessingConfig/deblock": deblock
"/transcoder:v1beta1/PreprocessingConfig/denoise": denoise
"/transcoder:v1beta1/Progress": progress
"/transcoder:v1beta1/Progress/analyzed": analyzed
"/transcoder:v1beta1/Progress/encoded": encoded
"/transcoder:v1beta1/Progress/notified": notified
"/transcoder:v1beta1/Progress/uploaded": uploaded
"/transcoder:v1beta1/PubsubDestination": pubsub_destination
"/transcoder:v1beta1/PubsubDestination/topic": topic
"/transcoder:v1beta1/SampleAesEncryption": sample_aes_encryption
"/transcoder:v1beta1/SampleAesEncryption/keyUri": key_uri
"/transcoder:v1beta1/SegmentSettings": segment_settings
"/transcoder:v1beta1/SegmentSettings/individualSegments": individual_segments
"/transcoder:v1beta1/SegmentSettings/segmentDuration": segment_duration
"/transcoder:v1beta1/SpriteSheet": sprite_sheet
"/transcoder:v1beta1/SpriteSheet/columnCount": column_count
"/transcoder:v1beta1/SpriteSheet/endTimeOffset": end_time_offset
"/transcoder:v1beta1/SpriteSheet/filePrefix": file_prefix
"/transcoder:v1beta1/SpriteSheet/format": format
"/transcoder:v1beta1/SpriteSheet/interval": interval
"/transcoder:v1beta1/SpriteSheet/rowCount": row_count
"/transcoder:v1beta1/SpriteSheet/spriteHeightPixels": sprite_height_pixels
"/transcoder:v1beta1/SpriteSheet/spriteWidthPixels": sprite_width_pixels
"/transcoder:v1beta1/SpriteSheet/startTimeOffset": start_time_offset
"/transcoder:v1beta1/SpriteSheet/totalCount": total_count
"/transcoder:v1beta1/TextAtom": text_atom
"/transcoder:v1beta1/TextAtom/inputs": inputs
"/transcoder:v1beta1/TextAtom/inputs/input": input
"/transcoder:v1beta1/TextAtom/key": key
"/transcoder:v1beta1/TextInput": text_input
"/transcoder:v1beta1/TextInput/key": key
"/transcoder:v1beta1/TextInput/track": track
"/transcoder:v1beta1/TextStream": text_stream
"/transcoder:v1beta1/TextStream/codec": codec
"/transcoder:v1beta1/TextStream/languageCode": language_code
"/transcoder:v1beta1/TextStream/mapping": mapping
"/transcoder:v1beta1/TextStream/mapping/mapping": mapping
"/transcoder:v1beta1/VideoStream": video_stream
"/transcoder:v1beta1/VideoStream/allowOpenGop": allow_open_gop
"/transcoder:v1beta1/VideoStream/aqStrength": aq_strength
"/transcoder:v1beta1/VideoStream/bFrameCount": b_frame_count
"/transcoder:v1beta1/VideoStream/bPyramid": b_pyramid
"/transcoder:v1beta1/VideoStream/bitrateBps": bitrate_bps
"/transcoder:v1beta1/VideoStream/codec": codec
"/transcoder:v1beta1/VideoStream/crfLevel": crf_level
"/transcoder:v1beta1/VideoStream/enableTwoPass": enable_two_pass
"/transcoder:v1beta1/VideoStream/entropyCoder": entropy_coder
"/transcoder:v1beta1/VideoStream/frameRate": frame_rate
"/transcoder:v1beta1/VideoStream/gopDuration": gop_duration
"/transcoder:v1beta1/VideoStream/gopFrameCount": gop_frame_count
"/transcoder:v1beta1/VideoStream/heightPixels": height_pixels
"/transcoder:v1beta1/VideoStream/pixelFormat": pixel_format
"/transcoder:v1beta1/VideoStream/preset": preset
"/transcoder:v1beta1/VideoStream/profile": profile
"/transcoder:v1beta1/VideoStream/rateControlMode": rate_control_mode
"/transcoder:v1beta1/VideoStream/tune": tune
"/transcoder:v1beta1/VideoStream/vbvFullnessBits": vbv_fullness_bits
"/transcoder:v1beta1/VideoStream/vbvSizeBits": vbv_size_bits
"/transcoder:v1beta1/VideoStream/widthPixels": width_pixels
"/transcoder:v1beta1/fields": fields
"/transcoder:v1beta1/key": key
"/transcoder:v1beta1/quotaUser": quota_user
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.create": create_project_location_job_template
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.create/jobTemplateId": job_template_id
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.create/parent": parent
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.delete": delete_project_location_job_template
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.delete/name": name
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.get": get_project_location_job_template
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.get/name": name
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.list": list_project_location_job_templates
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.list/pageSize": page_size
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.list/pageToken": page_token
"/transcoder:v1beta1/transcoder.projects.locations.jobTemplates.list/parent": parent
"/transcoder:v1beta1/transcoder.projects.locations.jobs.create": create_project_location_job
"/transcoder:v1beta1/transcoder.projects.locations.jobs.create/parent": parent
"/transcoder:v1beta1/transcoder.projects.locations.jobs.delete": delete_project_location_job
"/transcoder:v1beta1/transcoder.projects.locations.jobs.delete/name": name
"/transcoder:v1beta1/transcoder.projects.locations.jobs.get": get_project_location_job
"/transcoder:v1beta1/transcoder.projects.locations.jobs.get/name": name
"/transcoder:v1beta1/transcoder.projects.locations.jobs.list": list_project_location_jobs
"/transcoder:v1beta1/transcoder.projects.locations.jobs.list/pageSize": page_size
"/transcoder:v1beta1/transcoder.projects.locations.jobs.list/pageToken": page_token
"/transcoder:v1beta1/transcoder.projects.locations.jobs.list/parent": parent
"/translate:v2/DetectLanguageRequest": detect_language_request "/translate:v2/DetectLanguageRequest": detect_language_request
"/translate:v2/DetectLanguageRequest/q": q "/translate:v2/DetectLanguageRequest/q": q
"/translate:v2/DetectLanguageRequest/q/q": q "/translate:v2/DetectLanguageRequest/q/q": q

View File

@ -0,0 +1,34 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/transcoder_v1beta1/service.rb'
require 'google/apis/transcoder_v1beta1/classes.rb'
require 'google/apis/transcoder_v1beta1/representations.rb'
module Google
module Apis
# Transcoder API
#
# This API converts video files into formats suitable for consumer distribution.
#
# @see https://cloud.google.com/transcoder/docs/
module TranscoderV1beta1
VERSION = 'V1beta1'
REVISION = '20201111'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,756 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module TranscoderV1beta1
class AdBreak
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Aes128Encryption
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Animation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AnimationEnd
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AnimationFade
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AnimationStatic
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Audio
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AudioAtom
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AudioChannel
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AudioChannelInput
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AudioStream
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Color
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Crop
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Deblock
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Denoise
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EditAtom
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ElementaryStream
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Encryption
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FailureDetail
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Image
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Input
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Job
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class JobConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class JobTemplate
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListJobTemplatesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListJobsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Manifest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MpegCommonEncryption
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MuxStream
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NormalizedCoordinate
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OriginUri
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Output
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Overlay
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PreprocessingConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Progress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PubsubDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SampleAesEncryption
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SegmentSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SpriteSheet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TextAtom
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TextInput
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TextStream
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VideoStream
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdBreak
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :start_time_offset, as: 'startTimeOffset'
end
end
class Aes128Encryption
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key_uri, as: 'keyUri'
end
end
class Animation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :animation_end, as: 'animationEnd', class: Google::Apis::TranscoderV1beta1::AnimationEnd, decorator: Google::Apis::TranscoderV1beta1::AnimationEnd::Representation
property :animation_fade, as: 'animationFade', class: Google::Apis::TranscoderV1beta1::AnimationFade, decorator: Google::Apis::TranscoderV1beta1::AnimationFade::Representation
property :animation_static, as: 'animationStatic', class: Google::Apis::TranscoderV1beta1::AnimationStatic, decorator: Google::Apis::TranscoderV1beta1::AnimationStatic::Representation
end
end
class AnimationEnd
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :start_time_offset, as: 'startTimeOffset'
end
end
class AnimationFade
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time_offset, as: 'endTimeOffset'
property :fade_type, as: 'fadeType'
property :start_time_offset, as: 'startTimeOffset'
property :xy, as: 'xy', class: Google::Apis::TranscoderV1beta1::NormalizedCoordinate, decorator: Google::Apis::TranscoderV1beta1::NormalizedCoordinate::Representation
end
end
class AnimationStatic
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :start_time_offset, as: 'startTimeOffset'
property :xy, as: 'xy', class: Google::Apis::TranscoderV1beta1::NormalizedCoordinate, decorator: Google::Apis::TranscoderV1beta1::NormalizedCoordinate::Representation
end
end
class Audio
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :high_boost, as: 'highBoost'
property :low_boost, as: 'lowBoost'
property :lufs, as: 'lufs'
end
end
class AudioAtom
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :channels, as: 'channels', class: Google::Apis::TranscoderV1beta1::AudioChannel, decorator: Google::Apis::TranscoderV1beta1::AudioChannel::Representation
property :key, as: 'key'
end
end
class AudioChannel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :inputs, as: 'inputs', class: Google::Apis::TranscoderV1beta1::AudioChannelInput, decorator: Google::Apis::TranscoderV1beta1::AudioChannelInput::Representation
end
end
class AudioChannelInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :channel, as: 'channel'
property :gain_db, as: 'gainDb'
property :key, as: 'key'
property :track, as: 'track'
end
end
class AudioStream
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bitrate_bps, as: 'bitrateBps'
property :channel_count, as: 'channelCount'
collection :channel_layout, as: 'channelLayout'
property :codec, as: 'codec'
collection :mapping, as: 'mapping', class: Google::Apis::TranscoderV1beta1::AudioAtom, decorator: Google::Apis::TranscoderV1beta1::AudioAtom::Representation
property :sample_rate_hertz, as: 'sampleRateHertz'
end
end
class Color
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :brightness, as: 'brightness'
property :contrast, as: 'contrast'
property :saturation, as: 'saturation'
end
end
class Crop
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bottom_pixels, as: 'bottomPixels'
property :left_pixels, as: 'leftPixels'
property :right_pixels, as: 'rightPixels'
property :top_pixels, as: 'topPixels'
end
end
class Deblock
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
property :strength, as: 'strength'
end
end
class Denoise
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :strength, as: 'strength'
property :tune, as: 'tune'
end
end
class EditAtom
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end_time_offset, as: 'endTimeOffset'
collection :inputs, as: 'inputs'
property :key, as: 'key'
property :start_time_offset, as: 'startTimeOffset'
end
end
class ElementaryStream
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audio_stream, as: 'audioStream', class: Google::Apis::TranscoderV1beta1::AudioStream, decorator: Google::Apis::TranscoderV1beta1::AudioStream::Representation
property :key, as: 'key'
property :text_stream, as: 'textStream', class: Google::Apis::TranscoderV1beta1::TextStream, decorator: Google::Apis::TranscoderV1beta1::TextStream::Representation
property :video_stream, as: 'videoStream', class: Google::Apis::TranscoderV1beta1::VideoStream, decorator: Google::Apis::TranscoderV1beta1::VideoStream::Representation
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Encryption
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :aes128, as: 'aes128', class: Google::Apis::TranscoderV1beta1::Aes128Encryption, decorator: Google::Apis::TranscoderV1beta1::Aes128Encryption::Representation
property :iv, as: 'iv'
property :key, as: 'key'
property :mpeg_cenc, as: 'mpegCenc', class: Google::Apis::TranscoderV1beta1::MpegCommonEncryption, decorator: Google::Apis::TranscoderV1beta1::MpegCommonEncryption::Representation
property :sample_aes, as: 'sampleAes', class: Google::Apis::TranscoderV1beta1::SampleAesEncryption, decorator: Google::Apis::TranscoderV1beta1::SampleAesEncryption::Representation
end
end
class FailureDetail
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
end
end
class Image
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :alpha, as: 'alpha'
property :resolution, as: 'resolution', class: Google::Apis::TranscoderV1beta1::NormalizedCoordinate, decorator: Google::Apis::TranscoderV1beta1::NormalizedCoordinate::Representation
property :uri, as: 'uri'
end
end
class Input
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :preprocessing_config, as: 'preprocessingConfig', class: Google::Apis::TranscoderV1beta1::PreprocessingConfig, decorator: Google::Apis::TranscoderV1beta1::PreprocessingConfig::Representation
property :uri, as: 'uri'
end
end
class Job
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :config, as: 'config', class: Google::Apis::TranscoderV1beta1::JobConfig, decorator: Google::Apis::TranscoderV1beta1::JobConfig::Representation
property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
collection :failure_details, as: 'failureDetails', class: Google::Apis::TranscoderV1beta1::FailureDetail, decorator: Google::Apis::TranscoderV1beta1::FailureDetail::Representation
property :failure_reason, as: 'failureReason'
property :input_uri, as: 'inputUri'
property :name, as: 'name'
property :origin_uri, as: 'originUri', class: Google::Apis::TranscoderV1beta1::OriginUri, decorator: Google::Apis::TranscoderV1beta1::OriginUri::Representation
property :output_uri, as: 'outputUri'
property :priority, as: 'priority'
property :progress, as: 'progress', class: Google::Apis::TranscoderV1beta1::Progress, decorator: Google::Apis::TranscoderV1beta1::Progress::Representation
property :start_time, as: 'startTime'
property :state, as: 'state'
property :template_id, as: 'templateId'
end
end
class JobConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :ad_breaks, as: 'adBreaks', class: Google::Apis::TranscoderV1beta1::AdBreak, decorator: Google::Apis::TranscoderV1beta1::AdBreak::Representation
collection :edit_list, as: 'editList', class: Google::Apis::TranscoderV1beta1::EditAtom, decorator: Google::Apis::TranscoderV1beta1::EditAtom::Representation
collection :elementary_streams, as: 'elementaryStreams', class: Google::Apis::TranscoderV1beta1::ElementaryStream, decorator: Google::Apis::TranscoderV1beta1::ElementaryStream::Representation
collection :inputs, as: 'inputs', class: Google::Apis::TranscoderV1beta1::Input, decorator: Google::Apis::TranscoderV1beta1::Input::Representation
collection :manifests, as: 'manifests', class: Google::Apis::TranscoderV1beta1::Manifest, decorator: Google::Apis::TranscoderV1beta1::Manifest::Representation
collection :mux_streams, as: 'muxStreams', class: Google::Apis::TranscoderV1beta1::MuxStream, decorator: Google::Apis::TranscoderV1beta1::MuxStream::Representation
property :output, as: 'output', class: Google::Apis::TranscoderV1beta1::Output, decorator: Google::Apis::TranscoderV1beta1::Output::Representation
collection :overlays, as: 'overlays', class: Google::Apis::TranscoderV1beta1::Overlay, decorator: Google::Apis::TranscoderV1beta1::Overlay::Representation
property :pubsub_destination, as: 'pubsubDestination', class: Google::Apis::TranscoderV1beta1::PubsubDestination, decorator: Google::Apis::TranscoderV1beta1::PubsubDestination::Representation
collection :sprite_sheets, as: 'spriteSheets', class: Google::Apis::TranscoderV1beta1::SpriteSheet, decorator: Google::Apis::TranscoderV1beta1::SpriteSheet::Representation
end
end
class JobTemplate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :config, as: 'config', class: Google::Apis::TranscoderV1beta1::JobConfig, decorator: Google::Apis::TranscoderV1beta1::JobConfig::Representation
property :name, as: 'name'
end
end
class ListJobTemplatesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_templates, as: 'jobTemplates', class: Google::Apis::TranscoderV1beta1::JobTemplate, decorator: Google::Apis::TranscoderV1beta1::JobTemplate::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListJobsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :jobs, as: 'jobs', class: Google::Apis::TranscoderV1beta1::Job, decorator: Google::Apis::TranscoderV1beta1::Job::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class Manifest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :file_name, as: 'fileName'
collection :mux_streams, as: 'muxStreams'
property :type, as: 'type'
end
end
class MpegCommonEncryption
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key_id, as: 'keyId'
property :scheme, as: 'scheme'
end
end
class MuxStream
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :container, as: 'container'
collection :elementary_streams, as: 'elementaryStreams'
property :encryption, as: 'encryption', class: Google::Apis::TranscoderV1beta1::Encryption, decorator: Google::Apis::TranscoderV1beta1::Encryption::Representation
property :file_name, as: 'fileName'
property :key, as: 'key'
property :segment_settings, as: 'segmentSettings', class: Google::Apis::TranscoderV1beta1::SegmentSettings, decorator: Google::Apis::TranscoderV1beta1::SegmentSettings::Representation
end
end
class NormalizedCoordinate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :x, as: 'x'
property :y, as: 'y'
end
end
class OriginUri
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dash, as: 'dash'
property :hls, as: 'hls'
end
end
class Output
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class Overlay
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :animations, as: 'animations', class: Google::Apis::TranscoderV1beta1::Animation, decorator: Google::Apis::TranscoderV1beta1::Animation::Representation
property :image, as: 'image', class: Google::Apis::TranscoderV1beta1::Image, decorator: Google::Apis::TranscoderV1beta1::Image::Representation
end
end
class PreprocessingConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :audio, as: 'audio', class: Google::Apis::TranscoderV1beta1::Audio, decorator: Google::Apis::TranscoderV1beta1::Audio::Representation
property :color, as: 'color', class: Google::Apis::TranscoderV1beta1::Color, decorator: Google::Apis::TranscoderV1beta1::Color::Representation
property :crop, as: 'crop', class: Google::Apis::TranscoderV1beta1::Crop, decorator: Google::Apis::TranscoderV1beta1::Crop::Representation
property :deblock, as: 'deblock', class: Google::Apis::TranscoderV1beta1::Deblock, decorator: Google::Apis::TranscoderV1beta1::Deblock::Representation
property :denoise, as: 'denoise', class: Google::Apis::TranscoderV1beta1::Denoise, decorator: Google::Apis::TranscoderV1beta1::Denoise::Representation
end
end
class Progress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :analyzed, as: 'analyzed'
property :encoded, as: 'encoded'
property :notified, as: 'notified'
property :uploaded, as: 'uploaded'
end
end
class PubsubDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :topic, as: 'topic'
end
end
class SampleAesEncryption
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key_uri, as: 'keyUri'
end
end
class SegmentSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :individual_segments, as: 'individualSegments'
property :segment_duration, as: 'segmentDuration'
end
end
class SpriteSheet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :column_count, as: 'columnCount'
property :end_time_offset, as: 'endTimeOffset'
property :file_prefix, as: 'filePrefix'
property :format, as: 'format'
property :interval, as: 'interval'
property :row_count, as: 'rowCount'
property :sprite_height_pixels, as: 'spriteHeightPixels'
property :sprite_width_pixels, as: 'spriteWidthPixels'
property :start_time_offset, as: 'startTimeOffset'
property :total_count, as: 'totalCount'
end
end
class TextAtom
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :inputs, as: 'inputs', class: Google::Apis::TranscoderV1beta1::TextInput, decorator: Google::Apis::TranscoderV1beta1::TextInput::Representation
property :key, as: 'key'
end
end
class TextInput
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :track, as: 'track'
end
end
class TextStream
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :codec, as: 'codec'
property :language_code, as: 'languageCode'
collection :mapping, as: 'mapping', class: Google::Apis::TranscoderV1beta1::TextAtom, decorator: Google::Apis::TranscoderV1beta1::TextAtom::Representation
end
end
class VideoStream
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_open_gop, as: 'allowOpenGop'
property :aq_strength, as: 'aqStrength'
property :b_frame_count, as: 'bFrameCount'
property :b_pyramid, as: 'bPyramid'
property :bitrate_bps, as: 'bitrateBps'
property :codec, as: 'codec'
property :crf_level, as: 'crfLevel'
property :enable_two_pass, as: 'enableTwoPass'
property :entropy_coder, as: 'entropyCoder'
property :frame_rate, as: 'frameRate'
property :gop_duration, as: 'gopDuration'
property :gop_frame_count, as: 'gopFrameCount'
property :height_pixels, as: 'heightPixels'
property :pixel_format, as: 'pixelFormat'
property :preset, as: 'preset'
property :profile, as: 'profile'
property :rate_control_mode, as: 'rateControlMode'
property :tune, as: 'tune'
property :vbv_fullness_bits, as: 'vbvFullnessBits'
property :vbv_size_bits, as: 'vbvSizeBits'
property :width_pixels, as: 'widthPixels'
end
end
end
end
end

View File

@ -0,0 +1,329 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module TranscoderV1beta1
# Transcoder API
#
# This API converts video files into formats suitable for consumer distribution.
#
# @example
# require 'google/apis/transcoder_v1beta1'
#
# Transcoder = Google::Apis::TranscoderV1beta1 # Alias the module
# service = Transcoder::TranscoderService.new
#
# @see https://cloud.google.com/transcoder/docs/
class TranscoderService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
# @return [String]
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
attr_accessor :quota_user
def initialize
super('https://transcoder.googleapis.com/', '')
@batch_path = 'batch'
end
# Creates a job template in the specified region.
# @param [String] parent
# Required. The parent location to create this job template. Format: `projects/`
# project`/locations/`location``
# @param [Google::Apis::TranscoderV1beta1::JobTemplate] job_template_object
# @param [String] job_template_id
# Required. The ID to use for the job template, which will become the final
# component of the job template's resource name. This value should be 4-63
# characters, and valid characters must match the regular expression `a-zA-Z*`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::TranscoderV1beta1::JobTemplate] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::TranscoderV1beta1::JobTemplate]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_job_template(parent, job_template_object = nil, job_template_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/jobTemplates', options)
command.request_representation = Google::Apis::TranscoderV1beta1::JobTemplate::Representation
command.request_object = job_template_object
command.response_representation = Google::Apis::TranscoderV1beta1::JobTemplate::Representation
command.response_class = Google::Apis::TranscoderV1beta1::JobTemplate
command.params['parent'] = parent unless parent.nil?
command.query['jobTemplateId'] = job_template_id unless job_template_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a job template.
# @param [String] name
# Required. The name of the job template to delete. `projects/`project`/
# locations/`location`/jobTemplates/`job_template``
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::TranscoderV1beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::TranscoderV1beta1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_location_job_template(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::TranscoderV1beta1::Empty::Representation
command.response_class = Google::Apis::TranscoderV1beta1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns the job template data.
# @param [String] name
# Required. The name of the job template to retrieve. Format: `projects/`project`
# /locations/`location`/jobTemplates/`job_template``
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::TranscoderV1beta1::JobTemplate] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::TranscoderV1beta1::JobTemplate]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_job_template(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::TranscoderV1beta1::JobTemplate::Representation
command.response_class = Google::Apis::TranscoderV1beta1::JobTemplate
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists job templates in the specified region.
# @param [String] parent
# Required. The parent location from which to retrieve the collection of job
# templates. Format: `projects/`project`/locations/`location``
# @param [Fixnum] page_size
# The maximum number of items to return.
# @param [String] page_token
# The `next_page_token` value returned from a previous List request, if any.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::TranscoderV1beta1::ListJobTemplatesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::TranscoderV1beta1::ListJobTemplatesResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_job_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/jobTemplates', options)
command.response_representation = Google::Apis::TranscoderV1beta1::ListJobTemplatesResponse::Representation
command.response_class = Google::Apis::TranscoderV1beta1::ListJobTemplatesResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a job in the specified region.
# @param [String] parent
# Required. The parent location to create and process this job. Format: `
# projects/`project`/locations/`location``
# @param [Google::Apis::TranscoderV1beta1::Job] job_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::TranscoderV1beta1::Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::TranscoderV1beta1::Job]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_job(parent, job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+parent}/jobs', options)
command.request_representation = Google::Apis::TranscoderV1beta1::Job::Representation
command.request_object = job_object
command.response_representation = Google::Apis::TranscoderV1beta1::Job::Representation
command.response_class = Google::Apis::TranscoderV1beta1::Job
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a job.
# @param [String] name
# Required. The name of the job to delete. Format: `projects/`project`/locations/
# `location`/jobs/`job``
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::TranscoderV1beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::TranscoderV1beta1::Empty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_location_job(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::TranscoderV1beta1::Empty::Representation
command.response_class = Google::Apis::TranscoderV1beta1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns the job data.
# @param [String] name
# Required. The name of the job to retrieve. Format: `projects/`project`/
# locations/`location`/jobs/`job``
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::TranscoderV1beta1::Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::TranscoderV1beta1::Job]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_job(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::TranscoderV1beta1::Job::Representation
command.response_class = Google::Apis::TranscoderV1beta1::Job
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists jobs in the specified region.
# @param [String] parent
# Required. Format: `projects/`project`/locations/`location``
# @param [Fixnum] page_size
# The maximum number of items to return.
# @param [String] page_token
# The `next_page_token` value returned from a previous List request, if any.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::TranscoderV1beta1::ListJobsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::TranscoderV1beta1::ListJobsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/jobs', options)
command.response_representation = Google::Apis::TranscoderV1beta1::ListJobsResponse::Representation
command.response_class = Google::Apis::TranscoderV1beta1::ListJobsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
end
end
end
end
end

View File

@ -0,0 +1,11 @@
{
"sources": [
{
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "1c69cd4744086d45d65912be897334c9c1e6e20d"
}
}
]
}