google-cloud-netapp-v1 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +72 -99
- data/lib/google/cloud/netapp/v1/active_directory_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/backup_pb.rb +57 -0
- data/lib/google/cloud/netapp/v1/backup_policy_pb.rb +56 -0
- data/lib/google/cloud/netapp/v1/backup_vault_pb.rb +56 -0
- data/lib/google/cloud/netapp/v1/cloud_netapp_service_pb.rb +4 -1
- data/lib/google/cloud/netapp/v1/cloud_netapp_service_services_pb.rb +33 -0
- data/lib/google/cloud/netapp/v1/kms_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/netapp/client.rb +1758 -120
- data/lib/google/cloud/netapp/v1/netapp/operations.rb +28 -6
- data/lib/google/cloud/netapp/v1/netapp/paths.rb +59 -0
- data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +1649 -116
- data/lib/google/cloud/netapp/v1/netapp/rest/operations.rb +33 -8
- data/lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb +1054 -151
- data/lib/google/cloud/netapp/v1/replication_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/snapshot_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/storage_pool_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/version.rb +1 -1
- data/lib/google/cloud/netapp/v1/volume_pb.rb +2 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/netapp/v1/active_directory.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/backup.rb +231 -0
- data/proto_docs/google/cloud/netapp/v1/backup_policy.rb +190 -0
- data/proto_docs/google/cloud/netapp/v1/backup_vault.rb +177 -0
- data/proto_docs/google/cloud/netapp/v1/common.rb +3 -0
- data/proto_docs/google/cloud/netapp/v1/kms.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/replication.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/snapshot.rb +2 -2
- data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +5 -3
- data/proto_docs/google/cloud/netapp/v1/volume.rb +31 -2
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2a6962e69cb0f0c6c5e03d920cd4ba9d358c210170ebca5f973bce64f1aa414
|
4
|
+
data.tar.gz: 3ef9fc50c2e721be4ef1232e88df8575d4e2163c8be8f4307535c5ffb421a922
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b668595df94c5fc1da2ef5bf0a31233c86cb1460eb70b9f26ee0031a41e4871a1960e68b9820f26eca9e7e22f1fa7f4c72e7712fb788da259a36f6c0f9f070a
|
7
|
+
data.tar.gz: 256dc4f03d6516f5294ed22e9fbea6513a8924dc41e54199e9edd90b7547b1095bbdeacb2c264359707b3fdc2f194d330b37ec06e2da4c84287ea1c7688e61b1
|
data/AUTHENTICATION.md
CHANGED
@@ -1,149 +1,122 @@
|
|
1
1
|
# Authentication
|
2
2
|
|
3
|
-
|
4
|
-
[
|
5
|
-
|
6
|
-
[Google Cloud Platform environments](#google-cloud-platform-environments) the
|
7
|
-
credentials will be discovered automatically. When running on other
|
8
|
-
environments, the Service Account credentials can be specified by providing the
|
9
|
-
path to the
|
10
|
-
[JSON keyfile](https://cloud.google.com/iam/docs/managing-service-account-keys)
|
11
|
-
for the account (or the JSON itself) in
|
12
|
-
[environment variables](#environment-variables). Additionally, Cloud SDK
|
13
|
-
credentials can also be discovered automatically, but this is only recommended
|
14
|
-
during development.
|
3
|
+
The recommended way to authenticate to the google-cloud-netapp-v1 library is to use
|
4
|
+
[Application Default Credentials (ADC)](https://cloud.google.com/docs/authentication/application-default-credentials).
|
5
|
+
To review all of your authentication options, see [Credentials lookup](#credential-lookup).
|
15
6
|
|
16
7
|
## Quickstart
|
17
8
|
|
18
|
-
|
19
|
-
|
9
|
+
The following example shows how to set up authentication for a local development
|
10
|
+
environment with your user credentials.
|
20
11
|
|
21
|
-
|
22
|
-
|
23
|
-
```
|
24
|
-
|
25
|
-
3. Initialize the client.
|
12
|
+
**NOTE:** This method is _not_ recommended for running in production. User credentials
|
13
|
+
should be used only during development.
|
26
14
|
|
27
|
-
|
28
|
-
|
15
|
+
1. [Download and install the Google Cloud CLI](https://cloud.google.com/sdk).
|
16
|
+
2. Set up a local ADC file with your user credentials:
|
29
17
|
|
30
|
-
|
18
|
+
```sh
|
19
|
+
gcloud auth application-default login
|
31
20
|
```
|
32
21
|
|
33
|
-
|
34
|
-
|
35
|
-
The google-cloud-netapp-v1 library aims to make authentication
|
36
|
-
as simple as possible, and provides several mechanisms to configure your system
|
37
|
-
without requiring **Service Account Credentials** directly in code.
|
38
|
-
|
39
|
-
**Credentials** are discovered in the following order:
|
40
|
-
|
41
|
-
1. Specify credentials in method arguments
|
42
|
-
2. Specify credentials in configuration
|
43
|
-
3. Discover credentials path in environment variables
|
44
|
-
4. Discover credentials JSON in environment variables
|
45
|
-
5. Discover credentials file in the Cloud SDK's path
|
46
|
-
6. Discover GCP credentials
|
47
|
-
|
48
|
-
### Google Cloud Platform environments
|
22
|
+
3. Write code as if already authenticated.
|
49
23
|
|
50
|
-
|
51
|
-
|
52
|
-
Functions (GCF) and Cloud Run, **Credentials** are discovered automatically.
|
53
|
-
Code should be written as if already authenticated.
|
24
|
+
For more information about setting up authentication for a local development environment, see
|
25
|
+
[Set up Application Default Credentials](https://cloud.google.com/docs/authentication/provide-credentials-adc#local-dev).
|
54
26
|
|
55
|
-
|
27
|
+
## Credential Lookup
|
56
28
|
|
57
|
-
The
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
**Credentials JSON** file can be stored in the environment variable, or the
|
62
|
-
**Credentials JSON** itself can be stored for environments such as Docker
|
63
|
-
containers where writing files is difficult or not encouraged.
|
29
|
+
The google-cloud-netapp-v1 library provides several mechanisms to configure your system.
|
30
|
+
Generally, using Application Default Credentials to facilitate automatic
|
31
|
+
credentials discovery is the easist method. But if you need to explicitly specify
|
32
|
+
credentials, there are several methods available to you.
|
64
33
|
|
65
|
-
|
66
|
-
checks for credentials are configured on the service Credentials class (such as
|
67
|
-
{::Google::Cloud::NetApp::V1::NetApp::Credentials}):
|
34
|
+
Credentials are accepted in the following ways, in the following order or precedence:
|
68
35
|
|
69
|
-
|
70
|
-
|
71
|
-
|
36
|
+
1. Credentials specified in method arguments
|
37
|
+
2. Credentials specified in configuration
|
38
|
+
3. Credentials pointed to or included in environment variables
|
39
|
+
4. Credentials found in local ADC file
|
40
|
+
5. Credentials returned by the metadata server for the attached service account (GCP)
|
72
41
|
|
73
|
-
|
74
|
-
require "google/cloud/netapp/v1"
|
75
|
-
|
76
|
-
ENV["GOOGLE_CLOUD_CREDENTIALS"] = "path/to/keyfile.json"
|
42
|
+
### Configuration
|
77
43
|
|
78
|
-
client
|
79
|
-
|
44
|
+
You can configure a path to a JSON credentials file, either for an individual client object or
|
45
|
+
globally, for all client objects. The JSON file can contain credentials created for
|
46
|
+
[workload identity federation](https://cloud.google.com/iam/docs/workload-identity-federation),
|
47
|
+
[workforce identity federation](https://cloud.google.com/iam/docs/workforce-identity-federation), or a
|
48
|
+
[service account key](https://cloud.google.com/docs/authentication/provide-credentials-adc#local-key).
|
80
49
|
|
81
|
-
|
50
|
+
Note: Service account keys are a security risk if not managed correctly. You should
|
51
|
+
[choose a more secure alternative to service account keys](https://cloud.google.com/docs/authentication#auth-decision-tree)
|
52
|
+
whenever possible.
|
82
53
|
|
83
|
-
|
84
|
-
it in an environment variable. Either on an individual client initialization:
|
54
|
+
To configure a credentials file for an individual client initialization:
|
85
55
|
|
86
56
|
```ruby
|
87
57
|
require "google/cloud/netapp/v1"
|
88
58
|
|
89
59
|
client = ::Google::Cloud::NetApp::V1::NetApp::Client.new do |config|
|
90
|
-
config.credentials = "path/to/
|
60
|
+
config.credentials = "path/to/credentialfile.json"
|
91
61
|
end
|
92
62
|
```
|
93
63
|
|
94
|
-
|
64
|
+
To configure a credentials file globally for all clients:
|
95
65
|
|
96
66
|
```ruby
|
97
67
|
require "google/cloud/netapp/v1"
|
98
68
|
|
99
69
|
::Google::Cloud::NetApp::V1::NetApp::Client.configure do |config|
|
100
|
-
config.credentials = "path/to/
|
70
|
+
config.credentials = "path/to/credentialfile.json"
|
101
71
|
end
|
102
72
|
|
103
73
|
client = ::Google::Cloud::NetApp::V1::NetApp::Client.new
|
104
74
|
```
|
105
75
|
|
106
|
-
###
|
76
|
+
### Environment Variables
|
107
77
|
|
108
|
-
|
109
|
-
|
110
|
-
|
78
|
+
You can also use an environment variable to provide a JSON credentials file.
|
79
|
+
The environment variable can contain a path to the credentials file or, for
|
80
|
+
environments such as Docker containers where writing files is not encouraged,
|
81
|
+
you can include the credentials file itself.
|
111
82
|
|
112
|
-
|
83
|
+
The JSON file can contain credentials created for
|
84
|
+
[workload identity federation](https://cloud.google.com/iam/docs/workload-identity-federation),
|
85
|
+
[workforce identity federation](https://cloud.google.com/iam/docs/workforce-identity-federation), or a
|
86
|
+
[service account key](https://cloud.google.com/docs/authentication/provide-credentials-adc#local-key).
|
113
87
|
|
114
|
-
|
115
|
-
|
116
|
-
|
88
|
+
Note: Service account keys are a security risk if not managed correctly. You should
|
89
|
+
[choose a more secure alternative to service account keys](https://cloud.google.com/docs/authentication#auth-decision-tree)
|
90
|
+
whenever possible.
|
91
|
+
|
92
|
+
The environment variables that google-cloud-netapp-v1
|
93
|
+
checks for credentials are:
|
117
94
|
|
118
|
-
|
119
|
-
*
|
95
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
96
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
120
97
|
|
121
|
-
|
98
|
+
```ruby
|
99
|
+
require "google/cloud/netapp/v1"
|
122
100
|
|
123
|
-
|
124
|
-
connect to the APIs. You will use the **JSON key file** to
|
125
|
-
connect to most services with google-cloud-netapp-v1.
|
101
|
+
ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
|
126
102
|
|
127
|
-
|
128
|
-
|
129
|
-
need a Google Developers service account.
|
103
|
+
client = ::Google::Cloud::NetApp::V1::NetApp::Client.new
|
104
|
+
```
|
130
105
|
|
131
|
-
|
132
|
-
2. Create a new project or click on an existing project.
|
133
|
-
3. Activate the menu in the upper left and select **APIs & Services**. From
|
134
|
-
here, you will enable the APIs that your application requires.
|
106
|
+
### Local ADC file
|
135
107
|
|
136
|
-
|
108
|
+
You can set up a local ADC file with your user credentials for authentication during
|
109
|
+
development. If credentials are not provided in code or in environment variables,
|
110
|
+
then the local ADC credentials are discovered.
|
137
111
|
|
138
|
-
|
112
|
+
Follow the steps in [Quickstart](#quickstart) to set up a local ADC file.
|
139
113
|
|
140
|
-
|
141
|
-
"Service account" to be guided through downloading a new JSON key file.
|
114
|
+
### Google Cloud Platform environments
|
142
115
|
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
116
|
+
When running on Google Cloud Platform (GCP), including Google Compute Engine
|
117
|
+
(GCE), Google Kubernetes Engine (GKE), Google App Engine (GAE), Google Cloud
|
118
|
+
Functions (GCF) and Cloud Run, credentials are retrieved from the attached
|
119
|
+
service account automatically. Code should be written as if already authenticated.
|
147
120
|
|
148
|
-
|
149
|
-
|
121
|
+
For more information, see
|
122
|
+
[Set up ADC for Google Cloud services](https://cloud.google.com/docs/authentication/provide-credentials-adc#attached-sa).
|
@@ -10,7 +10,7 @@ require 'google/protobuf/field_mask_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n-google/cloud/netapp/v1/active_directory.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x01\n\x1cListActiveDirectoriesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%netapp.googleapis.com/ActiveDirectory\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x92\x01\n\x1dListActiveDirectoriesResponse\x12\x43\n\x12\x61\x63tive_directories\x18\x01 \x03(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectory\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x19GetActiveDirectoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\"\xc7\x01\n\x1c\x43reateActiveDirectoryRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%netapp.googleapis.com/ActiveDirectory\x12\x46\n\x10\x61\x63tive_directory\x18\x02 \x01(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectoryB\x03\xe0\x41\x02\x12 \n\x13\x61\x63tive_directory_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9c\x01\n\x1cUpdateActiveDirectoryRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x46\n\x10\x61\x63tive_directory\x18\x02 \x01(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectoryB\x03\xe0\x41\x02\"[\n\x1c\x44\x65leteActiveDirectoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\"\
|
13
|
+
descriptor_data = "\n-google/cloud/netapp/v1/active_directory.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x01\n\x1cListActiveDirectoriesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%netapp.googleapis.com/ActiveDirectory\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x92\x01\n\x1dListActiveDirectoriesResponse\x12\x43\n\x12\x61\x63tive_directories\x18\x01 \x03(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectory\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x19GetActiveDirectoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\"\xc7\x01\n\x1c\x43reateActiveDirectoryRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%netapp.googleapis.com/ActiveDirectory\x12\x46\n\x10\x61\x63tive_directory\x18\x02 \x01(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectoryB\x03\xe0\x41\x02\x12 \n\x13\x61\x63tive_directory_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9c\x01\n\x1cUpdateActiveDirectoryRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x46\n\x10\x61\x63tive_directory\x18\x02 \x01(\x0b\x32\'.google.cloud.netapp.v1.ActiveDirectoryB\x03\xe0\x41\x02\"[\n\x1c\x44\x65leteActiveDirectoryRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%netapp.googleapis.com/ActiveDirectory\"\xb3\x07\n\x0f\x41\x63tiveDirectory\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x05state\x18\x03 \x01(\x0e\x32-.google.cloud.netapp.v1.ActiveDirectory.StateB\x03\xe0\x41\x03\x12\x13\n\x06\x64omain\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04site\x18\x05 \x01(\t\x12\x10\n\x03\x64ns\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fnet_bios_prefix\x18\x07 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x13organizational_unit\x18\x08 \x01(\t\x12\x16\n\x0e\x61\x65s_encryption\x18\t \x01(\x08\x12\x15\n\x08username\x18\n \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08password\x18\x0b \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x10\x62\x61\x63kup_operators\x18\x0c \x03(\t\x12\x1a\n\x12security_operators\x18\r \x03(\t\x12\x14\n\x0ckdc_hostname\x18\x0e \x01(\t\x12\x0e\n\x06kdc_ip\x18\x0f \x01(\t\x12\x1b\n\x13nfs_users_with_ldap\x18\x10 \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x11 \x01(\t\x12\x14\n\x0cldap_signing\x18\x12 \x01(\x08\x12\x1e\n\x16\x65ncrypt_dc_connections\x18\x13 \x01(\x08\x12\x43\n\x06labels\x18\x14 \x03(\x0b\x32\x33.google.cloud.netapp.v1.ActiveDirectory.LabelsEntry\x12\x1a\n\rstate_details\x18\x15 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"j\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\n\n\x06IN_USE\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\t\n\x05\x45RROR\x10\x06:\x9d\x01\xea\x41\x99\x01\n%netapp.googleapis.com/ActiveDirectory\x12Lprojects/{project}/locations/{location}/activeDirectories/{active_directory}*\x11\x61\x63tiveDirectories2\x0f\x61\x63tiveDirectoryB\xb6\x01\n\x1a\x63om.google.cloud.netapp.v1B\x14\x41\x63tiveDirectoryProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/netapp/v1/backup.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/field_mask_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n#google/cloud/netapp/v1/backup.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd2\x06\n\x06\x42\x61\x63kup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x38\n\x05state\x18\x02 \x01(\x0e\x32$.google.cloud.netapp.v1.Backup.StateB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1f\n\x12volume_usage_bytes\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12=\n\x0b\x62\x61\x63kup_type\x18\x05 \x01(\x0e\x32#.google.cloud.netapp.v1.Backup.TypeB\x03\xe0\x41\x03\x12\x38\n\rsource_volume\x18\x06 \x01(\tB!\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x41\n\x0fsource_snapshot\x18\x07 \x01(\tB#\xfa\x41 \n\x1enetapp.googleapis.com/SnapshotH\x00\x88\x01\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x06labels\x18\t \x03(\x0b\x32*.google.cloud.netapp.v1.Backup.LabelsEntry\x12 \n\x13\x63hain_storage_bytes\x18\n \x01(\x03\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"m\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\r\n\tUPLOADING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08UPDATING\x10\x06\"7\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06MANUAL\x10\x01\x12\r\n\tSCHEDULED\x10\x02:\x89\x01\xea\x41\x85\x01\n\x1cnetapp.googleapis.com/Backup\x12Tprojects/{project}/locations/{location}/backupVaults/{backup_vault}/backups/{backup}*\x07\x62\x61\x63kups2\x06\x62\x61\x63kupB\x12\n\x10_source_snapshot\"\x93\x01\n\x12ListBackupsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Backup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"t\n\x13ListBackupsResponse\x12/\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32\x1e.google.cloud.netapp.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"F\n\x10GetBackupRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Backup\"\x98\x01\n\x13\x43reateBackupRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cnetapp.googleapis.com/Backup\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.BackupB\x03\xe0\x41\x02\"I\n\x13\x44\x65leteBackupRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Backup\"\x80\x01\n\x13UpdateBackupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x33\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32\x1e.google.cloud.netapp.v1.BackupB\x03\xe0\x41\x02\x42\xad\x01\n\x1a\x63om.google.cloud.netapp.v1B\x0b\x42\x61\x63kupProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module NetApp
|
44
|
+
module V1
|
45
|
+
Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Backup").msgclass
|
46
|
+
Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Backup.State").enummodule
|
47
|
+
Backup::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Backup.Type").enummodule
|
48
|
+
ListBackupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupsRequest").msgclass
|
49
|
+
ListBackupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupsResponse").msgclass
|
50
|
+
GetBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.GetBackupRequest").msgclass
|
51
|
+
CreateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.CreateBackupRequest").msgclass
|
52
|
+
DeleteBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.DeleteBackupRequest").msgclass
|
53
|
+
UpdateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.UpdateBackupRequest").msgclass
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/netapp/v1/backup_policy.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/field_mask_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n*google/cloud/netapp/v1/backup_policy.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb6\x06\n\x0c\x42\x61\x63kupPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1f\n\x12\x64\x61ily_backup_limit\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12 \n\x13weekly_backup_limit\x18\x03 \x01(\x05H\x01\x88\x01\x01\x12!\n\x14monthly_backup_limit\x18\x04 \x01(\x05H\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x07\x65nabled\x18\x06 \x01(\x08H\x04\x88\x01\x01\x12\'\n\x15\x61ssigned_volume_count\x18\x07 \x01(\x05\x42\x03\xe0\x41\x03H\x05\x88\x01\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\t \x03(\x0b\x32\x30.google.cloud.netapp.v1.BackupPolicy.LabelsEntry\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.netapp.v1.BackupPolicy.StateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"^\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08UPDATING\x10\x05:\x8e\x01\xea\x41\x8a\x01\n\"netapp.googleapis.com/BackupPolicy\x12\x46projects/{project}/locations/{location}/backupPolicies/{backup_policy}*\x0e\x62\x61\x63kupPolicies2\x0c\x62\x61\x63kupPolicyB\x15\n\x13_daily_backup_limitB\x16\n\x14_weekly_backup_limitB\x17\n\x15_monthly_backup_limitB\x0e\n\x0c_descriptionB\n\n\x08_enabledB\x18\n\x16_assigned_volume_count\"\xb8\x01\n\x19\x43reateBackupPolicyRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"netapp.googleapis.com/BackupPolicy\x12@\n\rbackup_policy\x18\x02 \x01(\x0b\x32$.google.cloud.netapp.v1.BackupPolicyB\x03\xe0\x41\x02\x12\x1d\n\x10\x62\x61\x63kup_policy_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"R\n\x16GetBackupPolicyRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"netapp.googleapis.com/BackupPolicy\"\xa0\x01\n\x19ListBackupPoliciesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"netapp.googleapis.com/BackupPolicy\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x89\x01\n\x1aListBackupPoliciesResponse\x12=\n\x0f\x62\x61\x63kup_policies\x18\x01 \x03(\x0b\x32$.google.cloud.netapp.v1.BackupPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x93\x01\n\x19UpdateBackupPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12@\n\rbackup_policy\x18\x02 \x01(\x0b\x32$.google.cloud.netapp.v1.BackupPolicyB\x03\xe0\x41\x02\"U\n\x19\x44\x65leteBackupPolicyRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"netapp.googleapis.com/BackupPolicyB\xb3\x01\n\x1a\x63om.google.cloud.netapp.v1B\x11\x42\x61\x63kupPolicyProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module NetApp
|
44
|
+
module V1
|
45
|
+
BackupPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.BackupPolicy").msgclass
|
46
|
+
BackupPolicy::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.BackupPolicy.State").enummodule
|
47
|
+
CreateBackupPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.CreateBackupPolicyRequest").msgclass
|
48
|
+
GetBackupPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.GetBackupPolicyRequest").msgclass
|
49
|
+
ListBackupPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupPoliciesRequest").msgclass
|
50
|
+
ListBackupPoliciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupPoliciesResponse").msgclass
|
51
|
+
UpdateBackupPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.UpdateBackupPolicyRequest").msgclass
|
52
|
+
DeleteBackupPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.DeleteBackupPolicyRequest").msgclass
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/netapp/v1/backup_vault.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/field_mask_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n)google/cloud/netapp/v1/backup_vault.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x84\x04\n\x0b\x42\x61\x63kupVault\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12=\n\x05state\x18\x02 \x01(\x0e\x32).google.cloud.netapp.v1.BackupVault.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12?\n\x06labels\x18\x05 \x03(\x0b\x32/.google.cloud.netapp.v1.BackupVault.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"^\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0c\n\x08UPDATING\x10\x05:\x87\x01\xea\x41\x83\x01\n!netapp.googleapis.com/BackupVault\x12\x43projects/{project}/locations/{location}/backupVaults/{backup_vault}*\x0c\x62\x61\x63kupVaults2\x0b\x62\x61\x63kupVault\"P\n\x15GetBackupVaultRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/BackupVault\"\x9d\x01\n\x17ListBackupVaultsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/BackupVault\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"\x84\x01\n\x18ListBackupVaultsResponse\x12:\n\rbackup_vaults\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.BackupVault\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xb3\x01\n\x18\x43reateBackupVaultRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/BackupVault\x12\x1c\n\x0f\x62\x61\x63kup_vault_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x0c\x62\x61\x63kup_vault\x18\x03 \x01(\x0b\x32#.google.cloud.netapp.v1.BackupVaultB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteBackupVaultRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/BackupVault\"\x90\x01\n\x18UpdateBackupVaultRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12>\n\x0c\x62\x61\x63kup_vault\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.BackupVaultB\x03\xe0\x41\x02\x42\xb2\x01\n\x1a\x63om.google.cloud.netapp.v1B\x10\x42\x61\x63kupVaultProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module NetApp
|
44
|
+
module V1
|
45
|
+
BackupVault = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.BackupVault").msgclass
|
46
|
+
BackupVault::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.BackupVault.State").enummodule
|
47
|
+
GetBackupVaultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.GetBackupVaultRequest").msgclass
|
48
|
+
ListBackupVaultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupVaultsRequest").msgclass
|
49
|
+
ListBackupVaultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListBackupVaultsResponse").msgclass
|
50
|
+
CreateBackupVaultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.CreateBackupVaultRequest").msgclass
|
51
|
+
DeleteBackupVaultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.DeleteBackupVaultRequest").msgclass
|
52
|
+
UpdateBackupVaultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.UpdateBackupVaultRequest").msgclass
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -9,6 +9,9 @@ require 'google/api/client_pb'
|
|
9
9
|
require 'google/api/field_behavior_pb'
|
10
10
|
require 'google/api/resource_pb'
|
11
11
|
require 'google/cloud/netapp/v1/active_directory_pb'
|
12
|
+
require 'google/cloud/netapp/v1/backup_pb'
|
13
|
+
require 'google/cloud/netapp/v1/backup_policy_pb'
|
14
|
+
require 'google/cloud/netapp/v1/backup_vault_pb'
|
12
15
|
require 'google/cloud/netapp/v1/kms_pb'
|
13
16
|
require 'google/cloud/netapp/v1/replication_pb'
|
14
17
|
require 'google/cloud/netapp/v1/snapshot_pb'
|
@@ -19,7 +22,7 @@ require 'google/protobuf/empty_pb'
|
|
19
22
|
require 'google/protobuf/timestamp_pb'
|
20
23
|
|
21
24
|
|
22
|
-
descriptor_data = "\n1google/cloud/netapp/v1/cloud_netapp_service.proto\x12\x16google.cloud.netapp.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/netapp/v1/active_directory.proto\x1a google/cloud/netapp/v1/kms.proto\x1a(google/cloud/netapp/v1/replication.proto\x1a%google/cloud/netapp/v1/snapshot.proto\x1a)google/cloud/netapp/v1/storage_pool.proto\x1a#google/cloud/netapp/v1/volume.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xf3;\n\x06NetApp\x12\xb8\x01\n\x10ListStoragePools\x12/.google.cloud.netapp.v1.ListStoragePoolsRequest\x1a\x30.google.cloud.netapp.v1.ListStoragePoolsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/storagePools\xda\x41\x06parent\x12\xf6\x01\n\x11\x43reateStoragePool\x12\x30.google.cloud.netapp.v1.CreateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/storagePools:\x0cstorage_pool\xda\x41#parent,storage_pool,storage_pool_id\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\x12\xa5\x01\n\x0eGetStoragePool\x12-.google.cloud.netapp.v1.GetStoragePoolRequest\x1a#.google.cloud.netapp.v1.StoragePool\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/storagePools/*}\xda\x41\x04name\x12\xf8\x01\n\x11UpdateStoragePool\x12\x30.google.cloud.netapp.v1.UpdateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02M2=/v1/{storage_pool.name=projects/*/locations/*/storagePools/*}:\x0cstorage_pool\xda\x41\x18storage_pool,update_mask\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\x12\xd2\x01\n\x11\x44\x65leteStoragePool\x12\x30.google.cloud.netapp.v1.DeleteStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/storagePools/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xa4\x01\n\x0bListVolumes\x12*.google.cloud.netapp.v1.ListVolumesRequest\x1a+.google.cloud.netapp.v1.ListVolumesResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/volumes\xda\x41\x06parent\x12\x91\x01\n\tGetVolume\x12(.google.cloud.netapp.v1.GetVolumeRequest\x1a\x1e.google.cloud.netapp.v1.Volume\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/volumes/*}\xda\x41\x04name\x12\xcf\x01\n\x0c\x43reateVolume\x12+.google.cloud.netapp.v1.CreateVolumeRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/volumes:\x06volume\xda\x41\x17parent,volume,volume_id\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xd1\x01\n\x0cUpdateVolume\x12+.google.cloud.netapp.v1.UpdateVolumeRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02<22/v1/{volume.name=projects/*/locations/*/volumes/*}:\x06volume\xda\x41\x12volume,update_mask\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xc3\x01\n\x0c\x44\x65leteVolume\x12+.google.cloud.netapp.v1.DeleteVolumeRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/volumes/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb7\x01\n\x0cRevertVolume\x12+.google.cloud.netapp.v1.RevertVolumeRequest\x1a\x1d.google.longrunning.Operation\"[\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/volumes/*}:revert:\x01*\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xb6\x01\n\rListSnapshots\x12,.google.cloud.netapp.v1.ListSnapshotsRequest\x1a-.google.cloud.netapp.v1.ListSnapshotsResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*/volumes/*}/snapshots\xda\x41\x06parent\x12\xa3\x01\n\x0bGetSnapshot\x12*.google.cloud.netapp.v1.GetSnapshotRequest\x1a .google.cloud.netapp.v1.Snapshot\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\xda\x41\x04name\x12\xe8\x01\n\x0e\x43reateSnapshot\x12-.google.cloud.netapp.v1.CreateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x43\"7/v1/{parent=projects/*/locations/*/volumes/*}/snapshots:\x08snapshot\xda\x41\x1bparent,snapshot,snapshot_id\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\x12\xd3\x01\n\x0e\x44\x65leteSnapshot\x12-.google.cloud.netapp.v1.DeleteSnapshotRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xea\x01\n\x0eUpdateSnapshot\x12-.google.cloud.netapp.v1.UpdateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02L2@/v1/{snapshot.name=projects/*/locations/*/volumes/*/snapshots/*}:\x08snapshot\xda\x41\x14snapshot,update_mask\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\x12\xcc\x01\n\x15ListActiveDirectories\x12\x34.google.cloud.netapp.v1.ListActiveDirectoriesRequest\x1a\x35.google.cloud.netapp.v1.ListActiveDirectoriesResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/activeDirectories\xda\x41\x06parent\x12\xb6\x01\n\x12GetActiveDirectory\x12\x31.google.cloud.netapp.v1.GetActiveDirectoryRequest\x1a\'.google.cloud.netapp.v1.ActiveDirectory\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/activeDirectories/*}\xda\x41\x04name\x12\x93\x02\n\x15\x43reateActiveDirectory\x12\x34.google.cloud.netapp.v1.CreateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa4\x01\x82\xd3\xe4\x93\x02I\"5/v1/{parent=projects/*/locations/*}/activeDirectories:\x10\x61\x63tive_directory\xda\x41+parent,active_directory,active_directory_id\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\x12\x95\x02\n\x15UpdateActiveDirectory\x12\x34.google.cloud.netapp.v1.UpdateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\x82\xd3\xe4\x93\x02Z2F/v1/{active_directory.name=projects/*/locations/*/activeDirectories/*}:\x10\x61\x63tive_directory\xda\x41\x1c\x61\x63tive_directory,update_mask\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\x12\xdf\x01\n\x15\x44\x65leteActiveDirectory\x12\x34.google.cloud.netapp.v1.DeleteActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"q\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/activeDirectories/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb0\x01\n\x0eListKmsConfigs\x12-.google.cloud.netapp.v1.ListKmsConfigsRequest\x1a..google.cloud.netapp.v1.ListKmsConfigsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/kmsConfigs\xda\x41\x06parent\x12\xe8\x01\n\x0f\x43reateKmsConfig\x12..google.cloud.netapp.v1.CreateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/kmsConfigs:\nkms_config\xda\x41\x1fparent,kms_config,kms_config_id\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\x9d\x01\n\x0cGetKmsConfig\x12+.google.cloud.netapp.v1.GetKmsConfigRequest\x1a!.google.cloud.netapp.v1.KmsConfig\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/kmsConfigs/*}\xda\x41\x04name\x12\xea\x01\n\x0fUpdateKmsConfig\x12..google.cloud.netapp.v1.UpdateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02G29/v1/{kms_config.name=projects/*/locations/*/kmsConfigs/*}:\nkms_config\xda\x41\x16kms_config,update_mask\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\xc2\x01\n\x0e\x45ncryptVolumes\x12-.google.cloud.netapp.v1.EncryptVolumesRequest\x1a\x1d.google.longrunning.Operation\"b\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/kmsConfigs/*}:encrypt:\x01*\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\xb4\x01\n\x0fVerifyKmsConfig\x12..google.cloud.netapp.v1.VerifyKmsConfigRequest\x1a/.google.cloud.netapp.v1.VerifyKmsConfigResponse\"@\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/kmsConfigs/*}:verify:\x01*\x12\xcc\x01\n\x0f\x44\x65leteKmsConfig\x12..google.cloud.netapp.v1.DeleteKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/kmsConfigs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc2\x01\n\x10ListReplications\x12/.google.cloud.netapp.v1.ListReplicationsRequest\x1a\x30.google.cloud.netapp.v1.ListReplicationsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/volumes/*}/replications\xda\x41\x06parent\x12\xaf\x01\n\x0eGetReplication\x12-.google.cloud.netapp.v1.GetReplicationRequest\x1a#.google.cloud.netapp.v1.Replication\"I\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\xda\x41\x04name\x12\xfd\x01\n\x11\x43reateReplication\x12\x30.google.cloud.netapp.v1.CreateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\x82\xd3\xe4\x93\x02I\":/v1/{parent=projects/*/locations/*/volumes/*}/replications:\x0breplication\xda\x41!parent,replication,replication_id\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xdc\x01\n\x11\x44\x65leteReplication\x12\x30.google.cloud.netapp.v1.DeleteReplicationRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xff\x01\n\x11UpdateReplication\x12\x30.google.cloud.netapp.v1.UpdateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02U2F/v1/{replication.name=projects/*/locations/*/volumes/*/replications/*}:\x0breplication\xda\x41\x17replication,update_mask\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xcf\x01\n\x0fStopReplication\x12..google.cloud.netapp.v1.StopReplicationRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/volumes/*/replications/*}:stop:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xd5\x01\n\x11ResumeReplication\x12\x30.google.cloud.netapp.v1.ResumeReplicationRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/volumes/*/replications/*}:resume:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xf3\x01\n\x1bReverseReplicationDirection\x12:.google.cloud.netapp.v1.ReverseReplicationDirectionRequest\x1a\x1d.google.longrunning.Operation\"y\x82\xd3\xe4\x93\x02P\"K/v1/{name=projects/*/locations/*/volumes/*/replications/*}:reverseDirection:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x1aI\xca\x41\x15netapp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8a\x02\n\x1a\x63om.google.cloud.netapp.v1B\x17\x43loudNetappServiceProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
25
|
+
descriptor_data = "\n1google/cloud/netapp/v1/cloud_netapp_service.proto\x12\x16google.cloud.netapp.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/netapp/v1/active_directory.proto\x1a#google/cloud/netapp/v1/backup.proto\x1a*google/cloud/netapp/v1/backup_policy.proto\x1a)google/cloud/netapp/v1/backup_vault.proto\x1a google/cloud/netapp/v1/kms.proto\x1a(google/cloud/netapp/v1/replication.proto\x1a%google/cloud/netapp/v1/snapshot.proto\x1a)google/cloud/netapp/v1/storage_pool.proto\x1a#google/cloud/netapp/v1/volume.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xe0T\n\x06NetApp\x12\xb8\x01\n\x10ListStoragePools\x12/.google.cloud.netapp.v1.ListStoragePoolsRequest\x1a\x30.google.cloud.netapp.v1.ListStoragePoolsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/storagePools\xda\x41\x06parent\x12\xf6\x01\n\x11\x43reateStoragePool\x12\x30.google.cloud.netapp.v1.CreateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/storagePools:\x0cstorage_pool\xda\x41#parent,storage_pool,storage_pool_id\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\x12\xa5\x01\n\x0eGetStoragePool\x12-.google.cloud.netapp.v1.GetStoragePoolRequest\x1a#.google.cloud.netapp.v1.StoragePool\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/storagePools/*}\xda\x41\x04name\x12\xf8\x01\n\x11UpdateStoragePool\x12\x30.google.cloud.netapp.v1.UpdateStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02M2=/v1/{storage_pool.name=projects/*/locations/*/storagePools/*}:\x0cstorage_pool\xda\x41\x18storage_pool,update_mask\xca\x41 \n\x0bStoragePool\x12\x11OperationMetadata\x12\xd2\x01\n\x11\x44\x65leteStoragePool\x12\x30.google.cloud.netapp.v1.DeleteStoragePoolRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/storagePools/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xa4\x01\n\x0bListVolumes\x12*.google.cloud.netapp.v1.ListVolumesRequest\x1a+.google.cloud.netapp.v1.ListVolumesResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/volumes\xda\x41\x06parent\x12\x91\x01\n\tGetVolume\x12(.google.cloud.netapp.v1.GetVolumeRequest\x1a\x1e.google.cloud.netapp.v1.Volume\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/volumes/*}\xda\x41\x04name\x12\xcf\x01\n\x0c\x43reateVolume\x12+.google.cloud.netapp.v1.CreateVolumeRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x35\"+/v1/{parent=projects/*/locations/*}/volumes:\x06volume\xda\x41\x17parent,volume,volume_id\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xd1\x01\n\x0cUpdateVolume\x12+.google.cloud.netapp.v1.UpdateVolumeRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02<22/v1/{volume.name=projects/*/locations/*/volumes/*}:\x06volume\xda\x41\x12volume,update_mask\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xc3\x01\n\x0c\x44\x65leteVolume\x12+.google.cloud.netapp.v1.DeleteVolumeRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/volumes/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb7\x01\n\x0cRevertVolume\x12+.google.cloud.netapp.v1.RevertVolumeRequest\x1a\x1d.google.longrunning.Operation\"[\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/volumes/*}:revert:\x01*\xca\x41\x1b\n\x06Volume\x12\x11OperationMetadata\x12\xb6\x01\n\rListSnapshots\x12,.google.cloud.netapp.v1.ListSnapshotsRequest\x1a-.google.cloud.netapp.v1.ListSnapshotsResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*/volumes/*}/snapshots\xda\x41\x06parent\x12\xa3\x01\n\x0bGetSnapshot\x12*.google.cloud.netapp.v1.GetSnapshotRequest\x1a .google.cloud.netapp.v1.Snapshot\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\xda\x41\x04name\x12\xe8\x01\n\x0e\x43reateSnapshot\x12-.google.cloud.netapp.v1.CreateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x43\"7/v1/{parent=projects/*/locations/*/volumes/*}/snapshots:\x08snapshot\xda\x41\x1bparent,snapshot,snapshot_id\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\x12\xd3\x01\n\x0e\x44\x65leteSnapshot\x12-.google.cloud.netapp.v1.DeleteSnapshotRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xea\x01\n\x0eUpdateSnapshot\x12-.google.cloud.netapp.v1.UpdateSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02L2@/v1/{snapshot.name=projects/*/locations/*/volumes/*/snapshots/*}:\x08snapshot\xda\x41\x14snapshot,update_mask\xca\x41\x1d\n\x08Snapshot\x12\x11OperationMetadata\x12\xcc\x01\n\x15ListActiveDirectories\x12\x34.google.cloud.netapp.v1.ListActiveDirectoriesRequest\x1a\x35.google.cloud.netapp.v1.ListActiveDirectoriesResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/activeDirectories\xda\x41\x06parent\x12\xb6\x01\n\x12GetActiveDirectory\x12\x31.google.cloud.netapp.v1.GetActiveDirectoryRequest\x1a\'.google.cloud.netapp.v1.ActiveDirectory\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/activeDirectories/*}\xda\x41\x04name\x12\x93\x02\n\x15\x43reateActiveDirectory\x12\x34.google.cloud.netapp.v1.CreateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa4\x01\x82\xd3\xe4\x93\x02I\"5/v1/{parent=projects/*/locations/*}/activeDirectories:\x10\x61\x63tive_directory\xda\x41+parent,active_directory,active_directory_id\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\x12\x95\x02\n\x15UpdateActiveDirectory\x12\x34.google.cloud.netapp.v1.UpdateActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\x82\xd3\xe4\x93\x02Z2F/v1/{active_directory.name=projects/*/locations/*/activeDirectories/*}:\x10\x61\x63tive_directory\xda\x41\x1c\x61\x63tive_directory,update_mask\xca\x41$\n\x0f\x41\x63tiveDirectory\x12\x11OperationMetadata\x12\xdf\x01\n\x15\x44\x65leteActiveDirectory\x12\x34.google.cloud.netapp.v1.DeleteActiveDirectoryRequest\x1a\x1d.google.longrunning.Operation\"q\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/activeDirectories/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb0\x01\n\x0eListKmsConfigs\x12-.google.cloud.netapp.v1.ListKmsConfigsRequest\x1a..google.cloud.netapp.v1.ListKmsConfigsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/kmsConfigs\xda\x41\x06parent\x12\xe8\x01\n\x0f\x43reateKmsConfig\x12..google.cloud.netapp.v1.CreateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/kmsConfigs:\nkms_config\xda\x41\x1fparent,kms_config,kms_config_id\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\x9d\x01\n\x0cGetKmsConfig\x12+.google.cloud.netapp.v1.GetKmsConfigRequest\x1a!.google.cloud.netapp.v1.KmsConfig\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/kmsConfigs/*}\xda\x41\x04name\x12\xea\x01\n\x0fUpdateKmsConfig\x12..google.cloud.netapp.v1.UpdateKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02G29/v1/{kms_config.name=projects/*/locations/*/kmsConfigs/*}:\nkms_config\xda\x41\x16kms_config,update_mask\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\xc2\x01\n\x0e\x45ncryptVolumes\x12-.google.cloud.netapp.v1.EncryptVolumesRequest\x1a\x1d.google.longrunning.Operation\"b\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/kmsConfigs/*}:encrypt:\x01*\xca\x41\x1e\n\tKmsConfig\x12\x11OperationMetadata\x12\xb4\x01\n\x0fVerifyKmsConfig\x12..google.cloud.netapp.v1.VerifyKmsConfigRequest\x1a/.google.cloud.netapp.v1.VerifyKmsConfigResponse\"@\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/kmsConfigs/*}:verify:\x01*\x12\xcc\x01\n\x0f\x44\x65leteKmsConfig\x12..google.cloud.netapp.v1.DeleteKmsConfigRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/kmsConfigs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc2\x01\n\x10ListReplications\x12/.google.cloud.netapp.v1.ListReplicationsRequest\x1a\x30.google.cloud.netapp.v1.ListReplicationsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/volumes/*}/replications\xda\x41\x06parent\x12\xaf\x01\n\x0eGetReplication\x12-.google.cloud.netapp.v1.GetReplicationRequest\x1a#.google.cloud.netapp.v1.Replication\"I\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\xda\x41\x04name\x12\xfd\x01\n\x11\x43reateReplication\x12\x30.google.cloud.netapp.v1.CreateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\x82\xd3\xe4\x93\x02I\":/v1/{parent=projects/*/locations/*/volumes/*}/replications:\x0breplication\xda\x41!parent,replication,replication_id\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xdc\x01\n\x11\x44\x65leteReplication\x12\x30.google.cloud.netapp.v1.DeleteReplicationRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/volumes/*/replications/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xff\x01\n\x11UpdateReplication\x12\x30.google.cloud.netapp.v1.UpdateReplicationRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02U2F/v1/{replication.name=projects/*/locations/*/volumes/*/replications/*}:\x0breplication\xda\x41\x17replication,update_mask\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xcf\x01\n\x0fStopReplication\x12..google.cloud.netapp.v1.StopReplicationRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/volumes/*/replications/*}:stop:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xd5\x01\n\x11ResumeReplication\x12\x30.google.cloud.netapp.v1.ResumeReplicationRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/volumes/*/replications/*}:resume:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xf3\x01\n\x1bReverseReplicationDirection\x12:.google.cloud.netapp.v1.ReverseReplicationDirectionRequest\x1a\x1d.google.longrunning.Operation\"y\x82\xd3\xe4\x93\x02P\"K/v1/{name=projects/*/locations/*/volumes/*/replications/*}:reverseDirection:\x01*\xca\x41 \n\x0bReplication\x12\x11OperationMetadata\x12\xf6\x01\n\x11\x43reateBackupVault\x12\x30.google.cloud.netapp.v1.CreateBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/backupVaults:\x0c\x62\x61\x63kup_vault\xda\x41#parent,backup_vault,backup_vault_id\xca\x41 \n\x0b\x42\x61\x63kupVault\x12\x11OperationMetadata\x12\xa5\x01\n\x0eGetBackupVault\x12-.google.cloud.netapp.v1.GetBackupVaultRequest\x1a#.google.cloud.netapp.v1.BackupVault\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/backupVaults/*}\xda\x41\x04name\x12\xb8\x01\n\x10ListBackupVaults\x12/.google.cloud.netapp.v1.ListBackupVaultsRequest\x1a\x30.google.cloud.netapp.v1.ListBackupVaultsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/backupVaults\xda\x41\x06parent\x12\xf8\x01\n\x11UpdateBackupVault\x12\x30.google.cloud.netapp.v1.UpdateBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02M2=/v1/{backup_vault.name=projects/*/locations/*/backupVaults/*}:\x0c\x62\x61\x63kup_vault\xda\x41\x18\x62\x61\x63kup_vault,update_mask\xca\x41 \n\x0b\x42\x61\x63kupVault\x12\x11OperationMetadata\x12\xd2\x01\n\x11\x44\x65leteBackupVault\x12\x30.google.cloud.netapp.v1.DeleteBackupVaultRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/backupVaults/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xdf\x01\n\x0c\x43reateBackup\x12+.google.cloud.netapp.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02\x44\":/v1/{parent=projects/*/locations/*/backupVaults/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xa0\x01\n\tGetBackup\x12(.google.cloud.netapp.v1.GetBackupRequest\x1a\x1e.google.cloud.netapp.v1.Backup\"I\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}\xda\x41\x04name\x12\xb3\x01\n\x0bListBackups\x12*.google.cloud.netapp.v1.ListBackupsRequest\x1a+.google.cloud.netapp.v1.ListBackupsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/backupVaults/*}/backups\xda\x41\x06parent\x12\xd2\x01\n\x0c\x44\x65leteBackup\x12+.google.cloud.netapp.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe1\x01\n\x0cUpdateBackup\x12+.google.cloud.netapp.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02K2A/v1/{backup.name=projects/*/locations/*/backupVaults/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xfe\x01\n\x12\x43reateBackupPolicy\x12\x31.google.cloud.netapp.v1.CreateBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\x82\xd3\xe4\x93\x02\x43\"2/v1/{parent=projects/*/locations/*}/backupPolicies:\rbackup_policy\xda\x41%parent,backup_policy,backup_policy_id\xca\x41!\n\x0c\x42\x61\x63kupPolicy\x12\x11OperationMetadata\x12\xaa\x01\n\x0fGetBackupPolicy\x12..google.cloud.netapp.v1.GetBackupPolicyRequest\x1a$.google.cloud.netapp.v1.BackupPolicy\"A\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/backupPolicies/*}\xda\x41\x04name\x12\xc0\x01\n\x12ListBackupPolicies\x12\x31.google.cloud.netapp.v1.ListBackupPoliciesRequest\x1a\x32.google.cloud.netapp.v1.ListBackupPoliciesResponse\"C\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/backupPolicies\xda\x41\x06parent\x12\x80\x02\n\x12UpdateBackupPolicy\x12\x31.google.cloud.netapp.v1.UpdateBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x97\x01\x82\xd3\xe4\x93\x02Q2@/v1/{backup_policy.name=projects/*/locations/*/backupPolicies/*}:\rbackup_policy\xda\x41\x19\x62\x61\x63kup_policy,update_mask\xca\x41!\n\x0c\x42\x61\x63kupPolicy\x12\x11OperationMetadata\x12\xd6\x01\n\x12\x44\x65leteBackupPolicy\x12\x31.google.cloud.netapp.v1.DeleteBackupPolicyRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/backupPolicies/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x1aI\xca\x41\x15netapp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8a\x02\n\x1a\x63om.google.cloud.netapp.v1B\x17\x43loudNetappServiceProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
23
26
|
|
24
27
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
28
|
|
@@ -110,6 +110,39 @@ module Google
|
|
110
110
|
# Reverses direction of replication. Source becomes destination and
|
111
111
|
# destination becomes source.
|
112
112
|
rpc :ReverseReplicationDirection, ::Google::Cloud::NetApp::V1::ReverseReplicationDirectionRequest, ::Google::Longrunning::Operation
|
113
|
+
# Creates new backup vault
|
114
|
+
rpc :CreateBackupVault, ::Google::Cloud::NetApp::V1::CreateBackupVaultRequest, ::Google::Longrunning::Operation
|
115
|
+
# Returns the description of the specified backup vault
|
116
|
+
rpc :GetBackupVault, ::Google::Cloud::NetApp::V1::GetBackupVaultRequest, ::Google::Cloud::NetApp::V1::BackupVault
|
117
|
+
# Returns list of all available backup vaults.
|
118
|
+
rpc :ListBackupVaults, ::Google::Cloud::NetApp::V1::ListBackupVaultsRequest, ::Google::Cloud::NetApp::V1::ListBackupVaultsResponse
|
119
|
+
# Updates the settings of a specific backup vault.
|
120
|
+
rpc :UpdateBackupVault, ::Google::Cloud::NetApp::V1::UpdateBackupVaultRequest, ::Google::Longrunning::Operation
|
121
|
+
# Warning! This operation will permanently delete the backup vault.
|
122
|
+
rpc :DeleteBackupVault, ::Google::Cloud::NetApp::V1::DeleteBackupVaultRequest, ::Google::Longrunning::Operation
|
123
|
+
# Creates a backup from the volume specified in the request
|
124
|
+
# The backup can be created from the given snapshot if specified in the
|
125
|
+
# request. If no snapshot specified, there'll be a new snapshot taken to
|
126
|
+
# initiate the backup creation.
|
127
|
+
rpc :CreateBackup, ::Google::Cloud::NetApp::V1::CreateBackupRequest, ::Google::Longrunning::Operation
|
128
|
+
# Returns the description of the specified backup
|
129
|
+
rpc :GetBackup, ::Google::Cloud::NetApp::V1::GetBackupRequest, ::Google::Cloud::NetApp::V1::Backup
|
130
|
+
# Returns descriptions of all backups for a backupVault.
|
131
|
+
rpc :ListBackups, ::Google::Cloud::NetApp::V1::ListBackupsRequest, ::Google::Cloud::NetApp::V1::ListBackupsResponse
|
132
|
+
# Warning! This operation will permanently delete the backup.
|
133
|
+
rpc :DeleteBackup, ::Google::Cloud::NetApp::V1::DeleteBackupRequest, ::Google::Longrunning::Operation
|
134
|
+
# Update backup with full spec.
|
135
|
+
rpc :UpdateBackup, ::Google::Cloud::NetApp::V1::UpdateBackupRequest, ::Google::Longrunning::Operation
|
136
|
+
# Creates new backup policy
|
137
|
+
rpc :CreateBackupPolicy, ::Google::Cloud::NetApp::V1::CreateBackupPolicyRequest, ::Google::Longrunning::Operation
|
138
|
+
# Returns the description of the specified backup policy by backup_policy_id.
|
139
|
+
rpc :GetBackupPolicy, ::Google::Cloud::NetApp::V1::GetBackupPolicyRequest, ::Google::Cloud::NetApp::V1::BackupPolicy
|
140
|
+
# Returns list of all available backup policies.
|
141
|
+
rpc :ListBackupPolicies, ::Google::Cloud::NetApp::V1::ListBackupPoliciesRequest, ::Google::Cloud::NetApp::V1::ListBackupPoliciesResponse
|
142
|
+
# Updates settings of a specific backup policy.
|
143
|
+
rpc :UpdateBackupPolicy, ::Google::Cloud::NetApp::V1::UpdateBackupPolicyRequest, ::Google::Longrunning::Operation
|
144
|
+
# Warning! This operation will permanently delete the backup policy.
|
145
|
+
rpc :DeleteBackupPolicy, ::Google::Cloud::NetApp::V1::DeleteBackupPolicyRequest, ::Google::Longrunning::Operation
|
113
146
|
end
|
114
147
|
|
115
148
|
Stub = Service.rpc_stub_class
|
@@ -10,7 +10,7 @@ require 'google/protobuf/field_mask_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n google/cloud/netapp/v1/kms.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"L\n\x13GetKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"\x99\x01\n\x15ListKmsConfigsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/KmsConfig\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"~\n\x16ListKmsConfigsResponse\x12\x36\n\x0bkms_configs\x18\x01 \x03(\x0b\x32!.google.cloud.netapp.v1.KmsConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xa9\x01\n\x16\x43reateKmsConfigRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/KmsConfig\x12\x1a\n\rkms_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\nkms_config\x18\x03 \x01(\x0b\x32!.google.cloud.netapp.v1.KmsConfigB\x03\xe0\x41\x02\"\x8a\x01\n\x16UpdateKmsConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12:\n\nkms_config\x18\x02 \x01(\x0b\x32!.google.cloud.netapp.v1.KmsConfigB\x03\xe0\x41\x02\"O\n\x16\x44\x65leteKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"N\n\x15\x45ncryptVolumesRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"O\n\x16VerifyKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"e\n\x17VerifyKmsConfigResponse\x12\x14\n\x07healthy\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\x19\n\x0chealth_error\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cinstructions\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\
|
13
|
+
descriptor_data = "\n google/cloud/netapp/v1/kms.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"L\n\x13GetKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"\x99\x01\n\x15ListKmsConfigsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/KmsConfig\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"~\n\x16ListKmsConfigsResponse\x12\x36\n\x0bkms_configs\x18\x01 \x03(\x0b\x32!.google.cloud.netapp.v1.KmsConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xa9\x01\n\x16\x43reateKmsConfigRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1fnetapp.googleapis.com/KmsConfig\x12\x1a\n\rkms_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\nkms_config\x18\x03 \x01(\x0b\x32!.google.cloud.netapp.v1.KmsConfigB\x03\xe0\x41\x02\"\x8a\x01\n\x16UpdateKmsConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12:\n\nkms_config\x18\x02 \x01(\x0b\x32!.google.cloud.netapp.v1.KmsConfigB\x03\xe0\x41\x02\"O\n\x16\x44\x65leteKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"N\n\x15\x45ncryptVolumesRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"O\n\x16VerifyKmsConfigRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fnetapp.googleapis.com/KmsConfig\"e\n\x17VerifyKmsConfigResponse\x12\x14\n\x07healthy\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\x19\n\x0chealth_error\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cinstructions\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xcc\x05\n\tKmsConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1c\n\x0f\x63rypto_key_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12;\n\x05state\x18\x03 \x01(\x0e\x32\'.google.cloud.netapp.v1.KmsConfig.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12=\n\x06labels\x18\x07 \x03(\x0b\x32-.google.cloud.netapp.v1.KmsConfig.LabelsEntry\x12\x19\n\x0cinstructions\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fservice_account\x18\t \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc4\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\n\n\x06IN_USE\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x15\n\x11KEY_CHECK_PENDING\x10\x07\x12\x15\n\x11KEY_NOT_REACHABLE\x10\x08\x12\r\n\tDISABLING\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\x12\r\n\tMIGRATING\x10\x0b:|\xea\x41y\n\x1fnetapp.googleapis.com/KmsConfig\x12?projects/{project}/locations/{location}/kmsConfigs/{kms_config}*\nkmsConfigs2\tkmsConfigB\xaa\x01\n\x1a\x63om.google.cloud.netapp.v1B\x08KmsProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|