Skip to content

Commit

Permalink
feat(redis): update the api
Browse files Browse the repository at this point in the history
#### redis:v1beta1

The following keys were added:
- schemas.GoogleCloudCommonOperationMetadata.properties.apiVersion.readOnly (Total Keys: 1)
- schemas.GoogleCloudCommonOperationMetadata.properties.cancelRequested.readOnly (Total Keys: 1)
- schemas.GoogleCloudCommonOperationMetadata.properties.createTime.readOnly (Total Keys: 1)
- schemas.GoogleCloudCommonOperationMetadata.properties.endTime.readOnly (Total Keys: 1)
- schemas.GoogleCloudCommonOperationMetadata.properties.statusDetail.readOnly (Total Keys: 1)
- schemas.GoogleCloudCommonOperationMetadata.properties.target.readOnly (Total Keys: 1)
- schemas.GoogleCloudCommonOperationMetadata.properties.verb.readOnly (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jul 6, 2021
1 parent 34f369f commit 46102d1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 19 deletions.
8 changes: 4 additions & 4 deletions docs/dyn/redis_v1.projects.locations.instances.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # A Google Cloud Redis instance.
{ # A Google Cloud Redis instance. next id = 30
&quot;alternativeLocationId&quot;: &quot;A String&quot;, # Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in location_id.
&quot;authEnabled&quot;: True or False, # Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to &quot;true&quot; AUTH is enabled on the instance. Default value is &quot;false&quot; meaning AUTH is disabled.
&quot;authorizedNetwork&quot;: &quot;A String&quot;, # Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
Expand Down Expand Up @@ -355,7 +355,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A Google Cloud Redis instance.
{ # A Google Cloud Redis instance. next id = 30
&quot;alternativeLocationId&quot;: &quot;A String&quot;, # Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in location_id.
&quot;authEnabled&quot;: True or False, # Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to &quot;true&quot; AUTH is enabled on the instance. Default value is &quot;false&quot; meaning AUTH is disabled.
&quot;authorizedNetwork&quot;: &quot;A String&quot;, # Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
Expand Down Expand Up @@ -499,7 +499,7 @@ <h3>Method Details</h3>

{ # Response for ListInstances.
&quot;instances&quot;: [ # A list of Redis instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is &quot;-&quot;, all regions available to the project are queried, and the results aggregated. If in such an aggregated query a location is unavailable, a placeholder Redis entry is included in the response with the `name` field set to a value of the form `projects/{project_id}/locations/{location_id}/instances/`- and the `status` field set to ERROR and `status_message` field set to &quot;location not available for ListInstances&quot;.
{ # A Google Cloud Redis instance.
{ # A Google Cloud Redis instance. next id = 30
&quot;alternativeLocationId&quot;: &quot;A String&quot;, # Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in location_id.
&quot;authEnabled&quot;: True or False, # Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to &quot;true&quot; AUTH is enabled on the instance. Default value is &quot;false&quot; meaning AUTH is disabled.
&quot;authorizedNetwork&quot;: &quot;A String&quot;, # Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
Expand Down Expand Up @@ -589,7 +589,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # A Google Cloud Redis instance.
{ # A Google Cloud Redis instance. next id = 30
&quot;alternativeLocationId&quot;: &quot;A String&quot;, # Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in location_id.
&quot;authEnabled&quot;: True or False, # Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to &quot;true&quot; AUTH is enabled on the instance. Default value is &quot;false&quot; meaning AUTH is disabled.
&quot;authorizedNetwork&quot;: &quot;A String&quot;, # Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
Expand Down
8 changes: 4 additions & 4 deletions docs/dyn/redis_v1beta1.projects.locations.instances.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # A Google Cloud Redis instance.
{ # A Google Cloud Redis instance. next id = 30
&quot;alternativeLocationId&quot;: &quot;A String&quot;, # Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in location_id.
&quot;authEnabled&quot;: True or False, # Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to &quot;true&quot; AUTH is enabled on the instance. Default value is &quot;false&quot; meaning AUTH is disabled.
&quot;authorizedNetwork&quot;: &quot;A String&quot;, # Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
Expand Down Expand Up @@ -355,7 +355,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A Google Cloud Redis instance.
{ # A Google Cloud Redis instance. next id = 30
&quot;alternativeLocationId&quot;: &quot;A String&quot;, # Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in location_id.
&quot;authEnabled&quot;: True or False, # Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to &quot;true&quot; AUTH is enabled on the instance. Default value is &quot;false&quot; meaning AUTH is disabled.
&quot;authorizedNetwork&quot;: &quot;A String&quot;, # Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
Expand Down Expand Up @@ -499,7 +499,7 @@ <h3>Method Details</h3>

{ # Response for ListInstances.
&quot;instances&quot;: [ # A list of Redis instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is &quot;-&quot;, all regions available to the project are queried, and the results aggregated. If in such an aggregated query a location is unavailable, a placeholder Redis entry is included in the response with the `name` field set to a value of the form `projects/{project_id}/locations/{location_id}/instances/`- and the `status` field set to ERROR and `status_message` field set to &quot;location not available for ListInstances&quot;.
{ # A Google Cloud Redis instance.
{ # A Google Cloud Redis instance. next id = 30
&quot;alternativeLocationId&quot;: &quot;A String&quot;, # Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in location_id.
&quot;authEnabled&quot;: True or False, # Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to &quot;true&quot; AUTH is enabled on the instance. Default value is &quot;false&quot; meaning AUTH is disabled.
&quot;authorizedNetwork&quot;: &quot;A String&quot;, # Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
Expand Down Expand Up @@ -589,7 +589,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # A Google Cloud Redis instance.
{ # A Google Cloud Redis instance. next id = 30
&quot;alternativeLocationId&quot;: &quot;A String&quot;, # Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in location_id.
&quot;authEnabled&quot;: True or False, # Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to &quot;true&quot; AUTH is enabled on the instance. Default value is &quot;false&quot; meaning AUTH is disabled.
&quot;authorizedNetwork&quot;: &quot;A String&quot;, # Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used.
Expand Down
4 changes: 2 additions & 2 deletions googleapiclient/discovery_cache/documents/redis.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@
}
}
},
"revision": "20210616",
"revision": "20210624",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"Empty": {
Expand Down Expand Up @@ -768,7 +768,7 @@
"type": "object"
},
"Instance": {
"description": "A Google Cloud Redis instance.",
"description": "A Google Cloud Redis instance. next id = 30",
"id": "Instance",
"properties": {
"alternativeLocationId": {
Expand Down
25 changes: 16 additions & 9 deletions googleapiclient/discovery_cache/documents/redis.v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@
}
}
},
"revision": "20210616",
"revision": "20210624",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"Empty": {
Expand Down Expand Up @@ -692,33 +692,40 @@
"id": "GoogleCloudCommonOperationMetadata",
"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 Expand Up @@ -768,7 +775,7 @@
"type": "object"
},
"Instance": {
"description": "A Google Cloud Redis instance.",
"description": "A Google Cloud Redis instance. next id = 30",
"id": "Instance",
"properties": {
"alternativeLocationId": {
Expand Down

0 comments on commit 46102d1

Please sign in to comment.