Skip to content

Commit c071ffa

Browse files
feat: Automated regeneration of BigtableAdmin client (#13146)
Auto-created at 2025-03-13 13:17:56 +0000 using the toys pull request generator.
1 parent fbfbf13 commit c071ffa

9 files changed

+418
-1
lines changed

clients/bigtable_admin/lib/google_api/bigtable_admin/v2/metadata.ex

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

23-
@discovery_revision "20250227"
23+
@discovery_revision "20250308"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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.BigtableAdmin.V2.Model.CreateLogicalViewMetadata do
19+
@moduledoc """
20+
The metadata for the Operation returned by CreateLogicalView.
21+
22+
## Attributes
23+
24+
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - If set, the time at which this operation finished or was canceled.
25+
* `originalRequest` (*type:* `GoogleApi.BigtableAdmin.V2.Model.CreateLogicalViewRequest.t`, *default:* `nil`) - The request that prompted the initiation of this CreateLogicalView operation.
26+
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - The time at which this operation started.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:endTime => DateTime.t() | nil,
33+
:originalRequest => GoogleApi.BigtableAdmin.V2.Model.CreateLogicalViewRequest.t() | nil,
34+
:startTime => DateTime.t() | nil
35+
}
36+
37+
field(:endTime, as: DateTime)
38+
field(:originalRequest, as: GoogleApi.BigtableAdmin.V2.Model.CreateLogicalViewRequest)
39+
field(:startTime, as: DateTime)
40+
end
41+
42+
defimpl Poison.Decoder, for: GoogleApi.BigtableAdmin.V2.Model.CreateLogicalViewMetadata do
43+
def decode(value, options) do
44+
GoogleApi.BigtableAdmin.V2.Model.CreateLogicalViewMetadata.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.BigtableAdmin.V2.Model.CreateLogicalViewMetadata do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
end
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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.BigtableAdmin.V2.Model.CreateLogicalViewRequest do
19+
@moduledoc """
20+
Request message for BigtableInstanceAdmin.CreateLogicalView.
21+
22+
## Attributes
23+
24+
* `logicalView` (*type:* `GoogleApi.BigtableAdmin.V2.Model.LogicalView.t`, *default:* `nil`) - Required. The logical view to create.
25+
* `logicalViewId` (*type:* `String.t`, *default:* `nil`) - Required. The ID to use for the logical view, which will become the final component of the logical view's resource name.
26+
* `parent` (*type:* `String.t`, *default:* `nil`) - Required. The parent instance where this logical view will be created. Format: `projects/{project}/instances/{instance}`.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:logicalView => GoogleApi.BigtableAdmin.V2.Model.LogicalView.t() | nil,
33+
:logicalViewId => String.t() | nil,
34+
:parent => String.t() | nil
35+
}
36+
37+
field(:logicalView, as: GoogleApi.BigtableAdmin.V2.Model.LogicalView)
38+
field(:logicalViewId)
39+
field(:parent)
40+
end
41+
42+
defimpl Poison.Decoder, for: GoogleApi.BigtableAdmin.V2.Model.CreateLogicalViewRequest do
43+
def decode(value, options) do
44+
GoogleApi.BigtableAdmin.V2.Model.CreateLogicalViewRequest.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.BigtableAdmin.V2.Model.CreateLogicalViewRequest do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
end
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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.BigtableAdmin.V2.Model.CreateMaterializedViewMetadata do
19+
@moduledoc """
20+
The metadata for the Operation returned by CreateMaterializedView.
21+
22+
## Attributes
23+
24+
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - If set, the time at which this operation finished or was canceled.
25+
* `originalRequest` (*type:* `GoogleApi.BigtableAdmin.V2.Model.CreateMaterializedViewRequest.t`, *default:* `nil`) - The request that prompted the initiation of this CreateMaterializedView operation.
26+
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - The time at which this operation started.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:endTime => DateTime.t() | nil,
33+
:originalRequest =>
34+
GoogleApi.BigtableAdmin.V2.Model.CreateMaterializedViewRequest.t() | nil,
35+
:startTime => DateTime.t() | nil
36+
}
37+
38+
field(:endTime, as: DateTime)
39+
field(:originalRequest, as: GoogleApi.BigtableAdmin.V2.Model.CreateMaterializedViewRequest)
40+
field(:startTime, as: DateTime)
41+
end
42+
43+
defimpl Poison.Decoder, for: GoogleApi.BigtableAdmin.V2.Model.CreateMaterializedViewMetadata do
44+
def decode(value, options) do
45+
GoogleApi.BigtableAdmin.V2.Model.CreateMaterializedViewMetadata.decode(value, options)
46+
end
47+
end
48+
49+
defimpl Poison.Encoder, for: GoogleApi.BigtableAdmin.V2.Model.CreateMaterializedViewMetadata do
50+
def encode(value, options) do
51+
GoogleApi.Gax.ModelBase.encode(value, options)
52+
end
53+
end
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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.BigtableAdmin.V2.Model.CreateMaterializedViewRequest do
19+
@moduledoc """
20+
Request message for BigtableInstanceAdmin.CreateMaterializedView.
21+
22+
## Attributes
23+
24+
* `materializedView` (*type:* `GoogleApi.BigtableAdmin.V2.Model.MaterializedView.t`, *default:* `nil`) - Required. The materialized view to create.
25+
* `materializedViewId` (*type:* `String.t`, *default:* `nil`) - Required. The ID to use for the materialized view, which will become the final component of the materialized view's resource name.
26+
* `parent` (*type:* `String.t`, *default:* `nil`) - Required. The parent instance where this materialized view will be created. Format: `projects/{project}/instances/{instance}`.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:materializedView => GoogleApi.BigtableAdmin.V2.Model.MaterializedView.t() | nil,
33+
:materializedViewId => String.t() | nil,
34+
:parent => String.t() | nil
35+
}
36+
37+
field(:materializedView, as: GoogleApi.BigtableAdmin.V2.Model.MaterializedView)
38+
field(:materializedViewId)
39+
field(:parent)
40+
end
41+
42+
defimpl Poison.Decoder, for: GoogleApi.BigtableAdmin.V2.Model.CreateMaterializedViewRequest do
43+
def decode(value, options) do
44+
GoogleApi.BigtableAdmin.V2.Model.CreateMaterializedViewRequest.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.BigtableAdmin.V2.Model.CreateMaterializedViewRequest do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
end
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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.BigtableAdmin.V2.Model.LogicalView do
19+
@moduledoc """
20+
A SQL logical view object that can be referenced in SQL queries.
21+
22+
## Attributes
23+
24+
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
25+
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
26+
* `query` (*type:* `String.t`, *default:* `nil`) - Required. The logical view's select query.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:etag => String.t() | nil,
33+
:name => String.t() | nil,
34+
:query => String.t() | nil
35+
}
36+
37+
field(:etag)
38+
field(:name)
39+
field(:query)
40+
end
41+
42+
defimpl Poison.Decoder, for: GoogleApi.BigtableAdmin.V2.Model.LogicalView do
43+
def decode(value, options) do
44+
GoogleApi.BigtableAdmin.V2.Model.LogicalView.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.BigtableAdmin.V2.Model.LogicalView do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
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.BigtableAdmin.V2.Model.MaterializedView do
19+
@moduledoc """
20+
A materialized view object that can be referenced in SQL queries.
21+
22+
## Attributes
23+
24+
* `deletionProtection` (*type:* `boolean()`, *default:* `nil`) - Set to true to make the MaterializedView protected against deletion.
25+
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. The etag for this materialized view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
26+
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The unique name of the materialized view. Format: `projects/{project}/instances/{instance}/materializedViews/{materialized_view}`
27+
* `query` (*type:* `String.t`, *default:* `nil`) - Required. Immutable. The materialized view's select query.
28+
"""
29+
30+
use GoogleApi.Gax.ModelBase
31+
32+
@type t :: %__MODULE__{
33+
:deletionProtection => boolean() | nil,
34+
:etag => String.t() | nil,
35+
:name => String.t() | nil,
36+
:query => String.t() | nil
37+
}
38+
39+
field(:deletionProtection)
40+
field(:etag)
41+
field(:name)
42+
field(:query)
43+
end
44+
45+
defimpl Poison.Decoder, for: GoogleApi.BigtableAdmin.V2.Model.MaterializedView do
46+
def decode(value, options) do
47+
GoogleApi.BigtableAdmin.V2.Model.MaterializedView.decode(value, options)
48+
end
49+
end
50+
51+
defimpl Poison.Encoder, for: GoogleApi.BigtableAdmin.V2.Model.MaterializedView do
52+
def encode(value, options) do
53+
GoogleApi.Gax.ModelBase.encode(value, options)
54+
end
55+
end
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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.BigtableAdmin.V2.Model.UpdateLogicalViewMetadata do
19+
@moduledoc """
20+
The metadata for the Operation returned by UpdateLogicalView.
21+
22+
## Attributes
23+
24+
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - If set, the time at which this operation finished or was canceled.
25+
* `originalRequest` (*type:* `GoogleApi.BigtableAdmin.V2.Model.UpdateLogicalViewRequest.t`, *default:* `nil`) - The request that prompted the initiation of this UpdateLogicalView operation.
26+
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - The time at which this operation was started.
27+
"""
28+
29+
use GoogleApi.Gax.ModelBase
30+
31+
@type t :: %__MODULE__{
32+
:endTime => DateTime.t() | nil,
33+
:originalRequest => GoogleApi.BigtableAdmin.V2.Model.UpdateLogicalViewRequest.t() | nil,
34+
:startTime => DateTime.t() | nil
35+
}
36+
37+
field(:endTime, as: DateTime)
38+
field(:originalRequest, as: GoogleApi.BigtableAdmin.V2.Model.UpdateLogicalViewRequest)
39+
field(:startTime, as: DateTime)
40+
end
41+
42+
defimpl Poison.Decoder, for: GoogleApi.BigtableAdmin.V2.Model.UpdateLogicalViewMetadata do
43+
def decode(value, options) do
44+
GoogleApi.BigtableAdmin.V2.Model.UpdateLogicalViewMetadata.decode(value, options)
45+
end
46+
end
47+
48+
defimpl Poison.Encoder, for: GoogleApi.BigtableAdmin.V2.Model.UpdateLogicalViewMetadata do
49+
def encode(value, options) do
50+
GoogleApi.Gax.ModelBase.encode(value, options)
51+
end
52+
end

0 commit comments

Comments
 (0)