docs: update docs (#916)
* fix: re-run script
* test: fix noxfile
diff --git a/docs/dyn/redis_v1.projects.locations.instances.html b/docs/dyn/redis_v1.projects.locations.instances.html
index 012f2ec..9483b8a 100644
--- a/docs/dyn/redis_v1.projects.locations.instances.html
+++ b/docs/dyn/redis_v1.projects.locations.instances.html
@@ -128,28 +128,6 @@
The object takes the form of:
{ # A Google Cloud Redis instance.
- "displayName": "A String", # An arbitrary and optional user-provided name for the instance.
- "locationId": "A String", # 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.
- "reservedIpRange": "A String", # Optional. The CIDR range of internal addresses that are reserved for this
- # instance. If not provided, the service will choose an unused /29 block,
- # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
- # and non-overlapping with existing subnets in an authorized network.
- "currentLocationId": "A String", # Output only. The current zone where the Redis endpoint is placed. For Basic
- # Tier instances, this will always be the same as the location_id
- # provided by the user at creation time. For Standard Tier instances,
- # this can be either location_id or alternative_location_id and can
- # change after a failover event.
- "alternativeLocationId": "A String", # 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.
- "createTime": "A String", # Output only. The time the instance was created.
- "labels": { # Resource labels to represent user provided metadata
- "a_key": "A String",
- },
"statusMessage": "A String", # Output only. Additional information about the current status of this
# instance, if available.
"authorizedNetwork": "A String", # Optional. The full name of the Google Compute Engine
@@ -205,8 +183,30 @@
# * `REDIS_3_2` for Redis 3.2 compatibility
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
# * `REDIS_5_0` for Redis 5.0 compatibility
- "tier": "A String", # Required. The service tier of the instance.
"memorySizeGb": 42, # Required. Redis memory size in GiB.
+ "tier": "A String", # Required. The service tier of the instance.
+ "displayName": "A String", # An arbitrary and optional user-provided name for the instance.
+ "locationId": "A String", # 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.
+ "reservedIpRange": "A String", # Optional. The CIDR range of internal addresses that are reserved for this
+ # instance. If not provided, the service will choose an unused /29 block,
+ # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
+ # and non-overlapping with existing subnets in an authorized network.
+ "currentLocationId": "A String", # Output only. The current zone where the Redis endpoint is placed. For Basic
+ # Tier instances, this will always be the same as the location_id
+ # provided by the user at creation time. For Standard Tier instances,
+ # this can be either location_id or alternative_location_id and can
+ # change after a failover event.
+ "alternativeLocationId": "A String", # 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.
+ "createTime": "A String", # Output only. The time the instance was created.
+ "labels": { # Resource labels to represent user provided metadata
+ "a_key": "A String",
+ },
}
instanceId: string, Required. The logical name of the Redis instance in the customer project
@@ -227,6 +227,16 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
+ "response": { # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
@@ -237,16 +247,16 @@
#
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
"details": [ # A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
},
"metadata": { # {
#
@@ -270,16 +280,6 @@
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
- "response": { # The normal response of the operation in case of success. If the original
- # method returns no data on success, such as `Delete`, the response is
- # `google.protobuf.Empty`. If the original method is standard
- # `Get`/`Create`/`Update`, the response should be the resource. For other
- # methods, the response should have the type `XxxResponse`, where `Xxx`
- # is the original method name. For example, if the original method name
- # is `TakeSnapshot()`, the inferred response type is
- # `TakeSnapshotResponse`.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
}</pre>
</div>
@@ -302,6 +302,16 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
+ "response": { # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
@@ -312,16 +322,16 @@
#
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
"details": [ # A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
},
"metadata": { # {
#
@@ -345,16 +355,6 @@
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
- "response": { # The normal response of the operation in case of success. If the original
- # method returns no data on success, such as `Delete`, the response is
- # `google.protobuf.Empty`. If the original method is standard
- # `Get`/`Create`/`Update`, the response should be the resource. For other
- # methods, the response should have the type `XxxResponse`, where `Xxx`
- # is the original method name. For example, if the original method name
- # is `TakeSnapshot()`, the inferred response type is
- # `TakeSnapshotResponse`.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
}</pre>
</div>
@@ -393,6 +393,16 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
+ "response": { # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
@@ -403,16 +413,16 @@
#
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
"details": [ # A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
},
"metadata": { # {
#
@@ -436,16 +446,6 @@
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
- "response": { # The normal response of the operation in case of success. If the original
- # method returns no data on success, such as `Delete`, the response is
- # `google.protobuf.Empty`. If the original method is standard
- # `Get`/`Create`/`Update`, the response should be the resource. For other
- # methods, the response should have the type `XxxResponse`, where `Xxx`
- # is the original method name. For example, if the original method name
- # is `TakeSnapshot()`, the inferred response type is
- # `TakeSnapshotResponse`.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
}</pre>
</div>
@@ -476,6 +476,16 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
+ "response": { # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
@@ -486,16 +496,16 @@
#
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
"details": [ # A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
},
"metadata": { # {
#
@@ -519,16 +529,6 @@
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
- "response": { # The normal response of the operation in case of success. If the original
- # method returns no data on success, such as `Delete`, the response is
- # `google.protobuf.Empty`. If the original method is standard
- # `Get`/`Create`/`Update`, the response should be the resource. For other
- # methods, the response should have the type `XxxResponse`, where `Xxx`
- # is the original method name. For example, if the original method name
- # is `TakeSnapshot()`, the inferred response type is
- # `TakeSnapshotResponse`.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
}</pre>
</div>
@@ -549,28 +549,6 @@
An object of the form:
{ # A Google Cloud Redis instance.
- "displayName": "A String", # An arbitrary and optional user-provided name for the instance.
- "locationId": "A String", # 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.
- "reservedIpRange": "A String", # Optional. The CIDR range of internal addresses that are reserved for this
- # instance. If not provided, the service will choose an unused /29 block,
- # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
- # and non-overlapping with existing subnets in an authorized network.
- "currentLocationId": "A String", # Output only. The current zone where the Redis endpoint is placed. For Basic
- # Tier instances, this will always be the same as the location_id
- # provided by the user at creation time. For Standard Tier instances,
- # this can be either location_id or alternative_location_id and can
- # change after a failover event.
- "alternativeLocationId": "A String", # 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.
- "createTime": "A String", # Output only. The time the instance was created.
- "labels": { # Resource labels to represent user provided metadata
- "a_key": "A String",
- },
"statusMessage": "A String", # Output only. Additional information about the current status of this
# instance, if available.
"authorizedNetwork": "A String", # Optional. The full name of the Google Compute Engine
@@ -626,8 +604,30 @@
# * `REDIS_3_2` for Redis 3.2 compatibility
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
# * `REDIS_5_0` for Redis 5.0 compatibility
- "tier": "A String", # Required. The service tier of the instance.
"memorySizeGb": 42, # Required. Redis memory size in GiB.
+ "tier": "A String", # Required. The service tier of the instance.
+ "displayName": "A String", # An arbitrary and optional user-provided name for the instance.
+ "locationId": "A String", # 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.
+ "reservedIpRange": "A String", # Optional. The CIDR range of internal addresses that are reserved for this
+ # instance. If not provided, the service will choose an unused /29 block,
+ # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
+ # and non-overlapping with existing subnets in an authorized network.
+ "currentLocationId": "A String", # Output only. The current zone where the Redis endpoint is placed. For Basic
+ # Tier instances, this will always be the same as the location_id
+ # provided by the user at creation time. For Standard Tier instances,
+ # this can be either location_id or alternative_location_id and can
+ # change after a failover event.
+ "alternativeLocationId": "A String", # 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.
+ "createTime": "A String", # Output only. The time the instance was created.
+ "labels": { # Resource labels to represent user provided metadata
+ "a_key": "A String",
+ },
}</pre>
</div>
@@ -667,6 +667,16 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
+ "response": { # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
@@ -677,16 +687,16 @@
#
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
"details": [ # A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
},
"metadata": { # {
#
@@ -710,16 +720,6 @@
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
- "response": { # The normal response of the operation in case of success. If the original
- # method returns no data on success, such as `Delete`, the response is
- # `google.protobuf.Empty`. If the original method is standard
- # `Get`/`Create`/`Update`, the response should be the resource. For other
- # methods, the response should have the type `XxxResponse`, where `Xxx`
- # is the original method name. For example, if the original method name
- # is `TakeSnapshot()`, the inferred response type is
- # `TakeSnapshotResponse`.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
}</pre>
</div>
@@ -757,6 +757,11 @@
An object of the form:
{ # Response for ListInstances.
+ "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more
+ # results in the list.
+ "unreachable": [ # Locations that could not be reached.
+ "A String",
+ ],
"instances": [ # A list of Redis instances in the project in the specified location,
# or across all locations.
#
@@ -768,28 +773,6 @@
# the `status` field set to ERROR and `status_message` field set to "location
# not available for ListInstances".
{ # A Google Cloud Redis instance.
- "displayName": "A String", # An arbitrary and optional user-provided name for the instance.
- "locationId": "A String", # 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.
- "reservedIpRange": "A String", # Optional. The CIDR range of internal addresses that are reserved for this
- # instance. If not provided, the service will choose an unused /29 block,
- # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
- # and non-overlapping with existing subnets in an authorized network.
- "currentLocationId": "A String", # Output only. The current zone where the Redis endpoint is placed. For Basic
- # Tier instances, this will always be the same as the location_id
- # provided by the user at creation time. For Standard Tier instances,
- # this can be either location_id or alternative_location_id and can
- # change after a failover event.
- "alternativeLocationId": "A String", # 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.
- "createTime": "A String", # Output only. The time the instance was created.
- "labels": { # Resource labels to represent user provided metadata
- "a_key": "A String",
- },
"statusMessage": "A String", # Output only. Additional information about the current status of this
# instance, if available.
"authorizedNetwork": "A String", # Optional. The full name of the Google Compute Engine
@@ -845,15 +828,32 @@
# * `REDIS_3_2` for Redis 3.2 compatibility
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
# * `REDIS_5_0` for Redis 5.0 compatibility
- "tier": "A String", # Required. The service tier of the instance.
"memorySizeGb": 42, # Required. Redis memory size in GiB.
+ "tier": "A String", # Required. The service tier of the instance.
+ "displayName": "A String", # An arbitrary and optional user-provided name for the instance.
+ "locationId": "A String", # 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.
+ "reservedIpRange": "A String", # Optional. The CIDR range of internal addresses that are reserved for this
+ # instance. If not provided, the service will choose an unused /29 block,
+ # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
+ # and non-overlapping with existing subnets in an authorized network.
+ "currentLocationId": "A String", # Output only. The current zone where the Redis endpoint is placed. For Basic
+ # Tier instances, this will always be the same as the location_id
+ # provided by the user at creation time. For Standard Tier instances,
+ # this can be either location_id or alternative_location_id and can
+ # change after a failover event.
+ "alternativeLocationId": "A String", # 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.
+ "createTime": "A String", # Output only. The time the instance was created.
+ "labels": { # Resource labels to represent user provided metadata
+ "a_key": "A String",
+ },
},
],
- "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more
- # results in the list.
- "unreachable": [ # Locations that could not be reached.
- "A String",
- ],
}</pre>
</div>
@@ -893,28 +893,6 @@
The object takes the form of:
{ # A Google Cloud Redis instance.
- "displayName": "A String", # An arbitrary and optional user-provided name for the instance.
- "locationId": "A String", # 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.
- "reservedIpRange": "A String", # Optional. The CIDR range of internal addresses that are reserved for this
- # instance. If not provided, the service will choose an unused /29 block,
- # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
- # and non-overlapping with existing subnets in an authorized network.
- "currentLocationId": "A String", # Output only. The current zone where the Redis endpoint is placed. For Basic
- # Tier instances, this will always be the same as the location_id
- # provided by the user at creation time. For Standard Tier instances,
- # this can be either location_id or alternative_location_id and can
- # change after a failover event.
- "alternativeLocationId": "A String", # 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.
- "createTime": "A String", # Output only. The time the instance was created.
- "labels": { # Resource labels to represent user provided metadata
- "a_key": "A String",
- },
"statusMessage": "A String", # Output only. Additional information about the current status of this
# instance, if available.
"authorizedNetwork": "A String", # Optional. The full name of the Google Compute Engine
@@ -970,8 +948,30 @@
# * `REDIS_3_2` for Redis 3.2 compatibility
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
# * `REDIS_5_0` for Redis 5.0 compatibility
- "tier": "A String", # Required. The service tier of the instance.
"memorySizeGb": 42, # Required. Redis memory size in GiB.
+ "tier": "A String", # Required. The service tier of the instance.
+ "displayName": "A String", # An arbitrary and optional user-provided name for the instance.
+ "locationId": "A String", # 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.
+ "reservedIpRange": "A String", # Optional. The CIDR range of internal addresses that are reserved for this
+ # instance. If not provided, the service will choose an unused /29 block,
+ # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
+ # and non-overlapping with existing subnets in an authorized network.
+ "currentLocationId": "A String", # Output only. The current zone where the Redis endpoint is placed. For Basic
+ # Tier instances, this will always be the same as the location_id
+ # provided by the user at creation time. For Standard Tier instances,
+ # this can be either location_id or alternative_location_id and can
+ # change after a failover event.
+ "alternativeLocationId": "A String", # 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.
+ "createTime": "A String", # Output only. The time the instance was created.
+ "labels": { # Resource labels to represent user provided metadata
+ "a_key": "A String",
+ },
}
updateMask: string, Required. Mask of fields to update. At least one path must be supplied in
@@ -992,6 +992,16 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
+ "response": { # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
@@ -1002,16 +1012,16 @@
#
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
"details": [ # A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
},
"metadata": { # {
#
@@ -1035,16 +1045,6 @@
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
- "response": { # The normal response of the operation in case of success. If the original
- # method returns no data on success, such as `Delete`, the response is
- # `google.protobuf.Empty`. If the original method is standard
- # `Get`/`Create`/`Update`, the response should be the resource. For other
- # methods, the response should have the type `XxxResponse`, where `Xxx`
- # is the original method name. For example, if the original method name
- # is `TakeSnapshot()`, the inferred response type is
- # `TakeSnapshotResponse`.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
}</pre>
</div>
@@ -1074,6 +1074,16 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
+ "response": { # The normal response of the operation in case of success. If the original
+ # method returns no data on success, such as `Delete`, the response is
+ # `google.protobuf.Empty`. If the original method is standard
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
+ # is the original method name. For example, if the original method name
+ # is `TakeSnapshot()`, the inferred response type is
+ # `TakeSnapshotResponse`.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
"name": "A String", # The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/{unique_id}`.
@@ -1084,16 +1094,16 @@
#
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
+ "code": 42, # The status code, which should be an enum value of google.rpc.Code.
+ "message": "A String", # A developer-facing error message, which should be in English. Any
+ # user-facing error message should be localized and sent in the
+ # google.rpc.Status.details field, or localized by the client.
"details": [ # A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
{
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
],
- "code": 42, # The status code, which should be an enum value of google.rpc.Code.
- "message": "A String", # A developer-facing error message, which should be in English. Any
- # user-facing error message should be localized and sent in the
- # google.rpc.Status.details field, or localized by the client.
},
"metadata": { # {
#
@@ -1117,16 +1127,6 @@
"done": True or False, # If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
- "response": { # The normal response of the operation in case of success. If the original
- # method returns no data on success, such as `Delete`, the response is
- # `google.protobuf.Empty`. If the original method is standard
- # `Get`/`Create`/`Update`, the response should be the resource. For other
- # methods, the response should have the type `XxxResponse`, where `Xxx`
- # is the original method name. For example, if the original method name
- # is `TakeSnapshot()`, the inferred response type is
- # `TakeSnapshotResponse`.
- "a_key": "", # Properties of the object. Contains field @type with type URL.
- },
}</pre>
</div>