Skip to content

Commit 40d5e35

Browse files
feat(api): [netapp] A new rpc 'SwitchActiveReplicaZone' is added to service 'google.cloud.netapp.v1.NetApp' (#5681)
* feat(api): A new rpc 'SwitchActiveReplicaZone' is added to service 'google.cloud.netapp.v1.NetApp' feat: A new message 'google.cloud.netapp.v1.SwitchActiveReplicaZoneRequest' is added feat: A new field 'allow_auto_tiering' in message 'google.cloud.netapp.v1.StoragePool' is added feat: A new field 'cold_tier_size_gib' in message 'google.cloud.netapp.v1.Volume' is added PiperOrigin-RevId: 674440910 Source-Link: googleapis/googleapis@e99de3d Source-Link: googleapis/googleapis-gen@ca2b9f6 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiY2EyYjlmNjM0YjU1OTQ2NjY4MmQ4NGIxMmQwYWViOWI3NGViZGJhMiJ9 * 🦉 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>
1 parent 8c7b907 commit 40d5e35

14 files changed

Lines changed: 1000 additions & 0 deletions

packages/google-cloud-netapp/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
157157
| Net_app.reverse_replication_direction | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-netapp/samples/generated/v1/net_app.reverse_replication_direction.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-netapp/samples/generated/v1/net_app.reverse_replication_direction.js,packages/google-cloud-netapp/samples/README.md) |
158158
| Net_app.revert_volume | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-netapp/samples/generated/v1/net_app.revert_volume.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-netapp/samples/generated/v1/net_app.revert_volume.js,packages/google-cloud-netapp/samples/README.md) |
159159
| Net_app.stop_replication | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-netapp/samples/generated/v1/net_app.stop_replication.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-netapp/samples/generated/v1/net_app.stop_replication.js,packages/google-cloud-netapp/samples/README.md) |
160+
| Net_app.switch_active_replica_zone | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-netapp/samples/generated/v1/net_app.switch_active_replica_zone.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-netapp/samples/generated/v1/net_app.switch_active_replica_zone.js,packages/google-cloud-netapp/samples/README.md) |
160161
| Net_app.update_active_directory | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-netapp/samples/generated/v1/net_app.update_active_directory.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-netapp/samples/generated/v1/net_app.update_active_directory.js,packages/google-cloud-netapp/samples/README.md) |
161162
| Net_app.update_backup | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-netapp/samples/generated/v1/net_app.update_backup.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-netapp/samples/generated/v1/net_app.update_backup.js,packages/google-cloud-netapp/samples/README.md) |
162163
| Net_app.update_backup_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-netapp/samples/generated/v1/net_app.update_backup_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-netapp/samples/generated/v1/net_app.update_backup_policy.js,packages/google-cloud-netapp/samples/README.md) |

packages/google-cloud-netapp/protos/google/cloud/netapp/v1/cloud_netapp_service.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,20 @@ service NetApp {
110110
};
111111
}
112112

113+
// This operation will switch the active/replica zone for a regional
114+
// storagePool.
115+
rpc SwitchActiveReplicaZone(SwitchActiveReplicaZoneRequest)
116+
returns (google.longrunning.Operation) {
117+
option (google.api.http) = {
118+
post: "/v1/{name=projects/*/locations/*/storagePools/*}:switch"
119+
body: "*"
120+
};
121+
option (google.longrunning.operation_info) = {
122+
response_type: "StoragePool"
123+
metadata_type: "OperationMetadata"
124+
};
125+
}
126+
113127
// Lists Volumes in a given project.
114128
rpc ListVolumes(ListVolumesRequest) returns (ListVolumesResponse) {
115129
option (google.api.http) = {

packages/google-cloud-netapp/protos/google/cloud/netapp/v1/storage_pool.proto

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,18 @@ message DeleteStoragePoolRequest {
123123
];
124124
}
125125

126+
// SwitchActiveReplicaZoneRequest switch the active/replica zone for a regional
127+
// storagePool.
128+
message SwitchActiveReplicaZoneRequest {
129+
// Required. Name of the storage pool
130+
string name = 1 [
131+
(google.api.field_behavior) = REQUIRED,
132+
(google.api.resource_reference) = {
133+
type: "netapp.googleapis.com/StoragePool"
134+
}
135+
];
136+
}
137+
126138
// StoragePool is a container for volumes with a service level and capacity.
127139
// Volumes can be created in a pool of sufficient available capacity.
128140
// StoragePool capacity is what you are billed for.
@@ -231,6 +243,11 @@ message StoragePool {
231243
// regions.
232244
optional bool global_access_allowed = 17 [deprecated = true];
233245

246+
// Optional. True if the storage pool supports Auto Tiering enabled volumes.
247+
// Default is false. Auto-tiering can be enabled after storage pool creation
248+
// but it can't be disabled once enabled.
249+
bool allow_auto_tiering = 18 [(google.api.field_behavior) = OPTIONAL];
250+
234251
// Optional. Specifies the replica zone for regional storagePool.
235252
string replica_zone = 20 [(google.api.field_behavior) = OPTIONAL];
236253

packages/google-cloud-netapp/protos/google/cloud/netapp/v1/volume.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,9 @@ message Volume {
402402

403403
// Output only. Specifies the active zone for regional volume.
404404
string zone = 37 [(google.api.field_behavior) = OUTPUT_ONLY];
405+
406+
// Output only. Size of the volume cold tier data in GiB.
407+
int64 cold_tier_size_gib = 39 [(google.api.field_behavior) = OUTPUT_ONLY];
405408
}
406409

407410
// Defines the export policy for the volume.

packages/google-cloud-netapp/protos/protos.d.ts

Lines changed: 130 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)