Skip to content

Commit e6da79a

Browse files
feat: Automated regeneration of ServiceUsage client (googleapis#12765)
Auto-created at 2025-01-04 13:12:40 +0000 using the toys pull request generator.
1 parent 985e126 commit e6da79a

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

clients/service_usage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_service_usage, "~> 0.26"}]
14+
[{:google_api_service_usage, "~> 0.27"}]
1515
end
1616
```
1717

clients/service_usage/lib/google_api/service_usage/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.ServiceUsage.V1 do
2020
API client metadata for GoogleApi.ServiceUsage.V1.
2121
"""
2222

23-
@discovery_revision "20241205"
23+
@discovery_revision "20241219"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/service_usage/lib/google_api/service_usage/v1/model/impact.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.ServiceUsage.V1.Model.Impact do
2323
2424
* `detail` (*type:* `String.t`, *default:* `nil`) - Output only. User friendly impact detail in a free form message.
2525
* `impactType` (*type:* `String.t`, *default:* `nil`) - Output only. The type of impact.
26+
* `parent` (*type:* `String.t`, *default:* `nil`) - The parent resource that the analysis is based on and the service name that the analysis is for. Example: `projects/100/services/compute.googleapis.com`, folders/101/services/compute.googleapis.com` and `organizations/102/services/compute.googleapis.com`. Usually, the parent resource here is same as the parent resource of the analyzed policy. However, for some analysis types, the parent can be different. For example, for resource existence analysis, if the parent resource of the analyzed policy is a folder or an organization, the parent resource here can still be the project that contains the resources.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:detail => String.t() | nil,
32-
:impactType => String.t() | nil
33+
:impactType => String.t() | nil,
34+
:parent => String.t() | nil
3335
}
3436

3537
field(:detail)
3638
field(:impactType)
39+
field(:parent)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.ServiceUsage.V1.Model.Impact do

clients/service_usage/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.ServiceUsage.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.26.0"
21+
@version "0.27.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)