Skip to content

Commit 07d8c82

Browse files
feat: Automated regeneration of Apigee client (googleapis#13176)
Auto-created at 2025-03-19 13:15:46 +0000 using the toys pull request generator.
1 parent 195ad9e commit 07d8c82

7 files changed

+952
-1
lines changed

clients/apigee/lib/google_api/apigee/v1/api/organizations.ex

Lines changed: 640 additions & 0 deletions
Large diffs are not rendered by default.

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 "20250306"
23+
@discovery_revision "20250312"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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.GoogleCloudApigeeV1DnsZone do
19+
@moduledoc """
20+
A DNS zone is a resource under an Apigee organization that is used to create a DNS peering with Apigee's network. DNS peering will let Apigee instances resolve the hostnames created in a peered network.
21+
22+
## Attributes
23+
24+
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time that this resource was created on the server.
25+
* `description` (*type:* `String.t`, *default:* `nil`) - Required. Description of the resource. String of at most 1024 characters associated with this resource for the user's convenience.
26+
* `domain` (*type:* `String.t`, *default:* `nil`) - Required. The domain name for hosts in this private zone, for instance "example.com.".
27+
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Unique name for the resource. Defined by the server Format: "organizations/{organization}/dnsZones/{dns_zone}".
28+
* `peeringConfig` (*type:* `GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZonePeeringConfig.t`, *default:* `nil`) - DNS PEERING zone configuration.
29+
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. State of the DNS Peering. Values other than `ACTIVE` mean the resource is not ready to use.
30+
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time that this resource was updated on the server.
31+
"""
32+
33+
use GoogleApi.Gax.ModelBase
34+
35+
@type t :: %__MODULE__{
36+
:createTime => DateTime.t() | nil,
37+
:description => String.t() | nil,
38+
:domain => String.t() | nil,
39+
:name => String.t() | nil,
40+
:peeringConfig =>
41+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZonePeeringConfig.t() | nil,
42+
:state => String.t() | nil,
43+
:updateTime => DateTime.t() | nil
44+
}
45+
46+
field(:createTime, as: DateTime)
47+
field(:description)
48+
field(:domain)
49+
field(:name)
50+
field(:peeringConfig, as: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZonePeeringConfig)
51+
field(:state)
52+
field(:updateTime, as: DateTime)
53+
end
54+
55+
defimpl Poison.Decoder, for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZone do
56+
def decode(value, options) do
57+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZone.decode(value, options)
58+
end
59+
end
60+
61+
defimpl Poison.Encoder, for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZone do
62+
def encode(value, options) do
63+
GoogleApi.Gax.ModelBase.encode(value, options)
64+
end
65+
end
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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.GoogleCloudApigeeV1DnsZonePeeringConfig do
19+
@moduledoc """
20+
Fields for DNS PEERING zone.
21+
22+
## Attributes
23+
24+
* `targetNetworkId` (*type:* `String.t`, *default:* `nil`) - Required. The VPC network where the records for that private DNS zone's namespace are available. Apigee will be performing DNS peering with this VPC network.
25+
* `targetProjectId` (*type:* `String.t`, *default:* `nil`) - Required. The ID of the project containing the private DNS zone.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:targetNetworkId => String.t() | nil,
32+
:targetProjectId => String.t() | nil
33+
}
34+
35+
field(:targetNetworkId)
36+
field(:targetProjectId)
37+
end
38+
39+
defimpl Poison.Decoder, for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZonePeeringConfig do
40+
def decode(value, options) do
41+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZonePeeringConfig.decode(value, options)
42+
end
43+
end
44+
45+
defimpl Poison.Encoder, for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZonePeeringConfig do
46+
def encode(value, options) do
47+
GoogleApi.Gax.ModelBase.encode(value, options)
48+
end
49+
end
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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.GoogleCloudApigeeV1ListDnsZonesResponse do
19+
@moduledoc """
20+
Response for list DNS zones.
21+
22+
## Attributes
23+
24+
* `dnsZones` (*type:* `list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZone.t)`, *default:* `nil`) - DNS zones in a given organization.
25+
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Page token that you can include in an `ListDnsZones` request to retrieve the next page. If omitted, no subsequent pages exist.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:dnsZones => list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZone.t()) | nil,
32+
:nextPageToken => String.t() | nil
33+
}
34+
35+
field(:dnsZones, as: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DnsZone, type: :list)
36+
field(:nextPageToken)
37+
end
38+
39+
defimpl Poison.Decoder, for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ListDnsZonesResponse do
40+
def decode(value, options) do
41+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ListDnsZonesResponse.decode(value, options)
42+
end
43+
end
44+
45+
defimpl Poison.Encoder, for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ListDnsZonesResponse do
46+
def encode(value, options) do
47+
GoogleApi.Gax.ModelBase.encode(value, options)
48+
end
49+
end
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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.GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse do
19+
@moduledoc """
20+
Response for ListSecurityMonitoringConditions.
21+
22+
## Attributes
23+
24+
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
25+
* `securityMonitoringConditions` (*type:* `list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityMonitoringCondition.t)`, *default:* `nil`) - List of security monitoring conditions in the organization.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:nextPageToken => String.t() | nil,
32+
:securityMonitoringConditions =>
33+
list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityMonitoringCondition.t())
34+
| nil
35+
}
36+
37+
field(:nextPageToken)
38+
39+
field(:securityMonitoringConditions,
40+
as: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityMonitoringCondition,
41+
type: :list
42+
)
43+
end
44+
45+
defimpl Poison.Decoder,
46+
for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse do
47+
def decode(value, options) do
48+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse.decode(
49+
value,
50+
options
51+
)
52+
end
53+
end
54+
55+
defimpl Poison.Encoder,
56+
for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse do
57+
def encode(value, options) do
58+
GoogleApi.Gax.ModelBase.encode(value, options)
59+
end
60+
end
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
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.GoogleCloudApigeeV1SecurityMonitoringCondition do
19+
@moduledoc """
20+
Security monitoring condition for risk assessment version 2.
21+
22+
## Attributes
23+
24+
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time of the security monitoring condition creation.
25+
* `include` (*type:* `GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray.t`, *default:* `nil`) - Include only these resources.
26+
* `includeAllResources` (*type:* `GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll.t`, *default:* `nil`) - Include all resources under the scope.
27+
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}
28+
* `profile` (*type:* `String.t`, *default:* `nil`) - Required. ID of security profile of the security monitoring condition.
29+
* `scope` (*type:* `String.t`, *default:* `nil`) - Required. Scope of the security monitoring condition. For Apigee, the environment is the scope of the resources.
30+
* `totalDeployedResources` (*type:* `integer()`, *default:* `nil`) - Output only. Total number of deployed resources within scope.
31+
* `totalMonitoredResources` (*type:* `integer()`, *default:* `nil`) - Output only. Total number of monitored resources within this condition.
32+
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time of the security monitoring condition update.
33+
"""
34+
35+
use GoogleApi.Gax.ModelBase
36+
37+
@type t :: %__MODULE__{
38+
:createTime => DateTime.t() | nil,
39+
:include =>
40+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray.t()
41+
| nil,
42+
:includeAllResources =>
43+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll.t()
44+
| nil,
45+
:name => String.t() | nil,
46+
:profile => String.t() | nil,
47+
:scope => String.t() | nil,
48+
:totalDeployedResources => integer() | nil,
49+
:totalMonitoredResources => integer() | nil,
50+
:updateTime => DateTime.t() | nil
51+
}
52+
53+
field(:createTime, as: DateTime)
54+
55+
field(:include,
56+
as:
57+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray
58+
)
59+
60+
field(:includeAllResources,
61+
as:
62+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll
63+
)
64+
65+
field(:name)
66+
field(:profile)
67+
field(:scope)
68+
field(:totalDeployedResources)
69+
field(:totalMonitoredResources)
70+
field(:updateTime, as: DateTime)
71+
end
72+
73+
defimpl Poison.Decoder,
74+
for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityMonitoringCondition do
75+
def decode(value, options) do
76+
GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityMonitoringCondition.decode(
77+
value,
78+
options
79+
)
80+
end
81+
end
82+
83+
defimpl Poison.Encoder,
84+
for: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityMonitoringCondition do
85+
def encode(value, options) do
86+
GoogleApi.Gax.ModelBase.encode(value, options)
87+
end
88+
end

0 commit comments

Comments
 (0)