Skip to content

Commit

Permalink
feat: Automated regeneration of AnalyticsHub client (#11077)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-13 13:12:56 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 13, 2024
1 parent 4b56f4d commit 2a62442
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.AnalyticsHub.V1 do
API client metadata for GoogleApi.AnalyticsHub.V1.
"""

@discovery_revision "20240304"
@discovery_revision "20240307"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@ defmodule GoogleApi.AnalyticsHub.V1.Model.BigQueryDatasetSource do
## Attributes
* `dataset` (*type:* `String.t`, *default:* `nil`) - Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`
* `selectedResources` (*type:* `list(GoogleApi.AnalyticsHub.V1.Model.SelectedResource.t)`, *default:* `nil`) - Optional. Resources in this dataset that are selectively shared. If this field is empty, then the entire dataset (all resources) are shared. This field is only valid for data clean room exchanges.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:dataset => String.t() | nil
:dataset => String.t() | nil,
:selectedResources => list(GoogleApi.AnalyticsHub.V1.Model.SelectedResource.t()) | nil
}

field(:dataset)
field(:selectedResources, as: GoogleApi.AnalyticsHub.V1.Model.SelectedResource, type: :list)
end

defimpl Poison.Decoder, for: GoogleApi.AnalyticsHub.V1.Model.BigQueryDatasetSource do
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 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.AnalyticsHub.V1.Model.SelectedResource do
@moduledoc """
Resource in this dataset that are selectively shared.
## Attributes
* `table` (*type:* `String.t`, *default:* `nil`) - Optional. Format: For table: `projects/{projectId}/datasets/{datasetId}/tables/{tableId}` Example:"projects/test_project/datasets/test_dataset/tables/test_table"
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:table => String.t() | nil
}

field(:table)
end

defimpl Poison.Decoder, for: GoogleApi.AnalyticsHub.V1.Model.SelectedResource do
def decode(value, options) do
GoogleApi.AnalyticsHub.V1.Model.SelectedResource.decode(value, options)
end
end

defimpl Poison.Encoder, for: GoogleApi.AnalyticsHub.V1.Model.SelectedResource do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.AnalyticsHub.V1beta1 do
API client metadata for GoogleApi.AnalyticsHub.V1beta1.
"""

@discovery_revision "20240304"
@discovery_revision "20240307"

def discovery_revision(), do: @discovery_revision
end

0 comments on commit 2a62442

Please sign in to comment.