Update dependencies

This commit is contained in:
Alexander Neumann 2017-09-13 14:09:48 +02:00
parent f3b49987f8
commit fda563d606
926 changed files with 189726 additions and 98666 deletions

File diff suppressed because it is too large Load diff

View file

@ -458,21 +458,20 @@ func (s *CloudWorkspaceSourceContext) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Debuggee: Represents the application to debug. The application may
// Debuggee: Represents the debugged application. The application may
// include one or more
// replicated processes executing the same code. Each of these processes
// is
// attached with a debugger agent, carrying out the debugging
// commands.
// The agents attached to the same debuggee are identified by using
// exactly the
// same field values when registering.
// Agents attached to the same debuggee identify themselves as such by
// using
// exactly the same Debuggee message value when registering.
type Debuggee struct {
// AgentVersion: Version ID of the agent release. The version ID is
// structured as
// following: `domain/type/vmajor.minor` (for
// AgentVersion: Version ID of the agent.
// Schema: `domain/language-platform/vmajor.minor` (for
// example
// `google.com/gcp-java/v1.1`).
// `google.com/java-gcp/v1.1`).
AgentVersion string `json:"agentVersion,omitempty"`
// Description: Human readable description of the debuggee.
@ -485,10 +484,7 @@ type Debuggee struct {
// source code used in the
// deployed application.
//
// Contexts describing a remote repo related to the source code
// have a `category` label of `remote_repo`. Source snapshot
// source
// contexts have a `category` of `snapshot`.
// NOTE: this field is experimental and can be ignored.
ExtSourceContexts []*ExtendedSourceContext `json:"extSourceContexts,omitempty"`
// Id: Unique identifier for the debuggee generated by the controller
@ -500,9 +496,10 @@ type Debuggee struct {
// detach from the debuggee.
IsDisabled bool `json:"isDisabled,omitempty"`
// IsInactive: If set to `true`, indicates that the debuggee is
// considered as inactive by
// the Controller service.
// IsInactive: If set to `true`, indicates that Controller service does
// not detect any
// activity from the debuggee agents and the application is possibly
// stopped.
IsInactive bool `json:"isInactive,omitempty"`
// Labels: A set of custom debuggee properties, populated by the agent,
@ -511,19 +508,13 @@ type Debuggee struct {
Labels map[string]string `json:"labels,omitempty"`
// Project: Project the debuggee is associated with.
// Use the project number when registering a Google Cloud Platform
// Use project number or id when registering a Google Cloud Platform
// project.
Project string `json:"project,omitempty"`
// SourceContexts: References to the locations and revisions of the
// source code used in the
// deployed application.
//
// NOTE: This field is deprecated. Consumers should
// use
// `ext_source_contexts` if it is not empty. Debug agents should
// populate
// both this field and `ext_source_contexts`.
SourceContexts []*SourceContext `json:"sourceContexts,omitempty"`
// Status: Human readable message to be displayed to the user about this
@ -533,10 +524,16 @@ type Debuggee struct {
// informational or an error status.
Status *StatusMessage `json:"status,omitempty"`
// Uniquifier: Debuggee uniquifier within the project.
// Any string that identifies the application within the project can be
// used.
// Including environment and version or build IDs is recommended.
// Uniquifier: Uniquifier to further distiguish the application.
// It is possible that different applications might have identical
// values in
// the debuggee message, thus, incorrectly identified as a single
// application
// by the Controller service. This field adds salt to further distiguish
// the
// application. Agents should consider seeding this field with value
// that
// identifies the code, binary, configuration and environment.
Uniquifier string `json:"uniquifier,omitempty"`
// ForceSendFields is a list of field names (e.g. "AgentVersion") to
@ -772,14 +769,16 @@ type ListActiveBreakpointsResponse struct {
// breakpoint.
Breakpoints []*Breakpoint `json:"breakpoints,omitempty"`
// NextWaitToken: A wait token that can be used in the next method call
// to block until
// NextWaitToken: A token that can be used in the next method call to
// block until
// the list of breakpoints changes.
NextWaitToken string `json:"nextWaitToken,omitempty"`
// WaitExpired: The `wait_expired` field is set to true by the server
// when the
// request times out and the field `success_on_timeout` is set to true.
// WaitExpired: If set to `true`, indicates that there is no change to
// the
// list of active breakpoints and the server-selected timeout has
// expired.
// The `breakpoints` field would be empty and should be ignored.
WaitExpired bool `json:"waitExpired,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@ -855,12 +854,11 @@ func (s *ListBreakpointsResponse) MarshalJSON() ([]byte, error) {
// ListDebuggeesResponse: Response for listing debuggees.
type ListDebuggeesResponse struct {
// Debuggees: List of debuggees accessible to the calling user.
// Note that the `description` field is the only human readable
// field
// that should be displayed to the user.
// The fields `debuggee.id` and `description` fields are guaranteed to
// be
// set on each debuggee.
// The fields `debuggee.id` and `description` are guaranteed to be
// set.
// The `description` field is a human readable field provided by agents
// and
// can be displayed to users.
Debuggees []*Debuggee `json:"debuggees,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@ -959,6 +957,12 @@ type RegisterDebuggeeResponse struct {
// Debuggee: Debuggee resource.
// The field `id` is guranteed to be set (in addition to the echoed
// fields).
// If the field `is_disabled` is set to `true`, the agent should
// disable
// itself by removing all breakpoints and detaching from the
// application.
// It should however continue to poll `RegisterDebuggee` until
// reenabled.
Debuggee *Debuggee `json:"debuggee,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@ -1226,6 +1230,8 @@ func (s *StatusMessage) MarshalJSON() ([]byte, error) {
type UpdateActiveBreakpointRequest struct {
// Breakpoint: Updated breakpoint information.
// The field `id` must be set.
// The agent must echo all Breakpoint specification fields in the
// update.
Breakpoint *Breakpoint `json:"breakpoint,omitempty"`
// ForceSendFields is a list of field names (e.g. "Breakpoint") to
@ -1473,19 +1479,19 @@ type ControllerDebuggeesRegisterCall struct {
// Register: Registers the debuggee with the controller service.
//
// All agents attached to the same application should call this method
// All agents attached to the same application must call this method
// with
// the same request content to get back the same stable `debuggee_id`.
// Agents
// should call this method again whenever `google.rpc.Code.NOT_FOUND`
// is
// returned from any controller method.
// exactly the same request content to get back the same stable
// `debuggee_id`.
// Agents should call this method again whenever
// `google.rpc.Code.NOT_FOUND`
// is returned from any controller method.
//
// This allows the controller service to disable the agent or recover
// from any
// data loss. If the debuggee is disabled by the server, the response
// will
// have `is_disabled` set to `true`.
// This protocol allows the controller service to disable debuggees,
// recover
// from data loss, or change the `debuggee_id` format. Agents must
// handle
// `debuggee_id` value changing upon re-registration.
func (r *ControllerDebuggeesService) Register(registerdebuggeerequest *RegisterDebuggeeRequest) *ControllerDebuggeesRegisterCall {
c := &ControllerDebuggeesRegisterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.registerdebuggeerequest = registerdebuggeerequest
@ -1575,7 +1581,7 @@ func (c *ControllerDebuggeesRegisterCall) Do(opts ...googleapi.CallOption) (*Reg
}
return ret, nil
// {
// "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`.",
// "description": "Registers the debuggee with the controller service.\n\nAll agents attached to the same application must call this method with\nexactly the same request content to get back the same stable `debuggee_id`.\nAgents should call this method again whenever `google.rpc.Code.NOT_FOUND`\nis returned from any controller method.\n\nThis protocol allows the controller service to disable debuggees, recover\nfrom data loss, or change the `debuggee_id` format. Agents must handle\n`debuggee_id` value changing upon re-registration.",
// "flatPath": "v2/controller/debuggees/register",
// "httpMethod": "POST",
// "id": "clouddebugger.controller.debuggees.register",
@ -1635,25 +1641,27 @@ func (r *ControllerDebuggeesBreakpointsService) List(debuggeeId string) *Control
}
// SuccessOnTimeout sets the optional parameter "successOnTimeout": If
// set to `true`, returns `google.rpc.Code.OK` status and sets
// the
// `wait_expired` response field to `true` when the server-selected
// timeout
// has expired (recommended).
// set to `true` (recommended), returns `google.rpc.Code.OK` status
// and
// sets the `wait_expired` response field to `true` when the
// server-selected
// timeout has expired.
//
// If set to `false`, returns `google.rpc.Code.ABORTED` status when
// the
// server-selected timeout has expired (deprecated).
// If set to `false` (deprecated), returns `google.rpc.Code.ABORTED`
// status
// when the server-selected timeout has expired.
func (c *ControllerDebuggeesBreakpointsListCall) SuccessOnTimeout(successOnTimeout bool) *ControllerDebuggeesBreakpointsListCall {
c.urlParams_.Set("successOnTimeout", fmt.Sprint(successOnTimeout))
return c
}
// WaitToken sets the optional parameter "waitToken": A wait token that,
// if specified, blocks the method call until the list
// of active breakpoints has changed, or a server selected timeout
// WaitToken sets the optional parameter "waitToken": A token that, if
// specified, blocks the method call until the list
// of active breakpoints has changed, or a server-selected timeout
// has
// expired. The value should be set from the last returned response.
// expired. The value should be set from the `next_wait_token` field
// in
// the last response. The initial value should be set to "init".
func (c *ControllerDebuggeesBreakpointsListCall) WaitToken(waitToken string) *ControllerDebuggeesBreakpointsListCall {
c.urlParams_.Set("waitToken", waitToken)
return c
@ -1768,12 +1776,12 @@ func (c *ControllerDebuggeesBreakpointsListCall) Do(opts ...googleapi.CallOption
// "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).",
// "description": "If set to `true` (recommended), returns `google.rpc.Code.OK` status and\nsets the `wait_expired` response field to `true` when the server-selected\ntimeout has expired.\n\nIf set to `false` (deprecated), returns `google.rpc.Code.ABORTED` status\nwhen the server-selected timeout has expired.",
// "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.",
// "description": "A 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 `next_wait_token` field in\nthe last response. The initial value should be set to `\"init\"`.",
// "location": "query",
// "type": "string"
// }
@ -1803,8 +1811,7 @@ type ControllerDebuggeesBreakpointsUpdateCall struct {
}
// Update: Updates the breakpoint state or mutable fields.
// The entire Breakpoint message must be sent back to the
// controller
// The entire Breakpoint message must be sent back to the controller
// service.
//
// Updates to active breakpoint fields are only allowed if the new
@ -1911,7 +1918,7 @@ func (c *ControllerDebuggeesBreakpointsUpdateCall) Do(opts ...googleapi.CallOpti
}
return ret, nil
// {
// "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 `expressions` 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.",
// "description": "Updates the breakpoint state or mutable fields.\nThe entire Breakpoint message must be sent back to the controller service.\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 `expressions` 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.",
// "flatPath": "v2/controller/debuggees/{debuggeeId}/breakpoints/{id}",
// "httpMethod": "PUT",
// "id": "clouddebugger.controller.debuggees.breakpoints.update",
@ -1958,7 +1965,7 @@ type DebuggerDebuggeesListCall struct {
header_ http.Header
}
// List: Lists all the debuggees that the user can set breakpoints to.
// List: Lists all the debuggees that the user has access to.
func (r *DebuggerDebuggeesService) List() *DebuggerDebuggeesListCall {
c := &DebuggerDebuggeesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
return c
@ -1966,7 +1973,7 @@ func (r *DebuggerDebuggeesService) List() *DebuggerDebuggeesListCall {
// ClientVersion sets the optional parameter "clientVersion": The client
// version making the call.
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
// Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
func (c *DebuggerDebuggeesListCall) ClientVersion(clientVersion string) *DebuggerDebuggeesListCall {
c.urlParams_.Set("clientVersion", clientVersion)
return c
@ -2079,14 +2086,14 @@ func (c *DebuggerDebuggeesListCall) Do(opts ...googleapi.CallOption) (*ListDebug
}
return ret, nil
// {
// "description": "Lists all the debuggees that the user can set breakpoints to.",
// "description": "Lists all the debuggees that the user has access to.",
// "flatPath": "v2/debugger/debuggees",
// "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`).",
// "description": "The client version making the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).",
// "location": "query",
// "type": "string"
// },
@ -2134,7 +2141,7 @@ func (r *DebuggerDebuggeesBreakpointsService) Delete(debuggeeId string, breakpoi
// ClientVersion sets the optional parameter "clientVersion": The client
// version making the call.
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
// Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
func (c *DebuggerDebuggeesBreakpointsDeleteCall) ClientVersion(clientVersion string) *DebuggerDebuggeesBreakpointsDeleteCall {
c.urlParams_.Set("clientVersion", clientVersion)
return c
@ -2238,7 +2245,7 @@ func (c *DebuggerDebuggeesBreakpointsDeleteCall) Do(opts ...googleapi.CallOption
// "type": "string"
// },
// "clientVersion": {
// "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
// "description": "The client version making the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).",
// "location": "query",
// "type": "string"
// },
@ -2283,7 +2290,7 @@ func (r *DebuggerDebuggeesBreakpointsService) Get(debuggeeId string, breakpointI
// ClientVersion sets the optional parameter "clientVersion": The client
// version making the call.
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
// Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
func (c *DebuggerDebuggeesBreakpointsGetCall) ClientVersion(clientVersion string) *DebuggerDebuggeesBreakpointsGetCall {
c.urlParams_.Set("clientVersion", clientVersion)
return c
@ -2400,7 +2407,7 @@ func (c *DebuggerDebuggeesBreakpointsGetCall) Do(opts ...googleapi.CallOption) (
// "type": "string"
// },
// "clientVersion": {
// "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
// "description": "The client version making the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).",
// "location": "query",
// "type": "string"
// },
@ -2454,7 +2461,7 @@ func (c *DebuggerDebuggeesBreakpointsListCall) ActionValue(actionValue string) *
// ClientVersion sets the optional parameter "clientVersion": The client
// version making the call.
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
// Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
func (c *DebuggerDebuggeesBreakpointsListCall) ClientVersion(clientVersion string) *DebuggerDebuggeesBreakpointsListCall {
c.urlParams_.Set("clientVersion", clientVersion)
return c
@ -2612,7 +2619,7 @@ func (c *DebuggerDebuggeesBreakpointsListCall) Do(opts ...googleapi.CallOption)
// "type": "string"
// },
// "clientVersion": {
// "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
// "description": "The client version making the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).",
// "location": "query",
// "type": "string"
// },
@ -2676,7 +2683,7 @@ func (r *DebuggerDebuggeesBreakpointsService) Set(debuggeeId string, breakpoint
// ClientVersion sets the optional parameter "clientVersion": The client
// version making the call.
// Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
// Schema: `domain/type/version` (e.g., `google.com/intellij/v1`).
func (c *DebuggerDebuggeesBreakpointsSetCall) ClientVersion(clientVersion string) *DebuggerDebuggeesBreakpointsSetCall {
c.urlParams_.Set("clientVersion", clientVersion)
return c
@ -2777,7 +2784,7 @@ func (c *DebuggerDebuggeesBreakpointsSetCall) Do(opts ...googleapi.CallOption) (
// ],
// "parameters": {
// "clientVersion": {
// "description": "The client version making the call.\nFollowing: `domain/type/version` (e.g., `google.com/intellij/v1`).",
// "description": "The client version making the call.\nSchema: `domain/type/version` (e.g., `google.com/intellij/v1`).",
// "location": "query",
// "type": "string"
// },