Index: discovery/googleapis/clouddebugger__v2.json |
diff --git a/discovery/googleapis/clouddebugger__v2.json b/discovery/googleapis/clouddebugger__v2.json |
index a62f7d23c8f5db9044c259cf9fd34eaf6c34b4b0..0ce1e7e9619d0d261849102e2717039757c1af48 100644 |
--- a/discovery/googleapis/clouddebugger__v2.json |
+++ b/discovery/googleapis/clouddebugger__v2.json |
@@ -2,11 +2,11 @@ |
"auth": { |
"oauth2": { |
"scopes": { |
- "https://www.googleapis.com/auth/cloud-platform": { |
- "description": "View and manage your data across Google Cloud Platform services" |
- }, |
"https://www.googleapis.com/auth/cloud_debugger": { |
"description": "Manage cloud debugger" |
+ }, |
+ "https://www.googleapis.com/auth/cloud-platform": { |
+ "description": "View and manage your data across Google Cloud Platform services" |
} |
} |
} |
@@ -28,37 +28,6 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "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" |
- }, |
- "quotaUser": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -113,26 +82,70 @@ |
], |
"location": "query", |
"type": "string" |
+ }, |
+ "access_token": { |
+ "description": "OAuth access token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "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" |
+ }, |
+ "quotaUser": { |
+ "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.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
"protocol": "rest", |
"resources": { |
- "controller": { |
+ "debugger": { |
"resources": { |
"debuggees": { |
"methods": { |
- "register": { |
- "description": "Registers the debuggee with the controller service.\n\nAll agents attached to the same application should call this method with\nthe same request content to get back the same stable `debuggee_id`. Agents\nshould call this method again whenever `google.rpc.Code.NOT_FOUND` is\nreturned from any controller method.\n\nThis allows the controller service to disable the agent or recover from any\ndata loss. If the debuggee is disabled by the server, the response will\nhave `is_disabled` set to `true`.", |
- "httpMethod": "POST", |
- "id": "clouddebugger.controller.debuggees.register", |
+ "list": { |
+ "description": "Lists all the debuggees that the user can set breakpoints to.", |
+ "httpMethod": "GET", |
+ "id": "clouddebugger.debugger.debuggees.list", |
"parameterOrder": [], |
- "parameters": {}, |
- "path": "v2/controller/debuggees/register", |
- "request": { |
- "$ref": "RegisterDebuggeeRequest" |
+ "parameters": { |
+ "includeInactive": { |
+ "description": "When set to `true`, the result includes all debuggees. Otherwise, the\nresult includes only debuggees that are active.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "project": { |
+ "description": "Project number of a Google Cloud project whose debuggees to list.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "clientVersion": { |
+ "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", |
+ "location": "query", |
+ "type": "string" |
+ } |
}, |
+ "path": "v2/debugger/debuggees", |
"response": { |
- "$ref": "RegisterDebuggeeResponse" |
+ "$ref": "ListDebuggeesResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -143,119 +156,74 @@ |
"resources": { |
"breakpoints": { |
"methods": { |
- "list": { |
- "description": "Returns the list of all active breakpoints for the debuggee.\n\nThe breakpoint specification (location, condition, and expression\nfields) is semantically immutable, although the field values may\nchange. For example, an agent may update the location line number\nto reflect the actual line where the breakpoint was set, but this\ndoesn't change the breakpoint semantics.\n\nThis means that an agent does not need to check if a breakpoint has changed\nwhen it encounters the same breakpoint on a successive call.\nMoreover, an agent should remember the breakpoints that are completed\nuntil the controller removes them from the active list to avoid\nsetting those breakpoints again.", |
- "httpMethod": "GET", |
- "id": "clouddebugger.controller.debuggees.breakpoints.list", |
+ "set": { |
+ "description": "Sets the breakpoint to the debuggee.", |
+ "httpMethod": "POST", |
+ "id": "clouddebugger.debugger.debuggees.breakpoints.set", |
"parameterOrder": [ |
"debuggeeId" |
], |
"parameters": { |
- "waitToken": { |
- "description": "A wait token that, if specified, blocks the method call until the list\nof active breakpoints has changed, or a server selected timeout has\nexpired. The value should be set from the last returned response.", |
- "location": "query", |
- "type": "string" |
- }, |
"debuggeeId": { |
- "description": "Identifies the debuggee.", |
+ "description": "ID of the debuggee where the breakpoint is to be set.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "successOnTimeout": { |
- "description": "If set to `true`, returns `google.rpc.Code.OK` status and sets the\n`wait_expired` response field to `true` when the server-selected timeout\nhas expired (recommended).\n\nIf set to `false`, returns `google.rpc.Code.ABORTED` status when the\nserver-selected timeout has expired (deprecated).", |
+ "clientVersion": { |
+ "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", |
"location": "query", |
- "type": "boolean" |
+ "type": "string" |
} |
}, |
- "path": "v2/controller/debuggees/{debuggeeId}/breakpoints", |
+ "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set", |
+ "request": { |
+ "$ref": "Breakpoint" |
+ }, |
"response": { |
- "$ref": "ListActiveBreakpointsResponse" |
+ "$ref": "SetBreakpointResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloud_debugger" |
] |
}, |
- "update": { |
- "description": "Updates the breakpoint state or mutable fields.\nThe entire Breakpoint message must be sent back to the controller\nservice.\n\nUpdates to active breakpoint fields are only allowed if the new value\ndoes not change the breakpoint specification. Updates to the `location`,\n`condition` and `expression` fields should not alter the breakpoint\nsemantics. These may only make changes such as canonicalizing a value\nor snapping the location to the correct line of code.", |
- "httpMethod": "PUT", |
- "id": "clouddebugger.controller.debuggees.breakpoints.update", |
+ "delete": { |
+ "description": "Deletes the breakpoint from the debuggee.", |
+ "httpMethod": "DELETE", |
+ "id": "clouddebugger.debugger.debuggees.breakpoints.delete", |
"parameterOrder": [ |
"debuggeeId", |
- "id" |
+ "breakpointId" |
], |
"parameters": { |
- "debuggeeId": { |
- "description": "Identifies the debuggee being debugged.", |
+ "clientVersion": { |
+ "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "breakpointId": { |
+ "description": "ID of the breakpoint to delete.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "id": { |
- "description": "Breakpoint identifier, unique in the scope of the debuggee.", |
+ "debuggeeId": { |
+ "description": "ID of the debuggee whose breakpoint to delete.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}", |
- "request": { |
- "$ref": "UpdateActiveBreakpointRequest" |
- }, |
+ "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", |
"response": { |
- "$ref": "UpdateActiveBreakpointResponse" |
+ "$ref": "Empty" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloud_debugger" |
] |
- } |
- } |
- } |
- } |
- } |
- } |
- }, |
- "debugger": { |
- "resources": { |
- "debuggees": { |
- "methods": { |
- "list": { |
- "description": "Lists all the debuggees that the user can set breakpoints to.", |
- "httpMethod": "GET", |
- "id": "clouddebugger.debugger.debuggees.list", |
- "parameterOrder": [], |
- "parameters": { |
- "clientVersion": { |
- "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", |
- "location": "query", |
- "type": "string" |
}, |
- "includeInactive": { |
- "description": "When set to `true`, the result includes all debuggees. Otherwise, the\nresult includes only debuggees that are active.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "project": { |
- "description": "Project number of a Google Cloud project whose debuggees to list.", |
- "location": "query", |
- "type": "string" |
- } |
- }, |
- "path": "v2/debugger/debuggees", |
- "response": { |
- "$ref": "ListDebuggeesResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloud_debugger" |
- ] |
- } |
- }, |
- "resources": { |
- "breakpoints": { |
- "methods": { |
"get": { |
"description": "Gets breakpoint information.", |
"httpMethod": "GET", |
@@ -300,6 +268,21 @@ |
"debuggeeId" |
], |
"parameters": { |
+ "includeAllUsers": { |
+ "description": "When set to `true`, the response includes the list of breakpoints set by\nany user. Otherwise, it includes only breakpoints set by the caller.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "includeInactive": { |
+ "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes only active breakpoints.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "stripResults": { |
+ "description": "This field is deprecated. The following fields are always stripped out of\nthe result: `stack_frames`, `evaluated_expressions` and `variable_table`.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
"debuggeeId": { |
"description": "ID of the debuggee whose breakpoints to list.", |
"location": "path", |
@@ -311,11 +294,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "clientVersion": { |
- "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", |
- "location": "query", |
- "type": "string" |
- }, |
"action.value": { |
"description": "Only breakpoints with the specified action will pass the filter.", |
"enum": [ |
@@ -325,20 +303,10 @@ |
"location": "query", |
"type": "string" |
}, |
- "includeInactive": { |
- "description": "When set to `true`, the response includes active and inactive\nbreakpoints. Otherwise, it includes only active breakpoints.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "includeAllUsers": { |
- "description": "When set to `true`, the response includes the list of breakpoints set by\nany user. Otherwise, it includes only breakpoints set by the caller.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "stripResults": { |
- "description": "This field is deprecated. The following fields are always stripped out of\nthe result: `stack_frames`, `evaluated_expressions` and `variable_table`.", |
+ "clientVersion": { |
+ "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", |
"location": "query", |
- "type": "boolean" |
+ "type": "string" |
} |
}, |
"path": "v2/debugger/debuggees/{debuggeeId}/breakpoints", |
@@ -349,69 +317,101 @@ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloud_debugger" |
] |
- }, |
- "set": { |
- "description": "Sets the breakpoint to the debuggee.", |
- "httpMethod": "POST", |
- "id": "clouddebugger.debugger.debuggees.breakpoints.set", |
+ } |
+ } |
+ } |
+ } |
+ } |
+ } |
+ }, |
+ "controller": { |
+ "resources": { |
+ "debuggees": { |
+ "methods": { |
+ "register": { |
+ "description": "Registers the debuggee with the controller service.\n\nAll agents attached to the same application should call this method with\nthe same request content to get back the same stable `debuggee_id`. Agents\nshould call this method again whenever `google.rpc.Code.NOT_FOUND` is\nreturned from any controller method.\n\nThis allows the controller service to disable the agent or recover from any\ndata loss. If the debuggee is disabled by the server, the response will\nhave `is_disabled` set to `true`.", |
+ "httpMethod": "POST", |
+ "id": "clouddebugger.controller.debuggees.register", |
+ "parameterOrder": [], |
+ "parameters": {}, |
+ "path": "v2/controller/debuggees/register", |
+ "request": { |
+ "$ref": "RegisterDebuggeeRequest" |
+ }, |
+ "response": { |
+ "$ref": "RegisterDebuggeeResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloud_debugger" |
+ ] |
+ } |
+ }, |
+ "resources": { |
+ "breakpoints": { |
+ "methods": { |
+ "list": { |
+ "description": "Returns the list of all active breakpoints for the debuggee.\n\nThe breakpoint specification (location, condition, and expression\nfields) is semantically immutable, although the field values may\nchange. For example, an agent may update the location line number\nto reflect the actual line where the breakpoint was set, but this\ndoesn't change the breakpoint semantics.\n\nThis means that an agent does not need to check if a breakpoint has changed\nwhen it encounters the same breakpoint on a successive call.\nMoreover, an agent should remember the breakpoints that are completed\nuntil the controller removes them from the active list to avoid\nsetting those breakpoints again.", |
+ "httpMethod": "GET", |
+ "id": "clouddebugger.controller.debuggees.breakpoints.list", |
"parameterOrder": [ |
"debuggeeId" |
], |
"parameters": { |
"debuggeeId": { |
- "description": "ID of the debuggee where the breakpoint is to be set.", |
+ "description": "Identifies the debuggee.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "clientVersion": { |
- "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", |
+ "successOnTimeout": { |
+ "description": "If set to `true`, returns `google.rpc.Code.OK` status and sets the\n`wait_expired` response field to `true` when the server-selected timeout\nhas expired (recommended).\n\nIf set to `false`, returns `google.rpc.Code.ABORTED` status when the\nserver-selected timeout has expired (deprecated).", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "waitToken": { |
+ "description": "A wait token that, if specified, blocks the method call until the list\nof active breakpoints has changed, or a server selected timeout has\nexpired. The value should be set from the last returned response.", |
"location": "query", |
"type": "string" |
} |
}, |
- "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/set", |
- "request": { |
- "$ref": "Breakpoint" |
- }, |
+ "path": "v2/controller/debuggees/{debuggeeId}/breakpoints", |
"response": { |
- "$ref": "SetBreakpointResponse" |
+ "$ref": "ListActiveBreakpointsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloud_debugger" |
] |
}, |
- "delete": { |
- "description": "Deletes the breakpoint from the debuggee.", |
- "httpMethod": "DELETE", |
- "id": "clouddebugger.debugger.debuggees.breakpoints.delete", |
+ "update": { |
+ "description": "Updates the breakpoint state or mutable fields.\nThe entire Breakpoint message must be sent back to the controller\nservice.\n\nUpdates to active breakpoint fields are only allowed if the new value\ndoes not change the breakpoint specification. Updates to the `location`,\n`condition` and `expression` fields should not alter the breakpoint\nsemantics. These may only make changes such as canonicalizing a value\nor snapping the location to the correct line of code.", |
+ "httpMethod": "PUT", |
+ "id": "clouddebugger.controller.debuggees.breakpoints.update", |
"parameterOrder": [ |
"debuggeeId", |
- "breakpointId" |
+ "id" |
], |
"parameters": { |
- "clientVersion": { |
- "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).", |
- "location": "query", |
- "type": "string" |
- }, |
- "breakpointId": { |
- "description": "ID of the breakpoint to delete.", |
+ "id": { |
+ "description": "Breakpoint identifier, unique in the scope of the debuggee.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"debuggeeId": { |
- "description": "ID of the debuggee whose breakpoint to delete.", |
+ "description": "Identifies the debuggee being debugged.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}", |
+ "path": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}", |
+ "request": { |
+ "$ref": "UpdateActiveBreakpointRequest" |
+ }, |
"response": { |
- "$ref": "Empty" |
+ "$ref": "UpdateActiveBreakpointResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -425,61 +425,9 @@ |
} |
} |
}, |
- "revision": "20170322", |
+ "revision": "20170413", |
"rootUrl": "https://clouddebugger.googleapis.com/", |
"schemas": { |
- "StatusMessage": { |
- "description": "Represents a contextual status message.\nThe message can indicate an error or informational status, and refer to\nspecific parts of the containing object.\nFor example, the `Breakpoint.status` field can indicate an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.", |
- "id": "StatusMessage", |
- "properties": { |
- "isError": { |
- "description": "Distinguishes errors from informational messages.", |
- "type": "boolean" |
- }, |
- "description": { |
- "$ref": "FormatMessage", |
- "description": "Status message text." |
- }, |
- "refersTo": { |
- "description": "Reference to which the message applies.", |
- "enum": [ |
- "UNSPECIFIED", |
- "BREAKPOINT_SOURCE_LOCATION", |
- "BREAKPOINT_CONDITION", |
- "BREAKPOINT_EXPRESSION", |
- "BREAKPOINT_AGE", |
- "VARIABLE_NAME", |
- "VARIABLE_VALUE" |
- ], |
- "enumDescriptions": [ |
- "Status doesn't refer to any particular input.", |
- "Status applies to the breakpoint and is related to its location.", |
- "Status applies to the breakpoint and is related to its condition.", |
- "Status applies to the breakpoint and is related to its expressions.", |
- "Status applies to the breakpoint and is related to its age.", |
- "Status applies to the entire variable.", |
- "Status applies to variable value (variable name is valid)." |
- ], |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "GitSourceContext": { |
- "description": "A GitSourceContext denotes a particular revision in a third party Git\nrepository (e.g. GitHub).", |
- "id": "GitSourceContext", |
- "properties": { |
- "revisionId": { |
- "description": "Git commit hash.\nrequired.", |
- "type": "string" |
- }, |
- "url": { |
- "description": "Git repository URL.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"Variable": { |
"description": "Represents a variable or an argument possibly of a compound object type.\nNote how the following variables are represented:\n\n1) A simple variable:\n\n int x = 5\n\n { name: \"x\", value: \"5\", type: \"int\" } // Captured variable\n\n2) A compound object:\n\n struct T {\n int m1;\n int m2;\n };\n T x = { 3, 7 };\n\n { // Captured variable\n name: \"x\",\n type: \"T\",\n members { name: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n }\n\n3) A pointer where the pointee was captured:\n\n T x = { 3, 7 };\n T* p = &x;\n\n { // Captured variable\n name: \"p\",\n type: \"T*\",\n value: \"0x00500500\",\n members { name: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n }\n\n4) A pointer where the pointee was not captured:\n\n T* p = new T;\n\n { // Captured variable\n name: \"p\",\n type: \"T*\",\n value: \"0x00400400\"\n status { is_error: true, description { format: \"unavailable\" } }\n }\n\nThe status should describe the reason for the missing value,\nsuch as `<optimized out>`, `<inaccessible>`, `<pointers limit reached>`.\n\nNote that a null pointer should not have members.\n\n5) An unnamed value:\n\n int* p = new int(7);\n\n { // Captured variable\n name: \"p\",\n value: \"0x00500500\",\n type: \"int*\",\n members { value: \"7\", type: \"int\" } }\n\n6) An unnamed pointer where the pointee was not captured:\n\n int* p = new int(7);\n int** pp = &p;\n\n { // Captured variable\n name: \"pp\",\n value: \"0x00500500\",\n type: \"int**\",\n members {\n value: \"0x00400400\",\n type: \"int*\"\n status {\n is_error: true,\n description: { format: \"unavailable\" } }\n }\n }\n }\n\nTo optimize computation, memory and network traffic, variables that\nrepeat in the output multiple times can be stored once in a shared\nvariable table and be referenced using the `var_table_index` field. The\nvariables stored in the shared table are nameless and are essentially\na partition of the complete variable. To reconstruct the complete\nvariable, merge the referencing variable with the referenced variable.\n\nWhen using the shared variable table, the following variables:\n\n T x = { 3, 7 };\n T* p = &x;\n T& r = x;\n\n { name: \"x\", var_table_index: 3, type: \"T\" } // Captured variables\n { name: \"p\", value \"0x00500500\", type=\"T*\", var_table_index: 3 }\n { name: \"r\", type=\"T&\", var_table_index: 3 }\n\n { // Shared variable table entry #3:\n members { name: \"m1\", value: \"3\", type: \"int\" },\n members { name: \"m2\", value: \"7\", type: \"int\" }\n }\n\nNote that the pointer address is stored with the referencing variable\nand not with the referenced variable. This allows the referenced variable\nto be shared between pointers and references.\n\nThe type field is optional. The debugger agent may or may not support it.", |
"id": "Variable", |
@@ -503,14 +451,14 @@ |
"description": "Variable type (e.g. `MyClass`). If the variable is split with\n`var_table_index`, `type` goes next to `value`. The interpretation of\na type is agent specific. It is recommended to include the dynamic type\nrather than a static type of an object.", |
"type": "string" |
}, |
- "value": { |
- "description": "Simple value of the variable.", |
- "type": "string" |
- }, |
"varTableIndex": { |
"description": "Reference to a variable in the shared variable table. More than\none variable can reference the same variable in the table. The\n`var_table_index` field is an index into `variable_table` in Breakpoint.", |
"format": "int32", |
"type": "integer" |
+ }, |
+ "value": { |
+ "description": "Simple value of the variable.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -662,6 +610,22 @@ |
"description": "Represents the application to debug. The application may include one or more\nreplicated processes executing the same code. Each of these processes is\nattached with a debugger agent, carrying out the debugging commands.\nThe agents attached to the same debuggee are identified by using exactly the\nsame field values when registering.", |
"id": "Debuggee", |
"properties": { |
+ "project": { |
+ "description": "Project the debuggee is associated with.\nUse the project number when registering a Google Cloud Platform project.", |
+ "type": "string" |
+ }, |
+ "isDisabled": { |
+ "description": "If set to `true`, indicates that the agent should disable itself and\ndetach from the debuggee.", |
+ "type": "boolean" |
+ }, |
+ "agentVersion": { |
+ "description": "Version ID of the agent release. The version ID is structured as\nfollowing: `domain/type/vmajor.minor` (for example\n`google.com/gcp-java/v1.1`).", |
+ "type": "string" |
+ }, |
+ "id": { |
+ "description": "Unique identifier for the debuggee generated by the controller service.", |
+ "type": "string" |
+ }, |
"uniquifier": { |
"description": "Debuggee uniquifier within the project.\nAny string that identifies the application within the project can be used.\nIncluding environment and version or build IDs is recommended.", |
"type": "string" |
@@ -698,22 +662,6 @@ |
"isInactive": { |
"description": "If set to `true`, indicates that the debuggee is considered as inactive by\nthe Controller service.", |
"type": "boolean" |
- }, |
- "project": { |
- "description": "Project the debuggee is associated with.\nUse the project number when registering a Google Cloud Platform project.", |
- "type": "string" |
- }, |
- "id": { |
- "description": "Unique identifier for the debuggee generated by the controller service.", |
- "type": "string" |
- }, |
- "agentVersion": { |
- "description": "Version ID of the agent release. The version ID is structured as\nfollowing: `domain/type/vmajor.minor` (for example\n`google.com/gcp-java/v1.1`).", |
- "type": "string" |
- }, |
- "isDisabled": { |
- "description": "If set to `true`, indicates that the agent should disable itself and\ndetach from the debuggee.", |
- "type": "boolean" |
} |
}, |
"type": "object" |
@@ -770,20 +718,10 @@ |
}, |
"type": "object" |
}, |
- "UpdateActiveBreakpointResponse": { |
- "description": "Response for updating an active breakpoint.\nThe message is defined to allow future extensions.", |
- "id": "UpdateActiveBreakpointResponse", |
- "properties": {}, |
- "type": "object" |
- }, |
"GerritSourceContext": { |
"description": "A SourceContext referring to a Gerrit project.", |
"id": "GerritSourceContext", |
"properties": { |
- "aliasName": { |
- "description": "The name of an alias (branch, tag, etc.).", |
- "type": "string" |
- }, |
"gerritProject": { |
"description": "The full project name within the host. Projects may be nested, so\n\"project/subproject\" is a valid project name.\nThe \"repo name\" is hostURI/project.", |
"type": "string" |
@@ -799,21 +737,31 @@ |
"revisionId": { |
"description": "A revision (commit) ID.", |
"type": "string" |
+ }, |
+ "aliasName": { |
+ "description": "The name of an alias (branch, tag, etc.).", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
+ "UpdateActiveBreakpointResponse": { |
+ "description": "Response for updating an active breakpoint.\nThe message is defined to allow future extensions.", |
+ "id": "UpdateActiveBreakpointResponse", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
"CloudWorkspaceId": { |
"description": "A CloudWorkspaceId is a unique identifier for a cloud workspace.\nA cloud workspace is a place associated with a repo where modified files\ncan be stored before they are committed.", |
"id": "CloudWorkspaceId", |
"properties": { |
- "repoId": { |
- "$ref": "RepoId", |
- "description": "The ID of the repo containing the workspace." |
- }, |
"name": { |
"description": "The unique name of the workspace within the repo. This is the name\nchosen by the client in the Source API's CreateWorkspace method.", |
"type": "string" |
+ }, |
+ "repoId": { |
+ "$ref": "RepoId", |
+ "description": "The ID of the repo containing the workspace." |
} |
}, |
"type": "object" |
@@ -890,15 +838,15 @@ |
}, |
"type": "array" |
}, |
- "logMessageFormat": { |
- "description": "Only relevant when action is `LOG`. Defines the message to log when\nthe breakpoint hits. The message may include parameter placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluated value\nof the appropriate expression. Expressions not referenced in\n`log_message_format` are not logged.\n\nExample: `Message received, id = $0, count = $1` with\n`expressions` = `[ message.id, message.count ]`.", |
- "type": "string" |
- }, |
"createTime": { |
"description": "Time this breakpoint was created by the server in seconds resolution.", |
"format": "google-datetime", |
"type": "string" |
}, |
+ "logMessageFormat": { |
+ "description": "Only relevant when action is `LOG`. Defines the message to log when\nthe breakpoint hits. The message may include parameter placeholders `$0`,\n`$1`, etc. These placeholders are replaced with the evaluated value\nof the appropriate expression. Expressions not referenced in\n`log_message_format` are not logged.\n\nExample: `Message received, id = $0, count = $1` with\n`expressions` = `[ message.id, message.count ]`.", |
+ "type": "string" |
+ }, |
"labels": { |
"additionalProperties": { |
"type": "string" |
@@ -942,24 +890,24 @@ |
}, |
"type": "object" |
}, |
- "UpdateActiveBreakpointRequest": { |
- "description": "Request to update an active breakpoint.", |
- "id": "UpdateActiveBreakpointRequest", |
+ "SetBreakpointResponse": { |
+ "description": "Response for setting a breakpoint.", |
+ "id": "SetBreakpointResponse", |
"properties": { |
"breakpoint": { |
"$ref": "Breakpoint", |
- "description": "Updated breakpoint information.\nThe field 'id' must be set." |
+ "description": "Breakpoint resource.\nThe field `id` is guaranteed to be set (in addition to the echoed fileds)." |
} |
}, |
"type": "object" |
}, |
- "SetBreakpointResponse": { |
- "description": "Response for setting a breakpoint.", |
- "id": "SetBreakpointResponse", |
+ "UpdateActiveBreakpointRequest": { |
+ "description": "Request to update an active breakpoint.", |
+ "id": "UpdateActiveBreakpointRequest", |
"properties": { |
"breakpoint": { |
"$ref": "Breakpoint", |
- "description": "Breakpoint resource.\nThe field `id` is guaranteed to be set (in addition to the echoed fileds)." |
+ "description": "Updated breakpoint information.\nThe field 'id' must be set." |
} |
}, |
"type": "object" |
@@ -968,6 +916,10 @@ |
"description": "A SourceContext is a reference to a tree of files. A SourceContext together\nwith a path point to a unique revision of a single file or directory.", |
"id": "SourceContext", |
"properties": { |
+ "git": { |
+ "$ref": "GitSourceContext", |
+ "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)." |
+ }, |
"gerrit": { |
"$ref": "GerritSourceContext", |
"description": "A SourceContext referring to a Gerrit project." |
@@ -979,10 +931,6 @@ |
"cloudWorkspace": { |
"$ref": "CloudWorkspaceSourceContext", |
"description": "A SourceContext referring to a snapshot in a cloud workspace." |
- }, |
- "git": { |
- "$ref": "GitSourceContext", |
- "description": "A SourceContext referring to any third party Git repo (e.g. GitHub)." |
} |
}, |
"type": "object" |
@@ -991,6 +939,10 @@ |
"description": "A CloudRepoSourceContext denotes a particular revision in a cloud\nrepo (a repo hosted by the Google Cloud Platform).", |
"id": "CloudRepoSourceContext", |
"properties": { |
+ "aliasContext": { |
+ "$ref": "AliasContext", |
+ "description": "An alias, which may be a branch or tag." |
+ }, |
"revisionId": { |
"description": "A revision ID.", |
"type": "string" |
@@ -1002,32 +954,28 @@ |
"repoId": { |
"$ref": "RepoId", |
"description": "The ID of the repo." |
- }, |
- "aliasContext": { |
- "$ref": "AliasContext", |
- "description": "An alias, which may be a branch or tag." |
} |
}, |
"type": "object" |
}, |
- "RegisterDebuggeeRequest": { |
- "description": "Request to register a debuggee.", |
- "id": "RegisterDebuggeeRequest", |
+ "RegisterDebuggeeResponse": { |
+ "description": "Response for registering a debuggee.", |
+ "id": "RegisterDebuggeeResponse", |
"properties": { |
"debuggee": { |
"$ref": "Debuggee", |
- "description": "Debuggee information to register.\nThe fields `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee must be set." |
+ "description": "Debuggee resource.\nThe field `id` is guranteed to be set (in addition to the echoed fields)." |
} |
}, |
"type": "object" |
}, |
- "RegisterDebuggeeResponse": { |
- "description": "Response for registering a debuggee.", |
- "id": "RegisterDebuggeeResponse", |
+ "RegisterDebuggeeRequest": { |
+ "description": "Request to register a debuggee.", |
+ "id": "RegisterDebuggeeRequest", |
"properties": { |
"debuggee": { |
"$ref": "Debuggee", |
- "description": "Debuggee resource.\nThe field `id` is guranteed to be set (in addition to the echoed fields)." |
+ "description": "Debuggee information to register.\nThe fields `project`, `uniquifier`, `description` and `agent_version`\nof the debuggee must be set." |
} |
}, |
"type": "object" |
@@ -1042,6 +990,58 @@ |
} |
}, |
"type": "object" |
+ }, |
+ "StatusMessage": { |
+ "description": "Represents a contextual status message.\nThe message can indicate an error or informational status, and refer to\nspecific parts of the containing object.\nFor example, the `Breakpoint.status` field can indicate an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.", |
+ "id": "StatusMessage", |
+ "properties": { |
+ "isError": { |
+ "description": "Distinguishes errors from informational messages.", |
+ "type": "boolean" |
+ }, |
+ "description": { |
+ "$ref": "FormatMessage", |
+ "description": "Status message text." |
+ }, |
+ "refersTo": { |
+ "description": "Reference to which the message applies.", |
+ "enum": [ |
+ "UNSPECIFIED", |
+ "BREAKPOINT_SOURCE_LOCATION", |
+ "BREAKPOINT_CONDITION", |
+ "BREAKPOINT_EXPRESSION", |
+ "BREAKPOINT_AGE", |
+ "VARIABLE_NAME", |
+ "VARIABLE_VALUE" |
+ ], |
+ "enumDescriptions": [ |
+ "Status doesn't refer to any particular input.", |
+ "Status applies to the breakpoint and is related to its location.", |
+ "Status applies to the breakpoint and is related to its condition.", |
+ "Status applies to the breakpoint and is related to its expressions.", |
+ "Status applies to the breakpoint and is related to its age.", |
+ "Status applies to the entire variable.", |
+ "Status applies to variable value (variable name is valid)." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GitSourceContext": { |
+ "description": "A GitSourceContext denotes a particular revision in a third party Git\nrepository (e.g. GitHub).", |
+ "id": "GitSourceContext", |
+ "properties": { |
+ "revisionId": { |
+ "description": "Git commit hash.\nrequired.", |
+ "type": "string" |
+ }, |
+ "url": { |
+ "description": "Git repository URL.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
} |
}, |
"servicePath": "", |