google-cloud-netapp-v1 1.5.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,200 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module NetApp
23
+ module V1
24
+ # ListQuotaRulesRequest for listing quota rules.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. Parent value for ListQuotaRulesRequest
28
+ # @!attribute [rw] page_size
29
+ # @return [::Integer]
30
+ # Optional. Requested page size. Server may return fewer items than
31
+ # requested. If unspecified, the server will pick an appropriate default.
32
+ # @!attribute [rw] page_token
33
+ # @return [::String]
34
+ # Optional. A token identifying a page of results the server should return.
35
+ # @!attribute [rw] filter
36
+ # @return [::String]
37
+ # Optional. Filtering results
38
+ # @!attribute [rw] order_by
39
+ # @return [::String]
40
+ # Optional. Hint for how to order the results
41
+ class ListQuotaRulesRequest
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.
47
+ # @!attribute [rw] quota_rules
48
+ # @return [::Array<::Google::Cloud::NetApp::V1::QuotaRule>]
49
+ # List of quota rules
50
+ # @!attribute [rw] next_page_token
51
+ # @return [::String]
52
+ # A token identifying a page of results the server should return.
53
+ # @!attribute [rw] unreachable
54
+ # @return [::Array<::String>]
55
+ # Locations that could not be reached.
56
+ class ListQuotaRulesResponse
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+ end
60
+
61
+ # GetQuotaRuleRequest for getting a quota rule.
62
+ # @!attribute [rw] name
63
+ # @return [::String]
64
+ # Required. Name of the quota rule
65
+ class GetQuotaRuleRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # CreateQuotaRuleRequest for creating a quota rule.
71
+ # @!attribute [rw] parent
72
+ # @return [::String]
73
+ # Required. Parent value for CreateQuotaRuleRequest
74
+ # @!attribute [rw] quota_rule
75
+ # @return [::Google::Cloud::NetApp::V1::QuotaRule]
76
+ # Required. Fields of the to be created quota rule.
77
+ # @!attribute [rw] quota_rule_id
78
+ # @return [::String]
79
+ # Required. ID of the quota rule to create. Must be unique within the parent
80
+ # resource. Must contain only letters, numbers, underscore and hyphen, with
81
+ # the first character a letter or underscore, the last a letter or underscore
82
+ # or a number, and a 63 character maximum.
83
+ class CreateQuotaRuleRequest
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+
88
+ # UpdateQuotaRuleRequest for updating a quota rule.
89
+ # @!attribute [rw] update_mask
90
+ # @return [::Google::Protobuf::FieldMask]
91
+ # Optional. Field mask is used to specify the fields to be overwritten in the
92
+ # Quota Rule resource by the update.
93
+ # The fields specified in the update_mask are relative to the resource, not
94
+ # the full request. A field will be overwritten if it is in the mask. If the
95
+ # user does not provide a mask then all fields will be overwritten.
96
+ # @!attribute [rw] quota_rule
97
+ # @return [::Google::Cloud::NetApp::V1::QuotaRule]
98
+ # Required. The quota rule being updated
99
+ class UpdateQuotaRuleRequest
100
+ include ::Google::Protobuf::MessageExts
101
+ extend ::Google::Protobuf::MessageExts::ClassMethods
102
+ end
103
+
104
+ # DeleteQuotaRuleRequest for deleting a single quota rule.
105
+ # @!attribute [rw] name
106
+ # @return [::String]
107
+ # Required. Name of the quota rule.
108
+ class DeleteQuotaRuleRequest
109
+ include ::Google::Protobuf::MessageExts
110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
111
+ end
112
+
113
+ # QuotaRule specifies the maximum disk space a user or group can use within a
114
+ # volume. They can be used for creating default and individual quota rules.
115
+ # @!attribute [rw] name
116
+ # @return [::String]
117
+ # Identifier. The resource name of the quota rule.
118
+ # Format:
119
+ # `projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}`.
120
+ # @!attribute [rw] target
121
+ # @return [::String]
122
+ # Optional. The quota rule applies to the specified user or group, identified
123
+ # by a Unix UID/GID, Windows SID, or null for default.
124
+ # @!attribute [rw] type
125
+ # @return [::Google::Cloud::NetApp::V1::QuotaRule::Type]
126
+ # Required. The type of quota rule.
127
+ # @!attribute [rw] disk_limit_mib
128
+ # @return [::Integer]
129
+ # Required. The maximum allowed disk space in MiB.
130
+ # @!attribute [r] state
131
+ # @return [::Google::Cloud::NetApp::V1::QuotaRule::State]
132
+ # Output only. State of the quota rule
133
+ # @!attribute [r] state_details
134
+ # @return [::String]
135
+ # Output only. State details of the quota rule
136
+ # @!attribute [r] create_time
137
+ # @return [::Google::Protobuf::Timestamp]
138
+ # Output only. Create time of the quota rule
139
+ # @!attribute [rw] description
140
+ # @return [::String]
141
+ # Optional. Description of the quota rule
142
+ # @!attribute [rw] labels
143
+ # @return [::Google::Protobuf::Map{::String => ::String}]
144
+ # Optional. Labels of the quota rule
145
+ class QuotaRule
146
+ include ::Google::Protobuf::MessageExts
147
+ extend ::Google::Protobuf::MessageExts::ClassMethods
148
+
149
+ # @!attribute [rw] key
150
+ # @return [::String]
151
+ # @!attribute [rw] value
152
+ # @return [::String]
153
+ class LabelsEntry
154
+ include ::Google::Protobuf::MessageExts
155
+ extend ::Google::Protobuf::MessageExts::ClassMethods
156
+ end
157
+
158
+ # Types of Quota Rule
159
+ module Type
160
+ # Unspecified type for quota rule
161
+ TYPE_UNSPECIFIED = 0
162
+
163
+ # Individual user quota rule
164
+ INDIVIDUAL_USER_QUOTA = 1
165
+
166
+ # Individual group quota rule
167
+ INDIVIDUAL_GROUP_QUOTA = 2
168
+
169
+ # Default user quota rule
170
+ DEFAULT_USER_QUOTA = 3
171
+
172
+ # Default group quota rule
173
+ DEFAULT_GROUP_QUOTA = 4
174
+ end
175
+
176
+ # Quota Rule states
177
+ module State
178
+ # Unspecified state for quota rule
179
+ STATE_UNSPECIFIED = 0
180
+
181
+ # Quota rule is creating
182
+ CREATING = 1
183
+
184
+ # Quota rule is updating
185
+ UPDATING = 2
186
+
187
+ # Quota rule is deleting
188
+ DELETING = 3
189
+
190
+ # Quota rule is ready
191
+ READY = 4
192
+
193
+ # Quota rule is in error state.
194
+ ERROR = 5
195
+ end
196
+ end
197
+ end
198
+ end
199
+ end
200
+ end
@@ -240,6 +240,18 @@ module Google
240
240
  # @!attribute [rw] passphrase
241
241
  # @return [::String]
242
242
  # Optional. Temporary passphrase generated to accept cluster peering command.
243
+ # @!attribute [rw] peer_volume_name
244
+ # @return [::String]
245
+ # Optional. Name of the user's local source volume to be peered with the
246
+ # destination volume.
247
+ # @!attribute [rw] peer_cluster_name
248
+ # @return [::String]
249
+ # Optional. Name of the user's local source cluster to be peered with the
250
+ # destination cluster.
251
+ # @!attribute [rw] peer_svm_name
252
+ # @return [::String]
253
+ # Optional. Name of the user's local source vserver svm to be peered with the
254
+ # destination vserver svm.
243
255
  class HybridPeeringDetails
244
256
  include ::Google::Protobuf::MessageExts
245
257
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -191,6 +191,12 @@ module Google
191
191
  # @!attribute [rw] zone
192
192
  # @return [::String]
193
193
  # Optional. Specifies the active zone for regional storagePool.
194
+ # @!attribute [r] satisfies_pzs
195
+ # @return [::Boolean]
196
+ # Output only. Reserved for future use
197
+ # @!attribute [r] satisfies_pzi
198
+ # @return [::Boolean]
199
+ # Output only. Reserved for future use
194
200
  class StoragePool
195
201
  include ::Google::Protobuf::MessageExts
196
202
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -474,6 +474,9 @@ module Google
474
474
  # @!attribute [rw] instructions
475
475
  # @return [::String]
476
476
  # Instructions for mounting
477
+ # @!attribute [r] ip_address
478
+ # @return [::String]
479
+ # Output only. IP Address.
477
480
  class MountOption
478
481
  include ::Google::Protobuf::MessageExts
479
482
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -485,11 +488,15 @@ module Google
485
488
  # Full name of the snapshot resource.
486
489
  # Format:
487
490
  # projects/\\{project}/locations/\\{location}/volumes/\\{volume}/snapshots/\\{snapshot}
491
+ #
492
+ # Note: The following fields are mutually exclusive: `source_snapshot`, `source_backup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
488
493
  # @!attribute [rw] source_backup
489
494
  # @return [::String]
490
495
  # Full name of the backup resource.
491
496
  # Format:
492
497
  # projects/\\{project}/locations/\\{location}/backupVaults/\\{backup_vault_id}/backups/\\{backup_id}
498
+ #
499
+ # Note: The following fields are mutually exclusive: `source_backup`, `source_snapshot`. If a field in that set is populated, all other fields in the set will automatically be cleared.
493
500
  class RestoreParameters
494
501
  include ::Google::Protobuf::MessageExts
495
502
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-netapp-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-15 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -15,7 +15,7 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.24.0
18
+ version: 0.25.0
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
21
  version: 2.a
@@ -25,7 +25,7 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: 0.24.0
28
+ version: 0.25.0
29
29
  - - "<"
30
30
  - !ruby/object:Gem::Version
31
31
  version: 2.a
@@ -97,6 +97,7 @@ files:
97
97
  - lib/google/cloud/netapp/v1/netapp/rest/client.rb
98
98
  - lib/google/cloud/netapp/v1/netapp/rest/operations.rb
99
99
  - lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb
100
+ - lib/google/cloud/netapp/v1/quota_rule_pb.rb
100
101
  - lib/google/cloud/netapp/v1/replication_pb.rb
101
102
  - lib/google/cloud/netapp/v1/rest.rb
102
103
  - lib/google/cloud/netapp/v1/snapshot_pb.rb
@@ -116,6 +117,7 @@ files:
116
117
  - proto_docs/google/cloud/netapp/v1/cloud_netapp_service.rb
117
118
  - proto_docs/google/cloud/netapp/v1/common.rb
118
119
  - proto_docs/google/cloud/netapp/v1/kms.rb
120
+ - proto_docs/google/cloud/netapp/v1/quota_rule.rb
119
121
  - proto_docs/google/cloud/netapp/v1/replication.rb
120
122
  - proto_docs/google/cloud/netapp/v1/snapshot.rb
121
123
  - proto_docs/google/cloud/netapp/v1/storage_pool.rb
@@ -138,14 +140,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
140
  requirements:
139
141
  - - ">="
140
142
  - !ruby/object:Gem::Version
141
- version: '2.7'
143
+ version: '3.0'
142
144
  required_rubygems_version: !ruby/object:Gem::Requirement
143
145
  requirements:
144
146
  - - ">="
145
147
  - !ruby/object:Gem::Version
146
148
  version: '0'
147
149
  requirements: []
148
- rubygems_version: 3.6.2
150
+ rubygems_version: 3.6.3
149
151
  specification_version: 4
150
152
  summary: Google Cloud NetApp Volumes is a fully-managed, cloud-based data storage
151
153
  service that provides advanced data management capabilities and highly scalable