{
  "rootUrl": "https://geminicloudassist.googleapis.com/",
  "documentationLink": "https://cloud.google.com/gemini",
  "ownerDomain": "google.com",
  "baseUrl": "https://geminicloudassist.googleapis.com/",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/cloud-platform": {
          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
        }
      }
    }
  },
  "title": "Gemini Cloud Assist API",
  "canonicalName": "Gemini Cloud Assist",
  "fullyEncodeReservedExpansion": true,
  "name": "geminicloudassist",
  "parameters": {
    "alt": {
      "location": "query",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "default": "json",
      "type": "string",
      "description": "Data format for response."
    },
    "uploadType": {
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "location": "query"
    },
    "callback": {
      "type": "string",
      "location": "query",
      "description": "JSONP"
    },
    "quotaUser": {
      "location": "query",
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
      "type": "string"
    },
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "key": {
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
      "location": "query",
      "type": "string"
    },
    "access_token": {
      "description": "OAuth access token.",
      "location": "query",
      "type": "string"
    },
    "fields": {
      "location": "query",
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response."
    },
    "prettyPrint": {
      "description": "Returns response with indentations and line breaks.",
      "default": "true",
      "location": "query",
      "type": "boolean"
    },
    "$.xgafv": {
      "location": "query",
      "type": "string",
      "description": "V1 error format.",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "enum": [
        "1",
        "2"
      ]
    },
    "upload_protocol": {
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "location": "query"
    }
  },
  "protocol": "rest",
  "ownerName": "Google",
  "mtlsRootUrl": "https://geminicloudassist.mtls.googleapis.com/",
  "revision": "20261022",
  "discoveryVersion": "v1",
  "servicePath": "",
  "resources": {
    "organizations": {
      "resources": {
        "locations": {
          "methods": {
            "getAgentAdminSettings": {
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "httpMethod": "GET",
              "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/agentAdminSettings",
              "id": "geminicloudassist.organizations.locations.getAgentAdminSettings",
              "description": "Gets the AgentAdminSettings for an organization.",
              "path": "v1alpha/{+name}",
              "parameters": {
                "name": {
                  "location": "path",
                  "description": "Required. Name of the resource. Format: organizations/{organization}/locations/{location}/agentAdminSettings",
                  "required": true,
                  "type": "string",
                  "pattern": "^organizations/[^/]+/locations/[^/]+/agentAdminSettings$"
                }
              },
              "response": {
                "$ref": "AgentAdminSettings"
              },
              "parameterOrder": [
                "name"
              ]
            },
            "updateAgentAdminSettings": {
              "parameters": {
                "name": {
                  "required": true,
                  "description": "Identifier. Name of the AgentAdminSettings singleton resource. Format: organizations/{organization}/locations/{location}/agentAdminSettings",
                  "pattern": "^organizations/[^/]+/locations/[^/]+/agentAdminSettings$",
                  "location": "path",
                  "type": "string"
                },
                "updateMask": {
                  "format": "google-fieldmask",
                  "type": "string",
                  "description": "Optional. The list of fields to update.",
                  "location": "query"
                }
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "request": {
                "$ref": "AgentAdminSettings"
              },
              "id": "geminicloudassist.organizations.locations.updateAgentAdminSettings",
              "description": "Updates the AgentAdminSettings for an organization.",
              "parameterOrder": [
                "name"
              ],
              "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/agentAdminSettings",
              "response": {
                "$ref": "AgentAdminSettings"
              },
              "path": "v1alpha/{+name}",
              "httpMethod": "PATCH"
            }
          }
        }
      }
    },
    "projects": {
      "resources": {
        "locations": {
          "resources": {
            "operations": {
              "methods": {
                "delete": {
                  "path": "v1alpha/{+name}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "parameters": {
                    "name": {
                      "description": "The name of the operation resource to be deleted.",
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
                  "httpMethod": "DELETE",
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "id": "geminicloudassist.projects.locations.operations.delete"
                },
                "cancel": {
                  "response": {
                    "$ref": "Empty"
                  },
                  "parameters": {
                    "name": {
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "description": "The name of the operation resource to be cancelled.",
                      "required": true
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "POST",
                  "path": "v1alpha/{+name}:cancel",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
                  "request": {
                    "$ref": "CancelOperationRequest"
                  },
                  "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
                  "id": "geminicloudassist.projects.locations.operations.cancel",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "get": {
                  "id": "geminicloudassist.projects.locations.operations.get",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "description": "The name of the operation resource."
                    }
                  },
                  "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
                  "response": {
                    "$ref": "Operation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "path": "v1alpha/{+name}",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "httpMethod": "GET",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "list": {
                  "id": "geminicloudassist.projects.locations.operations.list",
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "ListOperationsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations",
                  "parameters": {
                    "returnPartialSuccess": {
                      "location": "query",
                      "type": "boolean",
                      "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation."
                    },
                    "filter": {
                      "type": "string",
                      "description": "The standard list filter.",
                      "location": "query"
                    },
                    "pageToken": {
                      "type": "string",
                      "description": "The standard list page token.",
                      "location": "query"
                    },
                    "name": {
                      "location": "path",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "required": true,
                      "description": "The name of the operation's parent resource."
                    },
                    "pageSize": {
                      "format": "int32",
                      "description": "The standard list page size.",
                      "location": "query",
                      "type": "integer"
                    }
                  },
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1alpha/{+name}/operations"
                }
              }
            },
            "investigations": {
              "methods": {
                "patch": {
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}",
                  "path": "v1alpha/{+name}",
                  "id": "geminicloudassist.projects.locations.investigations.patch",
                  "description": "Deprecated: Investigations should only be modified by the agent. Updates the parameters of a single Investigation.",
                  "parameters": {
                    "requestId": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000)."
                    },
                    "updateMask": {
                      "type": "string",
                      "description": "Optional. Field mask is used to specify the fields to be overwritten in the Investigation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.",
                      "location": "query",
                      "format": "google-fieldmask"
                    },
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+$",
                      "description": "Identifier. Name of the investigation, of the form: projects/{project_number}/locations/{location_id}/investigations/{investigation_id}",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "deprecated": true,
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "PATCH",
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "Investigation"
                  },
                  "response": {
                    "$ref": "Investigation"
                  }
                },
                "get": {
                  "path": "v1alpha/{+name}",
                  "id": "geminicloudassist.projects.locations.investigations.get",
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "Investigation"
                  },
                  "parameters": {
                    "name": {
                      "type": "string",
                      "location": "path",
                      "description": "Required. Name of the resource",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+$"
                    }
                  },
                  "description": "Gets details of a single Investigation.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "GET",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}"
                },
                "testIamPermissions": {
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}:testIamPermissions",
                  "id": "geminicloudassist.projects.locations.investigations.testIamPermissions",
                  "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "resource"
                  ],
                  "parameters": {
                    "resource": {
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+$",
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field."
                    }
                  },
                  "path": "v1alpha/{+resource}:testIamPermissions",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ]
                },
                "delete": {
                  "response": {
                    "$ref": "Empty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "DELETE",
                  "path": "v1alpha/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "id": "geminicloudassist.projects.locations.investigations.delete",
                  "description": "Deletes a single Investigation.",
                  "parameters": {
                    "name": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+$",
                      "description": "Required. Name of the resource",
                      "required": true,
                      "type": "string"
                    },
                    "requestId": {
                      "location": "query",
                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                      "type": "string"
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}"
                },
                "getIamPolicy": {
                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
                  "parameters": {
                    "resource": {
                      "type": "string",
                      "required": true,
                      "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+$"
                    },
                    "options.requestedPolicyVersion": {
                      "type": "integer",
                      "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
                      "location": "query",
                      "format": "int32"
                    }
                  },
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}:getIamPolicy",
                  "path": "v1alpha/{+resource}:getIamPolicy",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "response": {
                    "$ref": "Policy"
                  },
                  "id": "geminicloudassist.projects.locations.investigations.getIamPolicy",
                  "httpMethod": "GET",
                  "parameterOrder": [
                    "resource"
                  ]
                },
                "list": {
                  "response": {
                    "$ref": "ListInvestigationsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "GET",
                  "description": "Lists Investigations in a given project and location.",
                  "path": "v1alpha/{+parent}/investigations",
                  "id": "geminicloudassist.projects.locations.investigations.list",
                  "parameters": {
                    "pageToken": {
                      "description": "Optional. A token identifying a page of results the server should return.",
                      "location": "query",
                      "type": "string"
                    },
                    "pageSize": {
                      "format": "int32",
                      "type": "integer",
                      "location": "query",
                      "description": "Optional. Requested number of items to return. Server may return fewer items than requested. If unspecified, server will pick an appropriate default."
                    },
                    "parent": {
                      "location": "path",
                      "description": "Required. The parent to return Investigations for. Within the parent, the location must be set to \"global\".",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "type": "string"
                    },
                    "filter": {
                      "description": "Optional. A string limiting the results that are returned.",
                      "location": "query",
                      "type": "string"
                    },
                    "orderBy": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. A string indicating how the returned results should be ordered."
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations"
                },
                "setIamPolicy": {
                  "parameterOrder": [
                    "resource"
                  ],
                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
                  "response": {
                    "$ref": "Policy"
                  },
                  "path": "v1alpha/{+resource}:setIamPolicy",
                  "httpMethod": "POST",
                  "id": "geminicloudassist.projects.locations.investigations.setIamPolicy",
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}:setIamPolicy",
                  "parameters": {
                    "resource": {
                      "required": true,
                      "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+$",
                      "type": "string"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  }
                },
                "create": {
                  "deprecated": true,
                  "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations",
                  "parameters": {
                    "validateOnly": {
                      "type": "boolean",
                      "description": "Optional. If true, only validate the request and do not create the investigation.",
                      "location": "query"
                    },
                    "requestId": {
                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                      "location": "query",
                      "type": "string"
                    },
                    "investigationId": {
                      "description": "Optional. ID to use for the investigation, which will become the final component of the investigation's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. If not provided, the server will generate a unique ID for the investigation.",
                      "location": "query",
                      "type": "string"
                    },
                    "parent": {
                      "type": "string",
                      "description": "Required. Value for parent. Location must be set to \"global\".",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "id": "geminicloudassist.projects.locations.investigations.create",
                  "description": "Deprecated: Investigations should only be created by the agent. Creates a new Investigation in a given project.",
                  "path": "v1alpha/{+parent}/investigations",
                  "request": {
                    "$ref": "Investigation"
                  },
                  "response": {
                    "$ref": "Investigation"
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "POST"
                }
              },
              "resources": {
                "revisions": {
                  "methods": {
                    "delete": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}/revisions/{revisionsId}",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+/revisions/[^/]+$",
                          "required": true,
                          "description": "Required. Name of the resource",
                          "type": "string",
                          "location": "path"
                        },
                        "requestId": {
                          "location": "query",
                          "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Deletes a single revision of an Investigation. Fails if the revision is the investigation's most recent revision.",
                      "id": "geminicloudassist.projects.locations.investigations.revisions.delete",
                      "path": "v1alpha/{+name}",
                      "httpMethod": "DELETE",
                      "response": {
                        "$ref": "Empty"
                      }
                    },
                    "run": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "request": {
                        "$ref": "RunInvestigationRevisionRequest"
                      },
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}/revisions/{revisionsId}:run",
                      "description": "Deprecated: Investigations should only be run by the agent. Run an existing revision of an investigation.",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+/revisions/[^/]+$",
                          "description": "Required. Name of the investigation revision to run.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "deprecated": true,
                      "httpMethod": "POST",
                      "path": "v1alpha/{+name}:run",
                      "id": "geminicloudassist.projects.locations.investigations.revisions.run",
                      "parameterOrder": [
                        "name"
                      ],
                      "response": {
                        "$ref": "Operation"
                      }
                    },
                    "get": {
                      "id": "geminicloudassist.projects.locations.investigations.revisions.get",
                      "description": "Gets details of a single revision of an Investigation.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}/revisions/{revisionsId}",
                      "httpMethod": "GET",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1alpha/{+name}",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+/revisions/[^/]+$",
                          "required": true,
                          "description": "Required. Name of the resource"
                        }
                      },
                      "response": {
                        "$ref": "InvestigationRevision"
                      },
                      "parameterOrder": [
                        "name"
                      ]
                    },
                    "list": {
                      "parameters": {
                        "pageToken": {
                          "description": "Optional. A token identifying a page of results the server should return.",
                          "location": "query",
                          "type": "string"
                        },
                        "parent": {
                          "type": "string",
                          "description": "Required. The parent to return Investigation revisions for. Within the parent, the location must be set to \"global\".",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+$",
                          "required": true
                        },
                        "pageSize": {
                          "location": "query",
                          "description": "Optional. Requested number of items to return. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                          "type": "integer",
                          "format": "int32"
                        }
                      },
                      "response": {
                        "$ref": "ListInvestigationRevisionsResponse"
                      },
                      "id": "geminicloudassist.projects.locations.investigations.revisions.list",
                      "path": "v1alpha/{+parent}/revisions",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}/revisions",
                      "httpMethod": "GET",
                      "description": "Lists Investigations in a given project.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameterOrder": [
                        "parent"
                      ]
                    },
                    "create": {
                      "request": {
                        "$ref": "InvestigationRevision"
                      },
                      "id": "geminicloudassist.projects.locations.investigations.revisions.create",
                      "response": {
                        "$ref": "InvestigationRevision"
                      },
                      "httpMethod": "POST",
                      "parameters": {
                        "parent": {
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+$",
                          "required": true,
                          "description": "Required. Parent investigation",
                          "type": "string"
                        },
                        "investigationRevisionId": {
                          "type": "string",
                          "location": "query",
                          "description": "Optional. ID to use for the revision, which will become the final component of the revision's resource name. If not provided, the server will generate a unique ID for the revision."
                        },
                        "requestId": {
                          "location": "query",
                          "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
                          "type": "string"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "deprecated": true,
                      "description": "Deprecated: Investigations should only be modified by the agent. Creates a new revision of a given Investigation.",
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}/revisions",
                      "path": "v1alpha/{+parent}/revisions",
                      "parameterOrder": [
                        "parent"
                      ]
                    },
                    "modify": {
                      "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/investigations/{investigationsId}/revisions/{revisionsId}:modify",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v1alpha/{+name}:modify",
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "required": true,
                          "description": "Required. The name of the investigation revision to modify.",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/investigations/[^/]+/revisions/[^/]+$",
                          "type": "string"
                        }
                      },
                      "deprecated": true,
                      "httpMethod": "POST",
                      "description": "Deprecated: Investigations should only be modified by the agent. Modifies an existing investigation revision in place. This is intended for use by callers that are modifying as part of an investigation session, and do not want to create a new revision. Other callers should use UpdateInvestigation, which will create a new revision if the investigation is RUNNING.",
                      "response": {
                        "$ref": "InvestigationRevision"
                      },
                      "id": "geminicloudassist.projects.locations.investigations.revisions.modify",
                      "request": {
                        "$ref": "ModifyInvestigationRevisionRequest"
                      }
                    }
                  }
                }
              }
            }
          },
          "methods": {
            "list": {
              "path": "v1alpha/{+name}/locations",
              "parameters": {
                "pageSize": {
                  "type": "integer",
                  "description": "The maximum number of results to return. If not set, the service selects a default.",
                  "format": "int32",
                  "location": "query"
                },
                "filter": {
                  "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
                  "type": "string",
                  "location": "query"
                },
                "extraLocationTypes": {
                  "repeated": true,
                  "location": "query",
                  "description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.",
                  "type": "string"
                },
                "name": {
                  "required": true,
                  "location": "path",
                  "pattern": "^projects/[^/]+$",
                  "description": "The resource that owns the locations collection, if applicable.",
                  "type": "string"
                },
                "pageToken": {
                  "type": "string",
                  "location": "query",
                  "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page."
                }
              },
              "flatPath": "v1alpha/projects/{projectsId}/locations",
              "id": "geminicloudassist.projects.locations.list",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "response": {
                "$ref": "ListLocationsResponse"
              },
              "parameterOrder": [
                "name"
              ],
              "description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.",
              "httpMethod": "GET"
            },
            "get": {
              "parameterOrder": [
                "name"
              ],
              "response": {
                "$ref": "Location"
              },
              "description": "Gets information about a location.",
              "httpMethod": "GET",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "path": "v1alpha/{+name}",
              "id": "geminicloudassist.projects.locations.get",
              "parameters": {
                "name": {
                  "required": true,
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "description": "Resource name for the location.",
                  "type": "string",
                  "location": "path"
                }
              },
              "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}"
            }
          }
        }
      }
    },
    "internal": {
      "methods": {
        "optimizeCosts": {
          "description": "Calls the optimize_costs tool.",
          "path": "v1alpha/internal:optimizeCosts",
          "parameterOrder": [],
          "id": "geminicloudassist.internal.optimizeCosts",
          "request": {
            "$ref": "OptimizeCostsRequest"
          },
          "httpMethod": "POST",
          "flatPath": "v1alpha/internal:optimizeCosts",
          "response": {
            "$ref": "CallToolResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform"
          ],
          "parameters": {}
        },
        "investigateIssue": {
          "request": {
            "$ref": "InvestigateIssueRequest"
          },
          "description": "Calls the investigate_issue tool.",
          "id": "geminicloudassist.internal.investigateIssue",
          "response": {
            "$ref": "CallToolResponse"
          },
          "parameters": {},
          "path": "v1alpha/internal:investigateIssue",
          "httpMethod": "POST",
          "parameterOrder": [],
          "flatPath": "v1alpha/internal:investigateIssue",
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform"
          ]
        },
        "askCloudOperator": {
          "parameterOrder": [],
          "description": "Calls the ask_cloud_operator tool.",
          "httpMethod": "POST",
          "response": {
            "$ref": "CallToolResponse"
          },
          "path": "v1alpha/internal:askCloudOperator",
          "request": {
            "$ref": "AskCloudOperatorRequest"
          },
          "flatPath": "v1alpha/internal:askCloudOperator",
          "id": "geminicloudassist.internal.askCloudOperator",
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform"
          ],
          "parameters": {}
        },
        "fetchOperatorSession": {
          "request": {
            "$ref": "FetchOperatorSessionRequest"
          },
          "httpMethod": "POST",
          "id": "geminicloudassist.internal.fetchOperatorSession",
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform"
          ],
          "description": "Calls the get_session tool.",
          "flatPath": "v1alpha/internal:fetchOperatorSession",
          "response": {
            "$ref": "FetchOperatorSessionResponse"
          },
          "path": "v1alpha/internal:fetchOperatorSession",
          "parameterOrder": [],
          "parameters": {}
        },
        "invokeOperation": {
          "httpMethod": "POST",
          "parameterOrder": [],
          "flatPath": "v1alpha/internal:invokeOperation",
          "path": "v1alpha/internal:invokeOperation",
          "id": "geminicloudassist.internal.invokeOperation",
          "request": {
            "$ref": "InvokeOperationRequest"
          },
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform"
          ],
          "response": {
            "$ref": "CallToolResponse"
          },
          "description": "Calls the invoke_operation tool.",
          "parameters": {}
        },
        "searchOperatorSessions": {
          "parameterOrder": [],
          "flatPath": "v1alpha/internal:searchOperatorSessions",
          "parameters": {},
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform"
          ],
          "path": "v1alpha/internal:searchOperatorSessions",
          "httpMethod": "POST",
          "request": {
            "$ref": "SearchOperatorSessionsRequest"
          },
          "description": "Calls the list_sessions tool.",
          "id": "geminicloudassist.internal.searchOperatorSessions",
          "response": {
            "$ref": "SearchOperatorSessionsResponse"
          }
        },
        "askCloudAssist": {
          "path": "v1alpha/internal:askCloudAssist",
          "httpMethod": "POST",
          "description": "Calls the ask_cloud_assist tool. Called INTERNALLY by ESF after translating an MCP request.",
          "response": {
            "$ref": "CallToolResponse"
          },
          "id": "geminicloudassist.internal.askCloudAssist",
          "parameterOrder": [],
          "flatPath": "v1alpha/internal:askCloudAssist",
          "parameters": {},
          "request": {
            "$ref": "AskCloudAssistRequest"
          },
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform"
          ]
        },
        "designInfra": {
          "flatPath": "v1alpha/internal:designInfra",
          "parameterOrder": [],
          "id": "geminicloudassist.internal.designInfra",
          "httpMethod": "POST",
          "request": {
            "$ref": "DesignInfraRequest"
          },
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform"
          ],
          "parameters": {},
          "description": "Calls the design_infra tool.",
          "path": "v1alpha/internal:designInfra",
          "response": {
            "$ref": "CallToolResponse"
          }
        }
      }
    }
  },
  "version": "v1alpha",
  "description": "The AI-powered assistant for Google Cloud. ",
  "basePath": "",
  "schemas": {
    "ListInvestigationsResponse": {
      "description": "Message for response to listing Investigations",
      "type": "object",
      "properties": {
        "unreachable": {
          "description": "Unordered list. Locations that could not be reached.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token to use in subsequent requests in order to return the next set of results."
        },
        "investigations": {
          "type": "array",
          "description": "The list of Investigations",
          "items": {
            "$ref": "Investigation"
          }
        }
      },
      "id": "ListInvestigationsResponse"
    },
    "ObserverStatus": {
      "description": "An ObserverStatus represents the status of an observer at a particular point during execution of an investigation.",
      "properties": {
        "updateComment": {
          "type": "string",
          "description": "Optional. A status update from the observer."
        },
        "startTime": {
          "type": "string",
          "description": "Optional. The time when the observer started its observation.",
          "format": "google-datetime"
        },
        "observerDisplayName": {
          "type": "string",
          "description": "Required. Human-readable display name for the observer."
        },
        "observer": {
          "description": "Output only. Uniquely identifies this observer. This is always equal to the map key of this observer in the parent investigation.",
          "readOnly": true,
          "type": "string"
        },
        "observerErrors": {
          "description": "Optional. An error that blocked an observer from making a particular observation.",
          "items": {
            "$ref": "Status"
          },
          "type": "array"
        },
        "observerExecutionState": {
          "enumDescriptions": [
            "The observer state is unspecified.",
            "The investigation has not yet started.",
            "The investigation is running and this observer is runnable or running.",
            "The observer has finished without an internal error.",
            "The observer tried to run but failed due to an error. This is specific to a component and may be rendered in the UI if the observation is shown, as very low priority.",
            "The observer is blocked pending an input.",
            "The observer reports an error that blocks or severely impacts the investigation, for example CAIS or logging disabled. Should be rendered in the UI prominently.",
            "The observer reports an error that degrades the investigation, may require user to escalate or re-run the investigation after mitigating the cause."
          ],
          "enum": [
            "OBSERVER_EXECUTION_UNSPECIFIED",
            "OBSERVER_EXECUTION_NOT_STARTED",
            "OBSERVER_EXECUTION_RUNNING",
            "OBSERVER_EXECUTION_COMPLETE",
            "OBSERVER_EXECUTION_FAILED",
            "OBSERVER_EXECUTION_BLOCKED",
            "OBSERVER_EXECUTION_INVESTIGATION_BLOCKED",
            "OBSERVER_EXECUTION_INVESTIGATION_DEGRADED"
          ],
          "type": "string",
          "description": "Optional. The current execution state of the observer."
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Optional. The time when the observer last updated the investigation. If the `observer_execution_state` is COMPLETE or FAILED, this is the time when the observer finished its observation."
        }
      },
      "type": "object",
      "id": "ObserverStatus"
    },
    "Location": {
      "id": "Location",
      "description": "A resource that represents a Google Cloud location.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
          "type": "string"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}"
        },
        "displayName": {
          "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
          "type": "string"
        },
        "metadata": {
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "type": "object",
          "description": "Service-specific metadata. For example the available capacity at the given location."
        },
        "locationId": {
          "type": "string",
          "description": "The canonical id for this location. For example: `\"us-east1\"`."
        }
      }
    },
    "AuditConfig": {
      "properties": {
        "auditLogConfigs": {
          "items": {
            "$ref": "AuditLogConfig"
          },
          "type": "array",
          "description": "The configuration for logging of each type of permission."
        },
        "service": {
          "type": "string",
          "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services."
        }
      },
      "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
      "id": "AuditConfig",
      "type": "object"
    },
    "SetIamPolicyRequest": {
      "description": "Request message for `SetIamPolicy` method.",
      "id": "SetIamPolicyRequest",
      "properties": {
        "policy": {
          "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.",
          "$ref": "Policy"
        },
        "updateMask": {
          "format": "google-fieldmask",
          "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`",
          "type": "string"
        }
      },
      "type": "object"
    },
    "SearchOperatorSessionsRequest": {
      "description": "Request for SearchOperatorSessions.",
      "id": "SearchOperatorSessionsRequest",
      "properties": {
        "pageToken": {
          "type": "string",
          "description": "Optional. Page token from a previous list_sessions call."
        },
        "pageSize": {
          "format": "int32",
          "description": "Optional. Maximum number of sessions to return. Default is 50; max is 100.",
          "type": "integer"
        },
        "agentId": {
          "description": "Optional. The agent whose sessions are listed. May be: - A short agent ID (e.g. `autocloud-operator`), which defaults to the global location. - A location-relative resource path (e.g. `locations/us-central1/agents/custom-operator`). - A full resource name matching the request project (e.g. `projects/{project}/locations/global/agents/autocloud-operator`). If not specified, defaults to `autocloud-operator`.",
          "type": "string"
        },
        "project": {
          "description": "Required. The project resource name in the format `projects/{project}`.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "InvestigationAnnotations": {
      "properties": {
        "revisionLastRunInterval": {
          "description": "Output only. The interval during which the investigation was last executed.",
          "readOnly": true,
          "$ref": "Interval"
        },
        "pagePath": {
          "description": "Optional. The path of a web page from which this investigation was created.",
          "type": "string"
        },
        "extrasMap": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Additional client-specified annotations."
        },
        "supportCase": {
          "description": "Optional. A support case ID associated with the investigation.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "InvestigationAnnotations",
      "description": "Additional annotations on an Investigation."
    },
    "RunInvestigationRevisionRequest": {
      "description": "Deprecated: This message is only used in the deprecated RunInvestigationRevision method. Request for running an investigation at a particular revision.",
      "properties": {
        "runParameters": {
          "description": "Optional. Parameters to pass through.",
          "$ref": "InvestigationRunParameters"
        }
      },
      "id": "RunInvestigationRevisionRequest",
      "type": "object",
      "deprecated": true
    },
    "Operation": {
      "id": "Operation",
      "properties": {
        "done": {
          "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
          "type": "boolean"
        },
        "response": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`."
        },
        "error": {
          "description": "The error result of the operation in case of failure or cancellation.",
          "$ref": "Status"
        },
        "metadata": {
          "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "type": "object"
        },
        "name": {
          "type": "string",
          "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`."
        }
      },
      "description": "This resource represents a long-running operation that is the result of a network API call.",
      "type": "object"
    },
    "McpProgress": {
      "properties": {
        "progress": {
          "type": "number",
          "description": "The amount of progress made so far.",
          "format": "double"
        },
        "progressToken": {
          "type": "any",
          "description": "The progress token provided in the _meta field on the request (if desired). The progress token is allowed to either be a string or numeric value, and must be identical to the progressToken value provided in the initial request."
        },
        "message": {
          "description": "An optional descriptive message about the current progress.",
          "type": "string"
        },
        "total": {
          "description": "The total amount of progress expected.",
          "format": "double",
          "type": "number"
        }
      },
      "description": "McpProgress details the current state of a long-running tool operation. See: https://modelcontextprotocol.io/specification/2025-11-25/basic/utilities/progress#progress-flow",
      "id": "McpProgress",
      "type": "object"
    },
    "InvestigationRevision": {
      "description": "A revision holds a snapshot of the investigation at a past point in time. The most recent revision holds the investigation's current state, while previous revisions are immutable.",
      "type": "object",
      "id": "InvestigationRevision",
      "properties": {
        "name": {
          "type": "string",
          "description": "Identifier. The name of the revision resource, of the form: projects/{project_number}/locations/{location_id}/investigations/{investigation_id}/revisions/{revision_id}"
        },
        "createTime": {
          "description": "Output only. The time when the revision was created.",
          "format": "google-datetime",
          "readOnly": true,
          "type": "string"
        },
        "index": {
          "description": "Output only. Revision index number, in order of creation.",
          "type": "integer",
          "format": "int32",
          "readOnly": true
        },
        "snapshot": {
          "description": "Optional. Snapshot of the investigation contents at this revision.",
          "$ref": "Investigation"
        },
        "labels": {
          "description": "Optional. User-defined labels for the revision.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "InvestigationRunParameters": {
      "id": "InvestigationRunParameters",
      "type": "object",
      "properties": {
        "accessTokens": {
          "description": "Optional. If populated, map of project to IAM token granting access to that project.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "description": "Deprecated: This message is only used in the deprecated RunInvestigationRevision method. Represents user parameters for running an investigation.",
      "deprecated": true
    },
    "FetchOperatorSessionRequest": {
      "type": "object",
      "description": "Request for FetchOperatorSession.",
      "properties": {
        "sessionId": {
          "description": "Required. The session to read. Accepts a short session ID or a session resource name (`.../agents/{agent}/sessions/{id}`), such as the context ID returned by ask_cloud_operator or list_sessions.",
          "type": "string"
        },
        "agentId": {
          "description": "Optional. The agent that owns the session. Same formats and default as SearchOperatorSessionsRequest.agent_id. Ignored when `session_id` is a full resource name.",
          "type": "string"
        },
        "pageToken": {
          "description": "Optional. Page token from a previous get_session call.",
          "type": "string"
        },
        "project": {
          "description": "Required. The project resource name in the format `projects/{project}`.",
          "type": "string"
        },
        "pageSize": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. Maximum number of turns to return, oldest first. Default is 10; max is 50."
        }
      },
      "id": "FetchOperatorSessionRequest"
    },
    "OperatorSessionSummary": {
      "type": "object",
      "properties": {
        "sessionId": {
          "type": "string",
          "description": "The short session identifier."
        },
        "title": {
          "description": "Human-readable title derived from the initial prompt.",
          "type": "string"
        },
        "createTime": {
          "description": "When the session was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "updateTime": {
          "description": "When the session was last updated.",
          "type": "string",
          "format": "google-datetime"
        },
        "contextId": {
          "description": "The session's context ID. Pass it as `context_id` to ask_cloud_operator to continue the session, or as `session_id` to get_session to read it.",
          "type": "string"
        },
        "status": {
          "enum": [
            "OPERATOR_SESSION_STATUS_UNSPECIFIED",
            "OPERATOR_SESSION_STATUS_IDLE",
            "OPERATOR_SESSION_STATUS_ACTIVE",
            "OPERATOR_SESSION_STATUS_REQUIRES_ACTION",
            "OPERATOR_SESSION_STATUS_COMPLETED",
            "OPERATOR_SESSION_STATUS_FAILED",
            "OPERATOR_SESSION_STATUS_CANCELLED"
          ],
          "enumDescriptions": [
            "Default unspecified status.",
            "The session is resting and awaiting user input.",
            "The agent is actively processing an in-progress turn.",
            "The session is paused awaiting user action or approval.",
            "The session finished successfully.",
            "The session finished with an error.",
            "The session was cancelled before completion."
          ],
          "type": "string",
          "description": "The session's lifecycle status."
        },
        "summary": {
          "type": "string",
          "description": "System-generated summary of the session's progress."
        }
      },
      "id": "OperatorSessionSummary",
      "description": "Summary of one conversational session."
    },
    "InvokeOperationRequest": {
      "type": "object",
      "id": "InvokeOperationRequest",
      "properties": {
        "project": {
          "description": "Required. The project resource name in the format `projects/{project}`.",
          "type": "string"
        },
        "userQuery": {
          "type": "string",
          "description": "Required. The natural language prompt provided by the user."
        },
        "contextId": {
          "type": "string",
          "description": "Optional. This is an optional session ID to continue a conversation."
        }
      },
      "description": "Request for InvokeOperation"
    },
    "AgentAdminSettings": {
      "properties": {
        "effectiveMutationMode": {
          "type": "string",
          "enumDescriptions": [
            "Not set. Treated as READ_ONLY.",
            "Agents are limited to read calls. The Agent Gateway blocks calls that the gateway classifies as writes, on a best-effort basis.",
            "Agents may create and update resources, and each change needs the user's approval. Deletions and governance writes stay denied. Only an organization whose `write_preview_enrolled` is true can set this value."
          ],
          "description": "Output only. The mode AutoCloud enforces: WRITE_WITH_APPROVAL only when `mutation_mode` is WRITE_WITH_APPROVAL and the organization is enrolled in the write private preview, otherwise READ_ONLY.",
          "readOnly": true,
          "enum": [
            "MUTATION_MODE_UNSPECIFIED",
            "READ_ONLY",
            "WRITE_WITH_APPROVAL"
          ]
        },
        "mutationMode": {
          "enum": [
            "MUTATION_MODE_UNSPECIFIED",
            "READ_ONLY",
            "WRITE_WITH_APPROVAL"
          ],
          "description": "Optional. The changes AutoCloud agents in this organization may make. Defaults to READ_ONLY. Only organizations enrolled in the write private preview can set WRITE_WITH_APPROVAL.",
          "type": "string",
          "enumDescriptions": [
            "Not set. Treated as READ_ONLY.",
            "Agents are limited to read calls. The Agent Gateway blocks calls that the gateway classifies as writes, on a best-effort basis.",
            "Agents may create and update resources, and each change needs the user's approval. Deletions and governance writes stay denied. Only an organization whose `write_preview_enrolled` is true can set this value."
          ]
        },
        "dataSharingWithGoogleDisabled": {
          "description": "Optional. If true, users in this organization cannot enable `data_sharing_with_google_enabled` on new or existing agents, and agents that already enable sharing share no session data with Google. Defaults to false (users may opt their agents into data sharing).",
          "type": "boolean"
        },
        "writePreviewEnrolled": {
          "readOnly": true,
          "description": "Output only. Whether this organization is enrolled in the write private preview, and so may set `mutation_mode` to WRITE_WITH_APPROVAL.",
          "type": "boolean"
        },
        "agentsDisabled": {
          "type": "boolean",
          "description": "Optional. If true, users in this organization cannot create, update, or invoke AutoCloud agents. Defaults to false (AutoCloud agents are enabled by default)."
        },
        "name": {
          "description": "Identifier. Name of the AgentAdminSettings singleton resource. Format: organizations/{organization}/locations/{location}/agentAdminSettings",
          "type": "string"
        },
        "etag": {
          "description": "Optional. Etag for optimistic concurrency control.",
          "type": "string"
        },
        "updateTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Timestamp when the settings resource was last updated.",
          "format": "google-datetime"
        }
      },
      "id": "AgentAdminSettings",
      "type": "object",
      "description": "Organization-level singleton settings that govern AutoCloud agent use and data sharing within the organization."
    },
    "FetchOperatorSessionResponse": {
      "id": "FetchOperatorSessionResponse",
      "type": "object",
      "properties": {
        "session": {
          "description": "Session metadata.",
          "$ref": "OperatorSessionSummary"
        },
        "activeTaskId": {
          "type": "string",
          "description": "The ID of the in-progress turn, if any."
        },
        "nextPageToken": {
          "description": "Token for the next page of turns. Empty if there are no more turns.",
          "type": "string"
        },
        "turns": {
          "type": "array",
          "items": {
            "$ref": "OperatorSessionTurn"
          },
          "description": "One page of the session's turns, oldest first."
        }
      },
      "description": "Response for FetchOperatorSession."
    },
    "Binding": {
      "properties": {
        "condition": {
          "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
          "$ref": "Expr"
        },
        "members": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`."
        },
        "role": {
          "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).",
          "type": "string"
        }
      },
      "id": "Binding",
      "description": "Associates `members`, or principals, with a `role`.",
      "type": "object"
    },
    "Empty": {
      "type": "object",
      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
      "id": "Empty",
      "properties": {}
    },
    "OperatorSessionTurn": {
      "type": "object",
      "properties": {
        "taskId": {
          "description": "The A2A task ID of this turn.",
          "type": "string"
        },
        "userInput": {
          "description": "The user's input for this turn.",
          "type": "string"
        },
        "agentResponse": {
          "description": "The agent's response for this turn, excluding reasoning and tool traces.",
          "type": "string"
        },
        "state": {
          "description": "The turn's lifecycle state.",
          "enumDescriptions": [
            "Default unspecified state.",
            "The turn was submitted and acknowledged.",
            "The agent is actively processing the turn.",
            "The turn finished successfully.",
            "The turn finished with an error.",
            "The turn was cancelled before completion.",
            "The agent requires additional user input to proceed.",
            "The agent decided not to perform the turn.",
            "Authentication is required to proceed."
          ],
          "type": "string",
          "enum": [
            "OPERATOR_TURN_STATE_UNSPECIFIED",
            "OPERATOR_TURN_STATE_SUBMITTED",
            "OPERATOR_TURN_STATE_WORKING",
            "OPERATOR_TURN_STATE_COMPLETED",
            "OPERATOR_TURN_STATE_FAILED",
            "OPERATOR_TURN_STATE_CANCELLED",
            "OPERATOR_TURN_STATE_INPUT_REQUIRED",
            "OPERATOR_TURN_STATE_REJECTED",
            "OPERATOR_TURN_STATE_AUTH_REQUIRED"
          ]
        }
      },
      "id": "OperatorSessionTurn",
      "description": "One conversational turn of a session."
    },
    "ListInvestigationRevisionsResponse": {
      "description": "Message for response to listing revisions of a given Investigation",
      "type": "object",
      "properties": {
        "revisions": {
          "type": "array",
          "items": {
            "$ref": "InvestigationRevision"
          },
          "description": "The list of Investigation revisions"
        },
        "unreachable": {
          "description": "Unordered list. Locations that could not be reached.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "nextPageToken": {
          "description": "A token to use in subsequent requests in order to return the next set of results.",
          "type": "string"
        }
      },
      "id": "ListInvestigationRevisionsResponse"
    },
    "CancelOperationRequest": {
      "type": "object",
      "description": "The request message for Operations.CancelOperation.",
      "id": "CancelOperationRequest",
      "properties": {}
    },
    "TestIamPermissionsRequest": {
      "properties": {
        "permissions": {
          "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "id": "TestIamPermissionsRequest",
      "description": "Request message for `TestIamPermissions` method.",
      "type": "object"
    },
    "SearchOperatorSessionsResponse": {
      "id": "SearchOperatorSessionsResponse",
      "description": "Response for SearchOperatorSessions.",
      "type": "object",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "Token for the next page. Empty if there are no more sessions."
        },
        "sessions": {
          "description": "The sessions on this page.",
          "items": {
            "$ref": "OperatorSessionSummary"
          },
          "type": "array"
        }
      }
    },
    "Investigation": {
      "type": "object",
      "id": "Investigation",
      "description": "Holds the contents of a Gemini Cloud Assist Troubleshooting investigation.",
      "properties": {
        "name": {
          "description": "Identifier. Name of the investigation, of the form: projects/{project_number}/locations/{location_id}/investigations/{investigation_id}",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time when the investigation was created.",
          "type": "string",
          "format": "google-datetime",
          "readOnly": true
        },
        "revisionPredecessor": {
          "type": "string",
          "description": "Optional. The name of the revision that was this revision's predecessor."
        },
        "title": {
          "description": "Optional. Human-readable display title for the investigation.",
          "type": "string"
        },
        "annotations": {
          "description": "Optional. Additional annotations on the investigation.",
          "$ref": "InvestigationAnnotations"
        },
        "executionState": {
          "description": "Output only. The execution state of the investigation.",
          "enum": [
            "INVESTIGATION_EXECUTION_STATE_UNSPECIFIED",
            "INVESTIGATION_EXECUTION_STATE_RUNNING",
            "INVESTIGATION_EXECUTION_STATE_MODIFIED",
            "INVESTIGATION_EXECUTION_STATE_FAILED",
            "INVESTIGATION_EXECUTION_STATE_CANCELLED",
            "INVESTIGATION_EXECUTION_STATE_COMPLETED"
          ],
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "Default value. This value is unused.",
            "The investigation is being executed.",
            "The investigation has not yet been executed since it was last updated.",
            "The investigation execution has completed, but the execution has failed.",
            "The investigation execution was cancelled.",
            "All execution tasks have completed and the investigation is at rest."
          ]
        },
        "observations": {
          "description": "Optional. Observations about the project state that comprise the contents of the investigation.",
          "additionalProperties": {
            "$ref": "Observation"
          },
          "type": "object"
        },
        "error": {
          "$ref": "Status",
          "description": "Output only. The error if the investigation run failed. This field will only be set if `execution_state` is `INVESTIGATION_EXECUTION_STATE_FAILED`.",
          "readOnly": true
        },
        "revisionIndex": {
          "format": "int32",
          "type": "integer",
          "description": "Output only. Index of the current revision of the investigation.",
          "readOnly": true
        },
        "observerStatuses": {
          "type": "object",
          "description": "Optional. Statuses of observers which have been invoked in order to run the investigation.",
          "additionalProperties": {
            "$ref": "ObserverStatus"
          }
        },
        "revision": {
          "readOnly": true,
          "description": "Output only. Resource name of the investigation's current revision, of the form: projects/{project_number}/locations/{location_id}/investigations/{investigation_id}/revisions/{revision_id}",
          "type": "string"
        },
        "updateTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. The time when the investigation was last updated.",
          "readOnly": true
        },
        "labels": {
          "description": "Optional. User-defined labels for the investigation.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "operation": {
          "description": "Output only. The resource name of the Run operation most recently performed on the investigation, of the form: projects/{project_number}/locations/{location_id}/operations/{operation_id}",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "Expr": {
      "id": "Expr",
      "properties": {
        "expression": {
          "type": "string",
          "description": "Textual representation of an expression in Common Expression Language syntax."
        },
        "description": {
          "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
          "type": "string"
        },
        "location": {
          "type": "string",
          "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file."
        },
        "title": {
          "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
          "type": "string"
        }
      },
      "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
      "type": "object"
    },
    "McpElicitation": {
      "type": "object",
      "id": "McpElicitation",
      "properties": {
        "message": {
          "type": "string",
          "description": "The message of the elicitation form or url."
        },
        "url": {
          "description": "The url of the elicitation, only set if mode is ELICITATION_MODE_URL.",
          "type": "string"
        },
        "requestedSchema": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "The schema of the elicitation form. The schema is limited to flat objects with primitive properties only. Only set if mode is ELICITATION_MODE_FORM."
        },
        "elicitationId": {
          "description": "The ID of the elicitation. Required by ELICITATION_MODE_URL mode.",
          "type": "string"
        },
        "mode": {
          "enum": [
            "ELICITATION_MODE_UNSPECIFIED",
            "ELICITATION_MODE_FORM",
            "ELICITATION_MODE_URL"
          ],
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ]
        }
      }
    },
    "AskCloudOperatorRequest": {
      "description": "Request for AskCloudOperator",
      "type": "object",
      "id": "AskCloudOperatorRequest",
      "properties": {
        "project": {
          "description": "Required. The project resource name in the format `projects/{project}`.",
          "type": "string"
        },
        "contextId": {
          "type": "string",
          "description": "Optional. This is an optional session ID (`context_id` from a previous response) to continue a multi-turn conversation while preserving server-side session state and code context. Omit to start a new session."
        },
        "agentId": {
          "description": "Optional. The target operator agent to invoke within the project. May be: - A short agent ID (e.g. `servicenow-agent`), which defaults to the global location. - A location-relative resource path (e.g. `locations/us-central1/agents/custom-operator`). - A full resource name matching the request project (e.g. `projects/{project}/locations/global/agents/custom-operator`). If not specified, defaults to the caller's personal agent. When continuing a multi-turn session (`contextId` set) that was initiated with a custom `agentId`, the same `agentId` must also be provided.",
          "type": "string"
        },
        "userQuery": {
          "description": "Required. The natural language prompt and instructions for the operator agent. Include any local code, configuration files (`*.tf`), diffs, or error context not known to the operator agent on the GCP side so it can reason across both local context and live GCP state. On follow-up turns with `contextId` where local files are unchanged, pass only the follow-up instruction without re-sending unchanged files.",
          "type": "string"
        }
      }
    },
    "InvestigateIssueRequest": {
      "type": "object",
      "description": "Request for InvestigateIssue",
      "id": "InvestigateIssueRequest",
      "properties": {
        "contextId": {
          "description": "Optional. This is an optional session ID to continue a conversation.",
          "type": "string"
        },
        "project": {
          "description": "Required. The project resource name in the format `projects/{project}`.",
          "type": "string"
        },
        "userQuery": {
          "description": "Required. The natural language prompt provided by the user.",
          "type": "string"
        }
      }
    },
    "Observation": {
      "id": "Observation",
      "properties": {
        "dataUrls": {
          "description": "Optional. URLs pointing to evidence in support of this observation. Maps from a human-readable description to a URL.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "id": {
          "description": "Output only. Uniquely identifies this observation. This is always equal to the map key of this observation in the parent investigation.",
          "type": "string",
          "readOnly": true
        },
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. The time when the observation was created."
        },
        "observedNormalOperation": {
          "description": "Optional. If false or unspecified, this observation gives information about an issue or root cause. If true, this observation indicates that a system was observed to be operating normally. Such negative results can be useful diagnostic findings, and this field has no correlation with the relevance score.",
          "type": "boolean"
        },
        "title": {
          "type": "string",
          "description": "Optional. Human-readable display title for the observation."
        },
        "observationCompletionState": {
          "enum": [
            "OBSERVATION_COMPLETION_STATE_UNSPECIFIED",
            "OBSERVATION_COMPLETION_STATE_COMPLETE",
            "OBSERVATION_COMPLETION_STATE_INCOMPLETE"
          ],
          "enumDescriptions": [
            "Default value. Will be treated as COMPLETE.",
            "This observation is fully formed.",
            "This observation is missing some information, or needs further processing by a different observer. This type of observation may be discarded in future investigation runs."
          ],
          "description": "Optional. Represents whether the observation is fully formed and able to be used to draw conclusions.",
          "type": "string"
        },
        "data": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "Optional. A structured representation of the observation. This is not required or guaranteed to conform to any particular schema."
        },
        "systemRelevanceScore": {
          "format": "float",
          "type": "number",
          "description": "Optional. How relevant the observer perceives this observation to be. This is used to rank observations in generating hypotheses. The system outputs observations in the range [-1, 1], where -1 means completely irrelevant, 0 means neutral, and 1 means complete confidence in its relevance."
        },
        "recommendation": {
          "type": "string",
          "description": "Optional. Natural language or markdown text which describes a recommended action to remediate the root cause or further investigate the issue."
        },
        "observationType": {
          "type": "string",
          "enum": [
            "OBSERVATION_TYPE_UNSPECIFIED",
            "OBSERVATION_TYPE_CLOUD_LOG",
            "OBSERVATION_TYPE_CLOUD_METRIC",
            "OBSERVATION_TYPE_CAIS_CONFIG",
            "OBSERVATION_TYPE_CAIS_CONFIG_DIFF",
            "OBSERVATION_TYPE_CLOUD_ALERT",
            "OBSERVATION_TYPE_CICD_EVENT",
            "OBSERVATION_TYPE_TEXT_DESCRIPTION",
            "OBSERVATION_TYPE_HYPOTHESIS",
            "OBSERVATION_TYPE_STRUCTURED_INPUT",
            "OBSERVATION_TYPE_COMPOSITE",
            "OBSERVATION_TYPE_OTHER",
            "OBSERVATION_TYPE_RELATED_RESOURCES",
            "OBSERVATION_TYPE_LOG_THEME",
            "OBSERVATION_TYPE_CONFIG_ANALYSIS",
            "OBSERVATION_TYPE_OUTAGE",
            "OBSERVATION_TYPE_KNOWLEDGE",
            "OBSERVATION_TYPE_INVESTIGATION_RECAP",
            "OBSERVATION_TYPE_WARNING",
            "OBSERVATION_TYPE_REMEDIATION_PLAN",
            "OBSERVATION_TYPE_INVESTIGATION_SUMMARY",
            "OBSERVATION_TYPE_HYPOTHESIS_NEXT_STEPS",
            "OBSERVATION_TYPE_PROGRESS_BAR_DYNAMIC_STATUS"
          ],
          "description": "Required. The type of the observation.",
          "enumDescriptions": [
            "Default value.",
            "The text of this observation is a log entry.",
            "The content of this observation is a metric or group of metrics.",
            "A config",
            "A change of config",
            "An alert",
            "An event from a continuous integration system, e.g. prober failure.",
            "Free text input, such as the initial user input. Can be markdown.",
            "This is for [tentative] conclusions drawn by the system. These can become inputs to a subsequent revision. In this case the recommendations will be used, but not the remediation.",
            "Structured input, e.g. runbook parameters put into a form",
            "Used for an observation that includes more than one kind of evidence, such as a runbook output.",
            "Runbook output can be 'other' if none of the other types apply.",
            "Resources we think are related to the investigation.",
            "A theme discovered in the logs.",
            "Signals output that includes a config analyzed by LLM.",
            "Signals output that includes an outage from PSH.",
            "Text that provides knowledge about a particular user's problem. For example, error catalog instructions/external links, RAG etc.",
            "Provides a recap or summary of the investigation.",
            "Indicates a warning about the investigation.",
            "Indicates a remediation plan to fix the root cause(s).",
            "Indicates a summary of the investigation.",
            "Indicates the next steps to be taken by the user to help resolve the root cause(s).",
            "Indicates dynamic status updates in the progress bar of an investigation."
          ]
        },
        "baseObservations": {
          "description": "Optional. The IDs of other observations that this observation is based on. For example, a hypothesis observation will record the observations that support that hypothesis.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "knowledgeUrls": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. URLs pointing to reference knowledge related to this observation. Maps from a human-readable description to a URL."
        },
        "relevanceOverride": {
          "enumDescriptions": [
            "The user has not marked this observation as relevant or irrelevant.",
            "The user marked this observation as relevant.",
            "The user marked this observation as irrelevant."
          ],
          "type": "string",
          "enum": [
            "USER_RELEVANCE_UNSPECIFIED",
            "USER_RELEVANCE_PROMOTED",
            "USER_RELEVANCE_REJECTED"
          ],
          "description": "Optional. The user's relevance judgement."
        },
        "text": {
          "description": "Optional. Natural-language or markdown text explaining the observation.",
          "type": "string"
        },
        "timeIntervals": {
          "type": "array",
          "description": "Optional. When this observation occurred.",
          "items": {
            "$ref": "Interval"
          }
        },
        "relevantResources": {
          "description": "Optional. The Google Cloud resources relevant to the observation. These should be fully qualified resource URIs, e.g.: \"//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance\"",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "observerType": {
          "type": "string",
          "enumDescriptions": [
            "Default value. Unused.",
            "Diagnostics have an explicit notion of root causes, e.g. via runbooks.",
            "Signals is for processing that doesn't have explicit root causes.",
            "This is for code that depends only on premises. In particular, error catalog lookups.",
            "This is for AI inferences that depend only on observations listed as premises.",
            "User-input observation, including answers to clarifications. All user-specified observations will be coerced to this type.",
            "An observation from an alert."
          ],
          "description": "Required. The type of observer that produced this observation.",
          "enum": [
            "OBSERVER_TYPE_UNSPECIFIED",
            "OBSERVER_TYPE_DIAGNOSTICS",
            "OBSERVER_TYPE_SIGNALS",
            "OBSERVER_TYPE_DETERMINISTIC_CODE",
            "OBSERVER_TYPE_AI",
            "OBSERVER_TYPE_USER",
            "OBSERVER_TYPE_ALERT"
          ]
        }
      },
      "type": "object",
      "description": "An observation represents a single fact about the state of the system under investigation, along with a ranking of its relevance."
    },
    "ListLocationsResponse": {
      "description": "The response message for Locations.ListLocations.",
      "id": "ListLocationsResponse",
      "type": "object",
      "properties": {
        "locations": {
          "type": "array",
          "items": {
            "$ref": "Location"
          },
          "description": "A list of locations that matches the specified filter in the request."
        },
        "nextPageToken": {
          "description": "The standard List next-page token.",
          "type": "string"
        }
      }
    },
    "OperationMetadata": {
      "properties": {
        "createTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The time the operation was created.",
          "format": "google-datetime"
        },
        "requestedCancellation": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`."
        },
        "apiVersion": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. API version used to start the operation."
        },
        "target": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Server-defined resource path for the target of the operation."
        },
        "verb": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Name of the verb executed by the operation."
        },
        "endTime": {
          "type": "string",
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. The time the operation finished running."
        },
        "statusMessage": {
          "description": "Output only. Human-readable status of the operation, if any.",
          "readOnly": true,
          "type": "string"
        }
      },
      "description": "Represents the metadata of the long-running operation.",
      "type": "object",
      "id": "OperationMetadata"
    },
    "Status": {
      "type": "object",
      "id": "Status",
      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
      "properties": {
        "message": {
          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
          "type": "string"
        },
        "details": {
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          }
        },
        "code": {
          "type": "integer",
          "format": "int32",
          "description": "The status code, which should be an enum value of google.rpc.Code."
        }
      }
    },
    "DesignInfraRequest": {
      "type": "object",
      "id": "DesignInfraRequest",
      "properties": {
        "project": {
          "description": "Required. The project resource name in the format `projects/{project}`.",
          "type": "string"
        },
        "userQuery": {
          "description": "Required. The natural language prompt provided by the user.",
          "type": "string"
        },
        "contextId": {
          "description": "Optional. This is an optional session ID to continue a conversation.",
          "type": "string"
        },
        "command": {
          "type": "string",
          "description": "Required. The command being invoked. Valid values are: - \"manage_app_design\" - \"generate_terraform\" - \"generate_gcloud\" - \"generate_yaml\" - \"debug_deployment\""
        }
      },
      "description": "Request for DesignInfra"
    },
    "AskCloudAssistRequest": {
      "description": "Request for AskCloudAssist",
      "type": "object",
      "id": "AskCloudAssistRequest",
      "properties": {
        "contextId": {
          "type": "string",
          "description": "Optional. This is an optional session ID to continue a conversation."
        },
        "userQuery": {
          "type": "string",
          "description": "Required. The natural language prompt provided by the user."
        },
        "project": {
          "description": "Required. The project resource name in the format `projects/{project}`.",
          "type": "string"
        }
      }
    },
    "Policy": {
      "type": "object",
      "id": "Policy",
      "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
      "properties": {
        "version": {
          "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
          "type": "integer",
          "format": "int32"
        },
        "bindings": {
          "items": {
            "$ref": "Binding"
          },
          "type": "array",
          "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`."
        },
        "auditConfigs": {
          "description": "Specifies cloud audit logging configuration for this policy.",
          "type": "array",
          "items": {
            "$ref": "AuditConfig"
          }
        },
        "etag": {
          "format": "byte",
          "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.",
          "type": "string"
        }
      }
    },
    "ModifyInvestigationRevisionRequest": {
      "deprecated": true,
      "id": "ModifyInvestigationRevisionRequest",
      "type": "object",
      "description": "Deprecated: This message is only used in the deprecated ModifyInvestigationRevision method. Request for modifying an investigation revision.",
      "properties": {
        "updateMask": {
          "description": "Optional. The fields of the revision's snapshot to update. Note that only user-writeable fields can be updated. Fields should be specified relative to the Investigation message, i.e. they should not include the prefix \"snapshot\".",
          "type": "string",
          "format": "google-fieldmask"
        },
        "investigation": {
          "description": "Required. The contents to modify the revision's snapshot with.",
          "$ref": "Investigation"
        }
      }
    },
    "OptimizeCostsRequest": {
      "id": "OptimizeCostsRequest",
      "description": "Request for OptimizeCosts",
      "type": "object",
      "properties": {
        "userQuery": {
          "description": "Required. The natural language prompt provided by the user.",
          "type": "string"
        },
        "project": {
          "description": "Required. The project resource name in the format `projects/{project}`.",
          "type": "string"
        },
        "contextId": {
          "description": "Optional. This is an optional session ID to continue a conversation.",
          "type": "string"
        }
      }
    },
    "ListOperationsResponse": {
      "properties": {
        "unreachable": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations."
        },
        "operations": {
          "type": "array",
          "items": {
            "$ref": "Operation"
          },
          "description": "A list of operations that matches the specified filter in the request."
        },
        "nextPageToken": {
          "type": "string",
          "description": "The standard List next-page token."
        }
      },
      "type": "object",
      "description": "The response message for Operations.ListOperations.",
      "id": "ListOperationsResponse"
    },
    "CallToolResponse": {
      "properties": {
        "elicitationComplete": {
          "description": "The elicitation complete message in response to the `ElicitResult`.",
          "$ref": "McpElicitationComplete"
        },
        "structuredContent": {
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "The final result of the tool execution.",
          "type": "object"
        },
        "progress": {
          "description": "Intermediate progress information to be sent as an MCP notification.",
          "$ref": "McpProgress"
        },
        "elicitation": {
          "description": "The elicitation request for the tool execution.",
          "$ref": "McpElicitation"
        }
      },
      "id": "CallToolResponse",
      "type": "object",
      "description": "CallToolResponse represents a single message in the tool execution stream."
    },
    "TestIamPermissionsResponse": {
      "description": "Response message for `TestIamPermissions` method.",
      "type": "object",
      "id": "TestIamPermissionsResponse",
      "properties": {
        "permissions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed."
        }
      }
    },
    "AuditLogConfig": {
      "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.",
      "id": "AuditLogConfig",
      "properties": {
        "logType": {
          "description": "The log type that this config enables.",
          "enumDescriptions": [
            "Default case. Should never be this.",
            "Admin reads. Example: CloudIAM getIamPolicy",
            "Data writes. Example: CloudSQL Users create",
            "Data reads. Example: CloudSQL Users list"
          ],
          "enum": [
            "LOG_TYPE_UNSPECIFIED",
            "ADMIN_READ",
            "DATA_WRITE",
            "DATA_READ"
          ],
          "type": "string"
        },
        "exemptedMembers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members."
        }
      },
      "type": "object"
    },
    "McpElicitationComplete": {
      "properties": {
        "errorMessage": {
          "description": "The error message, only set if is_error is true.",
          "type": "string"
        },
        "isError": {
          "description": "True if encountering an error, e.g., elicitation is not handled by the producer service.",
          "type": "boolean"
        }
      },
      "description": "McpElicitationComplete is used to signal the end of an elicitation flow.",
      "type": "object",
      "id": "McpElicitationComplete"
    },
    "Interval": {
      "description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.",
      "type": "object",
      "id": "Interval",
      "properties": {
        "startTime": {
          "format": "google-datetime",
          "description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.",
          "type": "string"
        },
        "endTime": {
          "format": "google-datetime",
          "description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.",
          "type": "string"
        }
      }
    }
  },
  "id": "geminicloudassist:v1alpha",
  "version_module": true,
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "batchPath": "batch",
  "kind": "discovery#restDescription"
}
