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