-
Notifications
You must be signed in to change notification settings - Fork 463
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 DiscoveryEngine client
- Loading branch information
1 parent
3355031
commit e07092b
Showing
42 changed files
with
2,105 additions
and
7 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
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
54 changes: 54 additions & 0 deletions
54
...e_api/discovery_engine/v1/model/google_cloud_discoveryengine_v1_healthcare_fhir_config.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,54 @@ | ||
# 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.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1HealthcareFhirConfig do | ||
@moduledoc """ | ||
Config to data store for `HEALTHCARE_FHIR` vertical. | ||
## Attributes | ||
* `enableConfigurableSchema` (*type:* `boolean()`, *default:* `nil`) - Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering. | ||
* `enableStaticIndexingForBatchIngestion` (*type:* `boolean()`, *default:* `nil`) - Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:enableConfigurableSchema => boolean() | nil, | ||
:enableStaticIndexingForBatchIngestion => boolean() | nil | ||
} | ||
|
||
field(:enableConfigurableSchema) | ||
field(:enableStaticIndexingForBatchIngestion) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1HealthcareFhirConfig do | ||
def decode(value, options) do | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1HealthcareFhirConfig.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1HealthcareFhirConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
59 changes: 59 additions & 0 deletions
59
...ine/v1/model/google_cloud_discoveryengine_v1_identity_mapping_entry_operation_metadata.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,59 @@ | ||
# 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.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata do | ||
@moduledoc """ | ||
IdentityMappingEntry LongRunningOperation metadata for [IdentityMappingStoreService.ImportIdentityMappings] and [IdentityMappingStoreService.PurgeIdentityMappings] | ||
## Attributes | ||
* `failureCount` (*type:* `String.t`, *default:* `nil`) - The number of IdentityMappingEntries that failed to be processed. | ||
* `successCount` (*type:* `String.t`, *default:* `nil`) - The number of IdentityMappingEntries that were successfully processed. | ||
* `totalCount` (*type:* `String.t`, *default:* `nil`) - The total number of IdentityMappingEntries that were processed. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:failureCount => String.t() | nil, | ||
:successCount => String.t() | nil, | ||
:totalCount => String.t() | nil | ||
} | ||
|
||
field(:failureCount) | ||
field(:successCount) | ||
field(:totalCount) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata do | ||
def decode(value, options) do | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
53 changes: 53 additions & 0 deletions
53
...very_engine/v1/model/google_cloud_discoveryengine_v1_import_identity_mappings_response.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,53 @@ | ||
# 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.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse do | ||
@moduledoc """ | ||
Response message for IdentityMappingStoreService.ImportIdentityMappings | ||
## Attributes | ||
* `errorSamples` (*type:* `list(GoogleApi.DiscoveryEngine.V1.Model.GoogleRpcStatus.t)`, *default:* `nil`) - A sample of errors encountered while processing the request. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:errorSamples => list(GoogleApi.DiscoveryEngine.V1.Model.GoogleRpcStatus.t()) | nil | ||
} | ||
|
||
field(:errorSamples, as: GoogleApi.DiscoveryEngine.V1.Model.GoogleRpcStatus, type: :list) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse do | ||
def decode(value, options) do | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1ImportIdentityMappingsResponse do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
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
54 changes: 54 additions & 0 deletions
54
.../discovery_engine/v1/model/google_cloud_discoveryengine_v1alpha_healthcare_fhir_config.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,54 @@ | ||
# 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.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig do | ||
@moduledoc """ | ||
Config to data store for `HEALTHCARE_FHIR` vertical. | ||
## Attributes | ||
* `enableConfigurableSchema` (*type:* `boolean()`, *default:* `nil`) - Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set to `true`, the predefined healthcare fhir schema can be extended for more customized searching and filtering. | ||
* `enableStaticIndexingForBatchIngestion` (*type:* `boolean()`, *default:* `nil`) - Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If set to `true`, the batch ingestion will be processed in a static indexing mode which is slower but more capable of handling larger volume. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:enableConfigurableSchema => boolean() | nil, | ||
:enableStaticIndexingForBatchIngestion => boolean() | nil | ||
} | ||
|
||
field(:enableConfigurableSchema) | ||
field(:enableStaticIndexingForBatchIngestion) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig do | ||
def decode(value, options) do | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
59 changes: 59 additions & 0 deletions
59
...1/model/google_cloud_discoveryengine_v1alpha_identity_mapping_entry_operation_metadata.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,59 @@ | ||
# 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.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata do | ||
@moduledoc """ | ||
IdentityMappingEntry LongRunningOperation metadata for [IdentityMappingStoreService.ImportIdentityMappings] and [IdentityMappingStoreService.PurgeIdentityMappings] | ||
## Attributes | ||
* `failureCount` (*type:* `String.t`, *default:* `nil`) - The number of IdentityMappingEntries that failed to be processed. | ||
* `successCount` (*type:* `String.t`, *default:* `nil`) - The number of IdentityMappingEntries that were successfully processed. | ||
* `totalCount` (*type:* `String.t`, *default:* `nil`) - The total number of IdentityMappingEntries that were processed. | ||
""" | ||
|
||
use GoogleApi.Gax.ModelBase | ||
|
||
@type t :: %__MODULE__{ | ||
:failureCount => String.t() | nil, | ||
:successCount => String.t() | nil, | ||
:totalCount => String.t() | nil | ||
} | ||
|
||
field(:failureCount) | ||
field(:successCount) | ||
field(:totalCount) | ||
end | ||
|
||
defimpl Poison.Decoder, | ||
for: | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata do | ||
def decode(value, options) do | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata.decode( | ||
value, | ||
options | ||
) | ||
end | ||
end | ||
|
||
defimpl Poison.Encoder, | ||
for: | ||
GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata do | ||
def encode(value, options) do | ||
GoogleApi.Gax.ModelBase.encode(value, options) | ||
end | ||
end |
Oops, something went wrong.