Skip to content

Commit 0da4ffe

Browse files
feat: Automated regeneration of ServiceUsage client (googleapis#13100)
Auto-created at 2025-03-05 13:20:04 +0000 using the toys pull request generator.
1 parent 3a64fcc commit 0da4ffe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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 "20250218"
23+
@discovery_revision "20250227"
2424

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717

1818
defmodule GoogleApi.ServiceUsage.V1.Model.UsageRule do
1919
@moduledoc """
20-
Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true
20+
Usage configuration rules for the service.
2121
2222
## Attributes
2323
24-
* `allowUnregisteredCalls` (*type:* `boolean()`, *default:* `nil`) - If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application.
24+
* `allowUnregisteredCalls` (*type:* `boolean()`, *default:* `nil`) - Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). WARNING: By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity.
2525
* `selector` (*type:* `String.t`, *default:* `nil`) - Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.
2626
* `skipServiceControl` (*type:* `boolean()`, *default:* `nil`) - If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.
2727
"""

0 commit comments

Comments
 (0)