google-api-client 0.9.20 → 0.9.21
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/.travis.yml +8 -4
- data/api_names.yaml +33179 -1058
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +24 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +14 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +7 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +96 -156
- data/generated/google/apis/androidenterprise_v1/representations.rb +18 -47
- data/generated/google/apis/androidenterprise_v1/service.rb +15 -459
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +176 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +62 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +60 -2
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +300 -198
- data/generated/google/apis/appengine_v1beta5/representations.rb +36 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +54 -49
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +50 -6
- data/generated/google/apis/bigquery_v2/representations.rb +5 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +7 -2
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +74 -74
- data/generated/google/apis/classroom_v1/representations.rb +29 -29
- data/generated/google/apis/classroom_v1/service.rb +132 -28
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +47 -27
- data/generated/google/apis/cloudbuild_v1/representations.rb +20 -7
- data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +648 -578
- data/generated/google/apis/clouddebugger_v2/representations.rb +140 -140
- data/generated/google/apis/clouddebugger_v2/service.rb +161 -155
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +563 -423
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +116 -76
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +318 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +396 -331
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +317 -281
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +352 -80
- data/generated/google/apis/compute_beta/representations.rb +132 -19
- data/generated/google/apis/compute_beta/service.rb +214 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +673 -73
- data/generated/google/apis/compute_v1/representations.rb +274 -9
- data/generated/google/apis/compute_v1/service.rb +1574 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -8
- data/generated/google/apis/content_v2/service.rb +125 -54
- data/generated/google/apis/dataflow_v1b3.rb +2 -3
- data/generated/google/apis/dataflow_v1b3/classes.rb +286 -114
- data/generated/google/apis/dataflow_v1b3/representations.rb +73 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +37 -38
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +5 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +37 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +16 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +4 -1
- data/generated/google/apis/dns_v1.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 +55 -21
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +41 -12
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/fitness_v1.rb +31 -1
- data/generated/google/apis/fitness_v1/classes.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/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +32 -1
- data/generated/google/apis/gmail_v1/representations.rb +15 -0
- data/generated/google/apis/gmail_v1/service.rb +41 -2
- data/generated/google/apis/identitytoolkit_v3.rb +4 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +7 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +1 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +10 -10
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +28 -26
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +166 -8
- data/generated/google/apis/language_v1beta1/representations.rb +50 -0
- data/generated/google/apis/language_v1beta1/service.rb +32 -0
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +868 -789
- data/generated/google/apis/logging_v2beta1/representations.rb +179 -147
- data/generated/google/apis/logging_v2beta1/service.rb +378 -211
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +110 -112
- data/generated/google/apis/monitoring_v3/service.rb +68 -73
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- 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 +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +380 -327
- data/generated/google/apis/pubsub_v1/representations.rb +79 -79
- data/generated/google/apis/pubsub_v1/service.rb +424 -396
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +175 -53
- data/generated/google/apis/sheets_v4/representations.rb +48 -13
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +149 -31
- data/generated/google/apis/slides_v1/representations.rb +52 -9
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/service.rb +3 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +54 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +63 -59
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +0 -76
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +71 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +33 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +52 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +15 -2
- data/generated/google/apis/youtube_v3/representations.rb +3 -0
- data/generated/google/apis/youtube_v3/service.rb +4 -4
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +146 -137
- data/generated/google/apis/youtubereporting_v1/representations.rb +33 -33
- data/generated/google/apis/youtubereporting_v1/service.rb +149 -145
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- metadata +29 -29
|
@@ -47,19 +47,20 @@ module Google
|
|
|
47
47
|
super('https://clouddebugger.googleapis.com/', '')
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
# Registers the debuggee with the controller service.
|
|
51
|
-
# same application should call this method with
|
|
52
|
-
# back the same stable `debuggee_id`. Agents
|
|
53
|
-
# whenever `google.rpc.Code.NOT_FOUND` is
|
|
50
|
+
# Registers the debuggee with the controller service.
|
|
51
|
+
# All agents attached to the same application should call this method with
|
|
52
|
+
# the same request content to get back the same stable `debuggee_id`. Agents
|
|
53
|
+
# should call this method again whenever `google.rpc.Code.NOT_FOUND` is
|
|
54
|
+
# returned from any controller method.
|
|
54
55
|
# This allows the controller service to disable the agent or recover from any
|
|
55
|
-
# data loss. If the debuggee is disabled by the server, the response will
|
|
56
|
-
# is_disabled` set to `true`.
|
|
56
|
+
# data loss. If the debuggee is disabled by the server, the response will
|
|
57
|
+
# have `is_disabled` set to `true`.
|
|
57
58
|
# @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object
|
|
58
|
-
# @param [String] fields
|
|
59
|
-
# Selector specifying which fields to include in a partial response.
|
|
60
59
|
# @param [String] quota_user
|
|
61
60
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
62
61
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
62
|
+
# @param [String] fields
|
|
63
|
+
# Selector specifying which fields to include in a partial response.
|
|
63
64
|
# @param [Google::Apis::RequestOptions] options
|
|
64
65
|
# Request-specific options
|
|
65
66
|
#
|
|
@@ -72,121 +73,126 @@ module Google
|
|
|
72
73
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
73
74
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
74
75
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
75
|
-
def register_debuggee(register_debuggee_request_object = nil,
|
|
76
|
+
def register_debuggee(register_debuggee_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
76
77
|
command = make_simple_command(:post, 'v2/controller/debuggees/register', options)
|
|
77
78
|
command.request_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest::Representation
|
|
78
79
|
command.request_object = register_debuggee_request_object
|
|
79
80
|
command.response_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse::Representation
|
|
80
81
|
command.response_class = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse
|
|
81
|
-
command.query['fields'] = fields unless fields.nil?
|
|
82
82
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
83
|
+
command.query['fields'] = fields unless fields.nil?
|
|
83
84
|
execute_or_queue_command(command, &block)
|
|
84
85
|
end
|
|
85
86
|
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
#
|
|
93
|
-
#
|
|
94
|
-
# from the active list to avoid setting those breakpoints again.
|
|
87
|
+
# Updates the breakpoint state or mutable fields.
|
|
88
|
+
# The entire Breakpoint message must be sent back to the controller
|
|
89
|
+
# service.
|
|
90
|
+
# Updates to active breakpoint fields are only allowed if the new value
|
|
91
|
+
# does not change the breakpoint specification. Updates to the `location`,
|
|
92
|
+
# `condition` and `expression` fields should not alter the breakpoint
|
|
93
|
+
# semantics. These may only make changes such as canonicalizing a value
|
|
94
|
+
# or snapping the location to the correct line of code.
|
|
95
95
|
# @param [String] debuggee_id
|
|
96
|
-
# Identifies the debuggee.
|
|
97
|
-
# @param [String]
|
|
98
|
-
#
|
|
99
|
-
#
|
|
100
|
-
# value should be set from the last returned response.
|
|
101
|
-
# @param [Boolean] success_on_timeout
|
|
102
|
-
# If set to `true`, returns `google.rpc.Code.OK` status and sets the `
|
|
103
|
-
# wait_expired` response field to `true` when the server-selected timeout has
|
|
104
|
-
# expired (recommended). If set to `false`, returns `google.rpc.Code.ABORTED`
|
|
105
|
-
# status when the server-selected timeout has expired (deprecated).
|
|
106
|
-
# @param [String] fields
|
|
107
|
-
# Selector specifying which fields to include in a partial response.
|
|
96
|
+
# Identifies the debuggee being debugged.
|
|
97
|
+
# @param [String] id
|
|
98
|
+
# Breakpoint identifier, unique in the scope of the debuggee.
|
|
99
|
+
# @param [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest] update_active_breakpoint_request_object
|
|
108
100
|
# @param [String] quota_user
|
|
109
101
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
110
102
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
103
|
+
# @param [String] fields
|
|
104
|
+
# Selector specifying which fields to include in a partial response.
|
|
111
105
|
# @param [Google::Apis::RequestOptions] options
|
|
112
106
|
# Request-specific options
|
|
113
107
|
#
|
|
114
108
|
# @yield [result, err] Result & error if block supplied
|
|
115
|
-
# @yieldparam result [Google::Apis::ClouddebuggerV2::
|
|
109
|
+
# @yieldparam result [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse] parsed result object
|
|
116
110
|
# @yieldparam err [StandardError] error object if request failed
|
|
117
111
|
#
|
|
118
|
-
# @return [Google::Apis::ClouddebuggerV2::
|
|
112
|
+
# @return [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse]
|
|
119
113
|
#
|
|
120
114
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
121
115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
122
116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
123
|
-
def
|
|
124
|
-
command = make_simple_command(:
|
|
125
|
-
command.
|
|
126
|
-
command.
|
|
117
|
+
def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
118
|
+
command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
|
|
119
|
+
command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation
|
|
120
|
+
command.request_object = update_active_breakpoint_request_object
|
|
121
|
+
command.response_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse::Representation
|
|
122
|
+
command.response_class = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse
|
|
127
123
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
128
|
-
command.
|
|
129
|
-
command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil?
|
|
130
|
-
command.query['fields'] = fields unless fields.nil?
|
|
124
|
+
command.params['id'] = id unless id.nil?
|
|
131
125
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
126
|
+
command.query['fields'] = fields unless fields.nil?
|
|
132
127
|
execute_or_queue_command(command, &block)
|
|
133
128
|
end
|
|
134
129
|
|
|
135
|
-
#
|
|
136
|
-
#
|
|
137
|
-
# fields
|
|
138
|
-
#
|
|
139
|
-
#
|
|
140
|
-
#
|
|
130
|
+
# Returns the list of all active breakpoints for the debuggee.
|
|
131
|
+
# The breakpoint specification (location, condition, and expression
|
|
132
|
+
# fields) is semantically immutable, although the field values may
|
|
133
|
+
# change. For example, an agent may update the location line number
|
|
134
|
+
# to reflect the actual line where the breakpoint was set, but this
|
|
135
|
+
# doesn't change the breakpoint semantics.
|
|
136
|
+
# This means that an agent does not need to check if a breakpoint has changed
|
|
137
|
+
# when it encounters the same breakpoint on a successive call.
|
|
138
|
+
# Moreover, an agent should remember the breakpoints that are completed
|
|
139
|
+
# until the controller removes them from the active list to avoid
|
|
140
|
+
# setting those breakpoints again.
|
|
141
141
|
# @param [String] debuggee_id
|
|
142
|
-
# Identifies the debuggee
|
|
143
|
-
# @param [
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
147
|
-
#
|
|
142
|
+
# Identifies the debuggee.
|
|
143
|
+
# @param [Boolean] success_on_timeout
|
|
144
|
+
# If set to `true`, returns `google.rpc.Code.OK` status and sets the
|
|
145
|
+
# `wait_expired` response field to `true` when the server-selected timeout
|
|
146
|
+
# has expired (recommended).
|
|
147
|
+
# If set to `false`, returns `google.rpc.Code.ABORTED` status when the
|
|
148
|
+
# server-selected timeout has expired (deprecated).
|
|
149
|
+
# @param [String] wait_token
|
|
150
|
+
# A wait token that, if specified, blocks the method call until the list
|
|
151
|
+
# of active breakpoints has changed, or a server selected timeout has
|
|
152
|
+
# expired. The value should be set from the last returned response.
|
|
148
153
|
# @param [String] quota_user
|
|
149
154
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
150
155
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
156
|
+
# @param [String] fields
|
|
157
|
+
# Selector specifying which fields to include in a partial response.
|
|
151
158
|
# @param [Google::Apis::RequestOptions] options
|
|
152
159
|
# Request-specific options
|
|
153
160
|
#
|
|
154
161
|
# @yield [result, err] Result & error if block supplied
|
|
155
|
-
# @yieldparam result [Google::Apis::ClouddebuggerV2::
|
|
162
|
+
# @yieldparam result [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] parsed result object
|
|
156
163
|
# @yieldparam err [StandardError] error object if request failed
|
|
157
164
|
#
|
|
158
|
-
# @return [Google::Apis::ClouddebuggerV2::
|
|
165
|
+
# @return [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse]
|
|
159
166
|
#
|
|
160
167
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
161
168
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
162
169
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
163
|
-
def
|
|
164
|
-
command = make_simple_command(:
|
|
165
|
-
command.
|
|
166
|
-
command.
|
|
167
|
-
command.response_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse::Representation
|
|
168
|
-
command.response_class = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse
|
|
170
|
+
def list_controller_debuggee_breakpoints(debuggee_id, success_on_timeout: nil, wait_token: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
171
|
+
command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
|
|
172
|
+
command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation
|
|
173
|
+
command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
|
|
169
174
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
170
|
-
command.
|
|
171
|
-
command.query['
|
|
175
|
+
command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil?
|
|
176
|
+
command.query['waitToken'] = wait_token unless wait_token.nil?
|
|
172
177
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
178
|
+
command.query['fields'] = fields unless fields.nil?
|
|
173
179
|
execute_or_queue_command(command, &block)
|
|
174
180
|
end
|
|
175
181
|
|
|
176
182
|
# Lists all the debuggees that the user can set breakpoints to.
|
|
183
|
+
# @param [Boolean] include_inactive
|
|
184
|
+
# When set to `true`, the result includes all debuggees. Otherwise, the
|
|
185
|
+
# result includes only debuggees that are active.
|
|
177
186
|
# @param [String] project
|
|
178
187
|
# Project number of a Google Cloud project whose debuggees to list.
|
|
179
|
-
# @param [Boolean] include_inactive
|
|
180
|
-
# When set to `true`, the result includes all debuggees. Otherwise, the result
|
|
181
|
-
# includes only debuggees that are active.
|
|
182
188
|
# @param [String] client_version
|
|
183
|
-
# The client version making the call.
|
|
184
|
-
# google.com/intellij/v1`).
|
|
185
|
-
# @param [String] fields
|
|
186
|
-
# Selector specifying which fields to include in a partial response.
|
|
189
|
+
# The client version making the call.
|
|
190
|
+
# Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
|
187
191
|
# @param [String] quota_user
|
|
188
192
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
189
193
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
194
|
+
# @param [String] fields
|
|
195
|
+
# Selector specifying which fields to include in a partial response.
|
|
190
196
|
# @param [Google::Apis::RequestOptions] options
|
|
191
197
|
# Request-specific options
|
|
192
198
|
#
|
|
@@ -199,182 +205,182 @@ module Google
|
|
|
199
205
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
200
206
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
201
207
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
202
|
-
def list_debugger_debuggees(
|
|
208
|
+
def list_debugger_debuggees(include_inactive: nil, project: nil, client_version: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
203
209
|
command = make_simple_command(:get, 'v2/debugger/debuggees', options)
|
|
204
210
|
command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation
|
|
205
211
|
command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse
|
|
206
|
-
command.query['project'] = project unless project.nil?
|
|
207
212
|
command.query['includeInactive'] = include_inactive unless include_inactive.nil?
|
|
213
|
+
command.query['project'] = project unless project.nil?
|
|
208
214
|
command.query['clientVersion'] = client_version unless client_version.nil?
|
|
209
|
-
command.query['fields'] = fields unless fields.nil?
|
|
210
215
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
216
|
+
command.query['fields'] = fields unless fields.nil?
|
|
211
217
|
execute_or_queue_command(command, &block)
|
|
212
218
|
end
|
|
213
219
|
|
|
214
|
-
#
|
|
220
|
+
# Gets breakpoint information.
|
|
215
221
|
# @param [String] debuggee_id
|
|
216
|
-
# ID of the debuggee
|
|
217
|
-
# @param [
|
|
222
|
+
# ID of the debuggee whose breakpoint to get.
|
|
223
|
+
# @param [String] breakpoint_id
|
|
224
|
+
# ID of the breakpoint to get.
|
|
218
225
|
# @param [String] client_version
|
|
219
|
-
# The client version making the call.
|
|
220
|
-
# google.com/intellij/v1`).
|
|
221
|
-
# @param [String] fields
|
|
222
|
-
# Selector specifying which fields to include in a partial response.
|
|
226
|
+
# The client version making the call.
|
|
227
|
+
# Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
|
223
228
|
# @param [String] quota_user
|
|
224
229
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
225
230
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
231
|
+
# @param [String] fields
|
|
232
|
+
# Selector specifying which fields to include in a partial response.
|
|
226
233
|
# @param [Google::Apis::RequestOptions] options
|
|
227
234
|
# Request-specific options
|
|
228
235
|
#
|
|
229
236
|
# @yield [result, err] Result & error if block supplied
|
|
230
|
-
# @yieldparam result [Google::Apis::ClouddebuggerV2::
|
|
237
|
+
# @yieldparam result [Google::Apis::ClouddebuggerV2::GetBreakpointResponse] parsed result object
|
|
231
238
|
# @yieldparam err [StandardError] error object if request failed
|
|
232
239
|
#
|
|
233
|
-
# @return [Google::Apis::ClouddebuggerV2::
|
|
240
|
+
# @return [Google::Apis::ClouddebuggerV2::GetBreakpointResponse]
|
|
234
241
|
#
|
|
235
242
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
236
243
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
237
244
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
238
|
-
def
|
|
239
|
-
command = make_simple_command(:
|
|
240
|
-
command.
|
|
241
|
-
command.
|
|
242
|
-
command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation
|
|
243
|
-
command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse
|
|
245
|
+
def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
246
|
+
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
|
|
247
|
+
command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation
|
|
248
|
+
command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse
|
|
244
249
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
250
|
+
command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
|
|
245
251
|
command.query['clientVersion'] = client_version unless client_version.nil?
|
|
246
|
-
command.query['fields'] = fields unless fields.nil?
|
|
247
252
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
253
|
+
command.query['fields'] = fields unless fields.nil?
|
|
248
254
|
execute_or_queue_command(command, &block)
|
|
249
255
|
end
|
|
250
256
|
|
|
251
|
-
#
|
|
257
|
+
# Lists all breakpoints for the debuggee.
|
|
252
258
|
# @param [String] debuggee_id
|
|
253
|
-
# ID of the debuggee whose
|
|
254
|
-
# @param [String] breakpoint_id
|
|
255
|
-
# ID of the breakpoint to get.
|
|
259
|
+
# ID of the debuggee whose breakpoints to list.
|
|
256
260
|
# @param [String] client_version
|
|
257
|
-
# The client version making the call.
|
|
258
|
-
# google.com/intellij/v1`).
|
|
259
|
-
# @param [
|
|
260
|
-
#
|
|
261
|
+
# The client version making the call.
|
|
262
|
+
# Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
|
263
|
+
# @param [Boolean] include_all_users
|
|
264
|
+
# When set to `true`, the response includes the list of breakpoints set by
|
|
265
|
+
# any user. Otherwise, it includes only breakpoints set by the caller.
|
|
266
|
+
# @param [Boolean] strip_results
|
|
267
|
+
# This field is deprecated. The following fields are always stripped out of
|
|
268
|
+
# the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
|
|
269
|
+
# @param [String] action_value
|
|
270
|
+
# Only breakpoints with the specified action will pass the filter.
|
|
271
|
+
# @param [Boolean] include_inactive
|
|
272
|
+
# When set to `true`, the response includes active and inactive
|
|
273
|
+
# breakpoints. Otherwise, it includes only active breakpoints.
|
|
274
|
+
# @param [String] wait_token
|
|
275
|
+
# A wait token that, if specified, blocks the call until the breakpoints
|
|
276
|
+
# list has changed, or a server selected timeout has expired. The value
|
|
277
|
+
# should be set from the last response. The error code
|
|
278
|
+
# `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which
|
|
279
|
+
# should be called again with the same `wait_token`.
|
|
261
280
|
# @param [String] quota_user
|
|
262
281
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
263
282
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
283
|
+
# @param [String] fields
|
|
284
|
+
# Selector specifying which fields to include in a partial response.
|
|
264
285
|
# @param [Google::Apis::RequestOptions] options
|
|
265
286
|
# Request-specific options
|
|
266
287
|
#
|
|
267
288
|
# @yield [result, err] Result & error if block supplied
|
|
268
|
-
# @yieldparam result [Google::Apis::ClouddebuggerV2::
|
|
289
|
+
# @yieldparam result [Google::Apis::ClouddebuggerV2::ListBreakpointsResponse] parsed result object
|
|
269
290
|
# @yieldparam err [StandardError] error object if request failed
|
|
270
291
|
#
|
|
271
|
-
# @return [Google::Apis::ClouddebuggerV2::
|
|
292
|
+
# @return [Google::Apis::ClouddebuggerV2::ListBreakpointsResponse]
|
|
272
293
|
#
|
|
273
294
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
274
295
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
275
296
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
276
|
-
def
|
|
277
|
-
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints
|
|
278
|
-
command.response_representation = Google::Apis::ClouddebuggerV2::
|
|
279
|
-
command.response_class = Google::Apis::ClouddebuggerV2::
|
|
297
|
+
def list_debugger_debuggee_breakpoints(debuggee_id, client_version: nil, include_all_users: nil, strip_results: nil, action_value: nil, include_inactive: nil, wait_token: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
298
|
+
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options)
|
|
299
|
+
command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation
|
|
300
|
+
command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse
|
|
280
301
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
281
|
-
command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
|
|
282
302
|
command.query['clientVersion'] = client_version unless client_version.nil?
|
|
283
|
-
command.query['
|
|
303
|
+
command.query['includeAllUsers'] = include_all_users unless include_all_users.nil?
|
|
304
|
+
command.query['stripResults'] = strip_results unless strip_results.nil?
|
|
305
|
+
command.query['action.value'] = action_value unless action_value.nil?
|
|
306
|
+
command.query['includeInactive'] = include_inactive unless include_inactive.nil?
|
|
307
|
+
command.query['waitToken'] = wait_token unless wait_token.nil?
|
|
284
308
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
309
|
+
command.query['fields'] = fields unless fields.nil?
|
|
285
310
|
execute_or_queue_command(command, &block)
|
|
286
311
|
end
|
|
287
312
|
|
|
288
|
-
#
|
|
313
|
+
# Sets the breakpoint to the debuggee.
|
|
289
314
|
# @param [String] debuggee_id
|
|
290
|
-
# ID of the debuggee
|
|
291
|
-
# @param [
|
|
292
|
-
# ID of the breakpoint to delete.
|
|
315
|
+
# ID of the debuggee where the breakpoint is to be set.
|
|
316
|
+
# @param [Google::Apis::ClouddebuggerV2::Breakpoint] breakpoint_object
|
|
293
317
|
# @param [String] client_version
|
|
294
|
-
# The client version making the call.
|
|
295
|
-
# google.com/intellij/v1`).
|
|
296
|
-
# @param [String] fields
|
|
297
|
-
# Selector specifying which fields to include in a partial response.
|
|
318
|
+
# The client version making the call.
|
|
319
|
+
# Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
|
298
320
|
# @param [String] quota_user
|
|
299
321
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
300
322
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
323
|
+
# @param [String] fields
|
|
324
|
+
# Selector specifying which fields to include in a partial response.
|
|
301
325
|
# @param [Google::Apis::RequestOptions] options
|
|
302
326
|
# Request-specific options
|
|
303
327
|
#
|
|
304
328
|
# @yield [result, err] Result & error if block supplied
|
|
305
|
-
# @yieldparam result [Google::Apis::ClouddebuggerV2::
|
|
329
|
+
# @yieldparam result [Google::Apis::ClouddebuggerV2::SetBreakpointResponse] parsed result object
|
|
306
330
|
# @yieldparam err [StandardError] error object if request failed
|
|
307
331
|
#
|
|
308
|
-
# @return [Google::Apis::ClouddebuggerV2::
|
|
332
|
+
# @return [Google::Apis::ClouddebuggerV2::SetBreakpointResponse]
|
|
309
333
|
#
|
|
310
334
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
311
335
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
312
336
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
313
|
-
def
|
|
314
|
-
command = make_simple_command(:
|
|
315
|
-
command.
|
|
316
|
-
command.
|
|
337
|
+
def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
338
|
+
command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options)
|
|
339
|
+
command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
|
340
|
+
command.request_object = breakpoint_object
|
|
341
|
+
command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation
|
|
342
|
+
command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse
|
|
317
343
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
318
|
-
command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
|
|
319
344
|
command.query['clientVersion'] = client_version unless client_version.nil?
|
|
320
|
-
command.query['fields'] = fields unless fields.nil?
|
|
321
345
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
346
|
+
command.query['fields'] = fields unless fields.nil?
|
|
322
347
|
execute_or_queue_command(command, &block)
|
|
323
348
|
end
|
|
324
349
|
|
|
325
|
-
#
|
|
350
|
+
# Deletes the breakpoint from the debuggee.
|
|
326
351
|
# @param [String] debuggee_id
|
|
327
|
-
# ID of the debuggee whose
|
|
328
|
-
# @param [
|
|
329
|
-
#
|
|
330
|
-
# user. Otherwise, it includes only breakpoints set by the caller.
|
|
331
|
-
# @param [Boolean] include_inactive
|
|
332
|
-
# When set to `true`, the response includes active and inactive breakpoints.
|
|
333
|
-
# Otherwise, it includes only active breakpoints.
|
|
334
|
-
# @param [String] action_value
|
|
335
|
-
# Only breakpoints with the specified action will pass the filter.
|
|
336
|
-
# @param [Boolean] strip_results
|
|
337
|
-
# When set to `true`, the response breakpoints are stripped of the results
|
|
338
|
-
# fields: `stack_frames`, `evaluated_expressions` and `variable_table`.
|
|
339
|
-
# @param [String] wait_token
|
|
340
|
-
# A wait token that, if specified, blocks the call until the breakpoints list
|
|
341
|
-
# has changed, or a server selected timeout has expired. The value should be set
|
|
342
|
-
# from the last response. The error code `google.rpc.Code.ABORTED` (RPC) is
|
|
343
|
-
# returned on wait timeout, which should be called again with the same `
|
|
344
|
-
# wait_token`.
|
|
352
|
+
# ID of the debuggee whose breakpoint to delete.
|
|
353
|
+
# @param [String] breakpoint_id
|
|
354
|
+
# ID of the breakpoint to delete.
|
|
345
355
|
# @param [String] client_version
|
|
346
|
-
# The client version making the call.
|
|
347
|
-
# google.com/intellij/v1`).
|
|
348
|
-
# @param [String] fields
|
|
349
|
-
# Selector specifying which fields to include in a partial response.
|
|
356
|
+
# The client version making the call.
|
|
357
|
+
# Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
|
|
350
358
|
# @param [String] quota_user
|
|
351
359
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
352
360
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
361
|
+
# @param [String] fields
|
|
362
|
+
# Selector specifying which fields to include in a partial response.
|
|
353
363
|
# @param [Google::Apis::RequestOptions] options
|
|
354
364
|
# Request-specific options
|
|
355
365
|
#
|
|
356
366
|
# @yield [result, err] Result & error if block supplied
|
|
357
|
-
# @yieldparam result [Google::Apis::ClouddebuggerV2::
|
|
367
|
+
# @yieldparam result [Google::Apis::ClouddebuggerV2::Empty] parsed result object
|
|
358
368
|
# @yieldparam err [StandardError] error object if request failed
|
|
359
369
|
#
|
|
360
|
-
# @return [Google::Apis::ClouddebuggerV2::
|
|
370
|
+
# @return [Google::Apis::ClouddebuggerV2::Empty]
|
|
361
371
|
#
|
|
362
372
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
363
373
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
364
374
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
365
|
-
def
|
|
366
|
-
command = make_simple_command(:
|
|
367
|
-
command.response_representation = Google::Apis::ClouddebuggerV2::
|
|
368
|
-
command.response_class = Google::Apis::ClouddebuggerV2::
|
|
375
|
+
def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
376
|
+
command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
|
|
377
|
+
command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation
|
|
378
|
+
command.response_class = Google::Apis::ClouddebuggerV2::Empty
|
|
369
379
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
|
370
|
-
command.
|
|
371
|
-
command.query['includeInactive'] = include_inactive unless include_inactive.nil?
|
|
372
|
-
command.query['action.value'] = action_value unless action_value.nil?
|
|
373
|
-
command.query['stripResults'] = strip_results unless strip_results.nil?
|
|
374
|
-
command.query['waitToken'] = wait_token unless wait_token.nil?
|
|
380
|
+
command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
|
|
375
381
|
command.query['clientVersion'] = client_version unless client_version.nil?
|
|
376
|
-
command.query['fields'] = fields unless fields.nil?
|
|
377
382
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
383
|
+
command.query['fields'] = fields unless fields.nil?
|
|
378
384
|
execute_or_queue_command(command, &block)
|
|
379
385
|
end
|
|
380
386
|
|