google-api-client 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +28 -3
- data/api_names.yaml +1 -0
- data/api_names_out.yaml +418 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +2 -3
- data/generated/google/apis/adsense_v1_4/service.rb +1 -2
- data/generated/google/apis/adsensehost_v4_1.rb +3 -3
- data/generated/google/apis/adsensehost_v4_1/service.rb +2 -2
- data/generated/google/apis/analytics_v3.rb +2 -2
- data/generated/google/apis/analytics_v3/classes.rb +42 -0
- data/generated/google/apis/analytics_v3/representations.rb +6 -0
- data/generated/google/apis/analytics_v3/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +16 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +2 -0
- 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 +200 -13
- data/generated/google/apis/bigquery_v2/representations.rb +54 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +6 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +2 -3
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -2
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -1
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +26 -6
- data/generated/google/apis/cloudlatencytest_v2.rb +2 -2
- data/generated/google/apis/cloudlatencytest_v2/service.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +2 -2
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +355 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +181 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +373 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/clouduseraccounts_beta.rb +3 -2
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +52 -30
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +1 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +110 -57
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +324 -101
- data/generated/google/apis/compute_beta/representations.rb +78 -0
- data/generated/google/apis/compute_beta/service.rb +1599 -208
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +96 -79
- data/generated/google/apis/compute_v1/service.rb +199 -169
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +10 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- 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/games_v1/classes.rb +9 -2
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1.rb +4 -5
- data/generated/google/apis/genomics_v1/classes.rb +51 -0
- data/generated/google/apis/genomics_v1/representations.rb +17 -0
- data/generated/google/apis/genomics_v1/service.rb +44 -8
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/classes.rb +19 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +43 -2
- data/generated/google/apis/iam_v1.rb +36 -0
- data/generated/google/apis/iam_v1/classes.rb +665 -0
- data/generated/google/apis/iam_v1/representations.rb +325 -0
- data/generated/google/apis/iam_v1/service.rb +520 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +306 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +85 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +42 -1
- data/generated/google/apis/pagespeedonline_v2.rb +2 -2
- data/generated/google/apis/pagespeedonline_v2/service.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/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
- data/generated/google/apis/qpx_express_v1.rb +2 -2
- data/generated/google/apis/qpx_express_v1/service.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +2 -3
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -2
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +2 -2
- data/generated/google/apis/site_verification_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +2 -2
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +3 -3
- data/generated/google/apis/youtubereporting_v1/classes.rb +1 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +4 -4
- data/lib/google/apis/core/base_service.rb +84 -6
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +2 -0
- data/spec/google/apis/core/service_spec.rb +66 -0
- metadata +10 -2
@@ -22,6 +22,24 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BigqueryV2
|
24
24
|
|
25
|
+
class BigtableColumn
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class BigtableColumnFamily
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class BigtableOptions
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
25
43
|
class CsvOptions
|
26
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
45
|
|
@@ -304,6 +322,39 @@ module Google
|
|
304
322
|
include Google::Apis::Core::JsonObjectSupport
|
305
323
|
end
|
306
324
|
|
325
|
+
class BigtableColumn
|
326
|
+
# @private
|
327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
+
property :encoding, as: 'encoding'
|
329
|
+
property :field_name, as: 'fieldName'
|
330
|
+
property :only_read_latest, as: 'onlyReadLatest'
|
331
|
+
property :qualifier_encoded, :base64 => true, as: 'qualifierEncoded'
|
332
|
+
property :qualifier_string, as: 'qualifierString'
|
333
|
+
property :type, as: 'type'
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
class BigtableColumnFamily
|
338
|
+
# @private
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
340
|
+
collection :columns, as: 'columns', class: Google::Apis::BigqueryV2::BigtableColumn, decorator: Google::Apis::BigqueryV2::BigtableColumn::Representation
|
341
|
+
|
342
|
+
property :encoding, as: 'encoding'
|
343
|
+
property :family_id, as: 'familyId'
|
344
|
+
property :only_read_latest, as: 'onlyReadLatest'
|
345
|
+
property :type, as: 'type'
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
class BigtableOptions
|
350
|
+
# @private
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
collection :column_families, as: 'columnFamilies', class: Google::Apis::BigqueryV2::BigtableColumnFamily, decorator: Google::Apis::BigqueryV2::BigtableColumnFamily::Representation
|
353
|
+
|
354
|
+
property :ignore_unspecified_column_families, as: 'ignoreUnspecifiedColumnFamilies'
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
307
358
|
class CsvOptions
|
308
359
|
# @private
|
309
360
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -420,6 +471,9 @@ module Google
|
|
420
471
|
class ExternalDataConfiguration
|
421
472
|
# @private
|
422
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
474
|
+
property :autodetect, as: 'autodetect'
|
475
|
+
property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::BigqueryV2::BigtableOptions, decorator: Google::Apis::BigqueryV2::BigtableOptions::Representation
|
476
|
+
|
423
477
|
property :compression, as: 'compression'
|
424
478
|
property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
|
425
479
|
|
@@ -2021,6 +2021,11 @@ module Google
|
|
2021
2021
|
# @return [String]
|
2022
2022
|
attr_accessor :pcampaign_id
|
2023
2023
|
|
2024
|
+
#
|
2025
|
+
# Corresponds to the JSON property `reason`
|
2026
|
+
# @return [String]
|
2027
|
+
attr_accessor :reason
|
2028
|
+
|
2024
2029
|
#
|
2025
2030
|
# Corresponds to the JSON property `show_notification_settings_action`
|
2026
2031
|
# @return [Boolean]
|
@@ -2049,6 +2054,7 @@ module Google
|
|
2049
2054
|
@kind = args[:kind] if args.key?(:kind)
|
2050
2055
|
@notification_type = args[:notification_type] if args.key?(:notification_type)
|
2051
2056
|
@pcampaign_id = args[:pcampaign_id] if args.key?(:pcampaign_id)
|
2057
|
+
@reason = args[:reason] if args.key?(:reason)
|
2052
2058
|
@show_notification_settings_action = args[:show_notification_settings_action] if args.key?(:show_notification_settings_action)
|
2053
2059
|
@target_url = args[:target_url] if args.key?(:target_url)
|
2054
2060
|
@title = args[:title] if args.key?(:title)
|
@@ -1193,6 +1193,7 @@ module Google
|
|
1193
1193
|
property :kind, as: 'kind'
|
1194
1194
|
property :notification_type, as: 'notification_type'
|
1195
1195
|
property :pcampaign_id, as: 'pcampaign_id'
|
1196
|
+
property :reason, as: 'reason'
|
1196
1197
|
property :show_notification_settings_action, as: 'show_notification_settings_action'
|
1197
1198
|
property :target_url, as: 'targetUrl'
|
1198
1199
|
property :title, as: 'title'
|
@@ -2091,6 +2091,8 @@ module Google
|
|
2091
2091
|
# Return a list of books in My Library.
|
2092
2092
|
# @param [Array<String>, String] acquire_method
|
2093
2093
|
# How the book was aquired
|
2094
|
+
# @param [String] country
|
2095
|
+
# ISO-3166-1 code to override the IP-based location.
|
2094
2096
|
# @param [String] locale
|
2095
2097
|
# ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for
|
2096
2098
|
# generating recommendations.
|
@@ -2124,11 +2126,12 @@ module Google
|
|
2124
2126
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2125
2127
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2126
2128
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2127
|
-
def list_my_books(acquire_method: nil, locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2129
|
+
def list_my_books(acquire_method: nil, country: nil, locale: nil, max_results: nil, processing_state: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2128
2130
|
command = make_simple_command(:get, 'volumes/mybooks', options)
|
2129
2131
|
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
|
2130
2132
|
command.response_class = Google::Apis::BooksV1::Volumes
|
2131
2133
|
command.query['acquireMethod'] = acquire_method unless acquire_method.nil?
|
2134
|
+
command.query['country'] = country unless country.nil?
|
2132
2135
|
command.query['locale'] = locale unless locale.nil?
|
2133
2136
|
command.query['maxResults'] = max_results unless max_results.nil?
|
2134
2137
|
command.query['processingState'] = processing_state unless processing_state.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
26
26
|
module CalendarV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160306'
|
29
29
|
|
30
30
|
# Manage your calendars
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -20,13 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google Cloud Container Builder API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
# cloud.
|
23
|
+
# Builds container images in the cloud.
|
25
24
|
#
|
26
25
|
# @see https://cloud.google.com/container-builder/docs/
|
27
26
|
module CloudbuildV1
|
28
27
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
28
|
+
REVISION = '20160310'
|
30
29
|
|
31
30
|
# View and manage your data across Google Cloud Platform services
|
32
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -265,6 +265,12 @@ module Google
|
|
265
265
|
class StorageSource
|
266
266
|
include Google::Apis::Core::Hashable
|
267
267
|
|
268
|
+
# Google Cloud Storage generation for the object. If the generation is
|
269
|
+
# omitted, the latest generation will be used.
|
270
|
+
# Corresponds to the JSON property `generation`
|
271
|
+
# @return [String]
|
272
|
+
attr_accessor :generation
|
273
|
+
|
268
274
|
# Google Cloud Storage bucket containing source (see
|
269
275
|
# [Bucket Name
|
270
276
|
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
@@ -286,6 +292,7 @@ module Google
|
|
286
292
|
|
287
293
|
# Update properties of this object
|
288
294
|
def update!(**args)
|
295
|
+
@generation = args[:generation] if args.key?(:generation)
|
289
296
|
@bucket = args[:bucket] if args.key?(:bucket)
|
290
297
|
@object = args[:object] if args.key?(:object)
|
291
298
|
end
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module CloudbuildV1
|
23
23
|
# Google Cloud Container Builder API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
# cloud.
|
25
|
+
# Builds container images in the cloud.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/cloudbuild_v1'
|
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google Cloud Debugger API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Examines the call stack and variables of a running application without
|
24
24
|
# stopping or slowing it down.
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/tools/cloud-debugger
|
27
27
|
module ClouddebuggerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160309'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -680,12 +680,18 @@ module Google
|
|
680
680
|
# variables then would hold only a reference to it. The variable `
|
681
681
|
# var_table_index` field is an index into this repeated field. The stored
|
682
682
|
# objects are nameless and get their name from the referencing variable. The
|
683
|
-
# effective variable is a merge of the referencing
|
683
|
+
# effective variable is a merge of the referencing variable and the referenced
|
684
684
|
# variable.
|
685
685
|
# Corresponds to the JSON property `variableTable`
|
686
686
|
# @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
|
687
687
|
attr_accessor :variable_table
|
688
688
|
|
689
|
+
# A set of custom breakpoint properties, populated by the agent, to be displayed
|
690
|
+
# to the user.
|
691
|
+
# Corresponds to the JSON property `labels`
|
692
|
+
# @return [Hash<String,String>]
|
693
|
+
attr_accessor :labels
|
694
|
+
|
689
695
|
def initialize(**args)
|
690
696
|
update!(**args)
|
691
697
|
end
|
@@ -707,6 +713,7 @@ module Google
|
|
707
713
|
@stack_frames = args[:stack_frames] if args.key?(:stack_frames)
|
708
714
|
@evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
|
709
715
|
@variable_table = args[:variable_table] if args.key?(:variable_table)
|
716
|
+
@labels = args[:labels] if args.key?(:labels)
|
710
717
|
end
|
711
718
|
end
|
712
719
|
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module ClouddebuggerV2
|
23
23
|
# Google Cloud Debugger API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Examines the call stack and variables of a running application without
|
26
26
|
# stopping or slowing it down.
|
27
27
|
#
|
28
28
|
# @example
|
@@ -179,6 +179,9 @@ module Google
|
|
179
179
|
# @param [Boolean] include_inactive
|
180
180
|
# When set to `true`, the result includes all debuggees. Otherwise, the result
|
181
181
|
# includes only debuggees that are active.
|
182
|
+
# @param [String] client_version
|
183
|
+
# The client version making the call. Following: `domain/type/version` (e.g., `
|
184
|
+
# google.com/intellij/v1`).
|
182
185
|
# @param [String] fields
|
183
186
|
# Selector specifying which fields to include in a partial response.
|
184
187
|
# @param [String] quota_user
|
@@ -196,12 +199,13 @@ module Google
|
|
196
199
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
197
200
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
198
201
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
199
|
-
def list_debugger_debuggees(project: nil, include_inactive: nil, fields: nil, quota_user: nil, options: nil, &block)
|
202
|
+
def list_debugger_debuggees(project: nil, include_inactive: nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
200
203
|
command = make_simple_command(:get, 'v2/debugger/debuggees', options)
|
201
204
|
command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation
|
202
205
|
command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse
|
203
206
|
command.query['project'] = project unless project.nil?
|
204
207
|
command.query['includeInactive'] = include_inactive unless include_inactive.nil?
|
208
|
+
command.query['clientVersion'] = client_version unless client_version.nil?
|
205
209
|
command.query['fields'] = fields unless fields.nil?
|
206
210
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
207
211
|
execute_or_queue_command(command, &block)
|
@@ -211,6 +215,9 @@ module Google
|
|
211
215
|
# @param [String] debuggee_id
|
212
216
|
# ID of the debuggee where the breakpoint is to be set.
|
213
217
|
# @param [Google::Apis::ClouddebuggerV2::Breakpoint] breakpoint_object
|
218
|
+
# @param [String] client_version
|
219
|
+
# The client version making the call. Following: `domain/type/version` (e.g., `
|
220
|
+
# google.com/intellij/v1`).
|
214
221
|
# @param [String] fields
|
215
222
|
# Selector specifying which fields to include in a partial response.
|
216
223
|
# @param [String] quota_user
|
@@ -228,13 +235,14 @@ module Google
|
|
228
235
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
229
236
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
230
237
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
231
|
-
def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
238
|
+
def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
232
239
|
command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options)
|
233
240
|
command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation
|
234
241
|
command.request_object = breakpoint_object
|
235
242
|
command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation
|
236
243
|
command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse
|
237
244
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
245
|
+
command.query['clientVersion'] = client_version unless client_version.nil?
|
238
246
|
command.query['fields'] = fields unless fields.nil?
|
239
247
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
240
248
|
execute_or_queue_command(command, &block)
|
@@ -245,6 +253,9 @@ module Google
|
|
245
253
|
# ID of the debuggee whose breakpoint to get.
|
246
254
|
# @param [String] breakpoint_id
|
247
255
|
# ID of the breakpoint to get.
|
256
|
+
# @param [String] client_version
|
257
|
+
# The client version making the call. Following: `domain/type/version` (e.g., `
|
258
|
+
# google.com/intellij/v1`).
|
248
259
|
# @param [String] fields
|
249
260
|
# Selector specifying which fields to include in a partial response.
|
250
261
|
# @param [String] quota_user
|
@@ -262,12 +273,13 @@ module Google
|
|
262
273
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
263
274
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
264
275
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
265
|
-
def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, fields: nil, quota_user: nil, options: nil, &block)
|
276
|
+
def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
266
277
|
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
|
267
278
|
command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation
|
268
279
|
command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse
|
269
280
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
270
281
|
command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
|
282
|
+
command.query['clientVersion'] = client_version unless client_version.nil?
|
271
283
|
command.query['fields'] = fields unless fields.nil?
|
272
284
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
273
285
|
execute_or_queue_command(command, &block)
|
@@ -278,6 +290,9 @@ module Google
|
|
278
290
|
# ID of the debuggee whose breakpoint to delete.
|
279
291
|
# @param [String] breakpoint_id
|
280
292
|
# ID of the breakpoint to delete.
|
293
|
+
# @param [String] client_version
|
294
|
+
# The client version making the call. Following: `domain/type/version` (e.g., `
|
295
|
+
# google.com/intellij/v1`).
|
281
296
|
# @param [String] fields
|
282
297
|
# Selector specifying which fields to include in a partial response.
|
283
298
|
# @param [String] quota_user
|
@@ -295,12 +310,13 @@ module Google
|
|
295
310
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
296
311
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
297
312
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
298
|
-
def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, fields: nil, quota_user: nil, options: nil, &block)
|
313
|
+
def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
299
314
|
command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
|
300
315
|
command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation
|
301
316
|
command.response_class = Google::Apis::ClouddebuggerV2::Empty
|
302
317
|
command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
|
303
318
|
command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
|
319
|
+
command.query['clientVersion'] = client_version unless client_version.nil?
|
304
320
|
command.query['fields'] = fields unless fields.nil?
|
305
321
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
306
322
|
execute_or_queue_command(command, &block)
|
@@ -326,6 +342,9 @@ module Google
|
|
326
342
|
# from the last response. The error code `google.rpc.Code.ABORTED` (RPC) is
|
327
343
|
# returned on wait timeout, which should be called again with the same `
|
328
344
|
# wait_token`.
|
345
|
+
# @param [String] client_version
|
346
|
+
# The client version making the call. Following: `domain/type/version` (e.g., `
|
347
|
+
# google.com/intellij/v1`).
|
329
348
|
# @param [String] fields
|
330
349
|
# Selector specifying which fields to include in a partial response.
|
331
350
|
# @param [String] quota_user
|
@@ -343,7 +362,7 @@ module Google
|
|
343
362
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
344
363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
345
364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
346
|
-
def list_debugger_debuggee_breakpoints(debuggee_id, include_all_users: nil, include_inactive: nil, action_value: nil, strip_results: nil, wait_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
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)
|
347
366
|
command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options)
|
348
367
|
command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation
|
349
368
|
command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse
|
@@ -353,6 +372,7 @@ module Google
|
|
353
372
|
command.query['action.value'] = action_value unless action_value.nil?
|
354
373
|
command.query['stripResults'] = strip_results unless strip_results.nil?
|
355
374
|
command.query['waitToken'] = wait_token unless wait_token.nil?
|
375
|
+
command.query['clientVersion'] = client_version unless client_version.nil?
|
356
376
|
command.query['fields'] = fields unless fields.nil?
|
357
377
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
358
378
|
execute_or_queue_command(command, &block)
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google Cloud Network Performance Monitoring API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Reports latency data.
|
24
24
|
#
|
25
25
|
# @see
|
26
26
|
module CloudlatencytestV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160309'
|
29
29
|
|
30
30
|
# View monitoring data for all of your Google Cloud and API projects
|
31
31
|
AUTH_MONITORING_READONLY = 'https://www.googleapis.com/auth/monitoring.readonly'
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Cloud Monitoring API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Accesses Google Cloud Monitoring data.
|
24
24
|
#
|
25
25
|
# @see https://cloud.google.com/monitoring/v2beta2/
|
26
26
|
module CloudmonitoringV2beta2
|
27
27
|
VERSION = 'V2beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160228'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/cloudresourcemanager_v1/service.rb'
|
16
|
+
require 'google/apis/cloudresourcemanager_v1/classes.rb'
|
17
|
+
require 'google/apis/cloudresourcemanager_v1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Google Cloud Resource Manager API
|
22
|
+
#
|
23
|
+
# The Google Cloud Resource Manager API provides methods for creating, reading,
|
24
|
+
# and updating project metadata.
|
25
|
+
#
|
26
|
+
# @see https://cloud.google.com/resource-manager
|
27
|
+
module CloudresourcemanagerV1
|
28
|
+
VERSION = 'V1'
|
29
|
+
REVISION = '20160225'
|
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
|
+
# View your data across Google Cloud Platform services
|
35
|
+
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|