Skip to content

Commit

Permalink
feat(file): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Jul 20, 2021
1 parent 1c287d5 commit 0cd6277
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 17 deletions.
12 changes: 8 additions & 4 deletions docs/dyn/file_v1beta1.projects.locations.instances.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h3>Method Details</h3>
&quot;fileShares&quot;: [ # File system shares on the instance. For this version, only a single file share is supported.
{ # File share configuration for the instance.
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
&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).
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
{ # NFS export options specifications.
&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.
Expand All @@ -141,6 +141,7 @@ <h3>Method Details</h3>
&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}.
&quot;networks&quot;: [ # VPC networks to which the instance is connected. For this version, only a single network is supported.
{ # Network configuration for the instance.
&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.
&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}.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -243,7 +244,7 @@ <h3>Method Details</h3>
&quot;fileShares&quot;: [ # File system shares on the instance. For this version, only a single file share is supported.
{ # File share configuration for the instance.
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
&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).
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
{ # NFS export options specifications.
&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.
Expand All @@ -264,6 +265,7 @@ <h3>Method Details</h3>
&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}.
&quot;networks&quot;: [ # VPC networks to which the instance is connected. For this version, only a single network is supported.
{ # Network configuration for the instance.
&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.
&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}.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -308,7 +310,7 @@ <h3>Method Details</h3>
&quot;fileShares&quot;: [ # File system shares on the instance. For this version, only a single file share is supported.
{ # File share configuration for the instance.
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
&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).
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
{ # NFS export options specifications.
&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.
Expand All @@ -329,6 +331,7 @@ <h3>Method Details</h3>
&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}.
&quot;networks&quot;: [ # VPC networks to which the instance is connected. For this version, only a single network is supported.
{ # Network configuration for the instance.
&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.
&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}.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -382,7 +385,7 @@ <h3>Method Details</h3>
&quot;fileShares&quot;: [ # File system shares on the instance. For this version, only a single file share is supported.
{ # File share configuration for the instance.
&quot;capacityGb&quot;: &quot;A String&quot;, # File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
&quot;name&quot;: &quot;A String&quot;, # The name of the file share (must be 16 characters or less).
&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).
&quot;nfsExportOptions&quot;: [ # Nfs Export Options. There is a limit of 10 export options per file share.
{ # NFS export options specifications.
&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.
Expand All @@ -403,6 +406,7 @@ <h3>Method Details</h3>
&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}.
&quot;networks&quot;: [ # VPC networks to which the instance is connected. For this version, only a single network is supported.
{ # Network configuration for the instance.
&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.
&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}.
&quot;A String&quot;,
],
Expand Down
55 changes: 42 additions & 13 deletions googleapiclient/discovery_cache/documents/file.v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@
}
}
},
"revision": "20210629",
"revision": "20210708",
"rootUrl": "https://file.googleapis.com/",
"schemas": {
"Backup": {
Expand Down Expand Up @@ -734,15 +734,17 @@
"PREMIUM",
"BASIC_HDD",
"BASIC_SSD",
"HIGH_SCALE_SSD"
"HIGH_SCALE_SSD",
"ENTERPRISE"
],
"enumDescriptions": [
"Not set.",
"STANDARD tier. BASIC_HDD is the preferred term for this tier.",
"PREMIUM tier. BASIC_SSD is the preferred term for this tier.",
"BASIC instances offer a maximum capacity of 63.9 TB. BASIC_HDD is an alias for STANDARD Tier, offering economical performance backed by HDD.",
"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.",
"HIGH_SCALE instances offer expanded capacity and performance scaling capabilities."
"HIGH_SCALE instances offer expanded capacity and performance scaling capabilities.",
"ENTERPRISE instances offer the features and availability needed for mission-critical workloads."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -854,7 +856,7 @@
"type": "string"
},
"name": {
"description": "The name of the file share (must be 16 characters or less).",
"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).",
"type": "string"
},
"nfsExportOptions": {
Expand Down Expand Up @@ -1052,6 +1054,10 @@
"nodeId": {
"description": "The id of the node. This should be equal to SaasInstanceNode.node_id.",
"type": "string"
},
"perSliEligibility": {
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility",
"description": "If present, this will override eligibility for the node coming from instance or exclusions for specified SLIs."
}
},
"type": "object"
Expand Down Expand Up @@ -1239,15 +1245,17 @@
"PREMIUM",
"BASIC_HDD",
"BASIC_SSD",
"HIGH_SCALE_SSD"
"HIGH_SCALE_SSD",
"ENTERPRISE"
],
"enumDescriptions": [
"Not set.",
"STANDARD tier. BASIC_HDD is the preferred term for this tier.",
"PREMIUM tier. BASIC_SSD is the preferred term for this tier.",
"BASIC instances offer a maximum capacity of 63.9 TB. BASIC_HDD is an alias for STANDARD Tier, offering economical performance backed by HDD.",
"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.",
"HIGH_SCALE instances offer expanded capacity and performance scaling capabilities."
"HIGH_SCALE instances offer expanded capacity and performance scaling capabilities.",
"ENTERPRISE instances offer the features and availability needed for mission-critical workloads."
],
"type": "string"
}
Expand Down Expand Up @@ -1443,6 +1451,20 @@
"description": "Network configuration for the instance.",
"id": "NetworkConfig",
"properties": {
"connectMode": {
"description": "The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.",
"enum": [
"CONNECT_MODE_UNSPECIFIED",
"DIRECT_PEERING",
"PRIVATE_SERVICE_ACCESS"
],
"enumDescriptions": [
"ConnectMode not set.",
"Connect via direct peering to the Filestore service.",
"Connect to your Filestore instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Filestore."
],
"type": "string"
},
"ipAddresses": {
"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}.",
"items": {
Expand Down Expand Up @@ -1569,33 +1591,40 @@
"id": "OperationMetadata",
"properties": {
"apiVersion": {
"description": "[Output only] API version used to start the operation.",
"description": "Output only. API version used to start the operation.",
"readOnly": true,
"type": "string"
},
"cancelRequested": {
"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`.",
"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`.",
"readOnly": true,
"type": "boolean"
},
"createTime": {
"description": "[Output only] The time the operation was created.",
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "[Output only] The time the operation finished running.",
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"statusDetail": {
"description": "[Output only] Human-readable status of the operation, if any.",
"description": "Output only. Human-readable status of the operation, if any.",
"readOnly": true,
"type": "string"
},
"target": {
"description": "[Output only] Server-defined resource path for the target of the operation.",
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "[Output only] Name of the verb executed by the operation.",
"description": "Output only. Name of the verb executed by the operation.",
"readOnly": true,
"type": "string"
}
},
Expand Down

0 comments on commit 0cd6277

Please sign in to comment.