Skip to content

Commit a160f63

Browse files
feat: Automated regeneration of WorkloadManager client (googleapis#12316)
Auto-created at 2024-10-12 13:21:26 +0000 using the toys pull request generator.
1 parent 1234eeb commit a160f63

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

clients/workload_manager/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_workload_manager, "~> 0.7"}]
14+
[{:google_api_workload_manager, "~> 0.8"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20240717"
23+
@discovery_revision "20241002"
2424

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

clients/workload_manager/lib/google_api/workload_manager/v1/model/execution_result.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.ExecutionResult do
2626
* `resource` (*type:* `GoogleApi.WorkloadManager.V1.Model.Resource.t`, *default:* `nil`) - The resource that violates the rule.
2727
* `rule` (*type:* `String.t`, *default:* `nil`) - The rule that is violated in an evaluation.
2828
* `severity` (*type:* `String.t`, *default:* `nil`) - The severity of violation.
29+
* `type` (*type:* `String.t`, *default:* `nil`) - Execution result type of the scanned resource
2930
* `violationDetails` (*type:* `GoogleApi.WorkloadManager.V1.Model.ViolationDetails.t`, *default:* `nil`) - The details of violation in an evaluation result.
3031
* `violationMessage` (*type:* `String.t`, *default:* `nil`) - The violation message of an execution.
3132
"""
@@ -38,6 +39,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.ExecutionResult do
3839
:resource => GoogleApi.WorkloadManager.V1.Model.Resource.t() | nil,
3940
:rule => String.t() | nil,
4041
:severity => String.t() | nil,
42+
:type => String.t() | nil,
4143
:violationDetails => GoogleApi.WorkloadManager.V1.Model.ViolationDetails.t() | nil,
4244
:violationMessage => String.t() | nil
4345
}
@@ -47,6 +49,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.ExecutionResult do
4749
field(:resource, as: GoogleApi.WorkloadManager.V1.Model.Resource)
4850
field(:rule)
4951
field(:severity)
52+
field(:type)
5053
field(:violationDetails, as: GoogleApi.WorkloadManager.V1.Model.ViolationDetails)
5154
field(:violationMessage)
5255
end

clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_resource_instance_properties.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryResourceInstancePropert
2525
* `clusterInstances` (*type:* `list(String.t)`, *default:* `nil`) - Optional. A list of instance URIs that are part of a cluster with this one.
2626
* `instanceNumber` (*type:* `String.t`, *default:* `nil`) - Optional. The VM's instance number.
2727
* `instanceRole` (*type:* `String.t`, *default:* `nil`) - Optional. Bitmask of instance role, a resource may have multiple roles at once.
28+
* `isDrSite` (*type:* `boolean()`, *default:* `nil`) - Optional. Instance is part of a DR site.
2829
* `virtualHostname` (*type:* `String.t`, *default:* `nil`) - Optional. A virtual hostname of the instance if it has one.
2930
"""
3031

@@ -39,6 +40,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryResourceInstancePropert
3940
:clusterInstances => list(String.t()) | nil,
4041
:instanceNumber => String.t() | nil,
4142
:instanceRole => String.t() | nil,
43+
:isDrSite => boolean() | nil,
4244
:virtualHostname => String.t() | nil
4345
}
4446

@@ -50,6 +52,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryResourceInstancePropert
5052
field(:clusterInstances, type: :list)
5153
field(:instanceNumber)
5254
field(:instanceRole)
55+
field(:isDrSite)
5356
field(:virtualHostname)
5457
end
5558

clients/workload_manager/mix.exs

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

21-
@version "0.7.0"
21+
@version "0.8.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)