Skip to content

Commit b266867

Browse files
feat: [google-cloud-netapp] Add REST Interceptors which support reading metadata (#13485)
BEGIN_COMMIT_OVERRIDE feat: Add REST Interceptors which support reading metadata feat: Add support for reading selective GAPIC generation methods from service YAML chore: Update gapic-generator-python to v1.22.0 feat: add support for Quota Rule apis Clients can now use quota rules for limiting the maximum usage on a volume by individual users or groups. They now also have an option for setting the default user and default group quota rule. Introducing CreateQuotaRule, UpdateQuotaRule, DeleteQuotaRule, GetQuotaRule and ListQuotaRules apis. feat: add ipAddress field to MountOption END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. feat: Add support for reading selective GAPIC generation methods from service YAML chore: Update gapic-generator-python to v1.22.0 PiperOrigin-RevId: 724026024 Source-Link: googleapis/googleapis@ad99638 Source-Link: googleapis/googleapis-gen@e291c4d Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiZTI5MWM0ZGQxZDY3MGVkYTE5OTk4ZGU3NmY5NjdlMTYwM2E0ODk5MyJ9 BEGIN_NESTED_COMMIT feat: [google-cloud-netapp] add support for Quota Rule apis Clients can now use quota rules for limiting the maximum usage on a volume by individual users or groups. They now also have an option for setting the default user and default group quota rule. Introducing CreateQuotaRule, UpdateQuotaRule, DeleteQuotaRule, GetQuotaRule and ListQuotaRules apis. feat: add ipAddress field to MountOption PiperOrigin-RevId: 721387965 Source-Link: googleapis/googleapis@d0cdaf8 Source-Link: googleapis/googleapis-gen@8c7cb0d Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiOGM3Y2IwZGJiMTkwN2MyY2VjYTRmYjMzMjk3N2E3MDJmYTI0NTgzZCJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: ohmayr <[email protected]>
1 parent 7a2f3e6 commit b266867

33 files changed

+20048
-8815
lines changed

packages/google-cloud-netapp/google/cloud/netapp/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
from google.cloud.netapp_v1.types.common import (
6161
DirectoryServiceType,
6262
EncryptionType,
63+
FlexPerformance,
6364
LocationMetadata,
6465
ServiceLevel,
6566
)
@@ -75,6 +76,15 @@
7576
VerifyKmsConfigRequest,
7677
VerifyKmsConfigResponse,
7778
)
79+
from google.cloud.netapp_v1.types.quota_rule import (
80+
CreateQuotaRuleRequest,
81+
DeleteQuotaRuleRequest,
82+
GetQuotaRuleRequest,
83+
ListQuotaRulesRequest,
84+
ListQuotaRulesResponse,
85+
QuotaRule,
86+
UpdateQuotaRuleRequest,
87+
)
7888
from google.cloud.netapp_v1.types.replication import (
7989
CreateReplicationRequest,
8090
DeleteReplicationRequest,
@@ -175,6 +185,7 @@
175185
"LocationMetadata",
176186
"DirectoryServiceType",
177187
"EncryptionType",
188+
"FlexPerformance",
178189
"ServiceLevel",
179190
"CreateKmsConfigRequest",
180191
"DeleteKmsConfigRequest",
@@ -186,6 +197,13 @@
186197
"UpdateKmsConfigRequest",
187198
"VerifyKmsConfigRequest",
188199
"VerifyKmsConfigResponse",
200+
"CreateQuotaRuleRequest",
201+
"DeleteQuotaRuleRequest",
202+
"GetQuotaRuleRequest",
203+
"ListQuotaRulesRequest",
204+
"ListQuotaRulesResponse",
205+
"QuotaRule",
206+
"UpdateQuotaRuleRequest",
189207
"CreateReplicationRequest",
190208
"DeleteReplicationRequest",
191209
"DestinationVolumeParameters",

packages/google-cloud-netapp/google/cloud/netapp/gapic_version.py

Lines changed: 1 addition & 1 deletion
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__ = "0.3.18" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-netapp/google/cloud/netapp_v1/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
from .types.common import (
6060
DirectoryServiceType,
6161
EncryptionType,
62+
FlexPerformance,
6263
LocationMetadata,
6364
ServiceLevel,
6465
)
@@ -74,6 +75,15 @@
7475
VerifyKmsConfigRequest,
7576
VerifyKmsConfigResponse,
7677
)
78+
from .types.quota_rule import (
79+
CreateQuotaRuleRequest,
80+
DeleteQuotaRuleRequest,
81+
GetQuotaRuleRequest,
82+
ListQuotaRulesRequest,
83+
ListQuotaRulesResponse,
84+
QuotaRule,
85+
UpdateQuotaRuleRequest,
86+
)
7787
from .types.replication import (
7888
CreateReplicationRequest,
7989
DeleteReplicationRequest,
@@ -152,6 +162,7 @@
152162
"CreateBackupRequest",
153163
"CreateBackupVaultRequest",
154164
"CreateKmsConfigRequest",
165+
"CreateQuotaRuleRequest",
155166
"CreateReplicationRequest",
156167
"CreateSnapshotRequest",
157168
"CreateStoragePoolRequest",
@@ -162,6 +173,7 @@
162173
"DeleteBackupRequest",
163174
"DeleteBackupVaultRequest",
164175
"DeleteKmsConfigRequest",
176+
"DeleteQuotaRuleRequest",
165177
"DeleteReplicationRequest",
166178
"DeleteSnapshotRequest",
167179
"DeleteStoragePoolRequest",
@@ -172,11 +184,13 @@
172184
"EncryptionType",
173185
"EstablishPeeringRequest",
174186
"ExportPolicy",
187+
"FlexPerformance",
175188
"GetActiveDirectoryRequest",
176189
"GetBackupPolicyRequest",
177190
"GetBackupRequest",
178191
"GetBackupVaultRequest",
179192
"GetKmsConfigRequest",
193+
"GetQuotaRuleRequest",
180194
"GetReplicationRequest",
181195
"GetSnapshotRequest",
182196
"GetStoragePoolRequest",
@@ -195,6 +209,8 @@
195209
"ListBackupsResponse",
196210
"ListKmsConfigsRequest",
197211
"ListKmsConfigsResponse",
212+
"ListQuotaRulesRequest",
213+
"ListQuotaRulesResponse",
198214
"ListReplicationsRequest",
199215
"ListReplicationsResponse",
200216
"ListSnapshotsRequest",
@@ -209,6 +225,7 @@
209225
"NetAppClient",
210226
"OperationMetadata",
211227
"Protocols",
228+
"QuotaRule",
212229
"Replication",
213230
"RestoreParameters",
214231
"RestrictedAction",
@@ -232,6 +249,7 @@
232249
"UpdateBackupRequest",
233250
"UpdateBackupVaultRequest",
234251
"UpdateKmsConfigRequest",
252+
"UpdateQuotaRuleRequest",
235253
"UpdateReplicationRequest",
236254
"UpdateSnapshotRequest",
237255
"UpdateStoragePoolRequest",

packages/google-cloud-netapp/google/cloud/netapp_v1/gapic_metadata.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
"create_kms_config"
3636
]
3737
},
38+
"CreateQuotaRule": {
39+
"methods": [
40+
"create_quota_rule"
41+
]
42+
},
3843
"CreateReplication": {
3944
"methods": [
4045
"create_replication"
@@ -80,6 +85,11 @@
8085
"delete_kms_config"
8186
]
8287
},
88+
"DeleteQuotaRule": {
89+
"methods": [
90+
"delete_quota_rule"
91+
]
92+
},
8393
"DeleteReplication": {
8494
"methods": [
8595
"delete_replication"
@@ -135,6 +145,11 @@
135145
"get_kms_config"
136146
]
137147
},
148+
"GetQuotaRule": {
149+
"methods": [
150+
"get_quota_rule"
151+
]
152+
},
138153
"GetReplication": {
139154
"methods": [
140155
"get_replication"
@@ -180,6 +195,11 @@
180195
"list_kms_configs"
181196
]
182197
},
198+
"ListQuotaRules": {
199+
"methods": [
200+
"list_quota_rules"
201+
]
202+
},
183203
"ListReplications": {
184204
"methods": [
185205
"list_replications"
@@ -255,6 +275,11 @@
255275
"update_kms_config"
256276
]
257277
},
278+
"UpdateQuotaRule": {
279+
"methods": [
280+
"update_quota_rule"
281+
]
282+
},
258283
"UpdateReplication": {
259284
"methods": [
260285
"update_replication"
@@ -315,6 +340,11 @@
315340
"create_kms_config"
316341
]
317342
},
343+
"CreateQuotaRule": {
344+
"methods": [
345+
"create_quota_rule"
346+
]
347+
},
318348
"CreateReplication": {
319349
"methods": [
320350
"create_replication"
@@ -360,6 +390,11 @@
360390
"delete_kms_config"
361391
]
362392
},
393+
"DeleteQuotaRule": {
394+
"methods": [
395+
"delete_quota_rule"
396+
]
397+
},
363398
"DeleteReplication": {
364399
"methods": [
365400
"delete_replication"
@@ -415,6 +450,11 @@
415450
"get_kms_config"
416451
]
417452
},
453+
"GetQuotaRule": {
454+
"methods": [
455+
"get_quota_rule"
456+
]
457+
},
418458
"GetReplication": {
419459
"methods": [
420460
"get_replication"
@@ -460,6 +500,11 @@
460500
"list_kms_configs"
461501
]
462502
},
503+
"ListQuotaRules": {
504+
"methods": [
505+
"list_quota_rules"
506+
]
507+
},
463508
"ListReplications": {
464509
"methods": [
465510
"list_replications"
@@ -535,6 +580,11 @@
535580
"update_kms_config"
536581
]
537582
},
583+
"UpdateQuotaRule": {
584+
"methods": [
585+
"update_quota_rule"
586+
]
587+
},
538588
"UpdateReplication": {
539589
"methods": [
540590
"update_replication"
@@ -595,6 +645,11 @@
595645
"create_kms_config"
596646
]
597647
},
648+
"CreateQuotaRule": {
649+
"methods": [
650+
"create_quota_rule"
651+
]
652+
},
598653
"CreateReplication": {
599654
"methods": [
600655
"create_replication"
@@ -640,6 +695,11 @@
640695
"delete_kms_config"
641696
]
642697
},
698+
"DeleteQuotaRule": {
699+
"methods": [
700+
"delete_quota_rule"
701+
]
702+
},
643703
"DeleteReplication": {
644704
"methods": [
645705
"delete_replication"
@@ -695,6 +755,11 @@
695755
"get_kms_config"
696756
]
697757
},
758+
"GetQuotaRule": {
759+
"methods": [
760+
"get_quota_rule"
761+
]
762+
},
698763
"GetReplication": {
699764
"methods": [
700765
"get_replication"
@@ -740,6 +805,11 @@
740805
"list_kms_configs"
741806
]
742807
},
808+
"ListQuotaRules": {
809+
"methods": [
810+
"list_quota_rules"
811+
]
812+
},
743813
"ListReplications": {
744814
"methods": [
745815
"list_replications"
@@ -815,6 +885,11 @@
815885
"update_kms_config"
816886
]
817887
},
888+
"UpdateQuotaRule": {
889+
"methods": [
890+
"update_quota_rule"
891+
]
892+
},
818893
"UpdateReplication": {
819894
"methods": [
820895
"update_replication"

packages/google-cloud-netapp/google/cloud/netapp_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
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__ = "0.3.18" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

0 commit comments

Comments
 (0)