diff --git a/discovery/memcache-v1beta2.json b/discovery/memcache-v1beta2.json index e88f20fd844..2d5ae6b3b93 100644 --- a/discovery/memcache-v1beta2.json +++ b/discovery/memcache-v1beta2.json @@ -615,7 +615,7 @@ } } }, - "revision": "20200512", + "revision": "20200603", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { @@ -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" @@ -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", @@ -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": { @@ -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": { @@ -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": { @@ -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" @@ -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" }, diff --git a/src/apis/memcache/v1beta2.ts b/src/apis/memcache/v1beta2.ts index 8d56b4997d5..be9e2e8e188 100644 --- a/src/apis/memcache/v1beta2.ts +++ b/src/apis/memcache/v1beta2.ts @@ -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}` */ @@ -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. */ @@ -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; /** @@ -436,7 +449,7 @@ 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; /** @@ -444,7 +457,7 @@ export namespace memcache_v1beta2 { */ 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; /** @@ -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; /** @@ -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; }