google-api-client 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +4 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +399 -399
- data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
- data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +747 -747
- data/generated/google/apis/appengine_v1/representations.rb +158 -158
- data/generated/google/apis/appengine_v1/service.rb +214 -214
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +517 -515
- data/generated/google/apis/classroom_v1/representations.rb +147 -147
- data/generated/google/apis/classroom_v1/service.rb +1144 -1143
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
- data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
- data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
- data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
- data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
- data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
- data/generated/google/apis/cloudkms_v1/service.rb +276 -276
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +82 -6
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +1177 -834
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +371 -1
- data/generated/google/apis/compute_v1/representations.rb +139 -0
- data/generated/google/apis/compute_v1/service.rb +257 -9
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1122 -826
- data/generated/google/apis/container_v1/representations.rb +279 -135
- data/generated/google/apis/container_v1/service.rb +440 -98
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
- data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
- data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +450 -431
- data/generated/google/apis/dataproc_v1/representations.rb +92 -92
- data/generated/google/apis/dataproc_v1/service.rb +200 -200
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +397 -397
- data/generated/google/apis/datastore_v1/representations.rb +100 -100
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +79 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
- data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
- data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
- data/generated/google/apis/firebaserules_v1/service.rb +151 -151
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +9 -9
- data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
- data/generated/google/apis/genomics_v1/representations.rb +306 -306
- data/generated/google/apis/genomics_v1/service.rb +1172 -1172
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +243 -243
- data/generated/google/apis/iam_v1/representations.rb +79 -79
- data/generated/google/apis/iam_v1/service.rb +137 -137
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +451 -451
- data/generated/google/apis/language_v1/representations.rb +103 -103
- data/generated/google/apis/language_v1/service.rb +49 -49
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +459 -459
- data/generated/google/apis/language_v1beta1/representations.rb +110 -110
- data/generated/google/apis/language_v1beta1/service.rb +43 -43
- data/generated/google/apis/logging_v2.rb +8 -8
- data/generated/google/apis/logging_v2/classes.rb +915 -915
- data/generated/google/apis/logging_v2/representations.rb +142 -142
- data/generated/google/apis/logging_v2/service.rb +415 -415
- data/generated/google/apis/logging_v2beta1.rb +8 -8
- data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
- data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
- data/generated/google/apis/logging_v2beta1/service.rb +221 -221
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
- data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
- data/generated/google/apis/manufacturers_v1/service.rb +101 -4
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +709 -673
- data/generated/google/apis/ml_v1/representations.rb +154 -151
- data/generated/google/apis/ml_v1/service.rb +341 -354
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +869 -869
- data/generated/google/apis/monitoring_v3/representations.rb +171 -171
- data/generated/google/apis/monitoring_v3/service.rb +340 -340
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1569 -1569
- data/generated/google/apis/partners_v2/representations.rb +256 -256
- data/generated/google/apis/partners_v2/service.rb +530 -530
- data/generated/google/apis/people_v1.rb +7 -7
- data/generated/google/apis/people_v1/classes.rb +1287 -946
- data/generated/google/apis/people_v1/representations.rb +355 -203
- data/generated/google/apis/people_v1/service.rb +409 -32
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +445 -445
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +286 -287
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +178 -178
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
- data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/script_v1.rb +4 -4
- data/generated/google/apis/script_v1/classes.rb +172 -172
- data/generated/google/apis/script_v1/representations.rb +41 -41
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +6 -6
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
- data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
- data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
- data/generated/google/apis/servicemanagement_v1.rb +6 -6
- data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
- data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
- data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
- data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
- data/generated/google/apis/serviceuser_v1/service.rb +59 -59
- data/generated/google/apis/sheets_v4.rb +5 -5
- data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
- data/generated/google/apis/sheets_v4/representations.rb +957 -940
- data/generated/google/apis/sheets_v4/service.rb +175 -175
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2932 -2905
- data/generated/google/apis/slides_v1/representations.rb +709 -694
- data/generated/google/apis/slides_v1/service.rb +50 -50
- data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
- data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
- data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
- data/generated/google/apis/spanner_v1.rb +7 -1
- data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
- data/generated/google/apis/spanner_v1/representations.rb +342 -323
- data/generated/google/apis/spanner_v1/service.rb +502 -492
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
- data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
- data/generated/google/apis/speech_v1beta1/service.rb +91 -91
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +784 -781
- data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
- data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
- data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
- data/generated/google/apis/translate_v2/classes.rb +107 -107
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +81 -81
- data/generated/google/apis/vision_v1.rb +4 -1
- data/generated/google/apis/vision_v1/classes.rb +527 -527
- data/generated/google/apis/vision_v1/representations.rb +115 -115
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
- data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
- data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/analytics.rb +2 -2
- metadata +2 -2
|
@@ -22,6 +22,389 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module ClouddebuggerV2
|
|
24
24
|
|
|
25
|
+
# A CloudWorkspaceId is a unique identifier for a cloud workspace.
|
|
26
|
+
# A cloud workspace is a place associated with a repo where modified files
|
|
27
|
+
# can be stored before they are committed.
|
|
28
|
+
class CloudWorkspaceId
|
|
29
|
+
include Google::Apis::Core::Hashable
|
|
30
|
+
|
|
31
|
+
# A unique identifier for a cloud repo.
|
|
32
|
+
# Corresponds to the JSON property `repoId`
|
|
33
|
+
# @return [Google::Apis::ClouddebuggerV2::RepoId]
|
|
34
|
+
attr_accessor :repo_id
|
|
35
|
+
|
|
36
|
+
# The unique name of the workspace within the repo. This is the name
|
|
37
|
+
# chosen by the client in the Source API's CreateWorkspace method.
|
|
38
|
+
# Corresponds to the JSON property `name`
|
|
39
|
+
# @return [String]
|
|
40
|
+
attr_accessor :name
|
|
41
|
+
|
|
42
|
+
def initialize(**args)
|
|
43
|
+
update!(**args)
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Update properties of this object
|
|
47
|
+
def update!(**args)
|
|
48
|
+
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
|
49
|
+
@name = args[:name] if args.key?(:name)
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Response for listing breakpoints.
|
|
54
|
+
class ListBreakpointsResponse
|
|
55
|
+
include Google::Apis::Core::Hashable
|
|
56
|
+
|
|
57
|
+
# List of breakpoints matching the request.
|
|
58
|
+
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
|
59
|
+
# The fields: `stack_frames`, `evaluated_expressions` and `variable_table`
|
|
60
|
+
# are cleared on each breakpoint regardless of it's status.
|
|
61
|
+
# Corresponds to the JSON property `breakpoints`
|
|
62
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
|
63
|
+
attr_accessor :breakpoints
|
|
64
|
+
|
|
65
|
+
# A wait token that can be used in the next call to `list` (REST) or
|
|
66
|
+
# `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
|
|
67
|
+
# Corresponds to the JSON property `nextWaitToken`
|
|
68
|
+
# @return [String]
|
|
69
|
+
attr_accessor :next_wait_token
|
|
70
|
+
|
|
71
|
+
def initialize(**args)
|
|
72
|
+
update!(**args)
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Update properties of this object
|
|
76
|
+
def update!(**args)
|
|
77
|
+
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
|
78
|
+
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Represents the breakpoint specification, status and results.
|
|
83
|
+
class Breakpoint
|
|
84
|
+
include Google::Apis::Core::Hashable
|
|
85
|
+
|
|
86
|
+
# E-mail address of the user that created this breakpoint
|
|
87
|
+
# Corresponds to the JSON property `userEmail`
|
|
88
|
+
# @return [String]
|
|
89
|
+
attr_accessor :user_email
|
|
90
|
+
|
|
91
|
+
# Action that the agent should perform when the code at the
|
|
92
|
+
# breakpoint location is hit.
|
|
93
|
+
# Corresponds to the JSON property `action`
|
|
94
|
+
# @return [String]
|
|
95
|
+
attr_accessor :action
|
|
96
|
+
|
|
97
|
+
# Indicates the severity of the log. Only relevant when action is `LOG`.
|
|
98
|
+
# Corresponds to the JSON property `logLevel`
|
|
99
|
+
# @return [String]
|
|
100
|
+
attr_accessor :log_level
|
|
101
|
+
|
|
102
|
+
# Breakpoint identifier, unique in the scope of the debuggee.
|
|
103
|
+
# Corresponds to the JSON property `id`
|
|
104
|
+
# @return [String]
|
|
105
|
+
attr_accessor :id
|
|
106
|
+
|
|
107
|
+
# Represents a location in the source code.
|
|
108
|
+
# Corresponds to the JSON property `location`
|
|
109
|
+
# @return [Google::Apis::ClouddebuggerV2::SourceLocation]
|
|
110
|
+
attr_accessor :location
|
|
111
|
+
|
|
112
|
+
# Time this breakpoint was finalized as seen by the server in seconds
|
|
113
|
+
# resolution.
|
|
114
|
+
# Corresponds to the JSON property `finalTime`
|
|
115
|
+
# @return [String]
|
|
116
|
+
attr_accessor :final_time
|
|
117
|
+
|
|
118
|
+
# The `variable_table` exists to aid with computation, memory and network
|
|
119
|
+
# traffic optimization. It enables storing a variable once and reference
|
|
120
|
+
# it from multiple variables, including variables stored in the
|
|
121
|
+
# `variable_table` itself.
|
|
122
|
+
# For example, the same `this` object, which may appear at many levels of
|
|
123
|
+
# the stack, can have all of its data stored once in this table. The
|
|
124
|
+
# stack frame variables then would hold only a reference to it.
|
|
125
|
+
# The variable `var_table_index` field is an index into this repeated field.
|
|
126
|
+
# The stored objects are nameless and get their name from the referencing
|
|
127
|
+
# variable. The effective variable is a merge of the referencing variable
|
|
128
|
+
# and the referenced variable.
|
|
129
|
+
# Corresponds to the JSON property `variableTable`
|
|
130
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
131
|
+
attr_accessor :variable_table
|
|
132
|
+
|
|
133
|
+
# A set of custom breakpoint properties, populated by the agent, to be
|
|
134
|
+
# displayed to the user.
|
|
135
|
+
# Corresponds to the JSON property `labels`
|
|
136
|
+
# @return [Hash<String,String>]
|
|
137
|
+
attr_accessor :labels
|
|
138
|
+
|
|
139
|
+
# Only relevant when action is `LOG`. Defines the message to log when
|
|
140
|
+
# the breakpoint hits. The message may include parameter placeholders `$0`,
|
|
141
|
+
# `$1`, etc. These placeholders are replaced with the evaluated value
|
|
142
|
+
# of the appropriate expression. Expressions not referenced in
|
|
143
|
+
# `log_message_format` are not logged.
|
|
144
|
+
# Example: `Message received, id = $0, count = $1` with
|
|
145
|
+
# `expressions` = `[ message.id, message.count ]`.
|
|
146
|
+
# Corresponds to the JSON property `logMessageFormat`
|
|
147
|
+
# @return [String]
|
|
148
|
+
attr_accessor :log_message_format
|
|
149
|
+
|
|
150
|
+
# Time this breakpoint was created by the server in seconds resolution.
|
|
151
|
+
# Corresponds to the JSON property `createTime`
|
|
152
|
+
# @return [String]
|
|
153
|
+
attr_accessor :create_time
|
|
154
|
+
|
|
155
|
+
# List of read-only expressions to evaluate at the breakpoint location.
|
|
156
|
+
# The expressions are composed using expressions in the programming language
|
|
157
|
+
# at the source location. If the breakpoint action is `LOG`, the evaluated
|
|
158
|
+
# expressions are included in log statements.
|
|
159
|
+
# Corresponds to the JSON property `expressions`
|
|
160
|
+
# @return [Array<String>]
|
|
161
|
+
attr_accessor :expressions
|
|
162
|
+
|
|
163
|
+
# Values of evaluated expressions at breakpoint time.
|
|
164
|
+
# The evaluated expressions appear in exactly the same order they
|
|
165
|
+
# are listed in the `expressions` field.
|
|
166
|
+
# The `name` field holds the original expression text, the `value` or
|
|
167
|
+
# `members` field holds the result of the evaluated expression.
|
|
168
|
+
# If the expression cannot be evaluated, the `status` inside the `Variable`
|
|
169
|
+
# will indicate an error and contain the error text.
|
|
170
|
+
# Corresponds to the JSON property `evaluatedExpressions`
|
|
171
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
172
|
+
attr_accessor :evaluated_expressions
|
|
173
|
+
|
|
174
|
+
# When true, indicates that this is a final result and the
|
|
175
|
+
# breakpoint state will not change from here on.
|
|
176
|
+
# Corresponds to the JSON property `isFinalState`
|
|
177
|
+
# @return [Boolean]
|
|
178
|
+
attr_accessor :is_final_state
|
|
179
|
+
alias_method :is_final_state?, :is_final_state
|
|
180
|
+
|
|
181
|
+
# The stack at breakpoint time.
|
|
182
|
+
# Corresponds to the JSON property `stackFrames`
|
|
183
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::StackFrame>]
|
|
184
|
+
attr_accessor :stack_frames
|
|
185
|
+
|
|
186
|
+
# Condition that triggers the breakpoint.
|
|
187
|
+
# The condition is a compound boolean expression composed using expressions
|
|
188
|
+
# in a programming language at the source location.
|
|
189
|
+
# Corresponds to the JSON property `condition`
|
|
190
|
+
# @return [String]
|
|
191
|
+
attr_accessor :condition
|
|
192
|
+
|
|
193
|
+
# Represents a contextual status message.
|
|
194
|
+
# The message can indicate an error or informational status, and refer to
|
|
195
|
+
# specific parts of the containing object.
|
|
196
|
+
# For example, the `Breakpoint.status` field can indicate an error referring
|
|
197
|
+
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
|
198
|
+
# Corresponds to the JSON property `status`
|
|
199
|
+
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
|
200
|
+
attr_accessor :status
|
|
201
|
+
|
|
202
|
+
def initialize(**args)
|
|
203
|
+
update!(**args)
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# Update properties of this object
|
|
207
|
+
def update!(**args)
|
|
208
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
|
209
|
+
@action = args[:action] if args.key?(:action)
|
|
210
|
+
@log_level = args[:log_level] if args.key?(:log_level)
|
|
211
|
+
@id = args[:id] if args.key?(:id)
|
|
212
|
+
@location = args[:location] if args.key?(:location)
|
|
213
|
+
@final_time = args[:final_time] if args.key?(:final_time)
|
|
214
|
+
@variable_table = args[:variable_table] if args.key?(:variable_table)
|
|
215
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
216
|
+
@log_message_format = args[:log_message_format] if args.key?(:log_message_format)
|
|
217
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
218
|
+
@expressions = args[:expressions] if args.key?(:expressions)
|
|
219
|
+
@evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
|
|
220
|
+
@is_final_state = args[:is_final_state] if args.key?(:is_final_state)
|
|
221
|
+
@stack_frames = args[:stack_frames] if args.key?(:stack_frames)
|
|
222
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
223
|
+
@status = args[:status] if args.key?(:status)
|
|
224
|
+
end
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Request to update an active breakpoint.
|
|
228
|
+
class UpdateActiveBreakpointRequest
|
|
229
|
+
include Google::Apis::Core::Hashable
|
|
230
|
+
|
|
231
|
+
# Represents the breakpoint specification, status and results.
|
|
232
|
+
# Corresponds to the JSON property `breakpoint`
|
|
233
|
+
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
|
234
|
+
attr_accessor :breakpoint
|
|
235
|
+
|
|
236
|
+
def initialize(**args)
|
|
237
|
+
update!(**args)
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# Update properties of this object
|
|
241
|
+
def update!(**args)
|
|
242
|
+
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
|
243
|
+
end
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
# Response for setting a breakpoint.
|
|
247
|
+
class SetBreakpointResponse
|
|
248
|
+
include Google::Apis::Core::Hashable
|
|
249
|
+
|
|
250
|
+
# Represents the breakpoint specification, status and results.
|
|
251
|
+
# Corresponds to the JSON property `breakpoint`
|
|
252
|
+
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
|
253
|
+
attr_accessor :breakpoint
|
|
254
|
+
|
|
255
|
+
def initialize(**args)
|
|
256
|
+
update!(**args)
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# Update properties of this object
|
|
260
|
+
def update!(**args)
|
|
261
|
+
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
|
262
|
+
end
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# A SourceContext is a reference to a tree of files. A SourceContext together
|
|
266
|
+
# with a path point to a unique revision of a single file or directory.
|
|
267
|
+
class SourceContext
|
|
268
|
+
include Google::Apis::Core::Hashable
|
|
269
|
+
|
|
270
|
+
# A SourceContext referring to a Gerrit project.
|
|
271
|
+
# Corresponds to the JSON property `gerrit`
|
|
272
|
+
# @return [Google::Apis::ClouddebuggerV2::GerritSourceContext]
|
|
273
|
+
attr_accessor :gerrit
|
|
274
|
+
|
|
275
|
+
# A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
|
|
276
|
+
# Corresponds to the JSON property `cloudWorkspace`
|
|
277
|
+
# @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext]
|
|
278
|
+
attr_accessor :cloud_workspace
|
|
279
|
+
|
|
280
|
+
# A CloudRepoSourceContext denotes a particular revision in a cloud
|
|
281
|
+
# repo (a repo hosted by the Google Cloud Platform).
|
|
282
|
+
# Corresponds to the JSON property `cloudRepo`
|
|
283
|
+
# @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext]
|
|
284
|
+
attr_accessor :cloud_repo
|
|
285
|
+
|
|
286
|
+
# A GitSourceContext denotes a particular revision in a third party Git
|
|
287
|
+
# repository (e.g. GitHub).
|
|
288
|
+
# Corresponds to the JSON property `git`
|
|
289
|
+
# @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
|
|
290
|
+
attr_accessor :git
|
|
291
|
+
|
|
292
|
+
def initialize(**args)
|
|
293
|
+
update!(**args)
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
# Update properties of this object
|
|
297
|
+
def update!(**args)
|
|
298
|
+
@gerrit = args[:gerrit] if args.key?(:gerrit)
|
|
299
|
+
@cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace)
|
|
300
|
+
@cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo)
|
|
301
|
+
@git = args[:git] if args.key?(:git)
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
# A CloudRepoSourceContext denotes a particular revision in a cloud
|
|
306
|
+
# repo (a repo hosted by the Google Cloud Platform).
|
|
307
|
+
class CloudRepoSourceContext
|
|
308
|
+
include Google::Apis::Core::Hashable
|
|
309
|
+
|
|
310
|
+
# A unique identifier for a cloud repo.
|
|
311
|
+
# Corresponds to the JSON property `repoId`
|
|
312
|
+
# @return [Google::Apis::ClouddebuggerV2::RepoId]
|
|
313
|
+
attr_accessor :repo_id
|
|
314
|
+
|
|
315
|
+
# An alias to a repo revision.
|
|
316
|
+
# Corresponds to the JSON property `aliasContext`
|
|
317
|
+
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
|
318
|
+
attr_accessor :alias_context
|
|
319
|
+
|
|
320
|
+
# A revision ID.
|
|
321
|
+
# Corresponds to the JSON property `revisionId`
|
|
322
|
+
# @return [String]
|
|
323
|
+
attr_accessor :revision_id
|
|
324
|
+
|
|
325
|
+
# The name of an alias (branch, tag, etc.).
|
|
326
|
+
# Corresponds to the JSON property `aliasName`
|
|
327
|
+
# @return [String]
|
|
328
|
+
attr_accessor :alias_name
|
|
329
|
+
|
|
330
|
+
def initialize(**args)
|
|
331
|
+
update!(**args)
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# Update properties of this object
|
|
335
|
+
def update!(**args)
|
|
336
|
+
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
|
337
|
+
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
|
338
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
339
|
+
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
|
340
|
+
end
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
# Response for registering a debuggee.
|
|
344
|
+
class RegisterDebuggeeResponse
|
|
345
|
+
include Google::Apis::Core::Hashable
|
|
346
|
+
|
|
347
|
+
# Represents the application to debug. The application may include one or more
|
|
348
|
+
# replicated processes executing the same code. Each of these processes is
|
|
349
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
|
350
|
+
# The agents attached to the same debuggee are identified by using exactly the
|
|
351
|
+
# same field values when registering.
|
|
352
|
+
# Corresponds to the JSON property `debuggee`
|
|
353
|
+
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
|
354
|
+
attr_accessor :debuggee
|
|
355
|
+
|
|
356
|
+
def initialize(**args)
|
|
357
|
+
update!(**args)
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
# Update properties of this object
|
|
361
|
+
def update!(**args)
|
|
362
|
+
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# Request to register a debuggee.
|
|
367
|
+
class RegisterDebuggeeRequest
|
|
368
|
+
include Google::Apis::Core::Hashable
|
|
369
|
+
|
|
370
|
+
# Represents the application to debug. The application may include one or more
|
|
371
|
+
# replicated processes executing the same code. Each of these processes is
|
|
372
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
|
373
|
+
# The agents attached to the same debuggee are identified by using exactly the
|
|
374
|
+
# same field values when registering.
|
|
375
|
+
# Corresponds to the JSON property `debuggee`
|
|
376
|
+
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
|
377
|
+
attr_accessor :debuggee
|
|
378
|
+
|
|
379
|
+
def initialize(**args)
|
|
380
|
+
update!(**args)
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
# Update properties of this object
|
|
384
|
+
def update!(**args)
|
|
385
|
+
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
|
386
|
+
end
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
# Response for getting breakpoint information.
|
|
390
|
+
class GetBreakpointResponse
|
|
391
|
+
include Google::Apis::Core::Hashable
|
|
392
|
+
|
|
393
|
+
# Represents the breakpoint specification, status and results.
|
|
394
|
+
# Corresponds to the JSON property `breakpoint`
|
|
395
|
+
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
|
396
|
+
attr_accessor :breakpoint
|
|
397
|
+
|
|
398
|
+
def initialize(**args)
|
|
399
|
+
update!(**args)
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# Update properties of this object
|
|
403
|
+
def update!(**args)
|
|
404
|
+
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
|
405
|
+
end
|
|
406
|
+
end
|
|
407
|
+
|
|
25
408
|
# Represents a contextual status message.
|
|
26
409
|
# The message can indicate an error or informational status, and refer to
|
|
27
410
|
# specific parts of the containing object.
|
|
@@ -30,17 +413,17 @@ module Google
|
|
|
30
413
|
class StatusMessage
|
|
31
414
|
include Google::Apis::Core::Hashable
|
|
32
415
|
|
|
33
|
-
# Distinguishes errors from informational messages.
|
|
34
|
-
# Corresponds to the JSON property `isError`
|
|
35
|
-
# @return [Boolean]
|
|
36
|
-
attr_accessor :is_error
|
|
37
|
-
alias_method :is_error?, :is_error
|
|
38
|
-
|
|
39
416
|
# Represents a message with parameters.
|
|
40
417
|
# Corresponds to the JSON property `description`
|
|
41
418
|
# @return [Google::Apis::ClouddebuggerV2::FormatMessage]
|
|
42
419
|
attr_accessor :description
|
|
43
420
|
|
|
421
|
+
# Distinguishes errors from informational messages.
|
|
422
|
+
# Corresponds to the JSON property `isError`
|
|
423
|
+
# @return [Boolean]
|
|
424
|
+
attr_accessor :is_error
|
|
425
|
+
alias_method :is_error?, :is_error
|
|
426
|
+
|
|
44
427
|
# Reference to which the message applies.
|
|
45
428
|
# Corresponds to the JSON property `refersTo`
|
|
46
429
|
# @return [String]
|
|
@@ -52,8 +435,8 @@ module Google
|
|
|
52
435
|
|
|
53
436
|
# Update properties of this object
|
|
54
437
|
def update!(**args)
|
|
55
|
-
@is_error = args[:is_error] if args.key?(:is_error)
|
|
56
438
|
@description = args[:description] if args.key?(:description)
|
|
439
|
+
@is_error = args[:is_error] if args.key?(:is_error)
|
|
57
440
|
@refers_to = args[:refers_to] if args.key?(:refers_to)
|
|
58
441
|
end
|
|
59
442
|
end
|
|
@@ -149,325 +532,31 @@ module Google
|
|
|
149
532
|
# To optimize computation, memory and network traffic, variables that
|
|
150
533
|
# repeat in the output multiple times can be stored once in a shared
|
|
151
534
|
# variable table and be referenced using the `var_table_index` field. The
|
|
152
|
-
# variables stored in the shared table are nameless and are essentially
|
|
153
|
-
# a partition of the complete variable. To reconstruct the complete
|
|
154
|
-
# variable, merge the referencing variable with the referenced variable.
|
|
155
|
-
# When using the shared variable table, the following variables:
|
|
156
|
-
# T x = ` 3, 7 `;
|
|
157
|
-
# T* p = &x;
|
|
158
|
-
# T& r = x;
|
|
159
|
-
# ` name: "x", var_table_index: 3, type: "T" ` // Captured variables
|
|
160
|
-
# ` name: "p", value "0x00500500", type="T*", var_table_index: 3 `
|
|
161
|
-
# ` name: "r", type="T&", var_table_index: 3 `
|
|
162
|
-
# ` // Shared variable table entry #3:
|
|
163
|
-
# members ` name: "m1", value: "3", type: "int" `,
|
|
164
|
-
# members ` name: "m2", value: "7", type: "int" `
|
|
165
|
-
# `
|
|
166
|
-
# Note that the pointer address is stored with the referencing variable
|
|
167
|
-
# and not with the referenced variable. This allows the referenced variable
|
|
168
|
-
# to be shared between pointers and references.
|
|
169
|
-
# The type field is optional. The debugger agent may or may not support it.
|
|
170
|
-
class Variable
|
|
171
|
-
include Google::Apis::Core::Hashable
|
|
172
|
-
|
|
173
|
-
# Reference to a variable in the shared variable table. More than
|
|
174
|
-
# one variable can reference the same variable in the table. The
|
|
175
|
-
# `var_table_index` field is an index into `variable_table` in Breakpoint.
|
|
176
|
-
# Corresponds to the JSON property `varTableIndex`
|
|
177
|
-
# @return [Fixnum]
|
|
178
|
-
attr_accessor :var_table_index
|
|
179
|
-
|
|
180
|
-
# Simple value of the variable.
|
|
181
|
-
# Corresponds to the JSON property `value`
|
|
182
|
-
# @return [String]
|
|
183
|
-
attr_accessor :value
|
|
184
|
-
|
|
185
|
-
# Members contained or pointed to by the variable.
|
|
186
|
-
# Corresponds to the JSON property `members`
|
|
187
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
188
|
-
attr_accessor :members
|
|
189
|
-
|
|
190
|
-
# Represents a contextual status message.
|
|
191
|
-
# The message can indicate an error or informational status, and refer to
|
|
192
|
-
# specific parts of the containing object.
|
|
193
|
-
# For example, the `Breakpoint.status` field can indicate an error referring
|
|
194
|
-
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
|
195
|
-
# Corresponds to the JSON property `status`
|
|
196
|
-
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
|
197
|
-
attr_accessor :status
|
|
198
|
-
|
|
199
|
-
# Name of the variable, if any.
|
|
200
|
-
# Corresponds to the JSON property `name`
|
|
201
|
-
# @return [String]
|
|
202
|
-
attr_accessor :name
|
|
203
|
-
|
|
204
|
-
# Variable type (e.g. `MyClass`). If the variable is split with
|
|
205
|
-
# `var_table_index`, `type` goes next to `value`. The interpretation of
|
|
206
|
-
# a type is agent specific. It is recommended to include the dynamic type
|
|
207
|
-
# rather than a static type of an object.
|
|
208
|
-
# Corresponds to the JSON property `type`
|
|
209
|
-
# @return [String]
|
|
210
|
-
attr_accessor :type
|
|
211
|
-
|
|
212
|
-
def initialize(**args)
|
|
213
|
-
update!(**args)
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
# Update properties of this object
|
|
217
|
-
def update!(**args)
|
|
218
|
-
@var_table_index = args[:var_table_index] if args.key?(:var_table_index)
|
|
219
|
-
@value = args[:value] if args.key?(:value)
|
|
220
|
-
@members = args[:members] if args.key?(:members)
|
|
221
|
-
@status = args[:status] if args.key?(:status)
|
|
222
|
-
@name = args[:name] if args.key?(:name)
|
|
223
|
-
@type = args[:type] if args.key?(:type)
|
|
224
|
-
end
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
# Represents a stack frame context.
|
|
228
|
-
class StackFrame
|
|
229
|
-
include Google::Apis::Core::Hashable
|
|
230
|
-
|
|
231
|
-
# Demangled function name at the call site.
|
|
232
|
-
# Corresponds to the JSON property `function`
|
|
233
|
-
# @return [String]
|
|
234
|
-
attr_accessor :function
|
|
235
|
-
|
|
236
|
-
# Set of arguments passed to this function.
|
|
237
|
-
# Note that this might not be populated for all stack frames.
|
|
238
|
-
# Corresponds to the JSON property `arguments`
|
|
239
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
240
|
-
attr_accessor :arguments
|
|
241
|
-
|
|
242
|
-
# Set of local variables at the stack frame location.
|
|
243
|
-
# Note that this might not be populated for all stack frames.
|
|
244
|
-
# Corresponds to the JSON property `locals`
|
|
245
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
246
|
-
attr_accessor :locals
|
|
247
|
-
|
|
248
|
-
# Represents a location in the source code.
|
|
249
|
-
# Corresponds to the JSON property `location`
|
|
250
|
-
# @return [Google::Apis::ClouddebuggerV2::SourceLocation]
|
|
251
|
-
attr_accessor :location
|
|
252
|
-
|
|
253
|
-
def initialize(**args)
|
|
254
|
-
update!(**args)
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
# Update properties of this object
|
|
258
|
-
def update!(**args)
|
|
259
|
-
@function = args[:function] if args.key?(:function)
|
|
260
|
-
@arguments = args[:arguments] if args.key?(:arguments)
|
|
261
|
-
@locals = args[:locals] if args.key?(:locals)
|
|
262
|
-
@location = args[:location] if args.key?(:location)
|
|
263
|
-
end
|
|
264
|
-
end
|
|
265
|
-
|
|
266
|
-
# A unique identifier for a cloud repo.
|
|
267
|
-
class RepoId
|
|
268
|
-
include Google::Apis::Core::Hashable
|
|
269
|
-
|
|
270
|
-
# Selects a repo using a Google Cloud Platform project ID
|
|
271
|
-
# (e.g. winged-cargo-31) and a repo name within that project.
|
|
272
|
-
# Corresponds to the JSON property `projectRepoId`
|
|
273
|
-
# @return [Google::Apis::ClouddebuggerV2::ProjectRepoId]
|
|
274
|
-
attr_accessor :project_repo_id
|
|
275
|
-
|
|
276
|
-
# A server-assigned, globally unique identifier.
|
|
277
|
-
# Corresponds to the JSON property `uid`
|
|
278
|
-
# @return [String]
|
|
279
|
-
attr_accessor :uid
|
|
280
|
-
|
|
281
|
-
def initialize(**args)
|
|
282
|
-
update!(**args)
|
|
283
|
-
end
|
|
284
|
-
|
|
285
|
-
# Update properties of this object
|
|
286
|
-
def update!(**args)
|
|
287
|
-
@project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
|
|
288
|
-
@uid = args[:uid] if args.key?(:uid)
|
|
289
|
-
end
|
|
290
|
-
end
|
|
291
|
-
|
|
292
|
-
# Represents a message with parameters.
|
|
293
|
-
class FormatMessage
|
|
294
|
-
include Google::Apis::Core::Hashable
|
|
295
|
-
|
|
296
|
-
# Optional parameters to be embedded into the message.
|
|
297
|
-
# Corresponds to the JSON property `parameters`
|
|
298
|
-
# @return [Array<String>]
|
|
299
|
-
attr_accessor :parameters
|
|
300
|
-
|
|
301
|
-
# Format template for the message. The `format` uses placeholders `$0`,
|
|
302
|
-
# `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
|
|
303
|
-
# character.
|
|
304
|
-
# Examples:
|
|
305
|
-
# * `Failed to load '$0' which helps debug $1 the first time it
|
|
306
|
-
# is loaded. Again, $0 is very important.`
|
|
307
|
-
# * `Please pay $$10 to use $0 instead of $1.`
|
|
308
|
-
# Corresponds to the JSON property `format`
|
|
309
|
-
# @return [String]
|
|
310
|
-
attr_accessor :format
|
|
311
|
-
|
|
312
|
-
def initialize(**args)
|
|
313
|
-
update!(**args)
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
# Update properties of this object
|
|
317
|
-
def update!(**args)
|
|
318
|
-
@parameters = args[:parameters] if args.key?(:parameters)
|
|
319
|
-
@format = args[:format] if args.key?(:format)
|
|
320
|
-
end
|
|
321
|
-
end
|
|
322
|
-
|
|
323
|
-
# An ExtendedSourceContext is a SourceContext combined with additional
|
|
324
|
-
# details describing the context.
|
|
325
|
-
class ExtendedSourceContext
|
|
326
|
-
include Google::Apis::Core::Hashable
|
|
327
|
-
|
|
328
|
-
# A SourceContext is a reference to a tree of files. A SourceContext together
|
|
329
|
-
# with a path point to a unique revision of a single file or directory.
|
|
330
|
-
# Corresponds to the JSON property `context`
|
|
331
|
-
# @return [Google::Apis::ClouddebuggerV2::SourceContext]
|
|
332
|
-
attr_accessor :context
|
|
333
|
-
|
|
334
|
-
# Labels with user defined metadata.
|
|
335
|
-
# Corresponds to the JSON property `labels`
|
|
336
|
-
# @return [Hash<String,String>]
|
|
337
|
-
attr_accessor :labels
|
|
338
|
-
|
|
339
|
-
def initialize(**args)
|
|
340
|
-
update!(**args)
|
|
341
|
-
end
|
|
342
|
-
|
|
343
|
-
# Update properties of this object
|
|
344
|
-
def update!(**args)
|
|
345
|
-
@context = args[:context] if args.key?(:context)
|
|
346
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
347
|
-
end
|
|
348
|
-
end
|
|
349
|
-
|
|
350
|
-
# Response for listing debuggees.
|
|
351
|
-
class ListDebuggeesResponse
|
|
352
|
-
include Google::Apis::Core::Hashable
|
|
353
|
-
|
|
354
|
-
# List of debuggees accessible to the calling user.
|
|
355
|
-
# Note that the `description` field is the only human readable field
|
|
356
|
-
# that should be displayed to the user.
|
|
357
|
-
# The fields `debuggee.id` and `description` fields are guaranteed to be
|
|
358
|
-
# set on each debuggee.
|
|
359
|
-
# Corresponds to the JSON property `debuggees`
|
|
360
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
|
|
361
|
-
attr_accessor :debuggees
|
|
362
|
-
|
|
363
|
-
def initialize(**args)
|
|
364
|
-
update!(**args)
|
|
365
|
-
end
|
|
366
|
-
|
|
367
|
-
# Update properties of this object
|
|
368
|
-
def update!(**args)
|
|
369
|
-
@debuggees = args[:debuggees] if args.key?(:debuggees)
|
|
370
|
-
end
|
|
371
|
-
end
|
|
372
|
-
|
|
373
|
-
# An alias to a repo revision.
|
|
374
|
-
class AliasContext
|
|
375
|
-
include Google::Apis::Core::Hashable
|
|
376
|
-
|
|
377
|
-
# The alias name.
|
|
378
|
-
# Corresponds to the JSON property `name`
|
|
379
|
-
# @return [String]
|
|
380
|
-
attr_accessor :name
|
|
381
|
-
|
|
382
|
-
# The alias kind.
|
|
383
|
-
# Corresponds to the JSON property `kind`
|
|
384
|
-
# @return [String]
|
|
385
|
-
attr_accessor :kind
|
|
386
|
-
|
|
387
|
-
def initialize(**args)
|
|
388
|
-
update!(**args)
|
|
389
|
-
end
|
|
390
|
-
|
|
391
|
-
# Update properties of this object
|
|
392
|
-
def update!(**args)
|
|
393
|
-
@name = args[:name] if args.key?(:name)
|
|
394
|
-
@kind = args[:kind] if args.key?(:kind)
|
|
395
|
-
end
|
|
396
|
-
end
|
|
397
|
-
|
|
398
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
|
399
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
|
400
|
-
# or the response type of an API method. For instance:
|
|
401
|
-
# service Foo `
|
|
402
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
535
|
+
# variables stored in the shared table are nameless and are essentially
|
|
536
|
+
# a partition of the complete variable. To reconstruct the complete
|
|
537
|
+
# variable, merge the referencing variable with the referenced variable.
|
|
538
|
+
# When using the shared variable table, the following variables:
|
|
539
|
+
# T x = ` 3, 7 `;
|
|
540
|
+
# T* p = &x;
|
|
541
|
+
# T& r = x;
|
|
542
|
+
# ` name: "x", var_table_index: 3, type: "T" ` // Captured variables
|
|
543
|
+
# ` name: "p", value "0x00500500", type="T*", var_table_index: 3 `
|
|
544
|
+
# ` name: "r", type="T&", var_table_index: 3 `
|
|
545
|
+
# ` // Shared variable table entry #3:
|
|
546
|
+
# members ` name: "m1", value: "3", type: "int" `,
|
|
547
|
+
# members ` name: "m2", value: "7", type: "int" `
|
|
403
548
|
# `
|
|
404
|
-
#
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
update!(**args)
|
|
410
|
-
end
|
|
411
|
-
|
|
412
|
-
# Update properties of this object
|
|
413
|
-
def update!(**args)
|
|
414
|
-
end
|
|
415
|
-
end
|
|
416
|
-
|
|
417
|
-
# Represents a location in the source code.
|
|
418
|
-
class SourceLocation
|
|
419
|
-
include Google::Apis::Core::Hashable
|
|
420
|
-
|
|
421
|
-
# Line inside the file. The first line in the file has the value `1`.
|
|
422
|
-
# Corresponds to the JSON property `line`
|
|
423
|
-
# @return [Fixnum]
|
|
424
|
-
attr_accessor :line
|
|
425
|
-
|
|
426
|
-
# Path to the source file within the source context of the target binary.
|
|
427
|
-
# Corresponds to the JSON property `path`
|
|
428
|
-
# @return [String]
|
|
429
|
-
attr_accessor :path
|
|
430
|
-
|
|
431
|
-
def initialize(**args)
|
|
432
|
-
update!(**args)
|
|
433
|
-
end
|
|
434
|
-
|
|
435
|
-
# Update properties of this object
|
|
436
|
-
def update!(**args)
|
|
437
|
-
@line = args[:line] if args.key?(:line)
|
|
438
|
-
@path = args[:path] if args.key?(:path)
|
|
439
|
-
end
|
|
440
|
-
end
|
|
441
|
-
|
|
442
|
-
# Represents the application to debug. The application may include one or more
|
|
443
|
-
# replicated processes executing the same code. Each of these processes is
|
|
444
|
-
# attached with a debugger agent, carrying out the debugging commands.
|
|
445
|
-
# The agents attached to the same debuggee are identified by using exactly the
|
|
446
|
-
# same field values when registering.
|
|
447
|
-
class Debuggee
|
|
549
|
+
# Note that the pointer address is stored with the referencing variable
|
|
550
|
+
# and not with the referenced variable. This allows the referenced variable
|
|
551
|
+
# to be shared between pointers and references.
|
|
552
|
+
# The type field is optional. The debugger agent may or may not support it.
|
|
553
|
+
class Variable
|
|
448
554
|
include Google::Apis::Core::Hashable
|
|
449
555
|
|
|
450
|
-
#
|
|
451
|
-
#
|
|
452
|
-
#
|
|
453
|
-
|
|
454
|
-
# contexts have a `category` of `snapshot`.
|
|
455
|
-
# Corresponds to the JSON property `extSourceContexts`
|
|
456
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
|
|
457
|
-
attr_accessor :ext_source_contexts
|
|
458
|
-
|
|
459
|
-
# A set of custom debuggee properties, populated by the agent, to be
|
|
460
|
-
# displayed to the user.
|
|
461
|
-
# Corresponds to the JSON property `labels`
|
|
462
|
-
# @return [Hash<String,String>]
|
|
463
|
-
attr_accessor :labels
|
|
464
|
-
|
|
465
|
-
# If set to `true`, indicates that the debuggee is considered as inactive by
|
|
466
|
-
# the Controller service.
|
|
467
|
-
# Corresponds to the JSON property `isInactive`
|
|
468
|
-
# @return [Boolean]
|
|
469
|
-
attr_accessor :is_inactive
|
|
470
|
-
alias_method :is_inactive?, :is_inactive
|
|
556
|
+
# Members contained or pointed to by the variable.
|
|
557
|
+
# Corresponds to the JSON property `members`
|
|
558
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
559
|
+
attr_accessor :members
|
|
471
560
|
|
|
472
561
|
# Represents a contextual status message.
|
|
473
562
|
# The message can indicate an error or informational status, and refer to
|
|
@@ -478,53 +567,30 @@ module Google
|
|
|
478
567
|
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
|
479
568
|
attr_accessor :status
|
|
480
569
|
|
|
481
|
-
#
|
|
482
|
-
#
|
|
483
|
-
# Corresponds to the JSON property `project`
|
|
484
|
-
# @return [String]
|
|
485
|
-
attr_accessor :project
|
|
486
|
-
|
|
487
|
-
# Unique identifier for the debuggee generated by the controller service.
|
|
488
|
-
# Corresponds to the JSON property `id`
|
|
570
|
+
# Name of the variable, if any.
|
|
571
|
+
# Corresponds to the JSON property `name`
|
|
489
572
|
# @return [String]
|
|
490
|
-
attr_accessor :
|
|
573
|
+
attr_accessor :name
|
|
491
574
|
|
|
492
|
-
#
|
|
493
|
-
#
|
|
494
|
-
#
|
|
495
|
-
#
|
|
575
|
+
# Variable type (e.g. `MyClass`). If the variable is split with
|
|
576
|
+
# `var_table_index`, `type` goes next to `value`. The interpretation of
|
|
577
|
+
# a type is agent specific. It is recommended to include the dynamic type
|
|
578
|
+
# rather than a static type of an object.
|
|
579
|
+
# Corresponds to the JSON property `type`
|
|
496
580
|
# @return [String]
|
|
497
|
-
attr_accessor :
|
|
498
|
-
|
|
499
|
-
# If set to `true`, indicates that the agent should disable itself and
|
|
500
|
-
# detach from the debuggee.
|
|
501
|
-
# Corresponds to the JSON property `isDisabled`
|
|
502
|
-
# @return [Boolean]
|
|
503
|
-
attr_accessor :is_disabled
|
|
504
|
-
alias_method :is_disabled?, :is_disabled
|
|
581
|
+
attr_accessor :type
|
|
505
582
|
|
|
506
|
-
#
|
|
507
|
-
#
|
|
508
|
-
#
|
|
509
|
-
# Corresponds to the JSON property `
|
|
510
|
-
# @return [
|
|
511
|
-
attr_accessor :
|
|
583
|
+
# Reference to a variable in the shared variable table. More than
|
|
584
|
+
# one variable can reference the same variable in the table. The
|
|
585
|
+
# `var_table_index` field is an index into `variable_table` in Breakpoint.
|
|
586
|
+
# Corresponds to the JSON property `varTableIndex`
|
|
587
|
+
# @return [Fixnum]
|
|
588
|
+
attr_accessor :var_table_index
|
|
512
589
|
|
|
513
|
-
#
|
|
514
|
-
#
|
|
515
|
-
# Including environment and version or build IDs is recommended.
|
|
516
|
-
# Corresponds to the JSON property `uniquifier`
|
|
590
|
+
# Simple value of the variable.
|
|
591
|
+
# Corresponds to the JSON property `value`
|
|
517
592
|
# @return [String]
|
|
518
|
-
attr_accessor :
|
|
519
|
-
|
|
520
|
-
# References to the locations and revisions of the source code used in the
|
|
521
|
-
# deployed application.
|
|
522
|
-
# NOTE: This field is deprecated. Consumers should use
|
|
523
|
-
# `ext_source_contexts` if it is not empty. Debug agents should populate
|
|
524
|
-
# both this field and `ext_source_contexts`.
|
|
525
|
-
# Corresponds to the JSON property `sourceContexts`
|
|
526
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
|
|
527
|
-
attr_accessor :source_contexts
|
|
593
|
+
attr_accessor :value
|
|
528
594
|
|
|
529
595
|
def initialize(**args)
|
|
530
596
|
update!(**args)
|
|
@@ -532,34 +598,40 @@ module Google
|
|
|
532
598
|
|
|
533
599
|
# Update properties of this object
|
|
534
600
|
def update!(**args)
|
|
535
|
-
@
|
|
536
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
537
|
-
@is_inactive = args[:is_inactive] if args.key?(:is_inactive)
|
|
601
|
+
@members = args[:members] if args.key?(:members)
|
|
538
602
|
@status = args[:status] if args.key?(:status)
|
|
539
|
-
@
|
|
540
|
-
@
|
|
541
|
-
@
|
|
542
|
-
@
|
|
543
|
-
@description = args[:description] if args.key?(:description)
|
|
544
|
-
@uniquifier = args[:uniquifier] if args.key?(:uniquifier)
|
|
545
|
-
@source_contexts = args[:source_contexts] if args.key?(:source_contexts)
|
|
603
|
+
@name = args[:name] if args.key?(:name)
|
|
604
|
+
@type = args[:type] if args.key?(:type)
|
|
605
|
+
@var_table_index = args[:var_table_index] if args.key?(:var_table_index)
|
|
606
|
+
@value = args[:value] if args.key?(:value)
|
|
546
607
|
end
|
|
547
608
|
end
|
|
548
609
|
|
|
549
|
-
#
|
|
550
|
-
|
|
551
|
-
class ProjectRepoId
|
|
610
|
+
# Represents a stack frame context.
|
|
611
|
+
class StackFrame
|
|
552
612
|
include Google::Apis::Core::Hashable
|
|
553
613
|
|
|
554
|
-
#
|
|
555
|
-
# Corresponds to the JSON property `
|
|
614
|
+
# Demangled function name at the call site.
|
|
615
|
+
# Corresponds to the JSON property `function`
|
|
556
616
|
# @return [String]
|
|
557
|
-
attr_accessor :
|
|
617
|
+
attr_accessor :function
|
|
558
618
|
|
|
559
|
-
#
|
|
560
|
-
#
|
|
561
|
-
#
|
|
562
|
-
|
|
619
|
+
# Set of arguments passed to this function.
|
|
620
|
+
# Note that this might not be populated for all stack frames.
|
|
621
|
+
# Corresponds to the JSON property `arguments`
|
|
622
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
623
|
+
attr_accessor :arguments
|
|
624
|
+
|
|
625
|
+
# Set of local variables at the stack frame location.
|
|
626
|
+
# Note that this might not be populated for all stack frames.
|
|
627
|
+
# Corresponds to the JSON property `locals`
|
|
628
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
629
|
+
attr_accessor :locals
|
|
630
|
+
|
|
631
|
+
# Represents a location in the source code.
|
|
632
|
+
# Corresponds to the JSON property `location`
|
|
633
|
+
# @return [Google::Apis::ClouddebuggerV2::SourceLocation]
|
|
634
|
+
attr_accessor :location
|
|
563
635
|
|
|
564
636
|
def initialize(**args)
|
|
565
637
|
update!(**args)
|
|
@@ -567,33 +639,27 @@ module Google
|
|
|
567
639
|
|
|
568
640
|
# Update properties of this object
|
|
569
641
|
def update!(**args)
|
|
570
|
-
@
|
|
571
|
-
@
|
|
642
|
+
@function = args[:function] if args.key?(:function)
|
|
643
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
|
644
|
+
@locals = args[:locals] if args.key?(:locals)
|
|
645
|
+
@location = args[:location] if args.key?(:location)
|
|
572
646
|
end
|
|
573
647
|
end
|
|
574
648
|
|
|
575
|
-
#
|
|
576
|
-
class
|
|
649
|
+
# A unique identifier for a cloud repo.
|
|
650
|
+
class RepoId
|
|
577
651
|
include Google::Apis::Core::Hashable
|
|
578
652
|
|
|
579
|
-
# A
|
|
580
|
-
# the
|
|
581
|
-
# Corresponds to the JSON property `nextWaitToken`
|
|
653
|
+
# A server-assigned, globally unique identifier.
|
|
654
|
+
# Corresponds to the JSON property `uid`
|
|
582
655
|
# @return [String]
|
|
583
|
-
attr_accessor :
|
|
584
|
-
|
|
585
|
-
# List of all active breakpoints.
|
|
586
|
-
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
|
587
|
-
# Corresponds to the JSON property `breakpoints`
|
|
588
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
|
589
|
-
attr_accessor :breakpoints
|
|
656
|
+
attr_accessor :uid
|
|
590
657
|
|
|
591
|
-
#
|
|
592
|
-
#
|
|
593
|
-
# Corresponds to the JSON property `
|
|
594
|
-
# @return [
|
|
595
|
-
attr_accessor :
|
|
596
|
-
alias_method :wait_expired?, :wait_expired
|
|
658
|
+
# Selects a repo using a Google Cloud Platform project ID
|
|
659
|
+
# (e.g. winged-cargo-31) and a repo name within that project.
|
|
660
|
+
# Corresponds to the JSON property `projectRepoId`
|
|
661
|
+
# @return [Google::Apis::ClouddebuggerV2::ProjectRepoId]
|
|
662
|
+
attr_accessor :project_repo_id
|
|
597
663
|
|
|
598
664
|
def initialize(**args)
|
|
599
665
|
update!(**args)
|
|
@@ -601,28 +667,30 @@ module Google
|
|
|
601
667
|
|
|
602
668
|
# Update properties of this object
|
|
603
669
|
def update!(**args)
|
|
604
|
-
@
|
|
605
|
-
@
|
|
606
|
-
@wait_expired = args[:wait_expired] if args.key?(:wait_expired)
|
|
670
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
671
|
+
@project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
|
|
607
672
|
end
|
|
608
673
|
end
|
|
609
674
|
|
|
610
|
-
#
|
|
611
|
-
class
|
|
675
|
+
# Represents a message with parameters.
|
|
676
|
+
class FormatMessage
|
|
612
677
|
include Google::Apis::Core::Hashable
|
|
613
678
|
|
|
614
|
-
#
|
|
615
|
-
#
|
|
616
|
-
#
|
|
617
|
-
|
|
618
|
-
attr_accessor :snapshot_id
|
|
679
|
+
# Optional parameters to be embedded into the message.
|
|
680
|
+
# Corresponds to the JSON property `parameters`
|
|
681
|
+
# @return [Array<String>]
|
|
682
|
+
attr_accessor :parameters
|
|
619
683
|
|
|
620
|
-
#
|
|
621
|
-
#
|
|
622
|
-
#
|
|
623
|
-
#
|
|
624
|
-
#
|
|
625
|
-
|
|
684
|
+
# Format template for the message. The `format` uses placeholders `$0`,
|
|
685
|
+
# `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
|
|
686
|
+
# character.
|
|
687
|
+
# Examples:
|
|
688
|
+
# * `Failed to load '$0' which helps debug $1 the first time it
|
|
689
|
+
# is loaded. Again, $0 is very important.`
|
|
690
|
+
# * `Please pay $$10 to use $0 instead of $1.`
|
|
691
|
+
# Corresponds to the JSON property `format`
|
|
692
|
+
# @return [String]
|
|
693
|
+
attr_accessor :format
|
|
626
694
|
|
|
627
695
|
def initialize(**args)
|
|
628
696
|
update!(**args)
|
|
@@ -630,55 +698,50 @@ module Google
|
|
|
630
698
|
|
|
631
699
|
# Update properties of this object
|
|
632
700
|
def update!(**args)
|
|
633
|
-
@
|
|
634
|
-
@
|
|
701
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
702
|
+
@format = args[:format] if args.key?(:format)
|
|
635
703
|
end
|
|
636
704
|
end
|
|
637
705
|
|
|
638
|
-
#
|
|
639
|
-
#
|
|
640
|
-
class
|
|
706
|
+
# An ExtendedSourceContext is a SourceContext combined with additional
|
|
707
|
+
# details describing the context.
|
|
708
|
+
class ExtendedSourceContext
|
|
641
709
|
include Google::Apis::Core::Hashable
|
|
642
710
|
|
|
711
|
+
# A SourceContext is a reference to a tree of files. A SourceContext together
|
|
712
|
+
# with a path point to a unique revision of a single file or directory.
|
|
713
|
+
# Corresponds to the JSON property `context`
|
|
714
|
+
# @return [Google::Apis::ClouddebuggerV2::SourceContext]
|
|
715
|
+
attr_accessor :context
|
|
716
|
+
|
|
717
|
+
# Labels with user defined metadata.
|
|
718
|
+
# Corresponds to the JSON property `labels`
|
|
719
|
+
# @return [Hash<String,String>]
|
|
720
|
+
attr_accessor :labels
|
|
721
|
+
|
|
643
722
|
def initialize(**args)
|
|
644
723
|
update!(**args)
|
|
645
724
|
end
|
|
646
725
|
|
|
647
726
|
# Update properties of this object
|
|
648
727
|
def update!(**args)
|
|
728
|
+
@context = args[:context] if args.key?(:context)
|
|
729
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
649
730
|
end
|
|
650
731
|
end
|
|
651
732
|
|
|
652
|
-
#
|
|
653
|
-
class
|
|
733
|
+
# Response for listing debuggees.
|
|
734
|
+
class ListDebuggeesResponse
|
|
654
735
|
include Google::Apis::Core::Hashable
|
|
655
736
|
|
|
656
|
-
#
|
|
657
|
-
#
|
|
658
|
-
#
|
|
659
|
-
#
|
|
660
|
-
#
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
# Corresponds to the JSON property `aliasContext`
|
|
665
|
-
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
|
666
|
-
attr_accessor :alias_context
|
|
667
|
-
|
|
668
|
-
# The URI of a running Gerrit instance.
|
|
669
|
-
# Corresponds to the JSON property `hostUri`
|
|
670
|
-
# @return [String]
|
|
671
|
-
attr_accessor :host_uri
|
|
672
|
-
|
|
673
|
-
# A revision (commit) ID.
|
|
674
|
-
# Corresponds to the JSON property `revisionId`
|
|
675
|
-
# @return [String]
|
|
676
|
-
attr_accessor :revision_id
|
|
677
|
-
|
|
678
|
-
# The name of an alias (branch, tag, etc.).
|
|
679
|
-
# Corresponds to the JSON property `aliasName`
|
|
680
|
-
# @return [String]
|
|
681
|
-
attr_accessor :alias_name
|
|
737
|
+
# List of debuggees accessible to the calling user.
|
|
738
|
+
# Note that the `description` field is the only human readable field
|
|
739
|
+
# that should be displayed to the user.
|
|
740
|
+
# The fields `debuggee.id` and `description` fields are guaranteed to be
|
|
741
|
+
# set on each debuggee.
|
|
742
|
+
# Corresponds to the JSON property `debuggees`
|
|
743
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
|
|
744
|
+
attr_accessor :debuggees
|
|
682
745
|
|
|
683
746
|
def initialize(**args)
|
|
684
747
|
update!(**args)
|
|
@@ -686,30 +749,23 @@ module Google
|
|
|
686
749
|
|
|
687
750
|
# Update properties of this object
|
|
688
751
|
def update!(**args)
|
|
689
|
-
@
|
|
690
|
-
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
|
691
|
-
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
|
692
|
-
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
693
|
-
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
|
752
|
+
@debuggees = args[:debuggees] if args.key?(:debuggees)
|
|
694
753
|
end
|
|
695
754
|
end
|
|
696
755
|
|
|
697
|
-
#
|
|
698
|
-
|
|
699
|
-
# can be stored before they are committed.
|
|
700
|
-
class CloudWorkspaceId
|
|
756
|
+
# An alias to a repo revision.
|
|
757
|
+
class AliasContext
|
|
701
758
|
include Google::Apis::Core::Hashable
|
|
702
759
|
|
|
703
|
-
# The
|
|
704
|
-
# chosen by the client in the Source API's CreateWorkspace method.
|
|
760
|
+
# The alias name.
|
|
705
761
|
# Corresponds to the JSON property `name`
|
|
706
762
|
# @return [String]
|
|
707
763
|
attr_accessor :name
|
|
708
764
|
|
|
709
|
-
#
|
|
710
|
-
# Corresponds to the JSON property `
|
|
711
|
-
# @return [
|
|
712
|
-
attr_accessor :
|
|
765
|
+
# The alias kind.
|
|
766
|
+
# Corresponds to the JSON property `kind`
|
|
767
|
+
# @return [String]
|
|
768
|
+
attr_accessor :kind
|
|
713
769
|
|
|
714
770
|
def initialize(**args)
|
|
715
771
|
update!(**args)
|
|
@@ -718,149 +774,106 @@ module Google
|
|
|
718
774
|
# Update properties of this object
|
|
719
775
|
def update!(**args)
|
|
720
776
|
@name = args[:name] if args.key?(:name)
|
|
721
|
-
@
|
|
777
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
722
778
|
end
|
|
723
779
|
end
|
|
724
780
|
|
|
725
|
-
#
|
|
726
|
-
|
|
781
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
782
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
783
|
+
# or the response type of an API method. For instance:
|
|
784
|
+
# service Foo `
|
|
785
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
786
|
+
# `
|
|
787
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
788
|
+
class Empty
|
|
727
789
|
include Google::Apis::Core::Hashable
|
|
728
790
|
|
|
729
|
-
# A wait token that can be used in the next call to `list` (REST) or
|
|
730
|
-
# `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
|
|
731
|
-
# Corresponds to the JSON property `nextWaitToken`
|
|
732
|
-
# @return [String]
|
|
733
|
-
attr_accessor :next_wait_token
|
|
734
|
-
|
|
735
|
-
# List of breakpoints matching the request.
|
|
736
|
-
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
|
737
|
-
# The fields: `stack_frames`, `evaluated_expressions` and `variable_table`
|
|
738
|
-
# are cleared on each breakpoint regardless of it's status.
|
|
739
|
-
# Corresponds to the JSON property `breakpoints`
|
|
740
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
|
741
|
-
attr_accessor :breakpoints
|
|
742
|
-
|
|
743
791
|
def initialize(**args)
|
|
744
792
|
update!(**args)
|
|
745
793
|
end
|
|
746
794
|
|
|
747
795
|
# Update properties of this object
|
|
748
796
|
def update!(**args)
|
|
749
|
-
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
|
750
|
-
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
|
751
797
|
end
|
|
752
798
|
end
|
|
753
799
|
|
|
754
|
-
# Represents
|
|
755
|
-
class
|
|
800
|
+
# Represents a location in the source code.
|
|
801
|
+
class SourceLocation
|
|
756
802
|
include Google::Apis::Core::Hashable
|
|
757
803
|
|
|
758
|
-
#
|
|
759
|
-
# Corresponds to the JSON property `
|
|
760
|
-
# @return [String]
|
|
761
|
-
attr_accessor :user_email
|
|
762
|
-
|
|
763
|
-
# Action that the agent should perform when the code at the
|
|
764
|
-
# breakpoint location is hit.
|
|
765
|
-
# Corresponds to the JSON property `action`
|
|
766
|
-
# @return [String]
|
|
767
|
-
attr_accessor :action
|
|
768
|
-
|
|
769
|
-
# Indicates the severity of the log. Only relevant when action is `LOG`.
|
|
770
|
-
# Corresponds to the JSON property `logLevel`
|
|
804
|
+
# Path to the source file within the source context of the target binary.
|
|
805
|
+
# Corresponds to the JSON property `path`
|
|
771
806
|
# @return [String]
|
|
772
|
-
attr_accessor :
|
|
807
|
+
attr_accessor :path
|
|
773
808
|
|
|
774
|
-
#
|
|
775
|
-
# Corresponds to the JSON property `
|
|
776
|
-
# @return [
|
|
777
|
-
attr_accessor :
|
|
809
|
+
# Line inside the file. The first line in the file has the value `1`.
|
|
810
|
+
# Corresponds to the JSON property `line`
|
|
811
|
+
# @return [Fixnum]
|
|
812
|
+
attr_accessor :line
|
|
778
813
|
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
attr_accessor :location
|
|
814
|
+
def initialize(**args)
|
|
815
|
+
update!(**args)
|
|
816
|
+
end
|
|
783
817
|
|
|
784
|
-
#
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
818
|
+
# Update properties of this object
|
|
819
|
+
def update!(**args)
|
|
820
|
+
@path = args[:path] if args.key?(:path)
|
|
821
|
+
@line = args[:line] if args.key?(:line)
|
|
822
|
+
end
|
|
823
|
+
end
|
|
789
824
|
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
# The variable `var_table_index` field is an index into this repeated field.
|
|
798
|
-
# The stored objects are nameless and get their name from the referencing
|
|
799
|
-
# variable. The effective variable is a merge of the referencing variable
|
|
800
|
-
# and the referenced variable.
|
|
801
|
-
# Corresponds to the JSON property `variableTable`
|
|
802
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
803
|
-
attr_accessor :variable_table
|
|
825
|
+
# Represents the application to debug. The application may include one or more
|
|
826
|
+
# replicated processes executing the same code. Each of these processes is
|
|
827
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
|
828
|
+
# The agents attached to the same debuggee are identified by using exactly the
|
|
829
|
+
# same field values when registering.
|
|
830
|
+
class Debuggee
|
|
831
|
+
include Google::Apis::Core::Hashable
|
|
804
832
|
|
|
805
|
-
#
|
|
806
|
-
#
|
|
833
|
+
# Human readable description of the debuggee.
|
|
834
|
+
# Including a human-readable project name, environment name and version
|
|
835
|
+
# information is recommended.
|
|
836
|
+
# Corresponds to the JSON property `description`
|
|
807
837
|
# @return [String]
|
|
808
|
-
attr_accessor :
|
|
838
|
+
attr_accessor :description
|
|
809
839
|
|
|
810
|
-
#
|
|
811
|
-
#
|
|
812
|
-
#
|
|
813
|
-
#
|
|
814
|
-
# `log_message_format` are not logged.
|
|
815
|
-
# Example: `Message received, id = $0, count = $1` with
|
|
816
|
-
# `expressions` = `[ message.id, message.count ]`.
|
|
817
|
-
# Corresponds to the JSON property `logMessageFormat`
|
|
840
|
+
# Debuggee uniquifier within the project.
|
|
841
|
+
# Any string that identifies the application within the project can be used.
|
|
842
|
+
# Including environment and version or build IDs is recommended.
|
|
843
|
+
# Corresponds to the JSON property `uniquifier`
|
|
818
844
|
# @return [String]
|
|
819
|
-
attr_accessor :
|
|
820
|
-
|
|
821
|
-
# A set of custom breakpoint properties, populated by the agent, to be
|
|
822
|
-
# displayed to the user.
|
|
823
|
-
# Corresponds to the JSON property `labels`
|
|
824
|
-
# @return [Hash<String,String>]
|
|
825
|
-
attr_accessor :labels
|
|
826
|
-
|
|
827
|
-
# List of read-only expressions to evaluate at the breakpoint location.
|
|
828
|
-
# The expressions are composed using expressions in the programming language
|
|
829
|
-
# at the source location. If the breakpoint action is `LOG`, the evaluated
|
|
830
|
-
# expressions are included in log statements.
|
|
831
|
-
# Corresponds to the JSON property `expressions`
|
|
832
|
-
# @return [Array<String>]
|
|
833
|
-
attr_accessor :expressions
|
|
845
|
+
attr_accessor :uniquifier
|
|
834
846
|
|
|
835
|
-
#
|
|
836
|
-
#
|
|
837
|
-
#
|
|
838
|
-
#
|
|
839
|
-
#
|
|
840
|
-
#
|
|
841
|
-
#
|
|
842
|
-
|
|
843
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
|
844
|
-
attr_accessor :evaluated_expressions
|
|
847
|
+
# References to the locations and revisions of the source code used in the
|
|
848
|
+
# deployed application.
|
|
849
|
+
# NOTE: This field is deprecated. Consumers should use
|
|
850
|
+
# `ext_source_contexts` if it is not empty. Debug agents should populate
|
|
851
|
+
# both this field and `ext_source_contexts`.
|
|
852
|
+
# Corresponds to the JSON property `sourceContexts`
|
|
853
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
|
|
854
|
+
attr_accessor :source_contexts
|
|
845
855
|
|
|
846
|
-
#
|
|
847
|
-
#
|
|
848
|
-
#
|
|
849
|
-
#
|
|
850
|
-
|
|
851
|
-
|
|
856
|
+
# References to the locations and revisions of the source code used in the
|
|
857
|
+
# deployed application.
|
|
858
|
+
# Contexts describing a remote repo related to the source code
|
|
859
|
+
# have a `category` label of `remote_repo`. Source snapshot source
|
|
860
|
+
# contexts have a `category` of `snapshot`.
|
|
861
|
+
# Corresponds to the JSON property `extSourceContexts`
|
|
862
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
|
|
863
|
+
attr_accessor :ext_source_contexts
|
|
852
864
|
|
|
853
|
-
#
|
|
854
|
-
#
|
|
855
|
-
#
|
|
856
|
-
|
|
865
|
+
# A set of custom debuggee properties, populated by the agent, to be
|
|
866
|
+
# displayed to the user.
|
|
867
|
+
# Corresponds to the JSON property `labels`
|
|
868
|
+
# @return [Hash<String,String>]
|
|
869
|
+
attr_accessor :labels
|
|
857
870
|
|
|
858
|
-
#
|
|
859
|
-
#
|
|
860
|
-
#
|
|
861
|
-
#
|
|
862
|
-
|
|
863
|
-
|
|
871
|
+
# If set to `true`, indicates that the debuggee is considered as inactive by
|
|
872
|
+
# the Controller service.
|
|
873
|
+
# Corresponds to the JSON property `isInactive`
|
|
874
|
+
# @return [Boolean]
|
|
875
|
+
attr_accessor :is_inactive
|
|
876
|
+
alias_method :is_inactive?, :is_inactive
|
|
864
877
|
|
|
865
878
|
# Represents a contextual status message.
|
|
866
879
|
# The message can indicate an error or informational status, and refer to
|
|
@@ -871,39 +884,30 @@ module Google
|
|
|
871
884
|
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
|
872
885
|
attr_accessor :status
|
|
873
886
|
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
887
|
+
# Project the debuggee is associated with.
|
|
888
|
+
# Use the project number when registering a Google Cloud Platform project.
|
|
889
|
+
# Corresponds to the JSON property `project`
|
|
890
|
+
# @return [String]
|
|
891
|
+
attr_accessor :project
|
|
877
892
|
|
|
878
|
-
#
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
@location = args[:location] if args.key?(:location)
|
|
885
|
-
@final_time = args[:final_time] if args.key?(:final_time)
|
|
886
|
-
@variable_table = args[:variable_table] if args.key?(:variable_table)
|
|
887
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
888
|
-
@log_message_format = args[:log_message_format] if args.key?(:log_message_format)
|
|
889
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
890
|
-
@expressions = args[:expressions] if args.key?(:expressions)
|
|
891
|
-
@evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
|
|
892
|
-
@is_final_state = args[:is_final_state] if args.key?(:is_final_state)
|
|
893
|
-
@stack_frames = args[:stack_frames] if args.key?(:stack_frames)
|
|
894
|
-
@condition = args[:condition] if args.key?(:condition)
|
|
895
|
-
@status = args[:status] if args.key?(:status)
|
|
896
|
-
end
|
|
897
|
-
end
|
|
893
|
+
# If set to `true`, indicates that the agent should disable itself and
|
|
894
|
+
# detach from the debuggee.
|
|
895
|
+
# Corresponds to the JSON property `isDisabled`
|
|
896
|
+
# @return [Boolean]
|
|
897
|
+
attr_accessor :is_disabled
|
|
898
|
+
alias_method :is_disabled?, :is_disabled
|
|
898
899
|
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
900
|
+
# Version ID of the agent release. The version ID is structured as
|
|
901
|
+
# following: `domain/type/vmajor.minor` (for example
|
|
902
|
+
# `google.com/gcp-java/v1.1`).
|
|
903
|
+
# Corresponds to the JSON property `agentVersion`
|
|
904
|
+
# @return [String]
|
|
905
|
+
attr_accessor :agent_version
|
|
902
906
|
|
|
903
|
-
#
|
|
904
|
-
# Corresponds to the JSON property `
|
|
905
|
-
# @return [
|
|
906
|
-
attr_accessor :
|
|
907
|
+
# Unique identifier for the debuggee generated by the controller service.
|
|
908
|
+
# Corresponds to the JSON property `id`
|
|
909
|
+
# @return [String]
|
|
910
|
+
attr_accessor :id
|
|
907
911
|
|
|
908
912
|
def initialize(**args)
|
|
909
913
|
update!(**args)
|
|
@@ -911,18 +915,34 @@ module Google
|
|
|
911
915
|
|
|
912
916
|
# Update properties of this object
|
|
913
917
|
def update!(**args)
|
|
914
|
-
@
|
|
918
|
+
@description = args[:description] if args.key?(:description)
|
|
919
|
+
@uniquifier = args[:uniquifier] if args.key?(:uniquifier)
|
|
920
|
+
@source_contexts = args[:source_contexts] if args.key?(:source_contexts)
|
|
921
|
+
@ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
|
|
922
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
923
|
+
@is_inactive = args[:is_inactive] if args.key?(:is_inactive)
|
|
924
|
+
@status = args[:status] if args.key?(:status)
|
|
925
|
+
@project = args[:project] if args.key?(:project)
|
|
926
|
+
@is_disabled = args[:is_disabled] if args.key?(:is_disabled)
|
|
927
|
+
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
|
928
|
+
@id = args[:id] if args.key?(:id)
|
|
915
929
|
end
|
|
916
930
|
end
|
|
917
931
|
|
|
918
|
-
#
|
|
919
|
-
|
|
932
|
+
# Selects a repo using a Google Cloud Platform project ID
|
|
933
|
+
# (e.g. winged-cargo-31) and a repo name within that project.
|
|
934
|
+
class ProjectRepoId
|
|
920
935
|
include Google::Apis::Core::Hashable
|
|
921
936
|
|
|
922
|
-
#
|
|
923
|
-
# Corresponds to the JSON property `
|
|
924
|
-
# @return [
|
|
925
|
-
attr_accessor :
|
|
937
|
+
# The name of the repo. Leave empty for the default repo.
|
|
938
|
+
# Corresponds to the JSON property `repoName`
|
|
939
|
+
# @return [String]
|
|
940
|
+
attr_accessor :repo_name
|
|
941
|
+
|
|
942
|
+
# The ID of the project.
|
|
943
|
+
# Corresponds to the JSON property `projectId`
|
|
944
|
+
# @return [String]
|
|
945
|
+
attr_accessor :project_id
|
|
926
946
|
|
|
927
947
|
def initialize(**args)
|
|
928
948
|
update!(**args)
|
|
@@ -930,36 +950,33 @@ module Google
|
|
|
930
950
|
|
|
931
951
|
# Update properties of this object
|
|
932
952
|
def update!(**args)
|
|
933
|
-
@
|
|
953
|
+
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
|
954
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
|
934
955
|
end
|
|
935
956
|
end
|
|
936
957
|
|
|
937
|
-
#
|
|
938
|
-
|
|
939
|
-
class SourceContext
|
|
958
|
+
# Response for listing active breakpoints.
|
|
959
|
+
class ListActiveBreakpointsResponse
|
|
940
960
|
include Google::Apis::Core::Hashable
|
|
941
961
|
|
|
942
|
-
#
|
|
943
|
-
#
|
|
944
|
-
#
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
# repo (a repo hosted by the Google Cloud Platform).
|
|
949
|
-
# Corresponds to the JSON property `cloudRepo`
|
|
950
|
-
# @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext]
|
|
951
|
-
attr_accessor :cloud_repo
|
|
962
|
+
# The `wait_expired` field is set to true by the server when the
|
|
963
|
+
# request times out and the field `success_on_timeout` is set to true.
|
|
964
|
+
# Corresponds to the JSON property `waitExpired`
|
|
965
|
+
# @return [Boolean]
|
|
966
|
+
attr_accessor :wait_expired
|
|
967
|
+
alias_method :wait_expired?, :wait_expired
|
|
952
968
|
|
|
953
|
-
# A
|
|
954
|
-
#
|
|
955
|
-
#
|
|
956
|
-
|
|
969
|
+
# A wait token that can be used in the next method call to block until
|
|
970
|
+
# the list of breakpoints changes.
|
|
971
|
+
# Corresponds to the JSON property `nextWaitToken`
|
|
972
|
+
# @return [String]
|
|
973
|
+
attr_accessor :next_wait_token
|
|
957
974
|
|
|
958
|
-
#
|
|
959
|
-
#
|
|
960
|
-
# Corresponds to the JSON property `
|
|
961
|
-
# @return [Google::Apis::ClouddebuggerV2::
|
|
962
|
-
attr_accessor :
|
|
975
|
+
# List of all active breakpoints.
|
|
976
|
+
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
|
977
|
+
# Corresponds to the JSON property `breakpoints`
|
|
978
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
|
979
|
+
attr_accessor :breakpoints
|
|
963
980
|
|
|
964
981
|
def initialize(**args)
|
|
965
982
|
update!(**args)
|
|
@@ -967,37 +984,28 @@ module Google
|
|
|
967
984
|
|
|
968
985
|
# Update properties of this object
|
|
969
986
|
def update!(**args)
|
|
970
|
-
@
|
|
971
|
-
@
|
|
972
|
-
@
|
|
973
|
-
@git = args[:git] if args.key?(:git)
|
|
987
|
+
@wait_expired = args[:wait_expired] if args.key?(:wait_expired)
|
|
988
|
+
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
|
989
|
+
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
|
974
990
|
end
|
|
975
991
|
end
|
|
976
992
|
|
|
977
|
-
# A
|
|
978
|
-
|
|
979
|
-
class CloudRepoSourceContext
|
|
993
|
+
# A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
|
|
994
|
+
class CloudWorkspaceSourceContext
|
|
980
995
|
include Google::Apis::Core::Hashable
|
|
981
996
|
|
|
982
|
-
#
|
|
983
|
-
#
|
|
984
|
-
#
|
|
985
|
-
attr_accessor :revision_id
|
|
986
|
-
|
|
987
|
-
# The name of an alias (branch, tag, etc.).
|
|
988
|
-
# Corresponds to the JSON property `aliasName`
|
|
997
|
+
# The ID of the snapshot.
|
|
998
|
+
# An empty snapshot_id refers to the most recent snapshot.
|
|
999
|
+
# Corresponds to the JSON property `snapshotId`
|
|
989
1000
|
# @return [String]
|
|
990
|
-
attr_accessor :
|
|
991
|
-
|
|
992
|
-
# A unique identifier for a cloud repo.
|
|
993
|
-
# Corresponds to the JSON property `repoId`
|
|
994
|
-
# @return [Google::Apis::ClouddebuggerV2::RepoId]
|
|
995
|
-
attr_accessor :repo_id
|
|
1001
|
+
attr_accessor :snapshot_id
|
|
996
1002
|
|
|
997
|
-
#
|
|
998
|
-
#
|
|
999
|
-
#
|
|
1000
|
-
|
|
1003
|
+
# A CloudWorkspaceId is a unique identifier for a cloud workspace.
|
|
1004
|
+
# A cloud workspace is a place associated with a repo where modified files
|
|
1005
|
+
# can be stored before they are committed.
|
|
1006
|
+
# Corresponds to the JSON property `workspaceId`
|
|
1007
|
+
# @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId]
|
|
1008
|
+
attr_accessor :workspace_id
|
|
1001
1009
|
|
|
1002
1010
|
def initialize(**args)
|
|
1003
1011
|
update!(**args)
|
|
@@ -1005,67 +1013,55 @@ module Google
|
|
|
1005
1013
|
|
|
1006
1014
|
# Update properties of this object
|
|
1007
1015
|
def update!(**args)
|
|
1008
|
-
@
|
|
1009
|
-
@
|
|
1010
|
-
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
|
1011
|
-
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
|
1016
|
+
@snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id)
|
|
1017
|
+
@workspace_id = args[:workspace_id] if args.key?(:workspace_id)
|
|
1012
1018
|
end
|
|
1013
1019
|
end
|
|
1014
1020
|
|
|
1015
|
-
# Response for
|
|
1016
|
-
|
|
1021
|
+
# Response for updating an active breakpoint.
|
|
1022
|
+
# The message is defined to allow future extensions.
|
|
1023
|
+
class UpdateActiveBreakpointResponse
|
|
1017
1024
|
include Google::Apis::Core::Hashable
|
|
1018
1025
|
|
|
1019
|
-
# Represents the application to debug. The application may include one or more
|
|
1020
|
-
# replicated processes executing the same code. Each of these processes is
|
|
1021
|
-
# attached with a debugger agent, carrying out the debugging commands.
|
|
1022
|
-
# The agents attached to the same debuggee are identified by using exactly the
|
|
1023
|
-
# same field values when registering.
|
|
1024
|
-
# Corresponds to the JSON property `debuggee`
|
|
1025
|
-
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
|
1026
|
-
attr_accessor :debuggee
|
|
1027
|
-
|
|
1028
1026
|
def initialize(**args)
|
|
1029
1027
|
update!(**args)
|
|
1030
1028
|
end
|
|
1031
1029
|
|
|
1032
1030
|
# Update properties of this object
|
|
1033
1031
|
def update!(**args)
|
|
1034
|
-
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
|
1035
1032
|
end
|
|
1036
1033
|
end
|
|
1037
1034
|
|
|
1038
|
-
#
|
|
1039
|
-
class
|
|
1035
|
+
# A SourceContext referring to a Gerrit project.
|
|
1036
|
+
class GerritSourceContext
|
|
1040
1037
|
include Google::Apis::Core::Hashable
|
|
1041
1038
|
|
|
1042
|
-
#
|
|
1043
|
-
#
|
|
1044
|
-
#
|
|
1045
|
-
|
|
1046
|
-
# same field values when registering.
|
|
1047
|
-
# Corresponds to the JSON property `debuggee`
|
|
1048
|
-
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
|
1049
|
-
attr_accessor :debuggee
|
|
1039
|
+
# A revision (commit) ID.
|
|
1040
|
+
# Corresponds to the JSON property `revisionId`
|
|
1041
|
+
# @return [String]
|
|
1042
|
+
attr_accessor :revision_id
|
|
1050
1043
|
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1044
|
+
# The URI of a running Gerrit instance.
|
|
1045
|
+
# Corresponds to the JSON property `hostUri`
|
|
1046
|
+
# @return [String]
|
|
1047
|
+
attr_accessor :host_uri
|
|
1054
1048
|
|
|
1055
|
-
#
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
end
|
|
1049
|
+
# The name of an alias (branch, tag, etc.).
|
|
1050
|
+
# Corresponds to the JSON property `aliasName`
|
|
1051
|
+
# @return [String]
|
|
1052
|
+
attr_accessor :alias_name
|
|
1060
1053
|
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1054
|
+
# An alias to a repo revision.
|
|
1055
|
+
# Corresponds to the JSON property `aliasContext`
|
|
1056
|
+
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
|
1057
|
+
attr_accessor :alias_context
|
|
1064
1058
|
|
|
1065
|
-
#
|
|
1066
|
-
#
|
|
1067
|
-
#
|
|
1068
|
-
|
|
1059
|
+
# The full project name within the host. Projects may be nested, so
|
|
1060
|
+
# "project/subproject" is a valid project name.
|
|
1061
|
+
# The "repo name" is hostURI/project.
|
|
1062
|
+
# Corresponds to the JSON property `gerritProject`
|
|
1063
|
+
# @return [String]
|
|
1064
|
+
attr_accessor :gerrit_project
|
|
1069
1065
|
|
|
1070
1066
|
def initialize(**args)
|
|
1071
1067
|
update!(**args)
|
|
@@ -1073,7 +1069,11 @@ module Google
|
|
|
1073
1069
|
|
|
1074
1070
|
# Update properties of this object
|
|
1075
1071
|
def update!(**args)
|
|
1076
|
-
@
|
|
1072
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
|
1073
|
+
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
|
1074
|
+
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
|
1075
|
+
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
|
1076
|
+
@gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project)
|
|
1077
1077
|
end
|
|
1078
1078
|
end
|
|
1079
1079
|
end
|