google-api-client 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/api_names.yaml +395 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +254 -254
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +65 -65
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +220 -220
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +106 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +37 -0
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +39 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +920 -920
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -13
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +115 -5
- data/generated/google/apis/appengine_v1beta5/representations.rb +37 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +12 -9
- 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 +32 -37
- data/generated/google/apis/bigquery_v2/service.rb +10 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +205 -0
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +164 -163
- data/generated/google/apis/cloudbuild_v1/representations.rb +31 -31
- data/generated/google/apis/cloudbuild_v1/service.rb +114 -114
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +687 -687
- data/generated/google/apis/clouddebugger_v2/representations.rb +147 -147
- data/generated/google/apis/clouddebugger_v2/service.rb +132 -132
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +231 -248
- data/generated/google/apis/cloudkms_v1/representations.rb +74 -74
- data/generated/google/apis/cloudkms_v1/service.rb +228 -228
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +738 -128
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +245 -23
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1293 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +982 -372
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +293 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -277
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +19 -19
- data/generated/google/apis/cloudtrace_v1/representations.rb +2 -2
- data/generated/google/apis/cloudtrace_v1/service.rb +30 -30
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +116 -0
- data/generated/google/apis/compute_beta/representations.rb +48 -0
- data/generated/google/apis/compute_beta/service.rb +46 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3276 -3320
- data/generated/google/apis/dataflow_v1b3/representations.rb +779 -781
- data/generated/google/apis/dataflow_v1b3/service.rb +225 -225
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1221 -1207
- data/generated/google/apis/dataproc_v1/representations.rb +255 -253
- data/generated/google/apis/dataproc_v1/service.rb +100 -100
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +3 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +959 -959
- data/generated/google/apis/genomics_v1/representations.rb +238 -238
- data/generated/google/apis/genomics_v1/service.rb +996 -996
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +170 -173
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +55 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +427 -427
- data/generated/google/apis/language_v1beta1/representations.rb +113 -113
- data/generated/google/apis/language_v1beta1/service.rb +25 -24
- data/generated/google/apis/licensing_v1.rb +2 -2
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +864 -864
- data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
- data/generated/google/apis/logging_v2beta1/service.rb +261 -261
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +452 -105
- data/generated/google/apis/manufacturers_v1/representations.rb +138 -18
- data/generated/google/apis/manufacturers_v1/service.rb +11 -11
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +7 -7
- data/generated/google/apis/monitoring_v3/classes.rb +668 -670
- data/generated/google/apis/monitoring_v3/representations.rb +140 -140
- data/generated/google/apis/monitoring_v3/service.rb +208 -208
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +505 -505
- data/generated/google/apis/partners_v2/representations.rb +118 -118
- data/generated/google/apis/partners_v2/service.rb +275 -275
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +1037 -1031
- data/generated/google/apis/people_v1/representations.rb +247 -246
- data/generated/google/apis/people_v1/service.rb +20 -20
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +392 -392
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +93 -93
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +381 -381
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +131 -132
- data/generated/google/apis/pubsub_v1/representations.rb +35 -35
- data/generated/google/apis/pubsub_v1/service.rb +399 -408
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +9 -0
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +110 -110
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/sheets_v4/classes.rb +4329 -4329
- data/generated/google/apis/sheets_v4/representations.rb +856 -856
- data/generated/google/apis/sheets_v4/service.rb +106 -106
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2923 -2841
- data/generated/google/apis/slides_v1/representations.rb +722 -691
- data/generated/google/apis/slides_v1/service.rb +58 -15
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +191 -191
- data/generated/google/apis/speech_v1beta1/representations.rb +57 -57
- data/generated/google/apis/speech_v1beta1/service.rb +70 -70
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +151 -0
- data/generated/google/apis/storage_v1/representations.rb +45 -0
- data/generated/google/apis/storage_v1/service.rb +248 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1227 -1221
- data/generated/google/apis/vision_v1/representations.rb +217 -215
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +78 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +34 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +65 -65
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +111 -111
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -48,11 +48,11 @@ module Google
|
|
48
48
|
|
49
49
|
# Returns the Analytics data.
|
50
50
|
# @param [Google::Apis::AnalyticsreportingV4::GetReportsRequest] get_reports_request_object
|
51
|
+
# @param [String] fields
|
52
|
+
# Selector specifying which fields to include in a partial response.
|
51
53
|
# @param [String] quota_user
|
52
54
|
# Available to use for quota purposes for server-side applications. Can be any
|
53
55
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
54
|
-
# @param [String] fields
|
55
|
-
# Selector specifying which fields to include in a partial response.
|
56
56
|
# @param [Google::Apis::RequestOptions] options
|
57
57
|
# Request-specific options
|
58
58
|
#
|
@@ -65,14 +65,14 @@ module Google
|
|
65
65
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
66
66
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
67
67
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
68
|
-
def batch_get_reports(get_reports_request_object = nil,
|
68
|
+
def batch_get_reports(get_reports_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
69
69
|
command = make_simple_command(:post, 'v4/reports:batchGet', options)
|
70
70
|
command.request_representation = Google::Apis::AnalyticsreportingV4::GetReportsRequest::Representation
|
71
71
|
command.request_object = get_reports_request_object
|
72
72
|
command.response_representation = Google::Apis::AnalyticsreportingV4::GetReportsResponse::Representation
|
73
73
|
command.response_class = Google::Apis::AnalyticsreportingV4::GetReportsResponse
|
74
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
75
74
|
command.query['fields'] = fields unless fields.nil?
|
75
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
76
76
|
execute_or_queue_command(command, &block)
|
77
77
|
end
|
78
78
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170322'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -1941,12 +1941,10 @@ module Google
|
|
1941
1941
|
class StoreLayout
|
1942
1942
|
include Google::Apis::Core::Hashable
|
1943
1943
|
|
1944
|
-
# The ID of the store page to be used as the homepage. The homepage
|
1945
|
-
#
|
1946
|
-
#
|
1947
|
-
#
|
1948
|
-
# If there exists at least one page, this field must be set to the ID of a valid
|
1949
|
-
# page.
|
1944
|
+
# The ID of the store page to be used as the homepage. The homepage is the first
|
1945
|
+
# page shown in the managed Google Play Store.
|
1946
|
+
# Not specifying a homepage is equivalent to setting the store layout type to "
|
1947
|
+
# basic".
|
1950
1948
|
# Corresponds to the JSON property `homepageId`
|
1951
1949
|
# @return [String]
|
1952
1950
|
attr_accessor :homepage_id
|
@@ -1957,13 +1955,10 @@ module Google
|
|
1957
1955
|
# @return [String]
|
1958
1956
|
attr_accessor :kind
|
1959
1957
|
|
1960
|
-
# The store layout type. By default, this value is set to "basic"
|
1961
|
-
#
|
1962
|
-
# consist of all approved apps
|
1963
|
-
#
|
1964
|
-
# takes precedence over any existing collections setup for this enterprise (if
|
1965
|
-
# any). Should the enterprise use collectionViewers for controlling access
|
1966
|
-
# rights, these will still be respected.
|
1958
|
+
# The store layout type. By default, this value is set to "basic" if the
|
1959
|
+
# homepageId field is not set, and to "custom" otherwise. If set to "basic", the
|
1960
|
+
# layout will consist of all approved apps that have been whitelisted for the
|
1961
|
+
# user.
|
1967
1962
|
# Corresponds to the JSON property `storeLayoutType`
|
1968
1963
|
# @return [String]
|
1969
1964
|
attr_accessor :store_layout_type
|
@@ -539,7 +539,7 @@ module Google
|
|
539
539
|
end
|
540
540
|
|
541
541
|
# Returns the store layout for the enterprise. If the store layout has not been
|
542
|
-
# set,
|
542
|
+
# set, returns "basic" as the store layout type and no homepage.
|
543
543
|
# @param [String] enterprise_id
|
544
544
|
# The ID of the enterprise.
|
545
545
|
# @param [String] fields
|
@@ -787,8 +787,8 @@ module Google
|
|
787
787
|
# contains apps approved by the admin, and that have been added to the available
|
788
788
|
# product set for a user (using the setAvailableProductSet call). Apps on the
|
789
789
|
# page are sorted in order of their product ID value. If you create a custom
|
790
|
-
# store layout (by setting storeLayoutType = "custom"
|
791
|
-
# is disabled.
|
790
|
+
# store layout (by setting storeLayoutType = "custom" and setting a homepage),
|
791
|
+
# the basic store layout is disabled.
|
792
792
|
# @param [String] enterprise_id
|
793
793
|
# The ID of the enterprise.
|
794
794
|
# @param [Google::Apis::AndroidenterpriseV1::StoreLayout] store_layout_object
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
26
26
|
module AppengineV1beta5
|
27
27
|
VERSION = 'V1beta5'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170324'
|
29
29
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -259,6 +259,11 @@ module Google
|
|
259
259
|
# @return [String]
|
260
260
|
attr_accessor :default_bucket
|
261
261
|
|
262
|
+
# Identity-Aware Proxy
|
263
|
+
# Corresponds to the JSON property `iap`
|
264
|
+
# @return [Google::Apis::AppengineV1beta5::IdentityAwareProxy]
|
265
|
+
attr_accessor :iap
|
266
|
+
|
262
267
|
def initialize(**args)
|
263
268
|
update!(**args)
|
264
269
|
end
|
@@ -274,6 +279,7 @@ module Google
|
|
274
279
|
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
275
280
|
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
276
281
|
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
282
|
+
@iap = args[:iap] if args.key?(:iap)
|
277
283
|
end
|
278
284
|
end
|
279
285
|
|
@@ -312,6 +318,48 @@ module Google
|
|
312
318
|
end
|
313
319
|
end
|
314
320
|
|
321
|
+
# Identity-Aware Proxy
|
322
|
+
class IdentityAwareProxy
|
323
|
+
include Google::Apis::Core::Hashable
|
324
|
+
|
325
|
+
# Whether the serving infrastructure will authenticate and authorize all
|
326
|
+
# incoming requests.If true, the oauth2_client_id and oauth2_client_secret
|
327
|
+
# fields must be non-empty.
|
328
|
+
# Corresponds to the JSON property `enabled`
|
329
|
+
# @return [Boolean]
|
330
|
+
attr_accessor :enabled
|
331
|
+
alias_method :enabled?, :enabled
|
332
|
+
|
333
|
+
# OAuth2 client ID to use for the authentication flow.
|
334
|
+
# Corresponds to the JSON property `oauth2ClientId`
|
335
|
+
# @return [String]
|
336
|
+
attr_accessor :oauth2_client_id
|
337
|
+
|
338
|
+
# For security reasons, this value cannot be retrieved via the API. Instead, the
|
339
|
+
# SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.
|
340
|
+
# @InputOnly
|
341
|
+
# Corresponds to the JSON property `oauth2ClientSecret`
|
342
|
+
# @return [String]
|
343
|
+
attr_accessor :oauth2_client_secret
|
344
|
+
|
345
|
+
# Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
346
|
+
# Corresponds to the JSON property `oauth2ClientSecretSha256`
|
347
|
+
# @return [String]
|
348
|
+
attr_accessor :oauth2_client_secret_sha256
|
349
|
+
|
350
|
+
def initialize(**args)
|
351
|
+
update!(**args)
|
352
|
+
end
|
353
|
+
|
354
|
+
# Update properties of this object
|
355
|
+
def update!(**args)
|
356
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
357
|
+
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
358
|
+
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
359
|
+
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
315
363
|
# A Version resource is a specific set of source code and configuration files
|
316
364
|
# that are deployed into a service.
|
317
365
|
class Version
|
@@ -1260,7 +1308,9 @@ module Google
|
|
1260
1308
|
# @return [Hash<String,Google::Apis::AppengineV1beta5::FileInfo>]
|
1261
1309
|
attr_accessor :files
|
1262
1310
|
|
1263
|
-
# Docker image that is used to
|
1311
|
+
# Docker image that is used to create a container and start a VM instance for
|
1312
|
+
# the version that you deploy. Only applicable for instances running in the App
|
1313
|
+
# Engine flexible environment.
|
1264
1314
|
# Corresponds to the JSON property `container`
|
1265
1315
|
# @return [Google::Apis::AppengineV1beta5::ContainerInfo]
|
1266
1316
|
attr_accessor :container
|
@@ -1317,12 +1367,14 @@ module Google
|
|
1317
1367
|
end
|
1318
1368
|
end
|
1319
1369
|
|
1320
|
-
# Docker image that is used to
|
1370
|
+
# Docker image that is used to create a container and start a VM instance for
|
1371
|
+
# the version that you deploy. Only applicable for instances running in the App
|
1372
|
+
# Engine flexible environment.
|
1321
1373
|
class ContainerInfo
|
1322
1374
|
include Google::Apis::Core::Hashable
|
1323
1375
|
|
1324
|
-
# URI to the hosted container image in
|
1325
|
-
# fully qualified and include a tag or digest. Examples: "gcr.io/my-project/
|
1376
|
+
# URI to the hosted container image in Google Container Registry. The URI must
|
1377
|
+
# be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/
|
1326
1378
|
# image:tag" or "gcr.io/my-project/image@digest"
|
1327
1379
|
# Corresponds to the JSON property `image`
|
1328
1380
|
# @return [String]
|
@@ -1688,7 +1740,7 @@ module Google
|
|
1688
1740
|
end
|
1689
1741
|
end
|
1690
1742
|
|
1691
|
-
# The response message for
|
1743
|
+
# The response message for Locations.ListLocations.
|
1692
1744
|
class ListLocationsResponse
|
1693
1745
|
include Google::Apis::Core::Hashable
|
1694
1746
|
|
@@ -1895,6 +1947,64 @@ module Google
|
|
1895
1947
|
end
|
1896
1948
|
end
|
1897
1949
|
|
1950
|
+
# Metadata for the given google.longrunning.Operation.
|
1951
|
+
class OperationMetadataV1Beta
|
1952
|
+
include Google::Apis::Core::Hashable
|
1953
|
+
|
1954
|
+
# API method that initiated this operation. Example: google.appengine.v1beta.
|
1955
|
+
# Versions.CreateVersion.@OutputOnly
|
1956
|
+
# Corresponds to the JSON property `method`
|
1957
|
+
# @return [String]
|
1958
|
+
attr_accessor :method_prop
|
1959
|
+
|
1960
|
+
# Time that this operation was created.@OutputOnly
|
1961
|
+
# Corresponds to the JSON property `insertTime`
|
1962
|
+
# @return [String]
|
1963
|
+
attr_accessor :insert_time
|
1964
|
+
|
1965
|
+
# Time that this operation completed.@OutputOnly
|
1966
|
+
# Corresponds to the JSON property `endTime`
|
1967
|
+
# @return [String]
|
1968
|
+
attr_accessor :end_time
|
1969
|
+
|
1970
|
+
# User who requested this operation.@OutputOnly
|
1971
|
+
# Corresponds to the JSON property `user`
|
1972
|
+
# @return [String]
|
1973
|
+
attr_accessor :user
|
1974
|
+
|
1975
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
1976
|
+
# services/default.@OutputOnly
|
1977
|
+
# Corresponds to the JSON property `target`
|
1978
|
+
# @return [String]
|
1979
|
+
attr_accessor :target
|
1980
|
+
|
1981
|
+
# Ephemeral message that may change every time the operation is polled. @
|
1982
|
+
# OutputOnly
|
1983
|
+
# Corresponds to the JSON property `ephemeralMessage`
|
1984
|
+
# @return [String]
|
1985
|
+
attr_accessor :ephemeral_message
|
1986
|
+
|
1987
|
+
# Durable messages that persist on every operation poll. @OutputOnly
|
1988
|
+
# Corresponds to the JSON property `warning`
|
1989
|
+
# @return [Array<String>]
|
1990
|
+
attr_accessor :warning
|
1991
|
+
|
1992
|
+
def initialize(**args)
|
1993
|
+
update!(**args)
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
# Update properties of this object
|
1997
|
+
def update!(**args)
|
1998
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
1999
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
2000
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2001
|
+
@user = args[:user] if args.key?(:user)
|
2002
|
+
@target = args[:target] if args.key?(:target)
|
2003
|
+
@ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
|
2004
|
+
@warning = args[:warning] if args.key?(:warning)
|
2005
|
+
end
|
2006
|
+
end
|
2007
|
+
|
1898
2008
|
# Metadata for the given google.longrunning.Operation.
|
1899
2009
|
class OperationMetadataV1
|
1900
2010
|
include Google::Apis::Core::Hashable
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class IdentityAwareProxy
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class Version
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -268,6 +274,12 @@ module Google
|
|
268
274
|
include Google::Apis::Core::JsonObjectSupport
|
269
275
|
end
|
270
276
|
|
277
|
+
class OperationMetadataV1Beta
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
271
283
|
class OperationMetadataV1
|
272
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
285
|
|
@@ -323,6 +335,8 @@ module Google
|
|
323
335
|
property :default_cookie_expiration, as: 'defaultCookieExpiration'
|
324
336
|
property :default_hostname, as: 'defaultHostname'
|
325
337
|
property :default_bucket, as: 'defaultBucket'
|
338
|
+
property :iap, as: 'iap', class: Google::Apis::AppengineV1beta5::IdentityAwareProxy, decorator: Google::Apis::AppengineV1beta5::IdentityAwareProxy::Representation
|
339
|
+
|
326
340
|
end
|
327
341
|
end
|
328
342
|
|
@@ -335,6 +349,16 @@ module Google
|
|
335
349
|
end
|
336
350
|
end
|
337
351
|
|
352
|
+
class IdentityAwareProxy
|
353
|
+
# @private
|
354
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
355
|
+
property :enabled, as: 'enabled'
|
356
|
+
property :oauth2_client_id, as: 'oauth2ClientId'
|
357
|
+
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
358
|
+
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
338
362
|
class Version
|
339
363
|
# @private
|
340
364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -740,6 +764,19 @@ module Google
|
|
740
764
|
end
|
741
765
|
end
|
742
766
|
|
767
|
+
class OperationMetadataV1Beta
|
768
|
+
# @private
|
769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
770
|
+
property :method_prop, as: 'method'
|
771
|
+
property :insert_time, as: 'insertTime'
|
772
|
+
property :end_time, as: 'endTime'
|
773
|
+
property :user, as: 'user'
|
774
|
+
property :target, as: 'target'
|
775
|
+
property :ephemeral_message, as: 'ephemeralMessage'
|
776
|
+
collection :warning, as: 'warning'
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
743
780
|
class OperationMetadataV1
|
744
781
|
# @private
|
745
782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -46,11 +46,12 @@ module Google
|
|
46
46
|
super('https://appengine.googleapis.com/', '')
|
47
47
|
end
|
48
48
|
|
49
|
-
# Creates an App Engine application for a Google Cloud Platform project.
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
49
|
+
# Creates an App Engine application for a Google Cloud Platform project.
|
50
|
+
# Required fields: id - The ID of the target Cloud Platform project. location -
|
51
|
+
# The region (https://cloud.google.com/appengine/docs/locations) where you want
|
52
|
+
# the App Engine application located.For more information about App Engine
|
53
|
+
# applications, see Managing Projects, Applications, and Billing (https://cloud.
|
54
|
+
# google.com/appengine/docs/python/console/).
|
54
55
|
# @param [Google::Apis::AppengineV1beta5::Application] application_object
|
55
56
|
# @param [String] fields
|
56
57
|
# Selector specifying which fields to include in a partial response.
|
@@ -349,9 +350,9 @@ module Google
|
|
349
350
|
# @param [String] mask
|
350
351
|
# Standard field mask for the set of fields to be updated.
|
351
352
|
# @param [Boolean] migrate_traffic
|
352
|
-
# Set to true to gradually shift traffic
|
353
|
-
#
|
354
|
-
# migration, the target
|
353
|
+
# Set to true to gradually shift traffic to one or more versions that you
|
354
|
+
# specify. By default, traffic is shifted immediately. For gradual traffic
|
355
|
+
# migration, the target versions must be located within instances that are
|
355
356
|
# configured for both warmup requests (https://cloud.google.com/appengine/docs/
|
356
357
|
# admin-api/reference/rest/v1beta5/apps.services.versions#inboundservicetype)
|
357
358
|
# and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/
|
@@ -689,7 +690,9 @@ module Google
|
|
689
690
|
execute_or_queue_command(command, &block)
|
690
691
|
end
|
691
692
|
|
692
|
-
# Lists the instances of a version.
|
693
|
+
# Lists the instances of a version.Tip: To aggregate details about instances
|
694
|
+
# over time, see the Stackdriver Monitoring API (https://cloud.google.com/
|
695
|
+
# monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
|
693
696
|
# @param [String] apps_id
|
694
697
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
695
698
|
# default/versions/v1.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services/web/api/states
|
26
26
|
module AppstateV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170323'
|
29
29
|
|
30
30
|
# View and manage your data for this application
|
31
31
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170319'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -334,9 +334,9 @@ module Google
|
|
334
334
|
# @return [String]
|
335
335
|
attr_accessor :kind
|
336
336
|
|
337
|
-
#
|
338
|
-
#
|
339
|
-
#
|
337
|
+
# The labels associated with this dataset. You can use these to organize and
|
338
|
+
# group your datasets. You can set this property when inserting or updating a
|
339
|
+
# dataset. See Labeling Datasets for more information.
|
340
340
|
# Corresponds to the JSON property `labels`
|
341
341
|
# @return [Hash<String,String>]
|
342
342
|
attr_accessor :labels
|
@@ -347,8 +347,8 @@ module Google
|
|
347
347
|
# @return [String]
|
348
348
|
attr_accessor :last_modified_time
|
349
349
|
|
350
|
-
#
|
351
|
-
#
|
350
|
+
# The geographic location where the dataset should reside. Possible values
|
351
|
+
# include EU and US. The default value is US.
|
352
352
|
# Corresponds to the JSON property `location`
|
353
353
|
# @return [String]
|
354
354
|
attr_accessor :location
|
@@ -507,8 +507,8 @@ module Google
|
|
507
507
|
# @return [String]
|
508
508
|
attr_accessor :kind
|
509
509
|
|
510
|
-
#
|
511
|
-
#
|
510
|
+
# The labels associated with this dataset. You can use these to organize and
|
511
|
+
# group your datasets.
|
512
512
|
# Corresponds to the JSON property `labels`
|
513
513
|
# @return [Hash<String,String>]
|
514
514
|
attr_accessor :labels
|
@@ -720,8 +720,8 @@ module Google
|
|
720
720
|
class ExternalDataConfiguration
|
721
721
|
include Google::Apis::Core::Hashable
|
722
722
|
|
723
|
-
#
|
724
|
-
#
|
723
|
+
# Try to detect schema and format options automatically. Any option specified
|
724
|
+
# explicitly will be honored.
|
725
725
|
# Corresponds to the JSON property `autodetect`
|
726
726
|
# @return [Boolean]
|
727
727
|
attr_accessor :autodetect
|
@@ -782,10 +782,8 @@ module Google
|
|
782
782
|
# [Required] The data format. For CSV files, specify "CSV". For Google sheets,
|
783
783
|
# specify "GOOGLE_SHEETS". For newline-delimited JSON, specify "
|
784
784
|
# NEWLINE_DELIMITED_JSON". For Avro files, specify "AVRO". For Google Cloud
|
785
|
-
# Datastore backups, specify "DATASTORE_BACKUP". [
|
786
|
-
# Bigtable, specify "BIGTABLE".
|
787
|
-
# Bigtable is experimental and has to be enabled for your project. Please
|
788
|
-
# contact Google Cloud Support to enable this for your project.
|
785
|
+
# Datastore backups, specify "DATASTORE_BACKUP". [Beta] For Google Cloud
|
786
|
+
# Bigtable, specify "BIGTABLE".
|
789
787
|
# Corresponds to the JSON property `sourceFormat`
|
790
788
|
# @return [String]
|
791
789
|
attr_accessor :source_format
|
@@ -864,8 +862,8 @@ module Google
|
|
864
862
|
# @return [String]
|
865
863
|
attr_accessor :kind
|
866
864
|
|
867
|
-
# [Output-only
|
868
|
-
#
|
865
|
+
# [Output-only] The number of rows affected by a DML statement. Present only for
|
866
|
+
# DML statements INSERT, UPDATE or DELETE.
|
869
867
|
# Corresponds to the JSON property `numDmlAffectedRows`
|
870
868
|
# @return [String]
|
871
869
|
attr_accessor :num_dml_affected_rows
|
@@ -1185,8 +1183,8 @@ module Google
|
|
1185
1183
|
attr_accessor :allow_quoted_newlines
|
1186
1184
|
alias_method :allow_quoted_newlines?, :allow_quoted_newlines
|
1187
1185
|
|
1188
|
-
#
|
1189
|
-
#
|
1186
|
+
# Indicates if we should automatically infer the options and schema for CSV and
|
1187
|
+
# JSON sources.
|
1190
1188
|
# Corresponds to the JSON property `autodetect`
|
1191
1189
|
# @return [Boolean]
|
1192
1190
|
attr_accessor :autodetect
|
@@ -1255,12 +1253,11 @@ module Google
|
|
1255
1253
|
# @return [String]
|
1256
1254
|
attr_accessor :null_marker
|
1257
1255
|
|
1258
|
-
#
|
1259
|
-
#
|
1260
|
-
#
|
1261
|
-
#
|
1262
|
-
#
|
1263
|
-
# job result.
|
1256
|
+
# If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity
|
1257
|
+
# properties to load into BigQuery from a Cloud Datastore backup. Property names
|
1258
|
+
# are case sensitive and must be top-level properties. If no properties are
|
1259
|
+
# specified, BigQuery loads all properties. If any named property isn't found in
|
1260
|
+
# the Cloud Datastore backup, an invalid error is returned in the job result.
|
1264
1261
|
# Corresponds to the JSON property `projectionFields`
|
1265
1262
|
# @return [Array<String>]
|
1266
1263
|
attr_accessor :projection_fields
|
@@ -1423,9 +1420,8 @@ module Google
|
|
1423
1420
|
# @return [String]
|
1424
1421
|
attr_accessor :maximum_bytes_billed
|
1425
1422
|
|
1426
|
-
#
|
1427
|
-
#
|
1428
|
-
# query.
|
1423
|
+
# Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or
|
1424
|
+
# to NAMED to use named (@myparam) query parameters in this query.
|
1429
1425
|
# Corresponds to the JSON property `parameterMode`
|
1430
1426
|
# @return [String]
|
1431
1427
|
attr_accessor :parameter_mode
|
@@ -1492,7 +1488,7 @@ module Google
|
|
1492
1488
|
attr_accessor :use_query_cache
|
1493
1489
|
alias_method :use_query_cache?, :use_query_cache
|
1494
1490
|
|
1495
|
-
#
|
1491
|
+
# Describes user-defined function resources used in the query.
|
1496
1492
|
# Corresponds to the JSON property `userDefinedFunctionResources`
|
1497
1493
|
# @return [Array<Google::Apis::BigqueryV2::UserDefinedFunctionResource>]
|
1498
1494
|
attr_accessor :user_defined_function_resources
|
@@ -1799,13 +1795,13 @@ module Google
|
|
1799
1795
|
attr_accessor :cache_hit
|
1800
1796
|
alias_method :cache_hit?, :cache_hit
|
1801
1797
|
|
1802
|
-
# [Output-only
|
1803
|
-
#
|
1798
|
+
# [Output-only] The number of rows affected by a DML statement. Present only for
|
1799
|
+
# DML statements INSERT, UPDATE or DELETE.
|
1804
1800
|
# Corresponds to the JSON property `numDmlAffectedRows`
|
1805
1801
|
# @return [String]
|
1806
1802
|
attr_accessor :num_dml_affected_rows
|
1807
1803
|
|
1808
|
-
# [Output-only
|
1804
|
+
# [Output-only] Describes execution plan for the query.
|
1809
1805
|
# Corresponds to the JSON property `queryPlan`
|
1810
1806
|
# @return [Array<Google::Apis::BigqueryV2::ExplainQueryStage>]
|
1811
1807
|
attr_accessor :query_plan
|
@@ -2221,9 +2217,8 @@ module Google
|
|
2221
2217
|
# @return [Fixnum]
|
2222
2218
|
attr_accessor :max_results
|
2223
2219
|
|
2224
|
-
#
|
2225
|
-
#
|
2226
|
-
# query.
|
2220
|
+
# Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or
|
2221
|
+
# to NAMED to use named (@myparam) query parameters in this query.
|
2227
2222
|
# Corresponds to the JSON property `parameterMode`
|
2228
2223
|
# @return [String]
|
2229
2224
|
attr_accessor :parameter_mode
|
@@ -2241,7 +2236,7 @@ module Google
|
|
2241
2236
|
# @return [String]
|
2242
2237
|
attr_accessor :query
|
2243
2238
|
|
2244
|
-
#
|
2239
|
+
# Query parameters for Standard SQL queries.
|
2245
2240
|
# Corresponds to the JSON property `queryParameters`
|
2246
2241
|
# @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
|
2247
2242
|
attr_accessor :query_parameters
|
@@ -2332,8 +2327,8 @@ module Google
|
|
2332
2327
|
# @return [String]
|
2333
2328
|
attr_accessor :kind
|
2334
2329
|
|
2335
|
-
# [Output-only
|
2336
|
-
#
|
2330
|
+
# [Output-only] The number of rows affected by a DML statement. Present only for
|
2331
|
+
# DML statements INSERT, UPDATE or DELETE.
|
2337
2332
|
# Corresponds to the JSON property `numDmlAffectedRows`
|
2338
2333
|
# @return [String]
|
2339
2334
|
attr_accessor :num_dml_affected_rows
|
@@ -3086,7 +3081,7 @@ module Google
|
|
3086
3081
|
attr_accessor :use_legacy_sql
|
3087
3082
|
alias_method :use_legacy_sql?, :use_legacy_sql
|
3088
3083
|
|
3089
|
-
#
|
3084
|
+
# Describes user-defined function resources used in the query.
|
3090
3085
|
# Corresponds to the JSON property `userDefinedFunctionResources`
|
3091
3086
|
# @return [Array<Google::Apis::BigqueryV2::UserDefinedFunctionResource>]
|
3092
3087
|
attr_accessor :user_defined_function_resources
|