mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Bump version to 1.0.9; update JSON schemas; add new APIs
This commit is contained in:
@@ -317,7 +317,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Output only.\nThe resource name of the instance, in the format\nprojects/{project_id}/locations/{location_id}/instances/{instance_id}.",
|
||||
"description": "Output only. The resource name of the instance, in the format\nprojects/{project_id}/locations/{location_id}/instances/{instance_id}.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
|
||||
"required": true,
|
||||
@@ -471,7 +471,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190312",
|
||||
"revision": "20190627",
|
||||
"rootUrl": "https://file.googleapis.com/",
|
||||
"schemas": {
|
||||
"CancelOperationRequest": {
|
||||
@@ -502,12 +502,262 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudSaasacceleratorManagementProvidersV1Instance": {
|
||||
"description": "Instance represents the interface for SLM services to actuate the state\nof control plane resources.\n\nExample Instance in JSON, where\n consumer-project=snapchat,\n producer-project=cloud-sql:\n\n```json\nInstance:\n{\n \"name\":\n \"projects/snapchat/locations/us-east1/instances/prod-instance\",\n \"create_time\": {\n \"seconds\": 1526406431,\n },\n \"labels\": {\n \"env\": \"prod\",\n \"foo\": \"bar\"\n },\n \"state\": READY,\n \"software_versions\": {\n \"software_update\": \"cloud-sql-09-28-2018\",\n },\n \"maintenance_policy_names\": {\n \"UpdatePolicy\":\n \"projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-policy\",\n }\n \"rollout_metadata\": {\n \"projects/cloud-sql/locations/global/rolloutTypes/software_update\": {\n \"release\":\n \"projects/cloud-sql/locations/global/releases/cloud-sql-09-28-2018\",\n \"rollout\":\n \"projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-28-2018-canary\",\n },\n \"projects/cloud-sql/locations/global/rolloutTypes/instance_restart\": {\n \"release\":\n \"projects/cloud-sql/locations/global/releases/cloud-sql-09-20-repair\",\n \"rollout\":\n \"projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-20-repair-100-percent\",\n }\n }\n \"tenant_project_id\": \"cloud-sql-test-tenant\",\n \"producer_metadata\": {\n \"cloud-sql-tier\": \"basic\",\n \"cloud-sql-instance-size\": \"1G\",\n },\n \"provisioned_resources\": [\n {\n \"resource-type\": \"compute-instance\",\n \"resource-url\":\n \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\",\n }\n ],\n \"maintenance_schedules\": {\n \"csa_rollout\": {\n \"start_time\": {\n \"seconds\": 1526406431,\n },\n \"end_time\": {\n \"seconds\": 1535406431,\n },\n },\n \"ncsa_rollout\": {\n \"start_time\": {\n \"seconds\": 1526406431,\n },\n \"end_time\": {\n \"seconds\": 1535406431,\n },\n }\n }\n}\n```",
|
||||
"id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance",
|
||||
"properties": {
|
||||
"createTime": {
|
||||
"description": "Output only. Timestamp when the resource was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"labels": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Optional. Resource labels to represent user provided metadata. Each label\nis a key-value pair, where both the key and the value are arbitrary strings\nprovided by the user.",
|
||||
"type": "object"
|
||||
},
|
||||
"maintenancePolicyNames": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "The MaintenancePolicies that have been attached to the instance.\nThe key must be of the type name of the oneof policy name defined in\nMaintenancePolicy, and the referenced policy must define the same policy\ntype. For complete details of MaintenancePolicy, please refer to\ngo/cloud-saas-mw-ug.",
|
||||
"type": "object"
|
||||
},
|
||||
"maintenanceSchedules": {
|
||||
"additionalProperties": {
|
||||
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule"
|
||||
},
|
||||
"description": "The MaintenanceSchedule contains the scheduling information of published\nmaintenance schedule.",
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "Unique name of the resource. It uses the form:\n `projects/{project_id}/locations/{location_id}/instances/{instance_id}`",
|
||||
"type": "string"
|
||||
},
|
||||
"producerMetadata": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Output only. Custom string attributes used primarily to expose\nproducer-specific information in monitoring dashboards.\nSee go/get-instance-metadata.",
|
||||
"type": "object"
|
||||
},
|
||||
"provisionedResources": {
|
||||
"description": "Output only. The list of data plane resources provisioned for this\ninstance, e.g. compute VMs. See go/get-instance-metadata.",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"rolloutMetadata": {
|
||||
"additionalProperties": {
|
||||
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata"
|
||||
},
|
||||
"description": "The map between RolloutType and the corresponding RolloutMetadata.\nThis is only mutated by rollout service. For actuation implementation,\nthis information is pass-through for Rollout management. Producer shall\nnot modify by itself.\nFor update of a single entry in this map, the update field mask shall\nfollow this sementics: go/advanced-field-masks",
|
||||
"type": "object"
|
||||
},
|
||||
"sloMetadata": {
|
||||
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata",
|
||||
"description": "Output only. SLO metadata for instance classification in the\nStandardized dataplane SLO platform.\nSee go/cloud-ssa-standard-slo for feature description."
|
||||
},
|
||||
"softwareVersions": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Software versions that are used to deploy this instance. This can be\nmutated by rollout services.",
|
||||
"type": "object"
|
||||
},
|
||||
"state": {
|
||||
"description": "Output only. Current lifecycle state of the resource (e.g. if it's being\ncreated or ready to use).",
|
||||
"enum": [
|
||||
"STATE_UNSPECIFIED",
|
||||
"CREATING",
|
||||
"READY",
|
||||
"UPDATING",
|
||||
"REPAIRING",
|
||||
"DELETING"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Unspecified state.",
|
||||
"Instance is being created.",
|
||||
"Instance has been created and is ready to use.",
|
||||
"Instance is being updated.",
|
||||
"Instance is unheathy and under repair.",
|
||||
"Instance is being deleted."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"tenantProjectId": {
|
||||
"description": "Output only. ID of the associated GCP tenant project.\nSee go/get-instance-metadata.",
|
||||
"type": "string"
|
||||
},
|
||||
"updateTime": {
|
||||
"description": "Output only. Timestamp when the resource was last modified.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": {
|
||||
"description": "Maintenance schedule which is exposed to customer and potentially end user,\nindicating published upcoming future maintenance schedule",
|
||||
"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule",
|
||||
"properties": {
|
||||
"canReschedule": {
|
||||
"description": "Can this scheduled update be rescheduled?\nBy default, it's true and API needs to do explicitly check whether it's\nset, if it's set as false explicitly, it's false",
|
||||
"type": "boolean"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "The scheduled end time for the maintenance.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"description": "The scheduled start time for the maintenance.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"properties": {
|
||||
"exclusions": {
|
||||
"description": "By default node is eligible if instance is eligible.\nBut individual node might be excluded from SLO by adding entry here.\nFor semantic see SloMetadata.exclusions.\nIf both instance and node level exclusions are present for time period,\nthe node level's reason will be reported by Eligibility Exporter.",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"location": {
|
||||
"description": "The location of the node, if different from instance location.",
|
||||
"type": "string"
|
||||
},
|
||||
"nodeId": {
|
||||
"description": "The id of the node.\nThis should be equal to SaasInstanceNode.node_id.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata": {
|
||||
"description": "NotificationMetadata is the notification state for an instance.",
|
||||
"id": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata",
|
||||
"properties": {
|
||||
"rescheduled": {
|
||||
"description": "Whether the instance update has been rescheduled.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"scheduledEndTime": {
|
||||
"description": "The scheduled end time for the maintenance window during which update\ncan be performed on the instance.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"scheduledStartTime": {
|
||||
"description": "The scheduled start time for the maintenance window during which\nupdate can be performed on the instance.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"targetRelease": {
|
||||
"description": "The target release to be applied to the instance.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": {
|
||||
"description": "Describes provisioned dataplane resources.",
|
||||
"id": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource",
|
||||
"properties": {
|
||||
"resourceType": {
|
||||
"description": "Type of the resource. This can be either a GCP resource or a custom one\n(e.g. another cloud provider's VM). For GCP compute resources use singular\nform of the names listed in GCP compute API documentation\n(https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with\n'compute-', for example: 'compute-instance', 'compute-disk',\n'compute-autoscaler'.",
|
||||
"type": "string"
|
||||
},
|
||||
"resourceUrl": {
|
||||
"description": "URL identifying the resource, e.g.\n\"https://www.googleapis.com/compute/v1/projects/...)\".",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata": {
|
||||
"description": "RolloutMetadata for an actuation instance. It maps to a single RolloutType.",
|
||||
"id": "GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata",
|
||||
"properties": {
|
||||
"notification": {
|
||||
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata",
|
||||
"description": "Instance level notification metadata."
|
||||
},
|
||||
"releaseName": {
|
||||
"description": "The last Release that has been applied to the instance.",
|
||||
"type": "string"
|
||||
},
|
||||
"rolloutName": {
|
||||
"description": "The last rollout that has been applied to the instance.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": {
|
||||
"description": "SloExclusion represents an excusion in SLI calculation applies to all SLOs.",
|
||||
"id": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion",
|
||||
"properties": {
|
||||
"exclusionDuration": {
|
||||
"description": "Exclusion duration. No restrictions on the possible values.\n\nWhen an ongoing operation is taking longer than initially expected,\nan existing entry in the exclusion list can be updated by extending the\nduration. This is supported by the subsystem exporting eligibility data\nas long as such extension is committed at least 10 minutes before the\noriginal exclusion expiration - otherwise it is possible that there will\nbe \"gaps\" in the exclusion application in the exported timeseries.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
"exclusionStartTime": {
|
||||
"description": "Start time of the exclusion. No alignment (e.g. to a full minute) needed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Human-readable reason for the exclusion.\nThis should be a static string (e.g. \"Disruptive update in progress\")\nand should not contain dynamically generated data (e.g. instance name).\nCan be left empty.",
|
||||
"type": "string"
|
||||
},
|
||||
"sliName": {
|
||||
"description": "Name of an SLI that this exclusion applies to. Can be left empty,\nsignaling that the instance should be excluded from all SLIs defined\nin the service SLO configuration.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": {
|
||||
"description": "SloMetadata contains resources required for proper SLO classification of the\ninstance.",
|
||||
"id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata",
|
||||
"properties": {
|
||||
"exclusions": {
|
||||
"description": "List of SLO exclusion windows. When multiple entries in the list match\n(matching the exclusion time-window against current time point)\nthe exclusion reason used in the first matching entry will be published.\n\nIt is not needed to include expired exclusion in this list, as only the\ncurrently applicable exclusions are taken into account by the eligibility\nexporting subsystem (the historical state of exclusions will be reflected\nin the historically produced timeseries regardless of the current state).\n\nThis field can be used to mark the instance as temporary ineligible\nfor the purpose of SLO calculation. For permanent instance SLO exclusion,\na dedicated tier name can be used that does not have targets specified\nin the service SLO configuration.",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nodes": {
|
||||
"description": "Optional: list of nodes.\nSome producers need to use per-node metadata to calculate SLO.\nThis field allows such producers to publish per-node SLO meta data,\nwhich will be consumed by SSA Eligibility Exporter and published in the\nform of per node metric to Monarch.",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"tier": {
|
||||
"description": "Name of the SLO tier the Instance belongs to. This name will be expected to\nmatch the tiers specified in the service SLO configuration.\n\nField is mandatory and must not be empty.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Instance": {
|
||||
"description": "A Cloud Filestore instance.",
|
||||
"id": "Instance",
|
||||
"properties": {
|
||||
"createTime": {
|
||||
"description": "Output only.\nThe time when the instance was created.",
|
||||
"description": "Output only. The time when the instance was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -534,7 +784,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "Output only.\nThe resource name of the instance, in the format\nprojects/{project_id}/locations/{location_id}/instances/{instance_id}.",
|
||||
"description": "Output only. The resource name of the instance, in the format\nprojects/{project_id}/locations/{location_id}/instances/{instance_id}.",
|
||||
"type": "string"
|
||||
},
|
||||
"networks": {
|
||||
@@ -545,7 +795,7 @@
|
||||
"type": "array"
|
||||
},
|
||||
"state": {
|
||||
"description": "Output only.\nThe instance state.",
|
||||
"description": "Output only. The instance state.",
|
||||
"enum": [
|
||||
"STATE_UNSPECIFIED",
|
||||
"CREATING",
|
||||
@@ -565,7 +815,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"statusMessage": {
|
||||
"description": "Output only.\nAdditional information about the instance state, if available.",
|
||||
"description": "Output only. Additional information about the instance state, if available.",
|
||||
"type": "string"
|
||||
},
|
||||
"tier": {
|
||||
@@ -685,7 +935,7 @@
|
||||
"id": "NetworkConfig",
|
||||
"properties": {
|
||||
"ipAddresses": {
|
||||
"description": "Output only.\nIPv4 addresses in the format\n{octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format\n{block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.",
|
||||
"description": "Output only. IPv4 addresses in the format\n{octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format\n{block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block\n7}:{block 8}.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -711,7 +961,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"reservedIpRange": {
|
||||
"description": "A /29 CIDR block in one of the\n[internal IP address ranges](https://www.arin.net/knowledge/address_filters.html)\nthat identifies the range of IP addresses reserved for this\ninstance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify\ncan't overlap with either existing subnets or assigned IP address ranges\nfor other Cloud Filestore instances in the selected VPC network.",
|
||||
"description": "A /29 CIDR block in one of the\n[internal IP address\nranges](https://www.arin.net/knowledge/address_filters.html) that\nidentifies the range of IP addresses reserved for this instance. For\nexample, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can't overlap\nwith either existing subnets or assigned IP address ranges for other Cloud\nFilestore instances in the selected VPC network.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -738,7 +988,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.",
|
||||
"description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should be a resource name ending with `operations/{unique_id}`.",
|
||||
"type": "string"
|
||||
},
|
||||
"response": {
|
||||
@@ -790,7 +1040,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Status": {
|
||||
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error\nmessage, and error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
|
||||
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors).",
|
||||
"id": "Status",
|
||||
"properties": {
|
||||
"code": {
|
||||
|
||||
Reference in New Issue
Block a user