Skip to content

Commit 0b0e016

Browse files
chore(redis): update the api
1 parent 713c86c commit 0b0e016

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ <h3>Method Details</h3>
128128
body: object, The request body.
129129
The object takes the form of:
130130

131-
{ # A Google Cloud Redis instance. next id = 30
131+
{ # A Google Cloud Redis instance. next id = 36
132132
&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.
133133
&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.
134134
&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.
@@ -140,7 +140,7 @@ <h3>Method Details</h3>
140140
&quot;labels&quot;: { # Resource labels to represent user provided metadata
141141
&quot;a_key&quot;: &quot;A String&quot;,
142142
},
143-
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If alternative_location_id is also provided, it must be different from location_id.
143+
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
144144
&quot;maintenancePolicy&quot;: { # Maintenance policy for an instance. # Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
145145
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the policy was created.
146146
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
@@ -355,7 +355,7 @@ <h3>Method Details</h3>
355355
Returns:
356356
An object of the form:
357357

358-
{ # A Google Cloud Redis instance. next id = 30
358+
{ # A Google Cloud Redis instance. next id = 36
359359
&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.
360360
&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.
361361
&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.
@@ -367,7 +367,7 @@ <h3>Method Details</h3>
367367
&quot;labels&quot;: { # Resource labels to represent user provided metadata
368368
&quot;a_key&quot;: &quot;A String&quot;,
369369
},
370-
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If alternative_location_id is also provided, it must be different from location_id.
370+
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
371371
&quot;maintenancePolicy&quot;: { # Maintenance policy for an instance. # Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
372372
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the policy was created.
373373
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
@@ -499,7 +499,7 @@ <h3>Method Details</h3>
499499

500500
{ # Response for ListInstances.
501501
&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;.
502-
{ # A Google Cloud Redis instance. next id = 30
502+
{ # A Google Cloud Redis instance. next id = 36
503503
&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.
504504
&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.
505505
&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.
@@ -511,7 +511,7 @@ <h3>Method Details</h3>
511511
&quot;labels&quot;: { # Resource labels to represent user provided metadata
512512
&quot;a_key&quot;: &quot;A String&quot;,
513513
},
514-
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If alternative_location_id is also provided, it must be different from location_id.
514+
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
515515
&quot;maintenancePolicy&quot;: { # Maintenance policy for an instance. # Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
516516
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the policy was created.
517517
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
@@ -589,7 +589,7 @@ <h3>Method Details</h3>
589589
body: object, The request body.
590590
The object takes the form of:
591591

592-
{ # A Google Cloud Redis instance. next id = 30
592+
{ # A Google Cloud Redis instance. next id = 36
593593
&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.
594594
&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.
595595
&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.
@@ -601,7 +601,7 @@ <h3>Method Details</h3>
601601
&quot;labels&quot;: { # Resource labels to represent user provided metadata
602602
&quot;a_key&quot;: &quot;A String&quot;,
603603
},
604-
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If alternative_location_id is also provided, it must be different from location_id.
604+
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
605605
&quot;maintenancePolicy&quot;: { # Maintenance policy for an instance. # Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
606606
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the policy was created.
607607
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ <h3>Method Details</h3>
128128
body: object, The request body.
129129
The object takes the form of:
130130

131-
{ # A Google Cloud Redis instance. next id = 30
131+
{ # A Google Cloud Redis instance. next id = 36
132132
&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.
133133
&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.
134134
&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.
@@ -140,7 +140,7 @@ <h3>Method Details</h3>
140140
&quot;labels&quot;: { # Resource labels to represent user provided metadata
141141
&quot;a_key&quot;: &quot;A String&quot;,
142142
},
143-
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If alternative_location_id is also provided, it must be different from location_id.
143+
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
144144
&quot;maintenancePolicy&quot;: { # Maintenance policy for an instance. # Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
145145
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the policy was created.
146146
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
@@ -355,7 +355,7 @@ <h3>Method Details</h3>
355355
Returns:
356356
An object of the form:
357357

358-
{ # A Google Cloud Redis instance. next id = 30
358+
{ # A Google Cloud Redis instance. next id = 36
359359
&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.
360360
&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.
361361
&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.
@@ -367,7 +367,7 @@ <h3>Method Details</h3>
367367
&quot;labels&quot;: { # Resource labels to represent user provided metadata
368368
&quot;a_key&quot;: &quot;A String&quot;,
369369
},
370-
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If alternative_location_id is also provided, it must be different from location_id.
370+
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
371371
&quot;maintenancePolicy&quot;: { # Maintenance policy for an instance. # Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
372372
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the policy was created.
373373
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
@@ -499,7 +499,7 @@ <h3>Method Details</h3>
499499

500500
{ # Response for ListInstances.
501501
&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;.
502-
{ # A Google Cloud Redis instance. next id = 30
502+
{ # A Google Cloud Redis instance. next id = 36
503503
&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.
504504
&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.
505505
&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.
@@ -511,7 +511,7 @@ <h3>Method Details</h3>
511511
&quot;labels&quot;: { # Resource labels to represent user provided metadata
512512
&quot;a_key&quot;: &quot;A String&quot;,
513513
},
514-
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If alternative_location_id is also provided, it must be different from location_id.
514+
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
515515
&quot;maintenancePolicy&quot;: { # Maintenance policy for an instance. # Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
516516
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the policy was created.
517517
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
@@ -589,7 +589,7 @@ <h3>Method Details</h3>
589589
body: object, The request body.
590590
The object takes the form of:
591591

592-
{ # A Google Cloud Redis instance. next id = 30
592+
{ # A Google Cloud Redis instance. next id = 36
593593
&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.
594594
&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.
595595
&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.
@@ -601,7 +601,7 @@ <h3>Method Details</h3>
601601
&quot;labels&quot;: { # Resource labels to represent user provided metadata
602602
&quot;a_key&quot;: &quot;A String&quot;,
603603
},
604-
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If alternative_location_id is also provided, it must be different from location_id.
604+
&quot;locationId&quot;: &quot;A String&quot;, # Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, instances will be created across two zones for protection against zonal failures. If [alternative_location_id] is also provided, it must be different from [location_id].
605605
&quot;maintenancePolicy&quot;: { # Maintenance policy for an instance. # Optional. The maintenance policy for the instance. If not provided, maintenance events can be performed at any time.
606606
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the policy was created.
607607
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.

0 commit comments

Comments
 (0)