google-api-ruby-client/generated/google/apis/clouddebugger_v2/representations.rb

466 lines
18 KiB
Ruby
Raw Normal View History

2015-12-03 01:10:07 +00:00
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module ClouddebuggerV2
2017-01-13 23:04:35 +00:00
class Debuggee
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class StackFrame
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class ListBreakpointsResponse
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class Variable
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class SourceLocation
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class GerritSourceContext
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class FormatMessage
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class RegisterDebuggeeResponse
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class GetBreakpointResponse
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class AliasContext
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class CloudWorkspaceId
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class Breakpoint
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class SetBreakpointResponse
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class ListActiveBreakpointsResponse
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class ExtendedSourceContext
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class RegisterDebuggeeRequest
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class RepoId
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class ProjectRepoId
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class CloudWorkspaceSourceContext
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class ListDebuggeesResponse
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class CloudRepoSourceContext
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class UpdateActiveBreakpointRequest
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class SourceContext
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class Empty
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class GitSourceContext
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class StatusMessage
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-01-13 23:04:35 +00:00
class UpdateActiveBreakpointResponse
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class Debuggee
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :project, as: 'project'
2017-01-13 23:04:35 +00:00
collection :ext_source_contexts, as: 'extSourceContexts', class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext, decorator: Google::Apis::ClouddebuggerV2::ExtendedSourceContext::Representation
2015-12-03 01:10:07 +00:00
property :description, as: 'description'
property :is_disabled, as: 'isDisabled'
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
2017-01-13 23:04:35 +00:00
property :is_inactive, as: 'isInactive'
property :agent_version, as: 'agentVersion'
hash :labels, as: 'labels'
property :uniquifier, as: 'uniquifier'
2015-12-03 01:10:07 +00:00
collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation
end
end
2017-01-13 23:04:35 +00:00
class StackFrame
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
property :function, as: 'function'
property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class ListBreakpointsResponse
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
property :next_wait_token, as: 'nextWaitToken'
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class Variable
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :var_table_index, as: 'varTableIndex'
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
2015-12-03 01:10:07 +00:00
2017-01-13 23:04:35 +00:00
collection :members, as: 'members', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
2015-12-03 01:10:07 +00:00
2017-01-13 23:04:35 +00:00
property :name, as: 'name'
property :value, as: 'value'
property :type, as: 'type'
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class SourceLocation
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :path, as: 'path'
property :line, as: 'line'
end
end
2015-12-03 01:10:07 +00:00
2017-01-13 23:04:35 +00:00
class GerritSourceContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :host_uri, as: 'hostUri'
2015-12-03 01:10:07 +00:00
property :alias_name, as: 'aliasName'
property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
2017-01-13 23:04:35 +00:00
property :gerrit_project, as: 'gerritProject'
property :revision_id, as: 'revisionId'
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class FormatMessage
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
collection :parameters, as: 'parameters'
property :format, as: 'format'
end
end
class RegisterDebuggeeResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class GetBreakpointResponse
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
2015-12-03 01:10:07 +00:00
end
end
class AliasContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :name, as: 'name'
end
end
2017-01-13 23:04:35 +00:00
class CloudWorkspaceId
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
2015-12-03 01:10:07 +00:00
2017-01-13 23:04:35 +00:00
property :name, as: 'name'
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class Breakpoint
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :id, as: 'id'
collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation
property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
property :user_email, as: 'userEmail'
property :condition, as: 'condition'
property :final_time, as: 'finalTime'
property :action, as: 'action'
hash :labels, as: 'labels'
property :log_message_format, as: 'logMessageFormat'
property :create_time, as: 'createTime'
property :log_level, as: 'logLevel'
collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
property :is_final_state, as: 'isFinalState'
collection :expressions, as: 'expressions'
collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class SetBreakpointResponse
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class ListActiveBreakpointsResponse
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :wait_expired, as: 'waitExpired'
collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
property :next_wait_token, as: 'nextWaitToken'
2015-12-03 01:10:07 +00:00
end
end
class ExtendedSourceContext
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
hash :labels, as: 'labels'
2015-12-03 01:10:07 +00:00
property :context, as: 'context', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation
end
end
2017-01-13 23:04:35 +00:00
class RegisterDebuggeeRequest
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation
end
end
2017-01-13 23:04:35 +00:00
class RepoId
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ClouddebuggerV2::ProjectRepoId, decorator: Google::Apis::ClouddebuggerV2::ProjectRepoId::Representation
2015-12-03 01:10:07 +00:00
2017-01-13 23:04:35 +00:00
property :uid, as: 'uid'
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class ProjectRepoId
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :repo_name, as: 'repoName'
property :project_id, as: 'projectId'
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class CloudWorkspaceSourceContext
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :snapshot_id, as: 'snapshotId'
property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class ListDebuggeesResponse
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
collection :debuggees, as: 'debuggees', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class CloudRepoSourceContext
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :alias_name, as: 'aliasName'
property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
2015-12-03 01:10:07 +00:00
2017-01-13 23:04:35 +00:00
property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
2015-12-03 01:10:07 +00:00
2017-01-13 23:04:35 +00:00
property :revision_id, as: 'revisionId'
2015-12-03 01:10:07 +00:00
end
end
class UpdateActiveBreakpointRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
end
end
2017-01-13 23:04:35 +00:00
class SourceContext
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation
2015-12-03 01:10:07 +00:00
2017-01-13 23:04:35 +00:00
property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation
property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation
property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class Empty
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
2017-01-13 23:04:35 +00:00
class GitSourceContext
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :url, as: 'url'
property :revision_id, as: 'revisionId'
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class StatusMessage
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
property :is_error, as: 'isError'
property :description, as: 'description', class: Google::Apis::ClouddebuggerV2::FormatMessage, decorator: Google::Apis::ClouddebuggerV2::FormatMessage::Representation
2015-12-03 01:10:07 +00:00
2017-01-13 23:04:35 +00:00
property :refers_to, as: 'refersTo'
2015-12-03 01:10:07 +00:00
end
end
2017-01-13 23:04:35 +00:00
class UpdateActiveBreakpointResponse
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
end
end
end