-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Automated regeneration of ServiceNetworking client
- Loading branch information
1 parent
9e554ee
commit 2c8c673
Showing
29 changed files
with
783 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
370 changes: 370 additions & 0 deletions
370
clients/service_networking/lib/google_api/service_networking/v1/api/services.ex
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
clients/service_networking/lib/google_api/service_networking/v1/model/dns_zone_pair.ex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# NOTE: This file is auto generated by the elixir code generator program. | ||
# Do not edit this file manually. | ||
|
||
defmodule GoogleApi.ServiceNetworking.V1.Model.DnsZonePair do | ||
@moduledoc """ | ||
* Represents a pair of private and peering DNS zone resources. * | ||
## Attributes | ||
* `consumerPeeringZone` (*type:* `GoogleApi.ServiceNetworking.V1.Model.DnsZone.t`, *default:* `nil`) - The DNS peering zone in the consumer project. | ||
* `producerPrivateZone` (*type:* `GoogleApi.ServiceNetworking.V1.Model.DnsZone.t`, *default:* `nil`) - The private DNS zone in the shared producer host project. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:consumerPeeringZone => GoogleApi.ServiceNetworking.V1.Model.DnsZone.t() | nil, | ||
:producerPrivateZone => GoogleApi.ServiceNetworking.V1.Model.DnsZone.t() | nil | ||
} | ||
|
||
field(:consumerPeeringZone, as: GoogleApi.ServiceNetworking.V1.Model.DnsZone) | ||
field(:producerPrivateZone, as: GoogleApi.ServiceNetworking.V1.Model.DnsZone) | ||
end | ||
|
||
defimpl Poison.Decoder, for: GoogleApi.ServiceNetworking.V1.Model.DnsZonePair do | ||
def decode(value, options) do | ||
GoogleApi.ServiceNetworking.V1.Model.DnsZonePair.decode(value, options) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, for: GoogleApi.ServiceNetworking.V1.Model.DnsZonePair do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
Oops, something went wrong.