google-api-client 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/api_names.yaml +37747 -36512
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +60 -66
- data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/service.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 +34 -8
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -5
- data/generated/google/apis/classroom_v1.rb +25 -22
- data/generated/google/apis/classroom_v1/classes.rb +910 -1001
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1064 -1272
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
- data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
- data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
- data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
- data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +813 -82
- data/generated/google/apis/compute_beta/representations.rb +305 -0
- data/generated/google/apis/compute_beta/service.rb +971 -180
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +147 -21
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +347 -65
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
- data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
- data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
- data/generated/google/apis/dataproc_v1/representations.rb +220 -204
- data/generated/google/apis/dataproc_v1/service.rb +299 -299
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +688 -688
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
- 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 +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +487 -15
- data/generated/google/apis/drive_v2/representations.rb +120 -0
- data/generated/google/apis/drive_v2/service.rb +355 -38
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +416 -14
- data/generated/google/apis/drive_v3/representations.rb +99 -0
- data/generated/google/apis/drive_v3/service.rb +315 -28
- 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 +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
- data/generated/google/apis/genomics_v1/representations.rb +239 -239
- data/generated/google/apis/genomics_v1/service.rb +599 -599
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +18 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +96 -96
- data/generated/google/apis/iam_v1/service.rb +150 -150
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +235 -235
- data/generated/google/apis/language_v1beta1/representations.rb +73 -73
- data/generated/google/apis/language_v1beta1/service.rb +49 -49
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
- data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
- data/generated/google/apis/logging_v2beta1/service.rb +315 -316
- data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
- data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
- data/generated/google/apis/manufacturers_v1/service.rb +32 -32
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +229 -229
- data/generated/google/apis/monitoring_v3/representations.rb +45 -45
- data/generated/google/apis/monitoring_v3/service.rb +141 -141
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1837 -483
- data/generated/google/apis/partners_v2/representations.rb +614 -157
- data/generated/google/apis/partners_v2/service.rb +881 -150
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +517 -465
- data/generated/google/apis/people_v1/representations.rb +138 -107
- data/generated/google/apis/people_v1/service.rb +56 -49
- 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 +529 -458
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +203 -203
- data/generated/google/apis/pubsub_v1/representations.rb +65 -65
- data/generated/google/apis/pubsub_v1/service.rb +226 -217
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +213 -61
- data/generated/google/apis/reseller_v1/representations.rb +27 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +95 -95
- data/generated/google/apis/script_v1/representations.rb +25 -25
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
- data/generated/google/apis/sheets_v4/representations.rb +853 -837
- data/generated/google/apis/sheets_v4/service.rb +32 -32
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +804 -748
- data/generated/google/apis/slides_v1/representations.rb +204 -187
- data/generated/google/apis/slides_v1/service.rb +16 -16
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
- data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
- data/generated/google/apis/speech_v1beta1/service.rb +66 -66
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +10 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1393 -865
- data/generated/google/apis/vision_v1/representations.rb +367 -102
- data/generated/google/apis/vision_v1/service.rb +4 -4
- 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 +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -30
@@ -26,13 +26,13 @@ module Google
|
|
26
26
|
# @see http://cloud.google.com/debugger
|
27
27
|
module ClouddebuggerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
30
|
-
|
31
|
-
# View and manage your data across Google Cloud Platform services
|
32
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
29
|
+
REVISION = '20170214'
|
33
30
|
|
34
31
|
# Manage cloud debugger
|
35
32
|
AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
|
33
|
+
|
34
|
+
# View and manage your data across Google Cloud Platform services
|
35
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
@@ -22,6 +22,109 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ClouddebuggerV2
|
24
24
|
|
25
|
+
# A CloudRepoSourceContext denotes a particular revision in a cloud
|
26
|
+
# repo (a repo hosted by the Google Cloud Platform).
|
27
|
+
class CloudRepoSourceContext
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
# A unique identifier for a cloud repo.
|
31
|
+
# Corresponds to the JSON property `repoId`
|
32
|
+
# @return [Google::Apis::ClouddebuggerV2::RepoId]
|
33
|
+
attr_accessor :repo_id
|
34
|
+
|
35
|
+
# An alias to a repo revision.
|
36
|
+
# Corresponds to the JSON property `aliasContext`
|
37
|
+
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
38
|
+
attr_accessor :alias_context
|
39
|
+
|
40
|
+
# A revision ID.
|
41
|
+
# Corresponds to the JSON property `revisionId`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :revision_id
|
44
|
+
|
45
|
+
# The name of an alias (branch, tag, etc.).
|
46
|
+
# Corresponds to the JSON property `aliasName`
|
47
|
+
# @return [String]
|
48
|
+
attr_accessor :alias_name
|
49
|
+
|
50
|
+
def initialize(**args)
|
51
|
+
update!(**args)
|
52
|
+
end
|
53
|
+
|
54
|
+
# Update properties of this object
|
55
|
+
def update!(**args)
|
56
|
+
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
57
|
+
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
58
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
59
|
+
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# Request to register a debuggee.
|
64
|
+
class RegisterDebuggeeRequest
|
65
|
+
include Google::Apis::Core::Hashable
|
66
|
+
|
67
|
+
# Represents the application to debug. The application may include one or more
|
68
|
+
# replicated processes executing the same code. Each of these processes is
|
69
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
70
|
+
# The agents attached to the same debuggee are identified by using exactly the
|
71
|
+
# same field values when registering.
|
72
|
+
# Corresponds to the JSON property `debuggee`
|
73
|
+
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
74
|
+
attr_accessor :debuggee
|
75
|
+
|
76
|
+
def initialize(**args)
|
77
|
+
update!(**args)
|
78
|
+
end
|
79
|
+
|
80
|
+
# Update properties of this object
|
81
|
+
def update!(**args)
|
82
|
+
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# Response for registering a debuggee.
|
87
|
+
class RegisterDebuggeeResponse
|
88
|
+
include Google::Apis::Core::Hashable
|
89
|
+
|
90
|
+
# Represents the application to debug. The application may include one or more
|
91
|
+
# replicated processes executing the same code. Each of these processes is
|
92
|
+
# attached with a debugger agent, carrying out the debugging commands.
|
93
|
+
# The agents attached to the same debuggee are identified by using exactly the
|
94
|
+
# same field values when registering.
|
95
|
+
# Corresponds to the JSON property `debuggee`
|
96
|
+
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
97
|
+
attr_accessor :debuggee
|
98
|
+
|
99
|
+
def initialize(**args)
|
100
|
+
update!(**args)
|
101
|
+
end
|
102
|
+
|
103
|
+
# Update properties of this object
|
104
|
+
def update!(**args)
|
105
|
+
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
# Response for getting breakpoint information.
|
110
|
+
class GetBreakpointResponse
|
111
|
+
include Google::Apis::Core::Hashable
|
112
|
+
|
113
|
+
# Represents the breakpoint specification, status and results.
|
114
|
+
# Corresponds to the JSON property `breakpoint`
|
115
|
+
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
116
|
+
attr_accessor :breakpoint
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
25
128
|
# Represents a contextual status message.
|
26
129
|
# The message can indicate an error or informational status, and refer to
|
27
130
|
# specific parts of the containing object.
|
@@ -170,6 +273,26 @@ module Google
|
|
170
273
|
class Variable
|
171
274
|
include Google::Apis::Core::Hashable
|
172
275
|
|
276
|
+
# Variable type (e.g. `MyClass`). If the variable is split with
|
277
|
+
# `var_table_index`, `type` goes next to `value`. The interpretation of
|
278
|
+
# a type is agent specific. It is recommended to include the dynamic type
|
279
|
+
# rather than a static type of an object.
|
280
|
+
# Corresponds to the JSON property `type`
|
281
|
+
# @return [String]
|
282
|
+
attr_accessor :type
|
283
|
+
|
284
|
+
# Simple value of the variable.
|
285
|
+
# Corresponds to the JSON property `value`
|
286
|
+
# @return [String]
|
287
|
+
attr_accessor :value
|
288
|
+
|
289
|
+
# Reference to a variable in the shared variable table. More than
|
290
|
+
# one variable can reference the same variable in the table. The
|
291
|
+
# `var_table_index` field is an index into `variable_table` in Breakpoint.
|
292
|
+
# Corresponds to the JSON property `varTableIndex`
|
293
|
+
# @return [Fixnum]
|
294
|
+
attr_accessor :var_table_index
|
295
|
+
|
173
296
|
# Members contained or pointed to by the variable.
|
174
297
|
# Corresponds to the JSON property `members`
|
175
298
|
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
@@ -189,38 +312,18 @@ module Google
|
|
189
312
|
# @return [String]
|
190
313
|
attr_accessor :name
|
191
314
|
|
192
|
-
# Variable type (e.g. `MyClass`). If the variable is split with
|
193
|
-
# `var_table_index`, `type` goes next to `value`. The interpretation of
|
194
|
-
# a type is agent specific. It is recommended to include the dynamic type
|
195
|
-
# rather than a static type of an object.
|
196
|
-
# Corresponds to the JSON property `type`
|
197
|
-
# @return [String]
|
198
|
-
attr_accessor :type
|
199
|
-
|
200
|
-
# Reference to a variable in the shared variable table. More than
|
201
|
-
# one variable can reference the same variable in the table. The
|
202
|
-
# `var_table_index` field is an index into `variable_table` in Breakpoint.
|
203
|
-
# Corresponds to the JSON property `varTableIndex`
|
204
|
-
# @return [Fixnum]
|
205
|
-
attr_accessor :var_table_index
|
206
|
-
|
207
|
-
# Simple value of the variable.
|
208
|
-
# Corresponds to the JSON property `value`
|
209
|
-
# @return [String]
|
210
|
-
attr_accessor :value
|
211
|
-
|
212
315
|
def initialize(**args)
|
213
316
|
update!(**args)
|
214
317
|
end
|
215
318
|
|
216
319
|
# Update properties of this object
|
217
320
|
def update!(**args)
|
321
|
+
@type = args[:type] if args.key?(:type)
|
322
|
+
@value = args[:value] if args.key?(:value)
|
323
|
+
@var_table_index = args[:var_table_index] if args.key?(:var_table_index)
|
218
324
|
@members = args[:members] if args.key?(:members)
|
219
325
|
@status = args[:status] if args.key?(:status)
|
220
326
|
@name = args[:name] if args.key?(:name)
|
221
|
-
@type = args[:type] if args.key?(:type)
|
222
|
-
@var_table_index = args[:var_table_index] if args.key?(:var_table_index)
|
223
|
-
@value = args[:value] if args.key?(:value)
|
224
327
|
end
|
225
328
|
end
|
226
329
|
|
@@ -228,12 +331,6 @@ module Google
|
|
228
331
|
class StackFrame
|
229
332
|
include Google::Apis::Core::Hashable
|
230
333
|
|
231
|
-
# Set of arguments passed to this function.
|
232
|
-
# Note that this might not be populated for all stack frames.
|
233
|
-
# Corresponds to the JSON property `arguments`
|
234
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
235
|
-
attr_accessor :arguments
|
236
|
-
|
237
334
|
# Set of local variables at the stack frame location.
|
238
335
|
# Note that this might not be populated for all stack frames.
|
239
336
|
# Corresponds to the JSON property `locals`
|
@@ -250,16 +347,22 @@ module Google
|
|
250
347
|
# @return [String]
|
251
348
|
attr_accessor :function
|
252
349
|
|
350
|
+
# Set of arguments passed to this function.
|
351
|
+
# Note that this might not be populated for all stack frames.
|
352
|
+
# Corresponds to the JSON property `arguments`
|
353
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
354
|
+
attr_accessor :arguments
|
355
|
+
|
253
356
|
def initialize(**args)
|
254
357
|
update!(**args)
|
255
358
|
end
|
256
359
|
|
257
360
|
# Update properties of this object
|
258
361
|
def update!(**args)
|
259
|
-
@arguments = args[:arguments] if args.key?(:arguments)
|
260
362
|
@locals = args[:locals] if args.key?(:locals)
|
261
363
|
@location = args[:location] if args.key?(:location)
|
262
364
|
@function = args[:function] if args.key?(:function)
|
365
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
263
366
|
end
|
264
367
|
end
|
265
368
|
|
@@ -267,25 +370,25 @@ module Google
|
|
267
370
|
class RepoId
|
268
371
|
include Google::Apis::Core::Hashable
|
269
372
|
|
270
|
-
# A server-assigned, globally unique identifier.
|
271
|
-
# Corresponds to the JSON property `uid`
|
272
|
-
# @return [String]
|
273
|
-
attr_accessor :uid
|
274
|
-
|
275
373
|
# Selects a repo using a Google Cloud Platform project ID
|
276
374
|
# (e.g. winged-cargo-31) and a repo name within that project.
|
277
375
|
# Corresponds to the JSON property `projectRepoId`
|
278
376
|
# @return [Google::Apis::ClouddebuggerV2::ProjectRepoId]
|
279
377
|
attr_accessor :project_repo_id
|
280
378
|
|
379
|
+
# A server-assigned, globally unique identifier.
|
380
|
+
# Corresponds to the JSON property `uid`
|
381
|
+
# @return [String]
|
382
|
+
attr_accessor :uid
|
383
|
+
|
281
384
|
def initialize(**args)
|
282
385
|
update!(**args)
|
283
386
|
end
|
284
387
|
|
285
388
|
# Update properties of this object
|
286
389
|
def update!(**args)
|
287
|
-
@uid = args[:uid] if args.key?(:uid)
|
288
390
|
@project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
|
391
|
+
@uid = args[:uid] if args.key?(:uid)
|
289
392
|
end
|
290
393
|
end
|
291
394
|
|
@@ -347,29 +450,6 @@ module Google
|
|
347
450
|
end
|
348
451
|
end
|
349
452
|
|
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
453
|
# An alias to a repo revision.
|
374
454
|
class AliasContext
|
375
455
|
include Google::Apis::Core::Hashable
|
@@ -395,6 +475,29 @@ module Google
|
|
395
475
|
end
|
396
476
|
end
|
397
477
|
|
478
|
+
# Response for listing debuggees.
|
479
|
+
class ListDebuggeesResponse
|
480
|
+
include Google::Apis::Core::Hashable
|
481
|
+
|
482
|
+
# List of debuggees accessible to the calling user.
|
483
|
+
# Note that the `description` field is the only human readable field
|
484
|
+
# that should be displayed to the user.
|
485
|
+
# The fields `debuggee.id` and `description` fields are guaranteed to be
|
486
|
+
# set on each debuggee.
|
487
|
+
# Corresponds to the JSON property `debuggees`
|
488
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
|
489
|
+
attr_accessor :debuggees
|
490
|
+
|
491
|
+
def initialize(**args)
|
492
|
+
update!(**args)
|
493
|
+
end
|
494
|
+
|
495
|
+
# Update properties of this object
|
496
|
+
def update!(**args)
|
497
|
+
@debuggees = args[:debuggees] if args.key?(:debuggees)
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
398
501
|
# A generic empty message that you can re-use to avoid defining duplicated
|
399
502
|
# empty messages in your APIs. A typical example is to use it as the request
|
400
503
|
# or the response type of an API method. For instance:
|
@@ -418,24 +521,24 @@ module Google
|
|
418
521
|
class SourceLocation
|
419
522
|
include Google::Apis::Core::Hashable
|
420
523
|
|
421
|
-
# Path to the source file within the source context of the target binary.
|
422
|
-
# Corresponds to the JSON property `path`
|
423
|
-
# @return [String]
|
424
|
-
attr_accessor :path
|
425
|
-
|
426
524
|
# Line inside the file. The first line in the file has the value `1`.
|
427
525
|
# Corresponds to the JSON property `line`
|
428
526
|
# @return [Fixnum]
|
429
527
|
attr_accessor :line
|
430
528
|
|
529
|
+
# Path to the source file within the source context of the target binary.
|
530
|
+
# Corresponds to the JSON property `path`
|
531
|
+
# @return [String]
|
532
|
+
attr_accessor :path
|
533
|
+
|
431
534
|
def initialize(**args)
|
432
535
|
update!(**args)
|
433
536
|
end
|
434
537
|
|
435
538
|
# Update properties of this object
|
436
539
|
def update!(**args)
|
437
|
-
@path = args[:path] if args.key?(:path)
|
438
540
|
@line = args[:line] if args.key?(:line)
|
541
|
+
@path = args[:path] if args.key?(:path)
|
439
542
|
end
|
440
543
|
end
|
441
544
|
|
@@ -447,42 +550,16 @@ module Google
|
|
447
550
|
class Debuggee
|
448
551
|
include Google::Apis::Core::Hashable
|
449
552
|
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
453
|
-
#
|
454
|
-
|
455
|
-
# Corresponds to the JSON property `extSourceContexts`
|
456
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
|
457
|
-
attr_accessor :ext_source_contexts
|
553
|
+
# Project the debuggee is associated with.
|
554
|
+
# Use the project number when registering a Google Cloud Platform project.
|
555
|
+
# Corresponds to the JSON property `project`
|
556
|
+
# @return [String]
|
557
|
+
attr_accessor :project
|
458
558
|
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
|
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
|
471
|
-
|
472
|
-
# Represents a contextual status message.
|
473
|
-
# The message can indicate an error or informational status, and refer to
|
474
|
-
# specific parts of the containing object.
|
475
|
-
# For example, the `Breakpoint.status` field can indicate an error referring
|
476
|
-
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
477
|
-
# Corresponds to the JSON property `status`
|
478
|
-
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
479
|
-
attr_accessor :status
|
480
|
-
|
481
|
-
# Project the debuggee is associated with.
|
482
|
-
# Use the project number when registering a Google Cloud Platform project.
|
483
|
-
# Corresponds to the JSON property `project`
|
484
|
-
# @return [String]
|
485
|
-
attr_accessor :project
|
559
|
+
# Unique identifier for the debuggee generated by the controller service.
|
560
|
+
# Corresponds to the JSON property `id`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :id
|
486
563
|
|
487
564
|
# If set to `true`, indicates that the agent should disable itself and
|
488
565
|
# detach from the debuggee.
|
@@ -498,11 +575,6 @@ module Google
|
|
498
575
|
# @return [String]
|
499
576
|
attr_accessor :agent_version
|
500
577
|
|
501
|
-
# Unique identifier for the debuggee generated by the controller service.
|
502
|
-
# Corresponds to the JSON property `id`
|
503
|
-
# @return [String]
|
504
|
-
attr_accessor :id
|
505
|
-
|
506
578
|
# Debuggee uniquifier within the project.
|
507
579
|
# Any string that identifies the application within the project can be used.
|
508
580
|
# Including environment and version or build IDs is recommended.
|
@@ -526,23 +598,54 @@ module Google
|
|
526
598
|
# @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
|
527
599
|
attr_accessor :source_contexts
|
528
600
|
|
601
|
+
# References to the locations and revisions of the source code used in the
|
602
|
+
# deployed application.
|
603
|
+
# Contexts describing a remote repo related to the source code
|
604
|
+
# have a `category` label of `remote_repo`. Source snapshot source
|
605
|
+
# contexts have a `category` of `snapshot`.
|
606
|
+
# Corresponds to the JSON property `extSourceContexts`
|
607
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
|
608
|
+
attr_accessor :ext_source_contexts
|
609
|
+
|
610
|
+
# A set of custom debuggee properties, populated by the agent, to be
|
611
|
+
# displayed to the user.
|
612
|
+
# Corresponds to the JSON property `labels`
|
613
|
+
# @return [Hash<String,String>]
|
614
|
+
attr_accessor :labels
|
615
|
+
|
616
|
+
# Represents a contextual status message.
|
617
|
+
# The message can indicate an error or informational status, and refer to
|
618
|
+
# specific parts of the containing object.
|
619
|
+
# For example, the `Breakpoint.status` field can indicate an error referring
|
620
|
+
# to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
|
621
|
+
# Corresponds to the JSON property `status`
|
622
|
+
# @return [Google::Apis::ClouddebuggerV2::StatusMessage]
|
623
|
+
attr_accessor :status
|
624
|
+
|
625
|
+
# If set to `true`, indicates that the debuggee is considered as inactive by
|
626
|
+
# the Controller service.
|
627
|
+
# Corresponds to the JSON property `isInactive`
|
628
|
+
# @return [Boolean]
|
629
|
+
attr_accessor :is_inactive
|
630
|
+
alias_method :is_inactive?, :is_inactive
|
631
|
+
|
529
632
|
def initialize(**args)
|
530
633
|
update!(**args)
|
531
634
|
end
|
532
635
|
|
533
636
|
# Update properties of this object
|
534
637
|
def update!(**args)
|
535
|
-
@ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
|
536
|
-
@labels = args[:labels] if args.key?(:labels)
|
537
|
-
@is_inactive = args[:is_inactive] if args.key?(:is_inactive)
|
538
|
-
@status = args[:status] if args.key?(:status)
|
539
638
|
@project = args[:project] if args.key?(:project)
|
639
|
+
@id = args[:id] if args.key?(:id)
|
540
640
|
@is_disabled = args[:is_disabled] if args.key?(:is_disabled)
|
541
641
|
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
542
|
-
@id = args[:id] if args.key?(:id)
|
543
642
|
@uniquifier = args[:uniquifier] if args.key?(:uniquifier)
|
544
643
|
@description = args[:description] if args.key?(:description)
|
545
644
|
@source_contexts = args[:source_contexts] if args.key?(:source_contexts)
|
645
|
+
@ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
|
646
|
+
@labels = args[:labels] if args.key?(:labels)
|
647
|
+
@status = args[:status] if args.key?(:status)
|
648
|
+
@is_inactive = args[:is_inactive] if args.key?(:is_inactive)
|
546
649
|
end
|
547
650
|
end
|
548
651
|
|
@@ -635,24 +738,22 @@ module Google
|
|
635
738
|
end
|
636
739
|
end
|
637
740
|
|
638
|
-
# Response for updating an active breakpoint.
|
639
|
-
# The message is defined to allow future extensions.
|
640
|
-
class UpdateActiveBreakpointResponse
|
641
|
-
include Google::Apis::Core::Hashable
|
642
|
-
|
643
|
-
def initialize(**args)
|
644
|
-
update!(**args)
|
645
|
-
end
|
646
|
-
|
647
|
-
# Update properties of this object
|
648
|
-
def update!(**args)
|
649
|
-
end
|
650
|
-
end
|
651
|
-
|
652
741
|
# A SourceContext referring to a Gerrit project.
|
653
742
|
class GerritSourceContext
|
654
743
|
include Google::Apis::Core::Hashable
|
655
744
|
|
745
|
+
# The full project name within the host. Projects may be nested, so
|
746
|
+
# "project/subproject" is a valid project name.
|
747
|
+
# The "repo name" is hostURI/project.
|
748
|
+
# Corresponds to the JSON property `gerritProject`
|
749
|
+
# @return [String]
|
750
|
+
attr_accessor :gerrit_project
|
751
|
+
|
752
|
+
# An alias to a repo revision.
|
753
|
+
# Corresponds to the JSON property `aliasContext`
|
754
|
+
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
755
|
+
attr_accessor :alias_context
|
756
|
+
|
656
757
|
# The URI of a running Gerrit instance.
|
657
758
|
# Corresponds to the JSON property `hostUri`
|
658
759
|
# @return [String]
|
@@ -668,29 +769,31 @@ module Google
|
|
668
769
|
# @return [String]
|
669
770
|
attr_accessor :alias_name
|
670
771
|
|
671
|
-
# The full project name within the host. Projects may be nested, so
|
672
|
-
# "project/subproject" is a valid project name.
|
673
|
-
# The "repo name" is hostURI/project.
|
674
|
-
# Corresponds to the JSON property `gerritProject`
|
675
|
-
# @return [String]
|
676
|
-
attr_accessor :gerrit_project
|
677
|
-
|
678
|
-
# An alias to a repo revision.
|
679
|
-
# Corresponds to the JSON property `aliasContext`
|
680
|
-
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
681
|
-
attr_accessor :alias_context
|
682
|
-
|
683
772
|
def initialize(**args)
|
684
773
|
update!(**args)
|
685
774
|
end
|
686
775
|
|
687
776
|
# Update properties of this object
|
688
777
|
def update!(**args)
|
778
|
+
@gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project)
|
779
|
+
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
689
780
|
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
690
781
|
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
691
782
|
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
692
|
-
|
693
|
-
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
786
|
+
# Response for updating an active breakpoint.
|
787
|
+
# The message is defined to allow future extensions.
|
788
|
+
class UpdateActiveBreakpointResponse
|
789
|
+
include Google::Apis::Core::Hashable
|
790
|
+
|
791
|
+
def initialize(**args)
|
792
|
+
update!(**args)
|
793
|
+
end
|
794
|
+
|
795
|
+
# Update properties of this object
|
796
|
+
def update!(**args)
|
694
797
|
end
|
695
798
|
end
|
696
799
|
|
@@ -726,12 +829,6 @@ module Google
|
|
726
829
|
class ListBreakpointsResponse
|
727
830
|
include Google::Apis::Core::Hashable
|
728
831
|
|
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
832
|
# List of breakpoints matching the request.
|
736
833
|
# The fields `id` and `location` are guaranteed to be set on each breakpoint.
|
737
834
|
# The fields: `stack_frames`, `evaluated_expressions` and `variable_table`
|
@@ -740,14 +837,20 @@ module Google
|
|
740
837
|
# @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
|
741
838
|
attr_accessor :breakpoints
|
742
839
|
|
840
|
+
# A wait token that can be used in the next call to `list` (REST) or
|
841
|
+
# `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
|
842
|
+
# Corresponds to the JSON property `nextWaitToken`
|
843
|
+
# @return [String]
|
844
|
+
attr_accessor :next_wait_token
|
845
|
+
|
743
846
|
def initialize(**args)
|
744
847
|
update!(**args)
|
745
848
|
end
|
746
849
|
|
747
850
|
# Update properties of this object
|
748
851
|
def update!(**args)
|
749
|
-
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
750
852
|
@breakpoints = args[:breakpoints] if args.key?(:breakpoints)
|
853
|
+
@next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
|
751
854
|
end
|
752
855
|
end
|
753
856
|
|
@@ -755,59 +858,6 @@ module Google
|
|
755
858
|
class Breakpoint
|
756
859
|
include Google::Apis::Core::Hashable
|
757
860
|
|
758
|
-
# Breakpoint identifier, unique in the scope of the debuggee.
|
759
|
-
# Corresponds to the JSON property `id`
|
760
|
-
# @return [String]
|
761
|
-
attr_accessor :id
|
762
|
-
|
763
|
-
# Represents a location in the source code.
|
764
|
-
# Corresponds to the JSON property `location`
|
765
|
-
# @return [Google::Apis::ClouddebuggerV2::SourceLocation]
|
766
|
-
attr_accessor :location
|
767
|
-
|
768
|
-
# Time this breakpoint was finalized as seen by the server in seconds
|
769
|
-
# resolution.
|
770
|
-
# Corresponds to the JSON property `finalTime`
|
771
|
-
# @return [String]
|
772
|
-
attr_accessor :final_time
|
773
|
-
|
774
|
-
# The `variable_table` exists to aid with computation, memory and network
|
775
|
-
# traffic optimization. It enables storing a variable once and reference
|
776
|
-
# it from multiple variables, including variables stored in the
|
777
|
-
# `variable_table` itself.
|
778
|
-
# For example, the same `this` object, which may appear at many levels of
|
779
|
-
# the stack, can have all of its data stored once in this table. The
|
780
|
-
# stack frame variables then would hold only a reference to it.
|
781
|
-
# The variable `var_table_index` field is an index into this repeated field.
|
782
|
-
# The stored objects are nameless and get their name from the referencing
|
783
|
-
# variable. The effective variable is a merge of the referencing variable
|
784
|
-
# and the referenced variable.
|
785
|
-
# Corresponds to the JSON property `variableTable`
|
786
|
-
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
787
|
-
attr_accessor :variable_table
|
788
|
-
|
789
|
-
# A set of custom breakpoint properties, populated by the agent, to be
|
790
|
-
# displayed to the user.
|
791
|
-
# Corresponds to the JSON property `labels`
|
792
|
-
# @return [Hash<String,String>]
|
793
|
-
attr_accessor :labels
|
794
|
-
|
795
|
-
# Only relevant when action is `LOG`. Defines the message to log when
|
796
|
-
# the breakpoint hits. The message may include parameter placeholders `$0`,
|
797
|
-
# `$1`, etc. These placeholders are replaced with the evaluated value
|
798
|
-
# of the appropriate expression. Expressions not referenced in
|
799
|
-
# `log_message_format` are not logged.
|
800
|
-
# Example: `Message received, id = $0, count = $1` with
|
801
|
-
# `expressions` = `[ message.id, message.count ]`.
|
802
|
-
# Corresponds to the JSON property `logMessageFormat`
|
803
|
-
# @return [String]
|
804
|
-
attr_accessor :log_message_format
|
805
|
-
|
806
|
-
# Time this breakpoint was created by the server in seconds resolution.
|
807
|
-
# Corresponds to the JSON property `createTime`
|
808
|
-
# @return [String]
|
809
|
-
attr_accessor :create_time
|
810
|
-
|
811
861
|
# List of read-only expressions to evaluate at the breakpoint location.
|
812
862
|
# The expressions are composed using expressions in the programming language
|
813
863
|
# at the source location. If the breakpoint action is `LOG`, the evaluated
|
@@ -871,19 +921,65 @@ module Google
|
|
871
921
|
# @return [String]
|
872
922
|
attr_accessor :log_level
|
873
923
|
|
924
|
+
# Breakpoint identifier, unique in the scope of the debuggee.
|
925
|
+
# Corresponds to the JSON property `id`
|
926
|
+
# @return [String]
|
927
|
+
attr_accessor :id
|
928
|
+
|
929
|
+
# Represents a location in the source code.
|
930
|
+
# Corresponds to the JSON property `location`
|
931
|
+
# @return [Google::Apis::ClouddebuggerV2::SourceLocation]
|
932
|
+
attr_accessor :location
|
933
|
+
|
934
|
+
# Time this breakpoint was finalized as seen by the server in seconds
|
935
|
+
# resolution.
|
936
|
+
# Corresponds to the JSON property `finalTime`
|
937
|
+
# @return [String]
|
938
|
+
attr_accessor :final_time
|
939
|
+
|
940
|
+
# The `variable_table` exists to aid with computation, memory and network
|
941
|
+
# traffic optimization. It enables storing a variable once and reference
|
942
|
+
# it from multiple variables, including variables stored in the
|
943
|
+
# `variable_table` itself.
|
944
|
+
# For example, the same `this` object, which may appear at many levels of
|
945
|
+
# the stack, can have all of its data stored once in this table. The
|
946
|
+
# stack frame variables then would hold only a reference to it.
|
947
|
+
# The variable `var_table_index` field is an index into this repeated field.
|
948
|
+
# The stored objects are nameless and get their name from the referencing
|
949
|
+
# variable. The effective variable is a merge of the referencing variable
|
950
|
+
# and the referenced variable.
|
951
|
+
# Corresponds to the JSON property `variableTable`
|
952
|
+
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
953
|
+
attr_accessor :variable_table
|
954
|
+
|
955
|
+
# A set of custom breakpoint properties, populated by the agent, to be
|
956
|
+
# displayed to the user.
|
957
|
+
# Corresponds to the JSON property `labels`
|
958
|
+
# @return [Hash<String,String>]
|
959
|
+
attr_accessor :labels
|
960
|
+
|
961
|
+
# Only relevant when action is `LOG`. Defines the message to log when
|
962
|
+
# the breakpoint hits. The message may include parameter placeholders `$0`,
|
963
|
+
# `$1`, etc. These placeholders are replaced with the evaluated value
|
964
|
+
# of the appropriate expression. Expressions not referenced in
|
965
|
+
# `log_message_format` are not logged.
|
966
|
+
# Example: `Message received, id = $0, count = $1` with
|
967
|
+
# `expressions` = `[ message.id, message.count ]`.
|
968
|
+
# Corresponds to the JSON property `logMessageFormat`
|
969
|
+
# @return [String]
|
970
|
+
attr_accessor :log_message_format
|
971
|
+
|
972
|
+
# Time this breakpoint was created by the server in seconds resolution.
|
973
|
+
# Corresponds to the JSON property `createTime`
|
974
|
+
# @return [String]
|
975
|
+
attr_accessor :create_time
|
976
|
+
|
874
977
|
def initialize(**args)
|
875
978
|
update!(**args)
|
876
979
|
end
|
877
980
|
|
878
981
|
# Update properties of this object
|
879
982
|
def update!(**args)
|
880
|
-
@id = args[:id] if args.key?(:id)
|
881
|
-
@location = args[:location] if args.key?(:location)
|
882
|
-
@final_time = args[:final_time] if args.key?(:final_time)
|
883
|
-
@variable_table = args[:variable_table] if args.key?(:variable_table)
|
884
|
-
@labels = args[:labels] if args.key?(:labels)
|
885
|
-
@log_message_format = args[:log_message_format] if args.key?(:log_message_format)
|
886
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
887
983
|
@expressions = args[:expressions] if args.key?(:expressions)
|
888
984
|
@evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
|
889
985
|
@is_final_state = args[:is_final_state] if args.key?(:is_final_state)
|
@@ -893,6 +989,13 @@ module Google
|
|
893
989
|
@user_email = args[:user_email] if args.key?(:user_email)
|
894
990
|
@action = args[:action] if args.key?(:action)
|
895
991
|
@log_level = args[:log_level] if args.key?(:log_level)
|
992
|
+
@id = args[:id] if args.key?(:id)
|
993
|
+
@location = args[:location] if args.key?(:location)
|
994
|
+
@final_time = args[:final_time] if args.key?(:final_time)
|
995
|
+
@variable_table = args[:variable_table] if args.key?(:variable_table)
|
996
|
+
@labels = args[:labels] if args.key?(:labels)
|
997
|
+
@log_message_format = args[:log_message_format] if args.key?(:log_message_format)
|
998
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
896
999
|
end
|
897
1000
|
end
|
898
1001
|
|
@@ -939,6 +1042,12 @@ module Google
|
|
939
1042
|
class SourceContext
|
940
1043
|
include Google::Apis::Core::Hashable
|
941
1044
|
|
1045
|
+
# A GitSourceContext denotes a particular revision in a third party Git
|
1046
|
+
# repository (e.g. GitHub).
|
1047
|
+
# Corresponds to the JSON property `git`
|
1048
|
+
# @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
|
1049
|
+
attr_accessor :git
|
1050
|
+
|
942
1051
|
# A SourceContext referring to a Gerrit project.
|
943
1052
|
# Corresponds to the JSON property `gerrit`
|
944
1053
|
# @return [Google::Apis::ClouddebuggerV2::GerritSourceContext]
|
@@ -955,125 +1064,16 @@ module Google
|
|
955
1064
|
# @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext]
|
956
1065
|
attr_accessor :cloud_workspace
|
957
1066
|
|
958
|
-
# A GitSourceContext denotes a particular revision in a third party Git
|
959
|
-
# repository (e.g. GitHub).
|
960
|
-
# Corresponds to the JSON property `git`
|
961
|
-
# @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
|
962
|
-
attr_accessor :git
|
963
|
-
|
964
1067
|
def initialize(**args)
|
965
1068
|
update!(**args)
|
966
1069
|
end
|
967
1070
|
|
968
1071
|
# Update properties of this object
|
969
1072
|
def update!(**args)
|
1073
|
+
@git = args[:git] if args.key?(:git)
|
970
1074
|
@gerrit = args[:gerrit] if args.key?(:gerrit)
|
971
1075
|
@cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo)
|
972
1076
|
@cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace)
|
973
|
-
@git = args[:git] if args.key?(:git)
|
974
|
-
end
|
975
|
-
end
|
976
|
-
|
977
|
-
# A CloudRepoSourceContext denotes a particular revision in a cloud
|
978
|
-
# repo (a repo hosted by the Google Cloud Platform).
|
979
|
-
class CloudRepoSourceContext
|
980
|
-
include Google::Apis::Core::Hashable
|
981
|
-
|
982
|
-
# A revision ID.
|
983
|
-
# Corresponds to the JSON property `revisionId`
|
984
|
-
# @return [String]
|
985
|
-
attr_accessor :revision_id
|
986
|
-
|
987
|
-
# The name of an alias (branch, tag, etc.).
|
988
|
-
# Corresponds to the JSON property `aliasName`
|
989
|
-
# @return [String]
|
990
|
-
attr_accessor :alias_name
|
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
|
996
|
-
|
997
|
-
# An alias to a repo revision.
|
998
|
-
# Corresponds to the JSON property `aliasContext`
|
999
|
-
# @return [Google::Apis::ClouddebuggerV2::AliasContext]
|
1000
|
-
attr_accessor :alias_context
|
1001
|
-
|
1002
|
-
def initialize(**args)
|
1003
|
-
update!(**args)
|
1004
|
-
end
|
1005
|
-
|
1006
|
-
# Update properties of this object
|
1007
|
-
def update!(**args)
|
1008
|
-
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
1009
|
-
@alias_name = args[:alias_name] if args.key?(:alias_name)
|
1010
|
-
@repo_id = args[:repo_id] if args.key?(:repo_id)
|
1011
|
-
@alias_context = args[:alias_context] if args.key?(:alias_context)
|
1012
|
-
end
|
1013
|
-
end
|
1014
|
-
|
1015
|
-
# Response for registering a debuggee.
|
1016
|
-
class RegisterDebuggeeResponse
|
1017
|
-
include Google::Apis::Core::Hashable
|
1018
|
-
|
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
|
-
def initialize(**args)
|
1029
|
-
update!(**args)
|
1030
|
-
end
|
1031
|
-
|
1032
|
-
# Update properties of this object
|
1033
|
-
def update!(**args)
|
1034
|
-
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
1035
|
-
end
|
1036
|
-
end
|
1037
|
-
|
1038
|
-
# Request to register a debuggee.
|
1039
|
-
class RegisterDebuggeeRequest
|
1040
|
-
include Google::Apis::Core::Hashable
|
1041
|
-
|
1042
|
-
# Represents the application to debug. The application may include one or more
|
1043
|
-
# replicated processes executing the same code. Each of these processes is
|
1044
|
-
# attached with a debugger agent, carrying out the debugging commands.
|
1045
|
-
# The agents attached to the same debuggee are identified by using exactly the
|
1046
|
-
# same field values when registering.
|
1047
|
-
# Corresponds to the JSON property `debuggee`
|
1048
|
-
# @return [Google::Apis::ClouddebuggerV2::Debuggee]
|
1049
|
-
attr_accessor :debuggee
|
1050
|
-
|
1051
|
-
def initialize(**args)
|
1052
|
-
update!(**args)
|
1053
|
-
end
|
1054
|
-
|
1055
|
-
# Update properties of this object
|
1056
|
-
def update!(**args)
|
1057
|
-
@debuggee = args[:debuggee] if args.key?(:debuggee)
|
1058
|
-
end
|
1059
|
-
end
|
1060
|
-
|
1061
|
-
# Response for getting breakpoint information.
|
1062
|
-
class GetBreakpointResponse
|
1063
|
-
include Google::Apis::Core::Hashable
|
1064
|
-
|
1065
|
-
# Represents the breakpoint specification, status and results.
|
1066
|
-
# Corresponds to the JSON property `breakpoint`
|
1067
|
-
# @return [Google::Apis::ClouddebuggerV2::Breakpoint]
|
1068
|
-
attr_accessor :breakpoint
|
1069
|
-
|
1070
|
-
def initialize(**args)
|
1071
|
-
update!(**args)
|
1072
|
-
end
|
1073
|
-
|
1074
|
-
# Update properties of this object
|
1075
|
-
def update!(**args)
|
1076
|
-
@breakpoint = args[:breakpoint] if args.key?(:breakpoint)
|
1077
1077
|
end
|
1078
1078
|
end
|
1079
1079
|
end
|