Skip to content

Commit 0e2c1ad

Browse files
feat: Automated regeneration of Apigee client (googleapis#12958)
Auto-created at 2025-02-12 13:11:49 +0000 using the toys pull request generator.
1 parent 8b18550 commit 0e2c1ad

File tree

3 files changed

+60
-4
lines changed

3 files changed

+60
-4
lines changed

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

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

23-
@discovery_revision "20250129"
23+
@discovery_revision "20250207"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ApiDebugSession do
19+
@moduledoc """
20+
Session carries the debug session id and its creation time.
21+
22+
## Attributes
23+
24+
* `apiProxyRevisionId` (*type:* `String.t`, *default:* `nil`) - The revision ID of the deployed API proxy.
25+
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - The first transaction creation timestamp in millisecond, recorded by UAP.
26+
* `environmentId` (*type:* `String.t`, *default:* `nil`) - The environment ID of the deployed API proxy.
27+
* `id` (*type:* `String.t`, *default:* `nil`) - The debug session ID.
28+
"""
29+
30+
use GoogleApi.Gax.ModelBase
31+
32+
@type t :: %__MODULE__{
33+
:apiProxyRevisionId => String.t() | nil,
34+
:createTime => DateTime.t() | nil,
35+
:environmentId => String.t() | nil,
36+
:id => String.t() | nil
37+
}
38+
39+
field(:apiProxyRevisionId)
40+
field(:createTime, as: DateTime)
41+
field(:environmentId)
42+
field(:id)
43+
end
44+
45+
defimpl Poison.Decoder, for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ApiDebugSession do
46+
def decode(value, options) do
47+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ApiDebugSession.decode(value, options)
48+
end
49+
end
50+
51+
defimpl Poison.Encoder, for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ApiDebugSession do
52+
def encode(value, options) do
53+
GoogleApi.Gax.ModelBase.encode(value, options)
54+
end
55+
end

clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_list_api_debug_sessions_response.ex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,19 @@ defmodule GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ListApiDebugSessionsRespo
2222
## Attributes
2323
2424
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Page token that you can include in a ListApiDebugSessionsRequest to retrieve the next page. If omitted, no subsequent pages exist.
25-
* `sessions` (*type:* `list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Session.t)`, *default:* `nil`) - Session info that includes debug session ID and the first transaction creation timestamp.
25+
* `sessions` (*type:* `list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ApiDebugSession.t)`, *default:* `nil`) - Session info that includes debug session ID, environment ID, api proxy revision ID and the first transaction creation timestamp.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase
2929

3030
@type t :: %__MODULE__{
3131
:nextPageToken => String.t() | nil,
32-
:sessions => list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Session.t()) | nil
32+
:sessions =>
33+
list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ApiDebugSession.t()) | nil
3334
}
3435

3536
field(:nextPageToken)
36-
field(:sessions, as: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Session, type: :list)
37+
field(:sessions, as: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ApiDebugSession, type: :list)
3738
end
3839

3940
defimpl Poison.Decoder,

0 commit comments

Comments
 (0)