Skip to content

Commit 5387a34

Browse files
feat: Automated regeneration of DiscoveryEngine client (googleapis#13232)
Auto-created at 2025-03-27 13:16:04 +0000 using the toys pull request generator.
1 parent c9dfb3d commit 5387a34

13 files changed

+71
-8
lines changed

clients/discovery_engine/lib/google_api/discovery_engine/v1/metadata.ex

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

23-
@discovery_revision "20250320"
23+
@discovery_revision "20250322"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/discovery_engine/lib/google_api/discovery_engine/v1/model/google_cloud_discoveryengine_v1_document_processing_config_parsing_config_layout_parsing_config.ex

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,19 @@ defmodule GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Documen
2121
2222
## Attributes
2323
24+
* `enableImageAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the image during parsing.
25+
* `enableTableAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the table during parsing.
2426
"""
2527

2628
use GoogleApi.Gax.ModelBase
2729

28-
@type t :: %__MODULE__{}
30+
@type t :: %__MODULE__{
31+
:enableImageAnnotation => boolean() | nil,
32+
:enableTableAnnotation => boolean() | nil
33+
}
34+
35+
field(:enableImageAnnotation)
36+
field(:enableTableAnnotation)
2937
end
3038

3139
defimpl Poison.Decoder,

clients/discovery_engine/lib/google_api/discovery_engine/v1/model/google_cloud_discoveryengine_v1_user_info.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@ defmodule GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1UserInf
2121
2222
## Attributes
2323
24+
* `timeZone` (*type:* `String.t`, *default:* `nil`) - Optional. IANA time zone, e.g. Europe/Budapest.
2425
* `userAgent` (*type:* `String.t`, *default:* `nil`) - User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.
2526
* `userId` (*type:* `String.t`, *default:* `nil`) - Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
32+
:timeZone => String.t() | nil,
3133
:userAgent => String.t() | nil,
3234
:userId => String.t() | nil
3335
}
3436

37+
field(:timeZone)
3538
field(:userAgent)
3639
field(:userId)
3740
end

clients/discovery_engine/lib/google_api/discovery_engine/v1/model/google_cloud_discoveryengine_v1alpha_document_processing_config_parsing_config_layout_parsing_config.ex

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,19 @@ defmodule GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaDo
2121
2222
## Attributes
2323
24+
* `enableImageAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the image during parsing.
25+
* `enableTableAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the table during parsing.
2426
"""
2527

2628
use GoogleApi.Gax.ModelBase
2729

28-
@type t :: %__MODULE__{}
30+
@type t :: %__MODULE__{
31+
:enableImageAnnotation => boolean() | nil,
32+
:enableTableAnnotation => boolean() | nil
33+
}
34+
35+
field(:enableImageAnnotation)
36+
field(:enableTableAnnotation)
2937
end
3038

3139
defimpl Poison.Decoder,

clients/discovery_engine/lib/google_api/discovery_engine/v1/model/google_cloud_discoveryengine_v1alpha_user_info.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@ defmodule GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaUs
2121
2222
## Attributes
2323
24+
* `timeZone` (*type:* `String.t`, *default:* `nil`) - Optional. IANA time zone, e.g. Europe/Budapest.
2425
* `userAgent` (*type:* `String.t`, *default:* `nil`) - User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.
2526
* `userId` (*type:* `String.t`, *default:* `nil`) - Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
32+
:timeZone => String.t() | nil,
3133
:userAgent => String.t() | nil,
3234
:userId => String.t() | nil
3335
}
3436

37+
field(:timeZone)
3538
field(:userAgent)
3639
field(:userId)
3740
end

clients/discovery_engine/lib/google_api/discovery_engine/v1/model/google_cloud_discoveryengine_v1beta_document_processing_config_parsing_config_layout_parsing_config.ex

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,19 @@ defmodule GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaDoc
2121
2222
## Attributes
2323
24+
* `enableImageAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the image during parsing.
25+
* `enableTableAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the table during parsing.
2426
"""
2527

2628
use GoogleApi.Gax.ModelBase
2729

28-
@type t :: %__MODULE__{}
30+
@type t :: %__MODULE__{
31+
:enableImageAnnotation => boolean() | nil,
32+
:enableTableAnnotation => boolean() | nil
33+
}
34+
35+
field(:enableImageAnnotation)
36+
field(:enableTableAnnotation)
2937
end
3038

3139
defimpl Poison.Decoder,

clients/discovery_engine/lib/google_api/discovery_engine/v1/model/google_cloud_discoveryengine_v1beta_user_info.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,20 @@ defmodule GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaUse
2121
2222
## Attributes
2323
24+
* `timeZone` (*type:* `String.t`, *default:* `nil`) - Optional. IANA time zone, e.g. Europe/Budapest.
2425
* `userAgent` (*type:* `String.t`, *default:* `nil`) - User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.
2526
* `userId` (*type:* `String.t`, *default:* `nil`) - Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
32+
:timeZone => String.t() | nil,
3133
:userAgent => String.t() | nil,
3234
:userId => String.t() | nil
3335
}
3436

37+
field(:timeZone)
3538
field(:userAgent)
3639
field(:userId)
3740
end

clients/discovery_engine/lib/google_api/discovery_engine/v1beta/metadata.ex

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

23-
@discovery_revision "20250320"
23+
@discovery_revision "20250322"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/discovery_engine/lib/google_api/discovery_engine/v1beta/model/google_cloud_discoveryengine_v1_document_processing_config_parsing_config_layout_parsing_config.ex

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,19 @@ defmodule GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1Doc
2121
2222
## Attributes
2323
24+
* `enableImageAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the image during parsing.
25+
* `enableTableAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the table during parsing.
2426
"""
2527

2628
use GoogleApi.Gax.ModelBase
2729

28-
@type t :: %__MODULE__{}
30+
@type t :: %__MODULE__{
31+
:enableImageAnnotation => boolean() | nil,
32+
:enableTableAnnotation => boolean() | nil
33+
}
34+
35+
field(:enableImageAnnotation)
36+
field(:enableTableAnnotation)
2937
end
3038

3139
defimpl Poison.Decoder,

clients/discovery_engine/lib/google_api/discovery_engine/v1beta/model/google_cloud_discoveryengine_v1alpha_document_processing_config_parsing_config_layout_parsing_config.ex

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,19 @@ defmodule GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alp
2121
2222
## Attributes
2323
24+
* `enableImageAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the image during parsing.
25+
* `enableTableAnnotation` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the LLM based annotation is added to the table during parsing.
2426
"""
2527

2628
use GoogleApi.Gax.ModelBase
2729

28-
@type t :: %__MODULE__{}
30+
@type t :: %__MODULE__{
31+
:enableImageAnnotation => boolean() | nil,
32+
:enableTableAnnotation => boolean() | nil
33+
}
34+
35+
field(:enableImageAnnotation)
36+
field(:enableTableAnnotation)
2937
end
3038

3139
defimpl Poison.Decoder,

0 commit comments

Comments
 (0)