Skip to content

Commit

Permalink
feat(memcache): update the API
Browse files Browse the repository at this point in the history
#### memcache:v1beta2
The following keys were added:
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.maintenanceSettings.$ref
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1Instance.properties.maintenanceSettings.description
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.description
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.id
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.properties.exclude.description
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.properties.exclude.type
- schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.type

The following keys were changed:
- schemas.Instance.properties.authorizedNetwork.description
- schemas.Instance.properties.displayName.description
- schemas.Instance.properties.labels.description
- schemas.Instance.properties.memcacheVersion.description
- schemas.Instance.properties.zones.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 5, 2020
1 parent 63fb234 commit cca8a40
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 11 deletions.
27 changes: 21 additions & 6 deletions discovery/memcache-v1beta2.json
Expand Up @@ -615,7 +615,7 @@
}
}
},
"revision": "20200512",
"revision": "20200603",
"rootUrl": "https://memcache.googleapis.com/",
"schemas": {
"ApplyParametersRequest": {
Expand Down Expand Up @@ -825,6 +825,10 @@
"description": "The MaintenanceSchedule contains the scheduling information of published\nmaintenance schedule.",
"type": "object"
},
"maintenanceSettings": {
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings",
"description": "Optional. The MaintenanceSettings associated with instance."
},
"name": {
"description": "Unique name of the resource. It uses the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`",
"type": "string"
Expand Down Expand Up @@ -917,6 +921,17 @@
},
"type": "object"
},
"GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": {
"description": "Maintenance settings associated with instance. Allows service producers and\nend users to assign settings that controls maintenance on this instance.",
"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings",
"properties": {
"exclude": {
"description": "Optional. Exclude instance from maintenance. When true, rollout service will not\nattempt maintenance on the instance. Rollout service will include the\ninstance in reported rollout progress as not attempted.",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": {
"description": "Node information for custom per-node SLO implementations.\nSSA does not support per-node SLO, but producers can populate per-node\ninformation in SloMetadata for custom precomputations.\nSSA Eligibility Exporter will emit per-node metric based on this information.",
"id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata",
Expand Down Expand Up @@ -1027,7 +1042,7 @@
"id": "Instance",
"properties": {
"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.",
"description": "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"
},
"createTime": {
Expand All @@ -1040,7 +1055,7 @@
"type": "string"
},
"displayName": {
"description": "Optional. User provided name for the instance only used for display\npurposes. Cannot be more than 80 characters.",
"description": "User provided name for the instance only used for display\npurposes. Cannot be more than 80 characters.",
"type": "string"
},
"instanceMessages": {
Expand All @@ -1054,7 +1069,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Optional. Resource labels to represent user-provided metadata.\nRefer to cloud documentation on labels for more details.\nhttps://cloud.google.com/compute/docs/labeling-resources",
"description": "Resource labels to represent user-provided metadata.\nRefer to cloud documentation on labels for more details.\nhttps://cloud.google.com/compute/docs/labeling-resources",
"type": "object"
},
"memcacheFullVersion": {
Expand All @@ -1069,7 +1084,7 @@
"type": "array"
},
"memcacheVersion": {
"description": "Optional. The major version of Memcached software.\nIf not provided, latest supported version will be used. Currently the\nlatest supported major version is MEMCACHE_1_5.\nThe minor version will be automatically determined by our system based on\nthe latest supported minor version.",
"description": "The major version of Memcached software.\nIf not provided, latest supported version will be used. Currently the\nlatest supported major version is MEMCACHE_1_5.\nThe minor version will be automatically determined by our system based on\nthe latest supported minor version.",
"enum": [
"MEMCACHE_VERSION_UNSPECIFIED",
"MEMCACHE_1_5"
Expand Down Expand Up @@ -1121,7 +1136,7 @@
"type": "string"
},
"zones": {
"description": "Optional. Zones where Memcached nodes should be provisioned in.\nMemcached nodes will be equally distributed across these zones. If not\nprovided, the service will by default create nodes in all zones in the\nregion for the instance.",
"description": "Zones where Memcached nodes should be provisioned in.\nMemcached nodes will be equally distributed across these zones. If not\nprovided, the service will by default create nodes in all zones in the\nregion for the instance.",
"items": {
"type": "string"
},
Expand Down
23 changes: 18 additions & 5 deletions src/apis/memcache/v1beta2.ts
Expand Up @@ -279,6 +279,10 @@ export namespace memcache_v1beta2 {
key: string
]: Schema$GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule;
} | null;
/**
* Optional. The MaintenanceSettings associated with instance.
*/
maintenanceSettings?: Schema$GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings;
/**
* Unique name of the resource. It uses the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
*/
Expand Down Expand Up @@ -337,6 +341,15 @@ export namespace memcache_v1beta2 {
*/
startTime?: string | null;
}
/**
* Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.
*/
export interface Schema$GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings {
/**
* Optional. Exclude instance from maintenance. When true, rollout service will not attempt maintenance on the instance. Rollout service will include the instance in reported rollout progress as not attempted.
*/
exclude?: boolean | null;
}
/**
* Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.
*/
Expand Down Expand Up @@ -424,7 +437,7 @@ export namespace memcache_v1beta2 {
}
export interface Schema$Instance {
/**
* Optional. The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used.
* The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used.
*/
authorizedNetwork?: string | null;
/**
Expand All @@ -436,15 +449,15 @@ export namespace memcache_v1beta2 {
*/
discoveryEndpoint?: string | null;
/**
* Optional. User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
* User provided name for the instance only used for display purposes. Cannot be more than 80 characters.
*/
displayName?: string | null;
/**
* List of messages that describe current statuses of memcached instance.
*/
instanceMessages?: Schema$InstanceMessage[];
/**
* Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
* Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
*/
labels?: {[key: string]: string} | null;
/**
Expand All @@ -456,7 +469,7 @@ export namespace memcache_v1beta2 {
*/
memcacheNodes?: Schema$Node[];
/**
* Optional. The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.
* The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.
*/
memcacheVersion?: string | null;
/**
Expand Down Expand Up @@ -484,7 +497,7 @@ export namespace memcache_v1beta2 {
*/
updateTime?: string | null;
/**
* Optional. Zones where Memcached nodes should be provisioned in. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
* Zones where Memcached nodes should be provisioned in. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
*/
zones?: string[] | null;
}
Expand Down

0 comments on commit cca8a40

Please sign in to comment.