Skip to content

Commit 7fadceb

Browse files
feat: Automated regeneration of ServiceUsage client (googleapis#12923)
Auto-created at 2025-02-05 13:10:43 +0000 using the toys pull request generator.
1 parent b53c000 commit 7fadceb

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
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 "20241219"
23+
@discovery_revision "20250130"
2424

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.ServiceUsage.V1.Model.Page do
2121
2222
## Attributes
2323
24-
* `content` (*type:* `String.t`, *default:* `nil`) - The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.
24+
* `content` (*type:* `String.t`, *default:* `nil`) - The Markdown content of the page. You can use ```(== include {path} ==)``` to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.
2525
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`.
2626
* `subpages` (*type:* `list(GoogleApi.ServiceUsage.V1.Model.Page.t)`, *default:* `nil`) - Subpages of this page. The order of subpages specified here will be honored in the generated docset.
2727
"""

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@ defmodule GoogleApi.ServiceUsage.V1.Model.SelectiveGapicGeneration do
2121
2222
## Attributes
2323
24+
* `generateOmittedAsInternal` (*type:* `boolean()`, *default:* `nil`) - Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.
2425
* `methods` (*type:* `list(String.t)`, *default:* `nil`) - An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
2526
"""
2627

2728
use GoogleApi.Gax.ModelBase
2829

2930
@type t :: %__MODULE__{
31+
:generateOmittedAsInternal => boolean() | nil,
3032
:methods => list(String.t()) | nil
3133
}
3234

35+
field(:generateOmittedAsInternal)
3336
field(:methods, type: :list)
3437
end
3538

0 commit comments

Comments
 (0)