Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #1859

Merged
merged 1 commit into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions androidmanagement/v1/androidmanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"enterprises": {
"methods": {
"create": {
"description": "Creates an enterprise. This is the last step in the enterprise signup flow.",
"description": "Creates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail",
"flatPath": "v1/enterprises",
"httpMethod": "POST",
"id": "androidmanagement.enterprises.create",
Expand Down Expand Up @@ -242,7 +242,7 @@
]
},
"patch": {
"description": "Updates an enterprise.",
"description": "Updates an enterprise. See also: SigninDetail",
"flatPath": "v1/enterprises/{enterprisesId}",
"httpMethod": "PATCH",
"id": "androidmanagement.enterprises.patch",
Expand Down Expand Up @@ -1065,7 +1065,7 @@
}
}
},
"revision": "20230119",
"revision": "20230213",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -2707,7 +2707,7 @@
"type": "array"
},
"enterpriseDisplayName": {
"description": "The name of the enterprise displayed to users.",
"description": "The name of the enterprise displayed to users. This field has a maximum length of 100 characters.",
"type": "string"
},
"logo": {
Expand Down
9 changes: 5 additions & 4 deletions androidmanagement/v1/androidmanagement-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,7 @@
"id": "contentwarehouse:v1",
"name": "contentwarehouse",
"version": "v1",
"title": "contentwarehouse API",
"title": "Document AI Warehouse API",
"description": "",
"discoveryRestUrl": "https://contentwarehouse.googleapis.com/$discovery/rest?version=v1",
"icons": {
Expand Down
137 changes: 132 additions & 5 deletions baremetalsolution/v2/baremetalsolution-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rename": {
"description": "RenameInstance sets a new name for an instance.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rename",
"httpMethod": "POST",
"id": "baremetalsolution.projects.locations.instances.rename",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}:rename",
"request": {
"$ref": "RenameInstanceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"reset": {
"description": "Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reset",
Expand Down Expand Up @@ -1089,6 +1117,34 @@
},
"volumes": {
"methods": {
"evict": {
"description": "Skips volume's cooloff and deletes it now. Volume must be in cooloff state.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}:evict",
"httpMethod": "POST",
"id": "baremetalsolution.projects.locations.volumes.evict",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the Volume.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}:evict",
"request": {
"$ref": "EvictVolumeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get details of a single storage volume.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}",
Expand Down Expand Up @@ -1221,6 +1277,34 @@
"resources": {
"luns": {
"methods": {
"evict": {
"description": "Skips lun's cooloff and deletes it now. Lun must be in cooloff state.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/luns/{lunsId}:evict",
"httpMethod": "POST",
"id": "baremetalsolution.projects.locations.volumes.luns.evict",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the lun.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/luns/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}:evict",
"request": {
"$ref": "EvictLunRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Get details of a single storage logical unit number(LUN).",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/luns/{lunsId}",
Expand Down Expand Up @@ -1437,7 +1521,7 @@
}
}
},
"revision": "20230113",
"revision": "20230206",
"rootUrl": "https://baremetalsolution.googleapis.com/",
"schemas": {
"AllowedClient": {
Expand Down Expand Up @@ -1524,6 +1608,18 @@
"properties": {},
"type": "object"
},
"EvictLunRequest": {
"description": "Request for skip lun cooloff and delete it.",
"id": "EvictLunRequest",
"properties": {},
"type": "object"
},
"EvictVolumeRequest": {
"description": "Request for skip volume cooloff and delete it.",
"id": "EvictVolumeRequest",
"properties": {},
"type": "object"
},
"FetchInstanceProvisioningSettingsResponse": {
"description": "Response with all provisioning settings.",
"id": "FetchInstanceProvisioningSettingsResponse",
Expand Down Expand Up @@ -2133,6 +2229,12 @@
"description": "Display if this LUN is a boot LUN.",
"type": "boolean"
},
"expireTime": {
"description": "Output only. Time after which LUN will be fully deleted. It is filled only for LUNs in COOL_OFF state.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"id": {
"description": "An identifier for the LUN, generated by the backend.",
"type": "string"
Expand Down Expand Up @@ -2170,14 +2272,16 @@
"CREATING",
"UPDATING",
"READY",
"DELETING"
"DELETING",
"COOL_OFF"
],
"enumDescriptions": [
"The LUN is in an unknown state.",
"The LUN is being created.",
"The LUN is being updated.",
"The LUN is ready for use.",
"The LUN has been requested to be deleted."
"The LUN has been requested to be deleted.",
"The LUN is in cool off state. It will be deleted after `expire_time`."
],
"type": "string"
},
Expand Down Expand Up @@ -2866,6 +2970,21 @@
},
"type": "object"
},
"RenameInstanceRequest": {
"description": "Message requesting rename of a server.",
"id": "RenameInstanceRequest",
"properties": {
"instance": {
"$ref": "Instance",
"description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}"
},
"name": {
"description": "Required. The new `name` of the instance. Format: {instancename}",
"type": "string"
}
},
"type": "object"
},
"ResetInstanceRequest": {
"description": "Message requesting to reset a server.",
"id": "ResetInstanceRequest",
Expand Down Expand Up @@ -3116,6 +3235,12 @@
"format": "int64",
"type": "string"
},
"expireTime": {
"description": "Output only. Time after which volume will be fully deleted. It is filled only for volumes in COOLOFF state.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"id": {
"description": "An identifier for the `Volume`, generated by the backend.",
"type": "string"
Expand Down Expand Up @@ -3226,14 +3351,16 @@
"CREATING",
"READY",
"DELETING",
"UPDATING"
"UPDATING",
"COOL_OFF"
],
"enumDescriptions": [
"The storage volume is in an unknown state.",
"The storage volume is being created.",
"The storage volume is ready for use.",
"The storage volume has been requested to be deleted.",
"The storage volume is being updated."
"The storage volume is being updated.",
"The storage volume is in cool off state. It will be deleted after `expire_time`."
],
"type": "string"
},
Expand Down
Loading