Skip to content

Commit

Permalink
feat: [orchestration-airflow] Add an API method for reordering firewa…
Browse files Browse the repository at this point in the history
…ll policies (#10363)

* feat: added ListWorkloads RPC
feat: added field data_retention_config to EnvironmentConfig
feat: added field web_server_plugins_mode to SoftwareConfig
feat: added field storage_config to Environment

PiperOrigin-RevId: 606927106

Source-Link: googleapis/googleapis@7a518dd

Source-Link: https://github.com/googleapis/googleapis-gen/commit/5ef1725571ff640864a615528aa144a91cc17f81
Copy-Tag: eyJwIjoiamF2YS1vcmNoZXN0cmF0aW9uLWFpcmZsb3cvLk93bEJvdC55YW1sIiwiaCI6IjVlZjE3MjU1NzFmZjY0MDg2NGE2MTU1MjhhYTE0NGE5MWNjMTdmODEifQ==

feat: added ListWorkloads RPC
feat: added field data_retention_config to EnvironmentConfig
feat: added field web_server_plugins_mode to SoftwareConfig
feat: added field storage_config to Environment

PiperOrigin-RevId: 606533667

Source-Link: googleapis/googleapis@1d0a2bd

Source-Link: https://github.com/googleapis/googleapis-gen/commit/397f8b258d867e0d7ff2fbda5135bbf341811d26
Copy-Tag: eyJwIjoiamF2YS1vcmNoZXN0cmF0aW9uLWFpcmZsb3cvLk93bEJvdC55YW1sIiwiaCI6IjM5N2Y4YjI1OGQ4NjdlMGQ3ZmYyZmJkYTUxMzViYmYzNDE4MTFkMjYifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: Add an API method for reordering firewall policies

PiperOrigin-RevId: 607015517

Source-Link: googleapis/googleapis@c43e216

Source-Link: https://github.com/googleapis/googleapis-gen/commit/71c27adc96b0c80093b4a413815bd93943196bb2
Copy-Tag: eyJwIjoiamF2YS1vcmNoZXN0cmF0aW9uLWFpcmZsb3cvLk93bEJvdC55YW1sIiwiaCI6IjcxYzI3YWRjOTZiMGM4MDA5M2I0YTQxMzgxNWJkOTM5NDMxOTZiYjIifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 15, 2024
1 parent 04d5f55 commit 3e269e6
Show file tree
Hide file tree
Showing 369 changed files with 80,741 additions and 2,387 deletions.
2 changes: 1 addition & 1 deletion java-orchestration-airflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-orchestration-airflow.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.34.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.35.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 Google LLC
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -17,6 +17,9 @@
package com.google.cloud.orchestration.airflow.service.v1;

import static com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListEnvironmentsPagedResponse;
import static com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListUserWorkloadsConfigMapsPagedResponse;
import static com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListUserWorkloadsSecretsPagedResponse;
import static com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClient.ListWorkloadsPagedResponse;

import com.google.api.core.ApiFunction;
import com.google.api.core.BetaApi;
Expand Down Expand Up @@ -140,6 +143,78 @@ public UnaryCallSettings<DeleteEnvironmentRequest, Operation> deleteEnvironmentS
return ((EnvironmentsStubSettings) getStubSettings()).pollAirflowCommandSettings();
}

/** Returns the object with the settings used for calls to listWorkloads. */
public PagedCallSettings<ListWorkloadsRequest, ListWorkloadsResponse, ListWorkloadsPagedResponse>
listWorkloadsSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).listWorkloadsSettings();
}

/** Returns the object with the settings used for calls to createUserWorkloadsSecret. */
public UnaryCallSettings<CreateUserWorkloadsSecretRequest, UserWorkloadsSecret>
createUserWorkloadsSecretSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).createUserWorkloadsSecretSettings();
}

/** Returns the object with the settings used for calls to getUserWorkloadsSecret. */
public UnaryCallSettings<GetUserWorkloadsSecretRequest, UserWorkloadsSecret>
getUserWorkloadsSecretSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).getUserWorkloadsSecretSettings();
}

/** Returns the object with the settings used for calls to listUserWorkloadsSecrets. */
public PagedCallSettings<
ListUserWorkloadsSecretsRequest,
ListUserWorkloadsSecretsResponse,
ListUserWorkloadsSecretsPagedResponse>
listUserWorkloadsSecretsSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).listUserWorkloadsSecretsSettings();
}

/** Returns the object with the settings used for calls to updateUserWorkloadsSecret. */
public UnaryCallSettings<UpdateUserWorkloadsSecretRequest, UserWorkloadsSecret>
updateUserWorkloadsSecretSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).updateUserWorkloadsSecretSettings();
}

/** Returns the object with the settings used for calls to deleteUserWorkloadsSecret. */
public UnaryCallSettings<DeleteUserWorkloadsSecretRequest, Empty>
deleteUserWorkloadsSecretSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).deleteUserWorkloadsSecretSettings();
}

/** Returns the object with the settings used for calls to createUserWorkloadsConfigMap. */
public UnaryCallSettings<CreateUserWorkloadsConfigMapRequest, UserWorkloadsConfigMap>
createUserWorkloadsConfigMapSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).createUserWorkloadsConfigMapSettings();
}

/** Returns the object with the settings used for calls to getUserWorkloadsConfigMap. */
public UnaryCallSettings<GetUserWorkloadsConfigMapRequest, UserWorkloadsConfigMap>
getUserWorkloadsConfigMapSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).getUserWorkloadsConfigMapSettings();
}

/** Returns the object with the settings used for calls to listUserWorkloadsConfigMaps. */
public PagedCallSettings<
ListUserWorkloadsConfigMapsRequest,
ListUserWorkloadsConfigMapsResponse,
ListUserWorkloadsConfigMapsPagedResponse>
listUserWorkloadsConfigMapsSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).listUserWorkloadsConfigMapsSettings();
}

/** Returns the object with the settings used for calls to updateUserWorkloadsConfigMap. */
public UnaryCallSettings<UpdateUserWorkloadsConfigMapRequest, UserWorkloadsConfigMap>
updateUserWorkloadsConfigMapSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).updateUserWorkloadsConfigMapSettings();
}

/** Returns the object with the settings used for calls to deleteUserWorkloadsConfigMap. */
public UnaryCallSettings<DeleteUserWorkloadsConfigMapRequest, Empty>
deleteUserWorkloadsConfigMapSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).deleteUserWorkloadsConfigMapSettings();
}

/** Returns the object with the settings used for calls to saveSnapshot. */
public UnaryCallSettings<SaveSnapshotRequest, Operation> saveSnapshotSettings() {
return ((EnvironmentsStubSettings) getStubSettings()).saveSnapshotSettings();
Expand Down Expand Up @@ -220,7 +295,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
return EnvironmentsStubSettings.defaultTransportChannelProvider();
}

@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
return EnvironmentsStubSettings.defaultApiClientHeaderProviderBuilder();
}
Expand Down Expand Up @@ -360,6 +434,79 @@ public UnaryCallSettings.Builder<GetEnvironmentRequest, Environment> getEnvironm
return getStubSettingsBuilder().pollAirflowCommandSettings();
}

/** Returns the builder for the settings used for calls to listWorkloads. */
public PagedCallSettings.Builder<
ListWorkloadsRequest, ListWorkloadsResponse, ListWorkloadsPagedResponse>
listWorkloadsSettings() {
return getStubSettingsBuilder().listWorkloadsSettings();
}

/** Returns the builder for the settings used for calls to createUserWorkloadsSecret. */
public UnaryCallSettings.Builder<CreateUserWorkloadsSecretRequest, UserWorkloadsSecret>
createUserWorkloadsSecretSettings() {
return getStubSettingsBuilder().createUserWorkloadsSecretSettings();
}

/** Returns the builder for the settings used for calls to getUserWorkloadsSecret. */
public UnaryCallSettings.Builder<GetUserWorkloadsSecretRequest, UserWorkloadsSecret>
getUserWorkloadsSecretSettings() {
return getStubSettingsBuilder().getUserWorkloadsSecretSettings();
}

/** Returns the builder for the settings used for calls to listUserWorkloadsSecrets. */
public PagedCallSettings.Builder<
ListUserWorkloadsSecretsRequest,
ListUserWorkloadsSecretsResponse,
ListUserWorkloadsSecretsPagedResponse>
listUserWorkloadsSecretsSettings() {
return getStubSettingsBuilder().listUserWorkloadsSecretsSettings();
}

/** Returns the builder for the settings used for calls to updateUserWorkloadsSecret. */
public UnaryCallSettings.Builder<UpdateUserWorkloadsSecretRequest, UserWorkloadsSecret>
updateUserWorkloadsSecretSettings() {
return getStubSettingsBuilder().updateUserWorkloadsSecretSettings();
}

/** Returns the builder for the settings used for calls to deleteUserWorkloadsSecret. */
public UnaryCallSettings.Builder<DeleteUserWorkloadsSecretRequest, Empty>
deleteUserWorkloadsSecretSettings() {
return getStubSettingsBuilder().deleteUserWorkloadsSecretSettings();
}

/** Returns the builder for the settings used for calls to createUserWorkloadsConfigMap. */
public UnaryCallSettings.Builder<CreateUserWorkloadsConfigMapRequest, UserWorkloadsConfigMap>
createUserWorkloadsConfigMapSettings() {
return getStubSettingsBuilder().createUserWorkloadsConfigMapSettings();
}

/** Returns the builder for the settings used for calls to getUserWorkloadsConfigMap. */
public UnaryCallSettings.Builder<GetUserWorkloadsConfigMapRequest, UserWorkloadsConfigMap>
getUserWorkloadsConfigMapSettings() {
return getStubSettingsBuilder().getUserWorkloadsConfigMapSettings();
}

/** Returns the builder for the settings used for calls to listUserWorkloadsConfigMaps. */
public PagedCallSettings.Builder<
ListUserWorkloadsConfigMapsRequest,
ListUserWorkloadsConfigMapsResponse,
ListUserWorkloadsConfigMapsPagedResponse>
listUserWorkloadsConfigMapsSettings() {
return getStubSettingsBuilder().listUserWorkloadsConfigMapsSettings();
}

/** Returns the builder for the settings used for calls to updateUserWorkloadsConfigMap. */
public UnaryCallSettings.Builder<UpdateUserWorkloadsConfigMapRequest, UserWorkloadsConfigMap>
updateUserWorkloadsConfigMapSettings() {
return getStubSettingsBuilder().updateUserWorkloadsConfigMapSettings();
}

/** Returns the builder for the settings used for calls to deleteUserWorkloadsConfigMap. */
public UnaryCallSettings.Builder<DeleteUserWorkloadsConfigMapRequest, Empty>
deleteUserWorkloadsConfigMapSettings() {
return getStubSettingsBuilder().deleteUserWorkloadsConfigMapSettings();
}

/** Returns the builder for the settings used for calls to saveSnapshot. */
public UnaryCallSettings.Builder<SaveSnapshotRequest, Operation> saveSnapshotSettings() {
return getStubSettingsBuilder().saveSnapshotSettings();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 Google LLC
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 Google LLC
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -122,7 +122,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
return ImageVersionsStubSettings.defaultTransportChannelProvider();
}

@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
return ImageVersionsStubSettings.defaultApiClientHeaderProviderBuilder();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,24 @@
"CreateEnvironment": {
"methods": ["createEnvironmentAsync", "createEnvironmentAsync", "createEnvironmentOperationCallable", "createEnvironmentCallable"]
},
"CreateUserWorkloadsConfigMap": {
"methods": ["createUserWorkloadsConfigMap", "createUserWorkloadsConfigMap", "createUserWorkloadsConfigMap", "createUserWorkloadsConfigMapCallable"]
},
"CreateUserWorkloadsSecret": {
"methods": ["createUserWorkloadsSecret", "createUserWorkloadsSecret", "createUserWorkloadsSecret", "createUserWorkloadsSecretCallable"]
},
"DatabaseFailover": {
"methods": ["databaseFailoverAsync", "databaseFailoverOperationCallable", "databaseFailoverCallable"]
},
"DeleteEnvironment": {
"methods": ["deleteEnvironmentAsync", "deleteEnvironmentAsync", "deleteEnvironmentOperationCallable", "deleteEnvironmentCallable"]
},
"DeleteUserWorkloadsConfigMap": {
"methods": ["deleteUserWorkloadsConfigMap", "deleteUserWorkloadsConfigMap", "deleteUserWorkloadsConfigMap", "deleteUserWorkloadsConfigMapCallable"]
},
"DeleteUserWorkloadsSecret": {
"methods": ["deleteUserWorkloadsSecret", "deleteUserWorkloadsSecret", "deleteUserWorkloadsSecret", "deleteUserWorkloadsSecretCallable"]
},
"ExecuteAirflowCommand": {
"methods": ["executeAirflowCommand", "executeAirflowCommandCallable"]
},
Expand All @@ -28,9 +40,24 @@
"GetEnvironment": {
"methods": ["getEnvironment", "getEnvironment", "getEnvironmentCallable"]
},
"GetUserWorkloadsConfigMap": {
"methods": ["getUserWorkloadsConfigMap", "getUserWorkloadsConfigMap", "getUserWorkloadsConfigMap", "getUserWorkloadsConfigMapCallable"]
},
"GetUserWorkloadsSecret": {
"methods": ["getUserWorkloadsSecret", "getUserWorkloadsSecret", "getUserWorkloadsSecret", "getUserWorkloadsSecretCallable"]
},
"ListEnvironments": {
"methods": ["listEnvironments", "listEnvironments", "listEnvironmentsPagedCallable", "listEnvironmentsCallable"]
},
"ListUserWorkloadsConfigMaps": {
"methods": ["listUserWorkloadsConfigMaps", "listUserWorkloadsConfigMaps", "listUserWorkloadsConfigMaps", "listUserWorkloadsConfigMapsPagedCallable", "listUserWorkloadsConfigMapsCallable"]
},
"ListUserWorkloadsSecrets": {
"methods": ["listUserWorkloadsSecrets", "listUserWorkloadsSecrets", "listUserWorkloadsSecrets", "listUserWorkloadsSecretsPagedCallable", "listUserWorkloadsSecretsCallable"]
},
"ListWorkloads": {
"methods": ["listWorkloads", "listWorkloads", "listWorkloads", "listWorkloadsPagedCallable", "listWorkloadsCallable"]
},
"LoadSnapshot": {
"methods": ["loadSnapshotAsync", "loadSnapshotOperationCallable", "loadSnapshotCallable"]
},
Expand All @@ -45,6 +72,12 @@
},
"UpdateEnvironment": {
"methods": ["updateEnvironmentAsync", "updateEnvironmentAsync", "updateEnvironmentOperationCallable", "updateEnvironmentCallable"]
},
"UpdateUserWorkloadsConfigMap": {
"methods": ["updateUserWorkloadsConfigMap", "updateUserWorkloadsConfigMap", "updateUserWorkloadsConfigMapCallable"]
},
"UpdateUserWorkloadsSecret": {
"methods": ["updateUserWorkloadsSecret", "updateUserWorkloadsSecret", "updateUserWorkloadsSecretCallable"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 Google LLC
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 3e269e6

Please sign in to comment.