google-api-client 0.9.20 → 0.9.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -4
  3. data/api_names.yaml +33179 -1058
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +24 -6
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +14 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4/classes.rb +7 -0
  15. data/generated/google/apis/analyticsreporting_v4/representations.rb +1 -0
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/classes.rb +96 -156
  18. data/generated/google/apis/androidenterprise_v1/representations.rb +18 -47
  19. data/generated/google/apis/androidenterprise_v1/service.rb +15 -459
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +176 -0
  22. data/generated/google/apis/androidpublisher_v2/representations.rb +62 -0
  23. data/generated/google/apis/androidpublisher_v2/service.rb +60 -2
  24. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  25. data/generated/google/apis/appengine_v1beta5/classes.rb +300 -198
  26. data/generated/google/apis/appengine_v1beta5/representations.rb +36 -0
  27. data/generated/google/apis/appengine_v1beta5/service.rb +54 -49
  28. data/generated/google/apis/appsactivity_v1.rb +1 -1
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/bigquery_v2/classes.rb +50 -6
  32. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  33. data/generated/google/apis/books_v1.rb +1 -1
  34. data/generated/google/apis/books_v1/classes.rb +7 -2
  35. data/generated/google/apis/books_v1/representations.rb +1 -0
  36. data/generated/google/apis/calendar_v3.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +74 -74
  39. data/generated/google/apis/classroom_v1/representations.rb +29 -29
  40. data/generated/google/apis/classroom_v1/service.rb +132 -28
  41. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -27
  43. data/generated/google/apis/cloudbuild_v1/representations.rb +20 -7
  44. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  45. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  46. data/generated/google/apis/clouddebugger_v2/classes.rb +648 -578
  47. data/generated/google/apis/clouddebugger_v2/representations.rb +140 -140
  48. data/generated/google/apis/clouddebugger_v2/service.rb +161 -155
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +563 -423
  51. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +116 -76
  52. data/generated/google/apis/cloudresourcemanager_v1/service.rb +318 -249
  53. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +396 -331
  55. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +317 -281
  57. data/generated/google/apis/compute_beta.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +352 -80
  59. data/generated/google/apis/compute_beta/representations.rb +132 -19
  60. data/generated/google/apis/compute_beta/service.rb +214 -0
  61. data/generated/google/apis/compute_v1.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +673 -73
  63. data/generated/google/apis/compute_v1/representations.rb +274 -9
  64. data/generated/google/apis/compute_v1/service.rb +1574 -2
  65. data/generated/google/apis/content_v2.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +7 -8
  67. data/generated/google/apis/content_v2/service.rb +125 -54
  68. data/generated/google/apis/dataflow_v1b3.rb +2 -3
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +286 -114
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +73 -0
  71. data/generated/google/apis/dataflow_v1b3/service.rb +37 -38
  72. data/generated/google/apis/datastore_v1.rb +1 -1
  73. data/generated/google/apis/datastore_v1/classes.rb +5 -0
  74. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2/classes.rb +37 -5
  76. data/generated/google/apis/deploymentmanager_v2/representations.rb +16 -0
  77. data/generated/google/apis/deploymentmanager_v2/service.rb +4 -1
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2/classes.rb +55 -21
  82. data/generated/google/apis/drive_v2/representations.rb +2 -0
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +41 -12
  85. data/generated/google/apis/drive_v3/representations.rb +2 -0
  86. data/generated/google/apis/fitness_v1.rb +31 -1
  87. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  88. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  89. data/generated/google/apis/games_management_v1management.rb +1 -1
  90. data/generated/google/apis/games_v1.rb +1 -1
  91. data/generated/google/apis/gmail_v1.rb +1 -1
  92. data/generated/google/apis/gmail_v1/classes.rb +32 -1
  93. data/generated/google/apis/gmail_v1/representations.rb +15 -0
  94. data/generated/google/apis/gmail_v1/service.rb +41 -2
  95. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  96. data/generated/google/apis/identitytoolkit_v3/classes.rb +7 -0
  97. data/generated/google/apis/identitytoolkit_v3/representations.rb +1 -0
  98. data/generated/google/apis/kgsearch_v1.rb +2 -3
  99. data/generated/google/apis/kgsearch_v1/classes.rb +10 -10
  100. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  101. data/generated/google/apis/kgsearch_v1/service.rb +28 -26
  102. data/generated/google/apis/language_v1beta1.rb +1 -1
  103. data/generated/google/apis/language_v1beta1/classes.rb +166 -8
  104. data/generated/google/apis/language_v1beta1/representations.rb +50 -0
  105. data/generated/google/apis/language_v1beta1/service.rb +32 -0
  106. data/generated/google/apis/logging_v2beta1.rb +6 -6
  107. data/generated/google/apis/logging_v2beta1/classes.rb +868 -789
  108. data/generated/google/apis/logging_v2beta1/representations.rb +179 -147
  109. data/generated/google/apis/logging_v2beta1/service.rb +378 -211
  110. data/generated/google/apis/monitoring_v3.rb +1 -1
  111. data/generated/google/apis/monitoring_v3/classes.rb +110 -112
  112. data/generated/google/apis/monitoring_v3/service.rb +68 -73
  113. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  114. data/generated/google/apis/plus_domains_v1.rb +1 -1
  115. data/generated/google/apis/plus_v1.rb +1 -1
  116. data/generated/google/apis/pubsub_v1.rb +1 -1
  117. data/generated/google/apis/pubsub_v1/classes.rb +380 -327
  118. data/generated/google/apis/pubsub_v1/representations.rb +79 -79
  119. data/generated/google/apis/pubsub_v1/service.rb +424 -396
  120. data/generated/google/apis/sheets_v4.rb +1 -1
  121. data/generated/google/apis/sheets_v4/classes.rb +175 -53
  122. data/generated/google/apis/sheets_v4/representations.rb +48 -13
  123. data/generated/google/apis/site_verification_v1.rb +1 -1
  124. data/generated/google/apis/slides_v1.rb +1 -1
  125. data/generated/google/apis/slides_v1/classes.rb +149 -31
  126. data/generated/google/apis/slides_v1/representations.rb +52 -9
  127. data/generated/google/apis/slides_v1/service.rb +5 -5
  128. data/generated/google/apis/speech_v1beta1.rb +1 -1
  129. data/generated/google/apis/speech_v1beta1/service.rb +3 -1
  130. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  131. data/generated/google/apis/sqladmin_v1beta4/classes.rb +54 -2
  132. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -0
  133. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  134. data/generated/google/apis/storage_v1.rb +1 -1
  135. data/generated/google/apis/storage_v1/classes.rb +7 -0
  136. data/generated/google/apis/storage_v1/representations.rb +2 -0
  137. data/generated/google/apis/tagmanager_v1.rb +5 -5
  138. data/generated/google/apis/vision_v1.rb +1 -1
  139. data/generated/google/apis/vision_v1/classes.rb +63 -59
  140. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  141. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  142. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  143. data/generated/google/apis/youtube_analytics_v1/service.rb +0 -76
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_partner_v1/classes.rb +71 -0
  146. data/generated/google/apis/youtube_partner_v1/representations.rb +33 -0
  147. data/generated/google/apis/youtube_partner_v1/service.rb +52 -0
  148. data/generated/google/apis/youtube_v3.rb +1 -1
  149. data/generated/google/apis/youtube_v3/classes.rb +15 -2
  150. data/generated/google/apis/youtube_v3/representations.rb +3 -0
  151. data/generated/google/apis/youtube_v3/service.rb +4 -4
  152. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  153. data/generated/google/apis/youtubereporting_v1/classes.rb +146 -137
  154. data/generated/google/apis/youtubereporting_v1/representations.rb +33 -33
  155. data/generated/google/apis/youtubereporting_v1/service.rb +149 -145
  156. data/lib/google/apis/version.rb +1 -1
  157. data/samples/cli/lib/samples/calendar.rb +1 -1
  158. data/samples/cli/lib/samples/gmail.rb +74 -0
  159. 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. All agents attached to the
51
- # same application should call this method with the same request content to get
52
- # back the same stable `debuggee_id`. Agents should call this method again
53
- # whenever `google.rpc.Code.NOT_FOUND` is returned from any controller method.
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 have `
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, fields: nil, quota_user: nil, options: nil, &block)
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
- # Returns the list of all active breakpoints for the debuggee. The breakpoint
87
- # specification (location, condition, and expression fields) is semantically
88
- # immutable, although the field values may change. For example, an agent may
89
- # update the location line number to reflect the actual line where the
90
- # breakpoint was set, but this doesn't change the breakpoint semantics. This
91
- # means that an agent does not need to check if a breakpoint has changed when it
92
- # encounters the same breakpoint on a successive call. Moreover, an agent should
93
- # remember the breakpoints that are completed until the controller removes them
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] wait_token
98
- # A wait token that, if specified, blocks the method call until the list of
99
- # active breakpoints has changed, or a server selected timeout has expired. The
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::ListActiveBreakpointsResponse] parsed result object
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::ListActiveBreakpointsResponse]
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 list_controller_debuggee_breakpoints(debuggee_id, wait_token: nil, success_on_timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
124
- command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
125
- command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation
126
- command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
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.query['waitToken'] = wait_token unless wait_token.nil?
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
- # Updates the breakpoint state or mutable fields. The entire Breakpoint message
136
- # must be sent back to the controller service. Updates to active breakpoint
137
- # fields are only allowed if the new value does not change the breakpoint
138
- # specification. Updates to the `location`, `condition` and `expression` fields
139
- # should not alter the breakpoint semantics. These may only make changes such as
140
- # canonicalizing a value or snapping the location to the correct line of code.
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 being debugged.
143
- # @param [String] id
144
- # Breakpoint identifier, unique in the scope of the debuggee.
145
- # @param [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest] update_active_breakpoint_request_object
146
- # @param [String] fields
147
- # Selector specifying which fields to include in a partial response.
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::UpdateActiveBreakpointResponse] parsed result object
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::UpdateActiveBreakpointResponse]
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 update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
164
- command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
165
- command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation
166
- command.request_object = update_active_breakpoint_request_object
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.params['id'] = id unless id.nil?
171
- command.query['fields'] = fields unless fields.nil?
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. Following: `domain/type/version` (e.g., `
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(project: nil, include_inactive: nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
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
- # Sets the breakpoint to the debuggee.
220
+ # Gets breakpoint information.
215
221
  # @param [String] debuggee_id
216
- # ID of the debuggee where the breakpoint is to be set.
217
- # @param [Google::Apis::ClouddebuggerV2::Breakpoint] breakpoint_object
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. Following: `domain/type/version` (e.g., `
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::SetBreakpointResponse] parsed result object
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::SetBreakpointResponse]
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 set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
239
- command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options)
240
- command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation
241
- command.request_object = breakpoint_object
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
- # Gets breakpoint information.
257
+ # Lists all breakpoints for the debuggee.
252
258
  # @param [String] debuggee_id
253
- # ID of the debuggee whose breakpoint to get.
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. Following: `domain/type/version` (e.g., `
258
- # google.com/intellij/v1`).
259
- # @param [String] fields
260
- # Selector specifying which fields to include in a partial response.
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::GetBreakpointResponse] parsed result object
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::GetBreakpointResponse]
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 get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
277
- command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
278
- command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation
279
- command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse
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['fields'] = fields unless fields.nil?
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
- # Deletes the breakpoint from the debuggee.
313
+ # Sets the breakpoint to the debuggee.
289
314
  # @param [String] debuggee_id
290
- # ID of the debuggee whose breakpoint to delete.
291
- # @param [String] breakpoint_id
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. Following: `domain/type/version` (e.g., `
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::Empty] parsed result object
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::Empty]
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 delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
314
- command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
315
- command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation
316
- command.response_class = Google::Apis::ClouddebuggerV2::Empty
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
- # Lists all breakpoints for the debuggee.
350
+ # Deletes the breakpoint from the debuggee.
326
351
  # @param [String] debuggee_id
327
- # ID of the debuggee whose breakpoints to list.
328
- # @param [Boolean] include_all_users
329
- # When set to `true`, the response includes the list of breakpoints set by any
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. Following: `domain/type/version` (e.g., `
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::ListBreakpointsResponse] parsed result object
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::ListBreakpointsResponse]
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 list_debugger_debuggee_breakpoints(debuggee_id, include_all_users: nil, include_inactive: nil, action_value: nil, strip_results: nil, wait_token: nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
366
- command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options)
367
- command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation
368
- command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse
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.query['includeAllUsers'] = include_all_users unless include_all_users.nil?
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