-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Automated regeneration of Transcoder client (#10998)
Auto-created at 2024-03-12 02:53:51 +0000 using the toys pull request generator.
- Loading branch information
1 parent
651f606
commit 15104a8
Showing
38 changed files
with
942 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
clients/transcoder/lib/google_api/transcoder/v1/model/aes128_encryption.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# 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. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Transcoder.V1.Model.Aes128Encryption do | ||
@moduledoc """ | ||
Configuration for AES-128 encryption. | ||
## Attributes | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{} | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Transcoder.V1.Model.Aes128Encryption do | ||
def decode(value, options) do | ||
GoogleApi.Transcoder.V1.Model.Aes128Encryption.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Transcoder.V1.Model.Aes128Encryption do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
clients/transcoder/lib/google_api/transcoder/v1/model/clearkey.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# 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. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Transcoder.V1.Model.Clearkey do | ||
@moduledoc """ | ||
Clearkey configuration. | ||
## Attributes | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{} | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Transcoder.V1.Model.Clearkey do | ||
def decode(value, options) do | ||
GoogleApi.Transcoder.V1.Model.Clearkey.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Transcoder.V1.Model.Clearkey do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
46 changes: 46 additions & 0 deletions
46
clients/transcoder/lib/google_api/transcoder/v1/model/dash_config.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# 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. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Transcoder.V1.Model.DashConfig do | ||
@moduledoc """ | ||
`DASH` manifest configuration. | ||
## Attributes | ||
* `segmentReferenceScheme` (*type:* `String.t`, *default:* `nil`) - The segment reference scheme for a `DASH` manifest. The default is `SEGMENT_LIST`. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:segmentReferenceScheme => String.t() | nil | ||
} | ||
|
||
field(:segmentReferenceScheme) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Transcoder.V1.Model.DashConfig do | ||
def decode(value, options) do | ||
GoogleApi.Transcoder.V1.Model.DashConfig.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Transcoder.V1.Model.DashConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
55 changes: 55 additions & 0 deletions
55
clients/transcoder/lib/google_api/transcoder/v1/model/drm_systems.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# 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. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Transcoder.V1.Model.DrmSystems do | ||
@moduledoc """ | ||
Defines configuration for DRM systems in use. | ||
## Attributes | ||
* `clearkey` (*type:* `GoogleApi.Transcoder.V1.Model.Clearkey.t`, *default:* `nil`) - Clearkey configuration. | ||
* `fairplay` (*type:* `GoogleApi.Transcoder.V1.Model.Fairplay.t`, *default:* `nil`) - Fairplay configuration. | ||
* `playready` (*type:* `GoogleApi.Transcoder.V1.Model.Playready.t`, *default:* `nil`) - Playready configuration. | ||
* `widevine` (*type:* `GoogleApi.Transcoder.V1.Model.Widevine.t`, *default:* `nil`) - Widevine configuration. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:clearkey => GoogleApi.Transcoder.V1.Model.Clearkey.t() | nil, | ||
:fairplay => GoogleApi.Transcoder.V1.Model.Fairplay.t() | nil, | ||
:playready => GoogleApi.Transcoder.V1.Model.Playready.t() | nil, | ||
:widevine => GoogleApi.Transcoder.V1.Model.Widevine.t() | nil | ||
} | ||
|
||
field(:clearkey, as: GoogleApi.Transcoder.V1.Model.Clearkey) | ||
field(:fairplay, as: GoogleApi.Transcoder.V1.Model.Fairplay) | ||
field(:playready, as: GoogleApi.Transcoder.V1.Model.Playready) | ||
field(:widevine, as: GoogleApi.Transcoder.V1.Model.Widevine) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Transcoder.V1.Model.DrmSystems do | ||
def decode(value, options) do | ||
GoogleApi.Transcoder.V1.Model.DrmSystems.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Transcoder.V1.Model.DrmSystems do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
clients/transcoder/lib/google_api/transcoder/v1/model/encryption.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# 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. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Transcoder.V1.Model.Encryption do | ||
@moduledoc """ | ||
Encryption settings. | ||
## Attributes | ||
* `aes128` (*type:* `GoogleApi.Transcoder.V1.Model.Aes128Encryption.t`, *default:* `nil`) - Configuration for AES-128 encryption. | ||
* `drmSystems` (*type:* `GoogleApi.Transcoder.V1.Model.DrmSystems.t`, *default:* `nil`) - Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled. | ||
* `id` (*type:* `String.t`, *default:* `nil`) - Required. Identifier for this set of encryption options. | ||
* `mpegCenc` (*type:* `GoogleApi.Transcoder.V1.Model.MpegCommonEncryption.t`, *default:* `nil`) - Configuration for MPEG Common Encryption (MPEG-CENC). | ||
* `sampleAes` (*type:* `GoogleApi.Transcoder.V1.Model.SampleAesEncryption.t`, *default:* `nil`) - Configuration for SAMPLE-AES encryption. | ||
* `secretManagerKeySource` (*type:* `GoogleApi.Transcoder.V1.Model.SecretManagerSource.t`, *default:* `nil`) - Keys are stored in Google Secret Manager. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:aes128 => GoogleApi.Transcoder.V1.Model.Aes128Encryption.t() | nil, | ||
:drmSystems => GoogleApi.Transcoder.V1.Model.DrmSystems.t() | nil, | ||
:id => String.t() | nil, | ||
:mpegCenc => GoogleApi.Transcoder.V1.Model.MpegCommonEncryption.t() | nil, | ||
:sampleAes => GoogleApi.Transcoder.V1.Model.SampleAesEncryption.t() | nil, | ||
:secretManagerKeySource => GoogleApi.Transcoder.V1.Model.SecretManagerSource.t() | nil | ||
} | ||
|
||
field(:aes128, as: GoogleApi.Transcoder.V1.Model.Aes128Encryption) | ||
field(:drmSystems, as: GoogleApi.Transcoder.V1.Model.DrmSystems) | ||
field(:id) | ||
field(:mpegCenc, as: GoogleApi.Transcoder.V1.Model.MpegCommonEncryption) | ||
field(:sampleAes, as: GoogleApi.Transcoder.V1.Model.SampleAesEncryption) | ||
field(:secretManagerKeySource, as: GoogleApi.Transcoder.V1.Model.SecretManagerSource) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Transcoder.V1.Model.Encryption do | ||
def decode(value, options) do | ||
GoogleApi.Transcoder.V1.Model.Encryption.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Transcoder.V1.Model.Encryption do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
41 changes: 41 additions & 0 deletions
41
clients/transcoder/lib/google_api/transcoder/v1/model/fairplay.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# 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. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.Transcoder.V1.Model.Fairplay do | ||
@moduledoc """ | ||
Fairplay configuration. | ||
## Attributes | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{} | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.Transcoder.V1.Model.Fairplay do | ||
def decode(value, options) do | ||
GoogleApi.Transcoder.V1.Model.Fairplay.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.Transcoder.V1.Model.Fairplay do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
Oops, something went wrong.