Skip to content

Commit 3c06efb

Browse files
feat: Automated regeneration of Redis client (googleapis#13228)
Auto-created at 2025-03-27 13:14:30 +0000 using the toys pull request generator.
1 parent 5387a34 commit 3c06efb

File tree

4 files changed

+24
-20
lines changed

4 files changed

+24
-20
lines changed

clients/redis/lib/google_api/redis/v1/api/projects.ex

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
104104
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
105105
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
106106
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
107+
* `:extraLocationTypes` (*type:* `list(String.t)`) - Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
107108
* `:filter` (*type:* `String.t`) - A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
108109
* `:pageSize` (*type:* `integer()`) - The maximum number of results to return. If not set, the service selects a default.
109110
* `:pageToken` (*type:* `String.t`) - A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
@@ -132,6 +133,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
132133
:quotaUser => :query,
133134
:uploadType => :query,
134135
:upload_protocol => :query,
136+
:extraLocationTypes => :query,
135137
:filter => :query,
136138
:pageSize => :query,
137139
:pageToken => :query
@@ -157,7 +159,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
157159
## Parameters
158160
159161
* `connection` (*type:* `GoogleApi.Redis.V1.Connection.t`) - Connection to server
160-
* `name` (*type:* `String.t`) - Required. Redis backupCollection resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where `location_id` refers to a GCP region.
162+
* `name` (*type:* `String.t`) - Required. Redis backupCollection resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where `location_id` refers to a Google Cloud region.
161163
* `optional_params` (*type:* `keyword()`) - Optional parameters
162164
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
163165
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -227,7 +229,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
227229
## Parameters
228230
229231
* `connection` (*type:* `GoogleApi.Redis.V1.Connection.t`) - Connection to server
230-
* `parent` (*type:* `String.t`) - Required. The resource name of the backupCollection location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
232+
* `parent` (*type:* `String.t`) - Required. The resource name of the backupCollection location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.
231233
* `optional_params` (*type:* `keyword()`) - Optional parameters
232234
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
233235
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -591,7 +593,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
591593
## Parameters
592594
593595
* `connection` (*type:* `GoogleApi.Redis.V1.Connection.t`) - Connection to server
594-
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.
596+
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.
595597
* `optional_params` (*type:* `keyword()`) - Optional parameters
596598
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
597599
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -663,7 +665,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
663665
## Parameters
664666
665667
* `connection` (*type:* `GoogleApi.Redis.V1.Connection.t`) - Connection to server
666-
* `parent` (*type:* `String.t`) - Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
668+
* `parent` (*type:* `String.t`) - Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.
667669
* `optional_params` (*type:* `keyword()`) - Optional parameters
668670
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
669671
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -739,7 +741,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
739741
## Parameters
740742
741743
* `connection` (*type:* `GoogleApi.Redis.V1.Connection.t`) - Connection to server
742-
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.
744+
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.
743745
* `optional_params` (*type:* `keyword()`) - Optional parameters
744746
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
745747
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -811,7 +813,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
811813
## Parameters
812814
813815
* `connection` (*type:* `GoogleApi.Redis.V1.Connection.t`) - Connection to server
814-
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.
816+
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.
815817
* `optional_params` (*type:* `keyword()`) - Optional parameters
816818
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
817819
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -876,7 +878,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
876878
## Parameters
877879
878880
* `connection` (*type:* `GoogleApi.Redis.V1.Connection.t`) - Connection to server
879-
* `name` (*type:* `String.t`) - Required. Redis cluster certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where `location_id` refers to a GCP region.
881+
* `name` (*type:* `String.t`) - Required. Redis cluster certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where `location_id` refers to a Google Cloud region.
880882
* `optional_params` (*type:* `keyword()`) - Optional parameters
881883
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
882884
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -946,7 +948,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
946948
## Parameters
947949
948950
* `connection` (*type:* `GoogleApi.Redis.V1.Connection.t`) - Connection to server
949-
* `parent` (*type:* `String.t`) - Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
951+
* `parent` (*type:* `String.t`) - Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.
950952
* `optional_params` (*type:* `keyword()`) - Optional parameters
951953
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
952954
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -1091,7 +1093,7 @@ defmodule GoogleApi.Redis.V1.Api.Projects do
10911093
## Parameters
10921094
10931095
* `connection` (*type:* `GoogleApi.Redis.V1.Connection.t`) - Connection to server
1094-
* `name` (*type:* `String.t`) - Required. Redis Cluster instance resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.
1096+
* `name` (*type:* `String.t`) - Required. Redis Cluster instance resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.
10951097
* `optional_params` (*type:* `keyword()`) - Optional parameters
10961098
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
10971099
* `:access_token` (*type:* `String.t`) - OAuth access token.

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

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

23-
@discovery_revision "20250303"
23+
@discovery_revision "20250320"
2424

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

clients/redis/lib/google_api/redis/v1beta1/api/projects.ex

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
104104
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
105105
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
106106
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
107+
* `:extraLocationTypes` (*type:* `list(String.t)`) - Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
107108
* `:filter` (*type:* `String.t`) - A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
108109
* `:pageSize` (*type:* `integer()`) - The maximum number of results to return. If not set, the service selects a default.
109110
* `:pageToken` (*type:* `String.t`) - A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
@@ -132,6 +133,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
132133
:quotaUser => :query,
133134
:uploadType => :query,
134135
:upload_protocol => :query,
136+
:extraLocationTypes => :query,
135137
:filter => :query,
136138
:pageSize => :query,
137139
:pageToken => :query
@@ -157,7 +159,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
157159
## Parameters
158160
159161
* `connection` (*type:* `GoogleApi.Redis.V1beta1.Connection.t`) - Connection to server
160-
* `name` (*type:* `String.t`) - Required. Redis backupCollection resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where `location_id` refers to a GCP region.
162+
* `name` (*type:* `String.t`) - Required. Redis backupCollection resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where `location_id` refers to a Google Cloud region.
161163
* `optional_params` (*type:* `keyword()`) - Optional parameters
162164
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
163165
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -227,7 +229,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
227229
## Parameters
228230
229231
* `connection` (*type:* `GoogleApi.Redis.V1beta1.Connection.t`) - Connection to server
230-
* `parent` (*type:* `String.t`) - Required. The resource name of the backupCollection location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
232+
* `parent` (*type:* `String.t`) - Required. The resource name of the backupCollection location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.
231233
* `optional_params` (*type:* `keyword()`) - Optional parameters
232234
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
233235
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -591,7 +593,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
591593
## Parameters
592594
593595
* `connection` (*type:* `GoogleApi.Redis.V1beta1.Connection.t`) - Connection to server
594-
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.
596+
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.
595597
* `optional_params` (*type:* `keyword()`) - Optional parameters
596598
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
597599
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -663,7 +665,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
663665
## Parameters
664666
665667
* `connection` (*type:* `GoogleApi.Redis.V1beta1.Connection.t`) - Connection to server
666-
* `parent` (*type:* `String.t`) - Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
668+
* `parent` (*type:* `String.t`) - Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.
667669
* `optional_params` (*type:* `keyword()`) - Optional parameters
668670
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
669671
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -739,7 +741,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
739741
## Parameters
740742
741743
* `connection` (*type:* `GoogleApi.Redis.V1beta1.Connection.t`) - Connection to server
742-
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.
744+
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.
743745
* `optional_params` (*type:* `keyword()`) - Optional parameters
744746
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
745747
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -811,7 +813,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
811813
## Parameters
812814
813815
* `connection` (*type:* `GoogleApi.Redis.V1beta1.Connection.t`) - Connection to server
814-
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.
816+
* `name` (*type:* `String.t`) - Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.
815817
* `optional_params` (*type:* `keyword()`) - Optional parameters
816818
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
817819
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -876,7 +878,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
876878
## Parameters
877879
878880
* `connection` (*type:* `GoogleApi.Redis.V1beta1.Connection.t`) - Connection to server
879-
* `name` (*type:* `String.t`) - Required. Redis cluster certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where `location_id` refers to a GCP region.
881+
* `name` (*type:* `String.t`) - Required. Redis cluster certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where `location_id` refers to a Google Cloud region.
880882
* `optional_params` (*type:* `keyword()`) - Optional parameters
881883
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
882884
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -946,7 +948,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
946948
## Parameters
947949
948950
* `connection` (*type:* `GoogleApi.Redis.V1beta1.Connection.t`) - Connection to server
949-
* `parent` (*type:* `String.t`) - Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
951+
* `parent` (*type:* `String.t`) - Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.
950952
* `optional_params` (*type:* `keyword()`) - Optional parameters
951953
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
952954
* `:access_token` (*type:* `String.t`) - OAuth access token.
@@ -1091,7 +1093,7 @@ defmodule GoogleApi.Redis.V1beta1.Api.Projects do
10911093
## Parameters
10921094
10931095
* `connection` (*type:* `GoogleApi.Redis.V1beta1.Connection.t`) - Connection to server
1094-
* `name` (*type:* `String.t`) - Required. Redis Cluster instance resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.
1096+
* `name` (*type:* `String.t`) - Required. Redis Cluster instance resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.
10951097
* `optional_params` (*type:* `keyword()`) - Optional parameters
10961098
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
10971099
* `:access_token` (*type:* `String.t`) - OAuth access token.

clients/redis/lib/google_api/redis/v1beta1/metadata.ex

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

23-
@discovery_revision "20250303"
23+
@discovery_revision "20250320"
2424

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

0 commit comments

Comments
 (0)