Skip to content

Commit 9c6dc45

Browse files
feat: Automated regeneration of Integrations client (googleapis#13099)
Auto-created at 2025-03-05 13:18:25 +0000 using the toys pull request generator.
1 parent 829b710 commit 9c6dc45

File tree

5 files changed

+9
-152
lines changed

5 files changed

+9
-152
lines changed

clients/integrations/lib/google_api/integrations/v1/api/projects.ex

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -4427,95 +4427,6 @@ defmodule GoogleApi.Integrations.V1.Api.Projects do
44274427
)
44284428
end
44294429

4430-
@doc """
4431-
Lists the results of all functional test executions. The response includes the same information as the [execution log](https://cloud.google.com/application-integration/docs/viewing-logs) in the Integration UI.
4432-
4433-
## Parameters
4434-
4435-
* `connection` (*type:* `GoogleApi.Integrations.V1.Connection.t`) - Connection to server
4436-
* `parent` (*type:* `String.t`) - Required. The parent resource name of the test case execution.
4437-
* `optional_params` (*type:* `keyword()`) - Optional parameters
4438-
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
4439-
* `:access_token` (*type:* `String.t`) - OAuth access token.
4440-
* `:alt` (*type:* `String.t`) - Data format for response.
4441-
* `:callback` (*type:* `String.t`) - JSONP
4442-
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
4443-
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
4444-
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
4445-
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
4446-
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
4447-
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
4448-
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
4449-
* `:filter` (*type:* `String.t`) - Optional. Standard filter field, we support filtering on following fields: test_case_id: the ID of the test case. CreateTimestamp: the execution created time. event_execution_state: the state of the executions. execution_id: the id of the execution. trigger_id: the id of the trigger. parameter_type: the type of the parameters involved in the execution. All fields support for EQUALS, in additional: CreateTimestamp support for LESS_THAN, GREATER_THAN ParameterType support for HAS For example: "parameter_type" HAS \\"string\\" Also supports operators like AND, OR, NOT For example, trigger_id=\\"id1\\" AND test_case_id=\\"testCaseId\\"
4450-
* `:orderBy` (*type:* `String.t`) - Optional. The results would be returned in order you specified here. Currently supporting "last_modified_time" and "create_time".
4451-
* `:pageSize` (*type:* `integer()`) - Optional. The size of entries in the response.
4452-
* `:pageToken` (*type:* `String.t`) - Optional. The token returned in the previous response.
4453-
* `:readMask` (*type:* `String.t`) - Optional. View mask for the response data. If set, only the field specified will be returned as part of the result. If not set, all fields in event execution info will be filled and returned.
4454-
* `:truncateParams` (*type:* `boolean()`) - Optional. If true, the service will truncate the params to only keep the first 1000 characters of string params and empty the executions in order to make response smaller. Only works for UI and when the params fields are not filtered out.
4455-
* `opts` (*type:* `keyword()`) - Call options
4456-
4457-
## Returns
4458-
4459-
* `{:ok, %GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse{}}` on success
4460-
* `{:error, info}` on failure
4461-
"""
4462-
@spec integrations_projects_locations_integrations_versions_test_cases_list_executions(
4463-
Tesla.Env.client(),
4464-
String.t(),
4465-
keyword(),
4466-
keyword()
4467-
) ::
4468-
{:ok,
4469-
GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse.t()}
4470-
| {:ok, Tesla.Env.t()}
4471-
| {:ok, list()}
4472-
| {:error, any()}
4473-
def integrations_projects_locations_integrations_versions_test_cases_list_executions(
4474-
connection,
4475-
parent,
4476-
optional_params \\ [],
4477-
opts \\ []
4478-
) do
4479-
optional_params_config = %{
4480-
:"$.xgafv" => :query,
4481-
:access_token => :query,
4482-
:alt => :query,
4483-
:callback => :query,
4484-
:fields => :query,
4485-
:key => :query,
4486-
:oauth_token => :query,
4487-
:prettyPrint => :query,
4488-
:quotaUser => :query,
4489-
:uploadType => :query,
4490-
:upload_protocol => :query,
4491-
:filter => :query,
4492-
:orderBy => :query,
4493-
:pageSize => :query,
4494-
:pageToken => :query,
4495-
:readMask => :query,
4496-
:truncateParams => :query
4497-
}
4498-
4499-
request =
4500-
Request.new()
4501-
|> Request.method(:get)
4502-
|> Request.url("/v1/{+parent}:executions", %{
4503-
"parent" => URI.encode(parent, &URI.char_unreserved?/1)
4504-
})
4505-
|> Request.add_optional_params(optional_params_config, optional_params)
4506-
|> Request.library_version(@library_version)
4507-
4508-
connection
4509-
|> Connection.execute(request)
4510-
|> Response.decode(
4511-
opts ++
4512-
[
4513-
struct:
4514-
%GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaListTestCaseExecutionsResponse{}
4515-
]
4516-
)
4517-
end
4518-
45194430
@doc """
45204431
Updates a test case
45214432

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

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

23-
@discovery_revision "20250223"
23+
@discovery_revision "20250302"
2424

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

clients/integrations/lib/google_api/integrations/v1/model/google_cloud_integrations_v1alpha_execution.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaExecutio
2121
2222
## Attributes
2323
24+
* `cloudKmsKey` (*type:* `String.t`, *default:* `nil`) - Optional. Cloud KMS resource name for the CMEK encryption key.
2425
* `cloudLoggingDetails` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaCloudLoggingDetails.t`, *default:* `nil`) - Cloud Logging details for the integration version
2526
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Created time of the execution.
2627
* `directSubExecutions` (*type:* `list(GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaExecution.t)`, *default:* `nil`) - Direct sub executions of the following Execution.
@@ -42,6 +43,7 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaExecutio
4243
use GoogleApi.Gax.ModelBase
4344

4445
@type t :: %__MODULE__{
46+
:cloudKmsKey => String.t() | nil,
4547
:cloudLoggingDetails =>
4648
GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaCloudLoggingDetails.t()
4749
| nil,
@@ -88,6 +90,8 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaExecutio
8890
:updateTime => DateTime.t() | nil
8991
}
9092

93+
field(:cloudKmsKey)
94+
9195
field(:cloudLoggingDetails,
9296
as: GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaCloudLoggingDetails
9397
)

clients/integrations/lib/google_api/integrations/v1/model/google_cloud_integrations_v1alpha_integration_version.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaIntegrat
2121
2222
## Attributes
2323
24+
* `cloudKmsKey` (*type:* `String.t`, *default:* `nil`) - Optional. Cloud KMS resource name for the CMEK encryption key.
2425
* `cloudLoggingDetails` (*type:* `GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaCloudLoggingDetails.t`, *default:* `nil`) - Optional. Cloud Logging details for the integration version
2526
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Auto-generated.
2627
* `createdFromTemplate` (*type:* `String.t`, *default:* `nil`) - Optional. Optional. The resource name of the template from which the integration is created.
@@ -52,6 +53,7 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaIntegrat
5253
use GoogleApi.Gax.ModelBase
5354

5455
@type t :: %__MODULE__{
56+
:cloudKmsKey => String.t() | nil,
5557
:cloudLoggingDetails =>
5658
GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaCloudLoggingDetails.t()
5759
| nil,
@@ -109,6 +111,8 @@ defmodule GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaIntegrat
109111
:userLabel => String.t() | nil
110112
}
111113

114+
field(:cloudKmsKey)
115+
112116
field(:cloudLoggingDetails,
113117
as: GoogleApi.Integrations.V1.Model.GoogleCloudIntegrationsV1alphaCloudLoggingDetails
114118
)

clients/integrations/lib/google_api/integrations/v1/model/google_cloud_integrations_v1alpha_list_test_case_executions_response.ex

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)