update all json files

This commit is contained in:
Sebastian Thiel
2020-04-12 18:55:37 +08:00
parent ea3b428364
commit aacc30f08d
260 changed files with 138411 additions and 26293 deletions

View File

@@ -22,6 +22,7 @@
},
"id": "redis:v1beta1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://redis.mtls.googleapis.com/",
"name": "redis",
"ownerDomain": "google.com",
"ownerName": "Google",
@@ -346,7 +347,7 @@
]
},
"list": {
"description": "Lists all Redis instances owned by a project in either the specified\nlocation (region) or all locations.\n\nThe location should have the following format:\n* `projects/{project_id}/locations/{location_id}`\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.",
"description": "Lists all Redis instances owned by a project in either the specified\nlocation (region) or all locations.\n\nThe location should have the following format:\n\n* `projects/{project_id}/locations/{location_id}`\n\nIf `location_id` is specified as `-` (wildcard), then all regions\navailable to the project are queried, and the results are aggregated.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances",
"httpMethod": "GET",
"id": "redis.projects.locations.instances.list",
@@ -355,13 +356,13 @@
],
"parameters": {
"pageSize": {
"description": "The maximum number of items to return.\n\nIf not specified, a default value of 1000 will be used by the service.\nRegardless of the page_size value, the response may include a partial list\nand a caller should only rely on response's\nnext_page_token\nto determine if there are more instances left to be queried.",
"description": "The maximum number of items to return.\n\nIf not specified, a default value of 1000 will be used by the service.\nRegardless of the page_size value, the response may include a partial list\nand a caller should only rely on response's\n`next_page_token`\nto determine if there are more instances left to be queried.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The next_page_token value returned from a previous List request,\nif any.",
"description": "The `next_page_token` value returned from a previous\nListInstances request, if any.",
"location": "query",
"type": "string"
},
@@ -391,7 +392,7 @@
],
"parameters": {
"name": {
"description": "Required. Unique name of the resource in this scope including project and\nlocation using the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`\n\nNote: Redis instances are managed and addressed at regional level so\nlocation_id here refers to a GCP region; however, users may choose which\nspecific zone (or collection of zones for cross-zone instances) an instance\nshould be provisioned in. Refer to [location_id] and\n[alternative_location_id] fields for more details.",
"description": "Required. Unique name of the resource in this scope including project and\nlocation using the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`\n\nNote: Redis instances are managed and addressed at regional level so\nlocation_id here refers to a GCP region; however, users may choose which\nspecific zone (or collection of zones for cross-zone instances) an instance\nshould be provisioned in. Refer to location_id and\nalternative_location_id fields for more details.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
@@ -414,6 +415,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"upgrade": {
"description": "Upgrades Redis instance to the newer Redis version specified in the\nrequest.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgrade",
"httpMethod": "POST",
"id": "redis.projects.locations.instances.upgrade",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Redis instance resource name using the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`\nwhere `location_id` refers to a GCP region.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:upgrade",
"request": {
"$ref": "UpgradeInstanceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
@@ -542,7 +571,7 @@
}
}
},
"revision": "20190628",
"revision": "20200402",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"Empty": {
@@ -689,20 +718,34 @@
"id": "Instance",
"properties": {
"alternativeLocationId": {
"description": "Optional. Only applicable to STANDARD_HA tier which protects the instance\nagainst zonal failures by provisioning it across two zones. If provided, it\nmust be a different zone from the one provided in [location_id].",
"description": "Optional. Only applicable to STANDARD_HA tier which protects the instance\nagainst zonal failures by provisioning it across two zones. If provided, it\nmust be a different zone from the one provided in location_id.",
"type": "string"
},
"authorizedNetwork": {
"description": "Optional. The full name of the Google Compute Engine\n[network](/compute/docs/networks-and-firewalls#networks) to which the\ninstance is connected. If left unspecified, the `default` network\nwill be used.",
"type": "string"
},
"connectMode": {
"description": "Optional. The network connect mode of the Redis instance.\nIf not provided, the connect mode defaults to DIRECT_PEERING.",
"enum": [
"CONNECT_MODE_UNSPECIFIED",
"DIRECT_PEERING",
"PRIVATE_SERVICE_ACCESS"
],
"enumDescriptions": [
"Not set.",
"Connect via direct peering to the Memorystore for Redis hosted service.",
"Connect your Memorystore for Redis instance using Private Services\nAccess. Private services access provides an IP address range for multiple\nGoogle Cloud services, including Memorystore."
],
"type": "string"
},
"createTime": {
"description": "Output only. The time the instance was created.",
"format": "google-datetime",
"type": "string"
},
"currentLocationId": {
"description": "Output only. The current zone where the Redis endpoint is placed. For Basic\nTier instances, this will always be the same as the [location_id]\nprovided by the user at creation time. For Standard Tier instances,\nthis can be either [location_id] or [alternative_location_id] and can\nchange after a failover event.",
"description": "Output only. The current zone where the Redis endpoint is placed. For Basic\nTier instances, this will always be the same as the location_id\nprovided by the user at creation time. For Standard Tier instances,\nthis can be either location_id or alternative_location_id and can\nchange after a failover event.",
"type": "string"
},
"displayName": {
@@ -721,7 +764,7 @@
"type": "object"
},
"locationId": {
"description": "Optional. The zone where the instance will be provisioned. If not provided,\nthe service will choose a zone for the instance. For STANDARD_HA tier,\ninstances will be created across two zones for protection against zonal\nfailures. If [alternative_location_id] is also provided, it must be\ndifferent from [location_id].",
"description": "Optional. The zone where the instance will be provisioned. If not provided,\nthe service will choose a zone for the instance. For STANDARD_HA tier,\ninstances will be created across two zones for protection against zonal\nfailures. If alternative_location_id is also provided, it must be\ndifferent from location_id.",
"type": "string"
},
"memorySizeGb": {
@@ -730,7 +773,7 @@
"type": "integer"
},
"name": {
"description": "Required. Unique name of the resource in this scope including project and\nlocation using the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`\n\nNote: Redis instances are managed and addressed at regional level so\nlocation_id here refers to a GCP region; however, users may choose which\nspecific zone (or collection of zones for cross-zone instances) an instance\nshould be provisioned in. Refer to [location_id] and\n[alternative_location_id] fields for more details.",
"description": "Required. Unique name of the resource in this scope including project and\nlocation using the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`\n\nNote: Redis instances are managed and addressed at regional level so\nlocation_id here refers to a GCP region; however, users may choose which\nspecific zone (or collection of zones for cross-zone instances) an instance\nshould be provisioned in. Refer to location_id and\nalternative_location_id fields for more details.",
"type": "string"
},
"persistenceIamIdentity": {
@@ -746,11 +789,11 @@
"additionalProperties": {
"type": "string"
},
"description": "Optional. Redis configuration parameters, according to\nhttp://redis.io/topics/config. Currently, the only supported parameters\nare:\n\n Redis 3.2 and above:\n\n * maxmemory-policy\n * notify-keyspace-events\n\n Redis 4.0 and above:\n\n * activedefrag\n * lfu-log-factor\n * lfu-decay-time",
"description": "Optional. Redis configuration parameters, according to\nhttp://redis.io/topics/config. Currently, the only supported parameters\nare:\n\n Redis version 3.2 and newer:\n\n * maxmemory-policy\n * notify-keyspace-events\n\n Redis version 4.0 and newer:\n\n * activedefrag\n * lfu-decay-time\n * lfu-log-factor\n * maxmemory-gb\n\n Redis version 5.0 and newer:\n\n * stream-node-max-bytes\n * stream-node-max-entries",
"type": "object"
},
"redisVersion": {
"description": "Optional. The version of Redis software.\nIf not provided, latest supported version will be used. Updating the\nversion will perform an upgrade/downgrade to the new version. Currently,\nthe supported values are:\n\n * `REDIS_4_0` for Redis 4.0 compatibility (default)\n * `REDIS_3_2` for Redis 3.2 compatibility",
"description": "Optional. The version of Redis software.\nIf not provided, latest supported version will be used. Currently, the\nsupported values are:\n\n * `REDIS_3_2` for Redis 3.2 compatibility\n * `REDIS_4_0` for Redis 4.0 compatibility (default)\n * `REDIS_5_0` for Redis 5.0 compatibility",
"type": "string"
},
"reservedIpRange": {
@@ -809,7 +852,7 @@
"id": "ListInstancesResponse",
"properties": {
"instances": {
"description": "A list of Redis instances in the project in the specified location,\nor across all locations.\n\nIf the `location_id` in the parent field of the request is \"-\", all regions\navailable to the project are queried, and the results aggregated.\nIf in such an aggregated query a location is unavailable, a dummy Redis\nentry is included in the response with the \"name\" field set to a value of\nthe form projects/{project_id}/locations/{location_id}/instances/- and the\n\"status\" field set to ERROR and \"status_message\" field set to \"location not\navailable for ListInstances\".",
"description": "A list of Redis instances in the project in the specified location,\nor across all locations.\n\nIf the `location_id` in the parent field of the request is \"-\", all regions\navailable to the project are queried, and the results aggregated.\nIf in such an aggregated query a location is unavailable, a dummy Redis\nentry is included in the response with the `name` field set to a value of\nthe form `projects/{project_id}/locations/{location_id}/instances/`- and\nthe `status` field set to ERROR and `status_message` field set to \"location\nnot available for ListInstances\".",
"items": {
"$ref": "Instance"
},
@@ -971,6 +1014,17 @@
}
},
"type": "object"
},
"UpgradeInstanceRequest": {
"description": "Request for UpgradeInstance.",
"id": "UpgradeInstanceRequest",
"properties": {
"redisVersion": {
"description": "Required. Specifies the target version of Redis software to upgrade to.",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "",