Skip to content

Commit

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

The following keys were added:
- schemas.Instance.properties.nodes (Total Keys: 3)
- schemas.Instance.properties.readEndpoint (Total Keys: 5)
- schemas.Instance.properties.readReplicasMode.type (Total Keys: 1)
- schemas.Instance.properties.replicaCount (Total Keys: 2)
- schemas.NodeInfo (Total Keys: 6)

#### redis:v1beta1

The following keys were added:
- schemas.Instance.properties.nodes (Total Keys: 3)
- schemas.Instance.properties.readEndpoint (Total Keys: 5)
- schemas.Instance.properties.readReplicasMode.type (Total Keys: 1)
- schemas.Instance.properties.replicaCount (Total Keys: 2)
- schemas.NodeInfo (Total Keys: 6)
  • Loading branch information
yoshi-automation committed Oct 12, 2021
1 parent 9986ff7 commit 5e0bac1
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 2 deletions.
40 changes: 40 additions & 0 deletions docs/dyn/redis_v1.projects.locations.instances.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,22 @@ <h3>Method Details</h3>
},
&quot;memorySizeGb&quot;: 42, # Required. Redis memory size in GiB.
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details.
&quot;nodes&quot;: [ # Output only. Info per node.
{ # Node specific properties.
&quot;id&quot;: &quot;A String&quot;, # Output only. Output Only. Node identifying string. e.g. &#x27;node-0&#x27;, &#x27;node-1&#x27;
&quot;zone&quot;: &quot;A String&quot;, # Output only. Output Only. Location of the node.
},
],
&quot;persistenceIamIdentity&quot;: &quot;A String&quot;, # Output only. Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is &quot;serviceAccount:&quot;. The value may change over time for a given instance so should be checked before each import/export operation.
&quot;port&quot;: 42, # Output only. The port number of the exposed Redis endpoint.
&quot;readEndpoint&quot;: &quot;A String&quot;, # Output only. Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target &#x27;host&#x27;.
&quot;readEndpointPort&quot;: 42, # Output only. The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target &#x27;port&#x27;.
&quot;readReplicasMode&quot;: &quot;A String&quot;, # Optional. Read replica mode.
&quot;redisConfigs&quot;: { # Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `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 * `REDIS_6_X` for Redis 6.x compatibility
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes. Valid range for standard tier is [1-5] and defaults to 1. Valid value for basic tier is 0 and defaults to 0.
&quot;reservedIpRange&quot;: &quot;A String&quot;, # Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29.
&quot;serverCaCerts&quot;: [ # Output only. List of server CA certificates for the instance.
{ # TlsCertificate Resource
Expand Down Expand Up @@ -393,12 +403,22 @@ <h3>Method Details</h3>
},
&quot;memorySizeGb&quot;: 42, # Required. Redis memory size in GiB.
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details.
&quot;nodes&quot;: [ # Output only. Info per node.
{ # Node specific properties.
&quot;id&quot;: &quot;A String&quot;, # Output only. Output Only. Node identifying string. e.g. &#x27;node-0&#x27;, &#x27;node-1&#x27;
&quot;zone&quot;: &quot;A String&quot;, # Output only. Output Only. Location of the node.
},
],
&quot;persistenceIamIdentity&quot;: &quot;A String&quot;, # Output only. Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is &quot;serviceAccount:&quot;. The value may change over time for a given instance so should be checked before each import/export operation.
&quot;port&quot;: 42, # Output only. The port number of the exposed Redis endpoint.
&quot;readEndpoint&quot;: &quot;A String&quot;, # Output only. Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target &#x27;host&#x27;.
&quot;readEndpointPort&quot;: 42, # Output only. The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target &#x27;port&#x27;.
&quot;readReplicasMode&quot;: &quot;A String&quot;, # Optional. Read replica mode.
&quot;redisConfigs&quot;: { # Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `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 * `REDIS_6_X` for Redis 6.x compatibility
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes. Valid range for standard tier is [1-5] and defaults to 1. Valid value for basic tier is 0 and defaults to 0.
&quot;reservedIpRange&quot;: &quot;A String&quot;, # Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29.
&quot;serverCaCerts&quot;: [ # Output only. List of server CA certificates for the instance.
{ # TlsCertificate Resource
Expand Down Expand Up @@ -537,12 +557,22 @@ <h3>Method Details</h3>
},
&quot;memorySizeGb&quot;: 42, # Required. Redis memory size in GiB.
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details.
&quot;nodes&quot;: [ # Output only. Info per node.
{ # Node specific properties.
&quot;id&quot;: &quot;A String&quot;, # Output only. Output Only. Node identifying string. e.g. &#x27;node-0&#x27;, &#x27;node-1&#x27;
&quot;zone&quot;: &quot;A String&quot;, # Output only. Output Only. Location of the node.
},
],
&quot;persistenceIamIdentity&quot;: &quot;A String&quot;, # Output only. Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is &quot;serviceAccount:&quot;. The value may change over time for a given instance so should be checked before each import/export operation.
&quot;port&quot;: 42, # Output only. The port number of the exposed Redis endpoint.
&quot;readEndpoint&quot;: &quot;A String&quot;, # Output only. Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target &#x27;host&#x27;.
&quot;readEndpointPort&quot;: 42, # Output only. The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target &#x27;port&#x27;.
&quot;readReplicasMode&quot;: &quot;A String&quot;, # Optional. Read replica mode.
&quot;redisConfigs&quot;: { # Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `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 * `REDIS_6_X` for Redis 6.x compatibility
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes. Valid range for standard tier is [1-5] and defaults to 1. Valid value for basic tier is 0 and defaults to 0.
&quot;reservedIpRange&quot;: &quot;A String&quot;, # Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29.
&quot;serverCaCerts&quot;: [ # Output only. List of server CA certificates for the instance.
{ # TlsCertificate Resource
Expand Down Expand Up @@ -627,12 +657,22 @@ <h3>Method Details</h3>
},
&quot;memorySizeGb&quot;: 42, # Required. Redis memory size in GiB.
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details.
&quot;nodes&quot;: [ # Output only. Info per node.
{ # Node specific properties.
&quot;id&quot;: &quot;A String&quot;, # Output only. Output Only. Node identifying string. e.g. &#x27;node-0&#x27;, &#x27;node-1&#x27;
&quot;zone&quot;: &quot;A String&quot;, # Output only. Output Only. Location of the node.
},
],
&quot;persistenceIamIdentity&quot;: &quot;A String&quot;, # Output only. Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is &quot;serviceAccount:&quot;. The value may change over time for a given instance so should be checked before each import/export operation.
&quot;port&quot;: 42, # Output only. The port number of the exposed Redis endpoint.
&quot;readEndpoint&quot;: &quot;A String&quot;, # Output only. Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes will exhibit some lag behind the primary. Write requests must target &#x27;host&#x27;.
&quot;readEndpointPort&quot;: 42, # Output only. The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target &#x27;port&#x27;.
&quot;readReplicasMode&quot;: &quot;A String&quot;, # Optional. Read replica mode.
&quot;redisConfigs&quot;: { # Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `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 * `REDIS_6_X` for Redis 6.x compatibility
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes. Valid range for standard tier is [1-5] and defaults to 1. Valid value for basic tier is 0 and defaults to 0.
&quot;reservedIpRange&quot;: &quot;A String&quot;, # Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29.
&quot;serverCaCerts&quot;: [ # Output only. List of server CA certificates for the instance.
{ # TlsCertificate Resource
Expand Down
Loading

0 comments on commit 5e0bac1

Please sign in to comment.