@@ -51,18 +51,19 @@ message ListStoragePoolsRequest {
5151 }
5252 ];
5353
54- // The maximum number of items to return.
55- int32 page_size = 2 ;
54+ // Optional. The maximum number of items to return.
55+ int32 page_size = 2 [ (google.api .field_behavior ) = OPTIONAL ] ;
5656
57- // The next_page_token value to use if there are additional
57+ // Optional. The next_page_token value to use if there are additional
5858 // results to retrieve for this list request.
59- string page_token = 3 ;
59+ string page_token = 3 [ (google.api .field_behavior ) = OPTIONAL ] ;
6060
61- // Sort results. Supported values are "name", "name desc" or "" (unsorted).
62- string order_by = 4 ;
61+ // Optional. Sort results. Supported values are "name", "name desc" or ""
62+ // (unsorted).
63+ string order_by = 4 [(google.api.field_behavior ) = OPTIONAL ];
6364
64- // List filter.
65- string filter = 5 ;
65+ // Optional. List filter.
66+ string filter = 5 [ (google.api .field_behavior ) = OPTIONAL ] ;
6667}
6768
6869// ListStoragePoolsResponse is the response to a ListStoragePoolsRequest.
@@ -184,11 +185,11 @@ message StoragePool {
184185 google.protobuf.Timestamp create_time = 8
185186 [(google.api.field_behavior ) = OUTPUT_ONLY ];
186187
187- // Description of the storage pool
188- string description = 9 ;
188+ // Optional. Description of the storage pool
189+ string description = 9 [ (google.api .field_behavior ) = OPTIONAL ] ;
189190
190- // Labels as key value pairs
191- map <string , string > labels = 10 ;
191+ // Optional. Labels as key value pairs
192+ map <string , string > labels = 10 [ (google.api .field_behavior ) = OPTIONAL ] ;
192193
193194 // Required. VPC Network name.
194195 // Format: projects/{project}/global/networks/{network}
@@ -197,22 +198,29 @@ message StoragePool {
197198 (google.api.resource_reference ) = { type : "compute.googleapis.com/Network" }
198199 ];
199200
200- // Specifies the Active Directory to be used for creating a SMB volume.
201- string active_directory = 12 [(google.api.resource_reference ) = {
202- type : "netapp.googleapis.com/ActiveDirectory"
203- }];
201+ // Optional. Specifies the Active Directory to be used for creating a SMB
202+ // volume.
203+ string active_directory = 12 [
204+ (google.api.field_behavior ) = OPTIONAL ,
205+ (google.api.resource_reference ) = {
206+ type : "netapp.googleapis.com/ActiveDirectory"
207+ }
208+ ];
204209
205- // Specifies the KMS config to be used for volume encryption.
206- string kms_config = 13 [(google.api.resource_reference ) = {
207- type : "netapp.googleapis.com/KmsConfig"
208- }];
210+ // Optional. Specifies the KMS config to be used for volume encryption.
211+ string kms_config = 13 [
212+ (google.api.field_behavior ) = OPTIONAL ,
213+ (google.api.resource_reference ) = {
214+ type : "netapp.googleapis.com/KmsConfig"
215+ }
216+ ];
209217
210- // Flag indicating if the pool is NFS LDAP enabled or not.
211- bool ldap_enabled = 14 ;
218+ // Optional. Flag indicating if the pool is NFS LDAP enabled or not.
219+ bool ldap_enabled = 14 [ (google.api .field_behavior ) = OPTIONAL ] ;
212220
213- // Name of the Private Service Access allocated range. If
214- // not provided, any available range will be chosen .
215- string psa_range = 15 ;
221+ // Optional. This field is currently not implemented. Currently values
222+ // provided in this field will be ignored .
223+ string psa_range = 15 [ (google.api .field_behavior ) = OPTIONAL ] ;
216224
217225 // Output only. Specifies the current pool encryption key source.
218226 EncryptionType encryption_type = 16
0 commit comments