Skip to content

Commit

Permalink
feat: added LoadSnapshot, SaveSnapshot RPCs
Browse files Browse the repository at this point in the history
feat: added fields maintenance_window, workloads_config, environment_size, master_authorized_networks_config, recovery_config to EnvironmentConfig
feat: added field scheduler_count to SoftwareConfig
feat: added field enable_ip_masq_agent to NodeConfig
feat: added fields cloud_composer_network_ipv4_cidr_block, cloud_composer_network_ipv4_reserved_range, enable_privately_used_public_ips, cloud_composer_connection_subnetwork, networking_config to PrivateEnvironmentConfig

PiperOrigin-RevId: 492193414
  • Loading branch information
Google APIs authored and copybara-github committed Dec 1, 2022
1 parent 6884ca4 commit 34eb8f1
Show file tree
Hide file tree
Showing 8 changed files with 835 additions and 83 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ title: Cloud Composer API
apis:
- name: google.cloud.orchestration.airflow.service.v1.Environments
- name: google.cloud.orchestration.airflow.service.v1.ImageVersions
- name: google.longrunning.Operations

types:
- name: google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse
- name: google.cloud.orchestration.airflow.service.v1.LoadSnapshotResponse
- name: google.cloud.orchestration.airflow.service.v1.OperationMetadata
- name: google.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse

documentation:
summary: Manages Apache Airflow environments on Google Cloud Platform.
Expand Down
459 changes: 429 additions & 30 deletions google/cloud/orchestration/airflow/service/v1/environments.proto

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 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 @@ -66,7 +66,7 @@ message ListImageVersionsResponse {
// ImageVersion information
message ImageVersion {
// The string identifier of the ImageVersion, in the form:
// "composer-x.y.z-airflow-a.b(.c)"
// "composer-x.y.z-airflow-a.b.c"
string image_version_id = 1;

// Whether this is the default ImageVersion used by Composer during
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 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 @@ -63,6 +63,12 @@ message OperationMetadata {

// A resource check operation.
CHECK = 4;

// Saves snapshot of the resource operation.
SAVE_SNAPSHOT = 5;

// Loads snapshot of the resource operation.
LOAD_SNAPSHOT = 6;
}

// Output only. The current operation state.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ title: Cloud Composer API
apis:
- name: google.cloud.orchestration.airflow.service.v1beta1.Environments
- name: google.cloud.orchestration.airflow.service.v1beta1.ImageVersions
- name: google.longrunning.Operations

types:
- name: google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse
- name: google.cloud.orchestration.airflow.service.v1beta1.ExecuteAirflowCommandResponse
- name: google.cloud.orchestration.airflow.service.v1beta1.LoadSnapshotResponse
- name: google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata
- name: google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse
- name: google.cloud.orchestration.airflow.service.v1beta1.SaveSnapshotResponse

documentation:
summary: Manages Apache Airflow environments on Google Cloud Platform.
Expand Down
Loading

0 comments on commit 34eb8f1

Please sign in to comment.