Skip to content

Commit 0cd6277

Browse files
feat(file): update the api
#### file:v1beta1 The following keys were added: - schemas.GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata.properties.perSliEligibility.$ref (Total Keys: 1) - schemas.NetworkConfig.properties.connectMode.type (Total Keys: 1) - schemas.OperationMetadata.properties.apiVersion.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.cancelRequested.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.createTime.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.endTime.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.statusDetail.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.target.readOnly (Total Keys: 1) - schemas.OperationMetadata.properties.verb.readOnly (Total Keys: 1)
1 parent 1c287d5 commit 0cd6277

File tree

2 files changed

+50
-17
lines changed

2 files changed

+50
-17
lines changed

docs/dyn/file_v1beta1.projects.locations.instances.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h3>Method Details</h3>
120120
&quot;fileShares&quot;: [ # File system shares on the instance. For this version, only a single file share is supported.
121121
{ # File share configuration for the instance.
122122
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
123-
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
123+
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 32 characters or less for High Scale SSD tier, 16 characters or less for all other tiers).
124124
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
125125
{ # NFS export options specifications.
126126
&quot;accessMode&quot;: &quot;A String&quot;, # Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
@@ -141,6 +141,7 @@ <h3>Method Details</h3>
141141
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.
142142
&quot;networks&quot;: [ # VPC networks to which the instance is connected. For this version, only a single network is supported.
143143
{ # Network configuration for the instance.
144+
&quot;connectMode&quot;: &quot;A String&quot;, # The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
144145
&quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.
145146
&quot;A String&quot;,
146147
],
@@ -243,7 +244,7 @@ <h3>Method Details</h3>
243244
&quot;fileShares&quot;: [ # File system shares on the instance. For this version, only a single file share is supported.
244245
{ # File share configuration for the instance.
245246
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
246-
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
247+
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 32 characters or less for High Scale SSD tier, 16 characters or less for all other tiers).
247248
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
248249
{ # NFS export options specifications.
249250
&quot;accessMode&quot;: &quot;A String&quot;, # Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
@@ -264,6 +265,7 @@ <h3>Method Details</h3>
264265
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.
265266
&quot;networks&quot;: [ # VPC networks to which the instance is connected. For this version, only a single network is supported.
266267
{ # Network configuration for the instance.
268+
&quot;connectMode&quot;: &quot;A String&quot;, # The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
267269
&quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.
268270
&quot;A String&quot;,
269271
],
@@ -308,7 +310,7 @@ <h3>Method Details</h3>
308310
&quot;fileShares&quot;: [ # File system shares on the instance. For this version, only a single file share is supported.
309311
{ # File share configuration for the instance.
310312
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
311-
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
313+
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 32 characters or less for High Scale SSD tier, 16 characters or less for all other tiers).
312314
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
313315
{ # NFS export options specifications.
314316
&quot;accessMode&quot;: &quot;A String&quot;, # Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
@@ -329,6 +331,7 @@ <h3>Method Details</h3>
329331
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.
330332
&quot;networks&quot;: [ # VPC networks to which the instance is connected. For this version, only a single network is supported.
331333
{ # Network configuration for the instance.
334+
&quot;connectMode&quot;: &quot;A String&quot;, # The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
332335
&quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.
333336
&quot;A String&quot;,
334337
],
@@ -382,7 +385,7 @@ <h3>Method Details</h3>
382385
&quot;fileShares&quot;: [ # File system shares on the instance. For this version, only a single file share is supported.
383386
{ # File share configuration for the instance.
384387
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
385-
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
388+
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 32 characters or less for High Scale SSD tier, 16 characters or less for all other tiers).
386389
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
387390
{ # NFS export options specifications.
388391
&quot;accessMode&quot;: &quot;A String&quot;, # Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
@@ -403,6 +406,7 @@ <h3>Method Details</h3>
403406
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.
404407
&quot;networks&quot;: [ # VPC networks to which the instance is connected. For this version, only a single network is supported.
405408
{ # Network configuration for the instance.
409+
&quot;connectMode&quot;: &quot;A String&quot;, # The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
406410
&quot;ipAddresses&quot;: [ # Output only. IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.
407411
&quot;A String&quot;,
408412
],

googleapiclient/discovery_cache/documents/file.v1beta1.json

Lines changed: 42 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@
672672
}
673673
}
674674
},
675-
"revision": "20210629",
675+
"revision": "20210708",
676676
"rootUrl": "https://file.googleapis.com/",
677677
"schemas": {
678678
"Backup": {
@@ -734,15 +734,17 @@
734734
"PREMIUM",
735735
"BASIC_HDD",
736736
"BASIC_SSD",
737-
"HIGH_SCALE_SSD"
737+
"HIGH_SCALE_SSD",
738+
"ENTERPRISE"
738739
],
739740
"enumDescriptions": [
740741
"Not set.",
741742
"STANDARD tier. BASIC_HDD is the preferred term for this tier.",
742743
"PREMIUM tier. BASIC_SSD is the preferred term for this tier.",
743744
"BASIC instances offer a maximum capacity of 63.9 TB. BASIC_HDD is an alias for STANDARD Tier, offering economical performance backed by HDD.",
744745
"BASIC instances offer a maximum capacity of 63.9 TB. BASIC_SSD is an alias for PREMIUM Tier, and offers improved performance backed by SSD.",
745-
"HIGH_SCALE instances offer expanded capacity and performance scaling capabilities."
746+
"HIGH_SCALE instances offer expanded capacity and performance scaling capabilities.",
747+
"ENTERPRISE instances offer the features and availability needed for mission-critical workloads."
746748
],
747749
"readOnly": true,
748750
"type": "string"
@@ -854,7 +856,7 @@
854856
"type": "string"
855857
},
856858
"name": {
857-
"description": "The name of the file share (must be 16 characters or less).",
859+
"description": "The name of the file share (must be 32 characters or less for High Scale SSD tier, 16 characters or less for all other tiers).",
858860
"type": "string"
859861
},
860862
"nfsExportOptions": {
@@ -1052,6 +1054,10 @@
10521054
"nodeId": {
10531055
"description": "The id of the node. This should be equal to SaasInstanceNode.node_id.",
10541056
"type": "string"
1057+
},
1058+
"perSliEligibility": {
1059+
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility",
1060+
"description": "If present, this will override eligibility for the node coming from instance or exclusions for specified SLIs."
10551061
}
10561062
},
10571063
"type": "object"
@@ -1239,15 +1245,17 @@
12391245
"PREMIUM",
12401246
"BASIC_HDD",
12411247
"BASIC_SSD",
1242-
"HIGH_SCALE_SSD"
1248+
"HIGH_SCALE_SSD",
1249+
"ENTERPRISE"
12431250
],
12441251
"enumDescriptions": [
12451252
"Not set.",
12461253
"STANDARD tier. BASIC_HDD is the preferred term for this tier.",
12471254
"PREMIUM tier. BASIC_SSD is the preferred term for this tier.",
12481255
"BASIC instances offer a maximum capacity of 63.9 TB. BASIC_HDD is an alias for STANDARD Tier, offering economical performance backed by HDD.",
12491256
"BASIC instances offer a maximum capacity of 63.9 TB. BASIC_SSD is an alias for PREMIUM Tier, and offers improved performance backed by SSD.",
1250-
"HIGH_SCALE instances offer expanded capacity and performance scaling capabilities."
1257+
"HIGH_SCALE instances offer expanded capacity and performance scaling capabilities.",
1258+
"ENTERPRISE instances offer the features and availability needed for mission-critical workloads."
12511259
],
12521260
"type": "string"
12531261
}
@@ -1443,6 +1451,20 @@
14431451
"description": "Network configuration for the instance.",
14441452
"id": "NetworkConfig",
14451453
"properties": {
1454+
"connectMode": {
1455+
"description": "The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.",
1456+
"enum": [
1457+
"CONNECT_MODE_UNSPECIFIED",
1458+
"DIRECT_PEERING",
1459+
"PRIVATE_SERVICE_ACCESS"
1460+
],
1461+
"enumDescriptions": [
1462+
"ConnectMode not set.",
1463+
"Connect via direct peering to the Filestore service.",
1464+
"Connect to your Filestore instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Filestore."
1465+
],
1466+
"type": "string"
1467+
},
14461468
"ipAddresses": {
14471469
"description": "Output only. IPv4 addresses in the format {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.",
14481470
"items": {
@@ -1569,33 +1591,40 @@
15691591
"id": "OperationMetadata",
15701592
"properties": {
15711593
"apiVersion": {
1572-
"description": "[Output only] API version used to start the operation.",
1594+
"description": "Output only. API version used to start the operation.",
1595+
"readOnly": true,
15731596
"type": "string"
15741597
},
15751598
"cancelRequested": {
1576-
"description": "[Output only] Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1599+
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1600+
"readOnly": true,
15771601
"type": "boolean"
15781602
},
15791603
"createTime": {
1580-
"description": "[Output only] The time the operation was created.",
1604+
"description": "Output only. The time the operation was created.",
15811605
"format": "google-datetime",
1606+
"readOnly": true,
15821607
"type": "string"
15831608
},
15841609
"endTime": {
1585-
"description": "[Output only] The time the operation finished running.",
1610+
"description": "Output only. The time the operation finished running.",
15861611
"format": "google-datetime",
1612+
"readOnly": true,
15871613
"type": "string"
15881614
},
15891615
"statusDetail": {
1590-
"description": "[Output only] Human-readable status of the operation, if any.",
1616+
"description": "Output only. Human-readable status of the operation, if any.",
1617+
"readOnly": true,
15911618
"type": "string"
15921619
},
15931620
"target": {
1594-
"description": "[Output only] Server-defined resource path for the target of the operation.",
1621+
"description": "Output only. Server-defined resource path for the target of the operation.",
1622+
"readOnly": true,
15951623
"type": "string"
15961624
},
15971625
"verb": {
1598-
"description": "[Output only] Name of the verb executed by the operation.",
1626+
"description": "Output only. Name of the verb executed by the operation.",
1627+
"readOnly": true,
15991628
"type": "string"
16001629
}
16011630
},

0 commit comments

Comments
 (0)