Skip to content

Commit b2dc3e5

Browse files
feat: added RPCs StopAirflowCommand, ExecuteAirflowCommand, PollAirflowCommand, DatabaseFailover, FetchDatabaseProperties (#11400)
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 6310d15 commit b2dc3e5

File tree

88 files changed

+16999
-1759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+16999
-1759
lines changed

packages/google-cloud-orchestration-airflow/google/cloud/orchestration/airflow/service/__init__.py

+20
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,16 @@
3434
CheckUpgradeResponse,
3535
CreateEnvironmentRequest,
3636
DatabaseConfig,
37+
DatabaseFailoverRequest,
38+
DatabaseFailoverResponse,
3739
DeleteEnvironmentRequest,
3840
EncryptionConfig,
3941
Environment,
4042
EnvironmentConfig,
43+
ExecuteAirflowCommandRequest,
44+
ExecuteAirflowCommandResponse,
45+
FetchDatabasePropertiesRequest,
46+
FetchDatabasePropertiesResponse,
4147
GetEnvironmentRequest,
4248
IPAllocationPolicy,
4349
ListEnvironmentsRequest,
@@ -48,13 +54,17 @@
4854
MasterAuthorizedNetworksConfig,
4955
NetworkingConfig,
5056
NodeConfig,
57+
PollAirflowCommandRequest,
58+
PollAirflowCommandResponse,
5159
PrivateClusterConfig,
5260
PrivateEnvironmentConfig,
5361
RecoveryConfig,
5462
SaveSnapshotRequest,
5563
SaveSnapshotResponse,
5664
ScheduledSnapshotsConfig,
5765
SoftwareConfig,
66+
StopAirflowCommandRequest,
67+
StopAirflowCommandResponse,
5868
UpdateEnvironmentRequest,
5969
WebServerConfig,
6070
WebServerNetworkAccessControl,
@@ -77,10 +87,16 @@
7787
"CheckUpgradeResponse",
7888
"CreateEnvironmentRequest",
7989
"DatabaseConfig",
90+
"DatabaseFailoverRequest",
91+
"DatabaseFailoverResponse",
8092
"DeleteEnvironmentRequest",
8193
"EncryptionConfig",
8294
"Environment",
8395
"EnvironmentConfig",
96+
"ExecuteAirflowCommandRequest",
97+
"ExecuteAirflowCommandResponse",
98+
"FetchDatabasePropertiesRequest",
99+
"FetchDatabasePropertiesResponse",
84100
"GetEnvironmentRequest",
85101
"IPAllocationPolicy",
86102
"ListEnvironmentsRequest",
@@ -91,13 +107,17 @@
91107
"MasterAuthorizedNetworksConfig",
92108
"NetworkingConfig",
93109
"NodeConfig",
110+
"PollAirflowCommandRequest",
111+
"PollAirflowCommandResponse",
94112
"PrivateClusterConfig",
95113
"PrivateEnvironmentConfig",
96114
"RecoveryConfig",
97115
"SaveSnapshotRequest",
98116
"SaveSnapshotResponse",
99117
"ScheduledSnapshotsConfig",
100118
"SoftwareConfig",
119+
"StopAirflowCommandRequest",
120+
"StopAirflowCommandResponse",
101121
"UpdateEnvironmentRequest",
102122
"WebServerConfig",
103123
"WebServerNetworkAccessControl",

packages/google-cloud-orchestration-airflow/google/cloud/orchestration/airflow/service/gapic_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.8.0" # {x-release-please-version}
16+
__version__ = "0.1.0" # {x-release-please-version}

packages/google-cloud-orchestration-airflow/google/cloud/orchestration/airflow/service_v1/__init__.py

+20
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,16 @@
2626
CheckUpgradeResponse,
2727
CreateEnvironmentRequest,
2828
DatabaseConfig,
29+
DatabaseFailoverRequest,
30+
DatabaseFailoverResponse,
2931
DeleteEnvironmentRequest,
3032
EncryptionConfig,
3133
Environment,
3234
EnvironmentConfig,
35+
ExecuteAirflowCommandRequest,
36+
ExecuteAirflowCommandResponse,
37+
FetchDatabasePropertiesRequest,
38+
FetchDatabasePropertiesResponse,
3339
GetEnvironmentRequest,
3440
IPAllocationPolicy,
3541
ListEnvironmentsRequest,
@@ -40,13 +46,17 @@
4046
MasterAuthorizedNetworksConfig,
4147
NetworkingConfig,
4248
NodeConfig,
49+
PollAirflowCommandRequest,
50+
PollAirflowCommandResponse,
4351
PrivateClusterConfig,
4452
PrivateEnvironmentConfig,
4553
RecoveryConfig,
4654
SaveSnapshotRequest,
4755
SaveSnapshotResponse,
4856
ScheduledSnapshotsConfig,
4957
SoftwareConfig,
58+
StopAirflowCommandRequest,
59+
StopAirflowCommandResponse,
5060
UpdateEnvironmentRequest,
5161
WebServerConfig,
5262
WebServerNetworkAccessControl,
@@ -65,11 +75,17 @@
6575
"CheckUpgradeResponse",
6676
"CreateEnvironmentRequest",
6777
"DatabaseConfig",
78+
"DatabaseFailoverRequest",
79+
"DatabaseFailoverResponse",
6880
"DeleteEnvironmentRequest",
6981
"EncryptionConfig",
7082
"Environment",
7183
"EnvironmentConfig",
7284
"EnvironmentsClient",
85+
"ExecuteAirflowCommandRequest",
86+
"ExecuteAirflowCommandResponse",
87+
"FetchDatabasePropertiesRequest",
88+
"FetchDatabasePropertiesResponse",
7389
"GetEnvironmentRequest",
7490
"IPAllocationPolicy",
7591
"ImageVersion",
@@ -85,13 +101,17 @@
85101
"NetworkingConfig",
86102
"NodeConfig",
87103
"OperationMetadata",
104+
"PollAirflowCommandRequest",
105+
"PollAirflowCommandResponse",
88106
"PrivateClusterConfig",
89107
"PrivateEnvironmentConfig",
90108
"RecoveryConfig",
91109
"SaveSnapshotRequest",
92110
"SaveSnapshotResponse",
93111
"ScheduledSnapshotsConfig",
94112
"SoftwareConfig",
113+
"StopAirflowCommandRequest",
114+
"StopAirflowCommandResponse",
95115
"UpdateEnvironmentRequest",
96116
"WebServerConfig",
97117
"WebServerNetworkAccessControl",

packages/google-cloud-orchestration-airflow/google/cloud/orchestration/airflow/service_v1/gapic_metadata.json

+75
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,26 @@
1515
"create_environment"
1616
]
1717
},
18+
"DatabaseFailover": {
19+
"methods": [
20+
"database_failover"
21+
]
22+
},
1823
"DeleteEnvironment": {
1924
"methods": [
2025
"delete_environment"
2126
]
2227
},
28+
"ExecuteAirflowCommand": {
29+
"methods": [
30+
"execute_airflow_command"
31+
]
32+
},
33+
"FetchDatabaseProperties": {
34+
"methods": [
35+
"fetch_database_properties"
36+
]
37+
},
2338
"GetEnvironment": {
2439
"methods": [
2540
"get_environment"
@@ -35,11 +50,21 @@
3550
"load_snapshot"
3651
]
3752
},
53+
"PollAirflowCommand": {
54+
"methods": [
55+
"poll_airflow_command"
56+
]
57+
},
3858
"SaveSnapshot": {
3959
"methods": [
4060
"save_snapshot"
4161
]
4262
},
63+
"StopAirflowCommand": {
64+
"methods": [
65+
"stop_airflow_command"
66+
]
67+
},
4368
"UpdateEnvironment": {
4469
"methods": [
4570
"update_environment"
@@ -55,11 +80,26 @@
5580
"create_environment"
5681
]
5782
},
83+
"DatabaseFailover": {
84+
"methods": [
85+
"database_failover"
86+
]
87+
},
5888
"DeleteEnvironment": {
5989
"methods": [
6090
"delete_environment"
6191
]
6292
},
93+
"ExecuteAirflowCommand": {
94+
"methods": [
95+
"execute_airflow_command"
96+
]
97+
},
98+
"FetchDatabaseProperties": {
99+
"methods": [
100+
"fetch_database_properties"
101+
]
102+
},
63103
"GetEnvironment": {
64104
"methods": [
65105
"get_environment"
@@ -75,11 +115,21 @@
75115
"load_snapshot"
76116
]
77117
},
118+
"PollAirflowCommand": {
119+
"methods": [
120+
"poll_airflow_command"
121+
]
122+
},
78123
"SaveSnapshot": {
79124
"methods": [
80125
"save_snapshot"
81126
]
82127
},
128+
"StopAirflowCommand": {
129+
"methods": [
130+
"stop_airflow_command"
131+
]
132+
},
83133
"UpdateEnvironment": {
84134
"methods": [
85135
"update_environment"
@@ -95,11 +145,26 @@
95145
"create_environment"
96146
]
97147
},
148+
"DatabaseFailover": {
149+
"methods": [
150+
"database_failover"
151+
]
152+
},
98153
"DeleteEnvironment": {
99154
"methods": [
100155
"delete_environment"
101156
]
102157
},
158+
"ExecuteAirflowCommand": {
159+
"methods": [
160+
"execute_airflow_command"
161+
]
162+
},
163+
"FetchDatabaseProperties": {
164+
"methods": [
165+
"fetch_database_properties"
166+
]
167+
},
103168
"GetEnvironment": {
104169
"methods": [
105170
"get_environment"
@@ -115,11 +180,21 @@
115180
"load_snapshot"
116181
]
117182
},
183+
"PollAirflowCommand": {
184+
"methods": [
185+
"poll_airflow_command"
186+
]
187+
},
118188
"SaveSnapshot": {
119189
"methods": [
120190
"save_snapshot"
121191
]
122192
},
193+
"StopAirflowCommand": {
194+
"methods": [
195+
"stop_airflow_command"
196+
]
197+
},
123198
"UpdateEnvironment": {
124199
"methods": [
125200
"update_environment"

packages/google-cloud-orchestration-airflow/google/cloud/orchestration/airflow/service_v1/gapic_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.8.0" # {x-release-please-version}
16+
__version__ = "0.1.0" # {x-release-please-version}

0 commit comments

Comments
 (0)