google-api-client 0.23.3 → 0.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- 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_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +4 -1
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +45 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +45 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +269 -0
- data/generated/google/apis/bigquery_v2/representations.rb +93 -0
- data/generated/google/apis/blogger_v2.rb +1 -1
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +16 -69
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -11
- data/generated/google/apis/civicinfo_v2/service.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -1
- data/generated/google/apis/cloudprofiler_v2.rb +40 -0
- data/generated/google/apis/cloudprofiler_v2/classes.rb +167 -0
- data/generated/google/apis/cloudprofiler_v2/representations.rb +77 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +179 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +769 -146
- data/generated/google/apis/compute_alpha/representations.rb +294 -22
- data/generated/google/apis/compute_alpha/service.rb +868 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +52 -89
- data/generated/google/apis/compute_beta/representations.rb +1 -18
- data/generated/google/apis/compute_beta/service.rb +0 -250
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +165 -16
- data/generated/google/apis/compute_v1/representations.rb +61 -0
- data/generated/google/apis/compute_v1/service.rb +208 -0
- data/generated/google/apis/content_v2/classes.rb +10 -10
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +60 -43
- data/generated/google/apis/content_v2sandbox/representations.rb +2 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +22 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +101 -5
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +28 -25
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +101 -6
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +26 -22
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +1 -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/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +84 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +12 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +0 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +77 -6
- data/generated/google/apis/ml_v1/representations.rb +7 -0
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +4 -5
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -1
- data/generated/google/apis/replicapool_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -1
- data/generated/google/apis/script_v1.rb +2 -8
- data/generated/google/apis/script_v1/service.rb +1 -7
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spectrum_v1explorer.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -9
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +13 -16
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +6 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/urlshortener_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -194,6 +194,8 @@ module Google
|
|
|
194
194
|
# @param [String] name
|
|
195
195
|
# The name of the device in the form enterprises/`enterpriseId`/devices/`
|
|
196
196
|
# deviceId`.
|
|
197
|
+
# @param [Array<String>, String] wipe_data_flags
|
|
198
|
+
# Optional flags that control the device wiping behavior.
|
|
197
199
|
# @param [String] fields
|
|
198
200
|
# Selector specifying which fields to include in a partial response.
|
|
199
201
|
# @param [String] quota_user
|
|
@@ -211,11 +213,12 @@ module Google
|
|
|
211
213
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
212
214
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
213
215
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
214
|
-
def delete_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
216
|
+
def delete_enterprise_device(name, wipe_data_flags: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
215
217
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
216
218
|
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
|
|
217
219
|
command.response_class = Google::Apis::AndroidmanagementV1::Empty
|
|
218
220
|
command.params['name'] = name unless name.nil?
|
|
221
|
+
command.query['wipeDataFlags'] = wipe_data_flags unless wipe_data_flags.nil?
|
|
219
222
|
command.query['fields'] = fields unless fields.nil?
|
|
220
223
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
221
224
|
execute_or_queue_command(command, &block)
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = ''
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV1_1
|
|
27
27
|
VERSION = 'V1_1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = ''
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = ''
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -1378,6 +1378,42 @@ module Google
|
|
|
1378
1378
|
end
|
|
1379
1379
|
end
|
|
1380
1380
|
|
|
1381
|
+
# Contains the price change information for a subscription that can be used to
|
|
1382
|
+
# control the user journey for the price change in the app. This can be in the
|
|
1383
|
+
# form of seeking confirmation from the user or tailoring the experience for a
|
|
1384
|
+
# successful conversion.
|
|
1385
|
+
class SubscriptionPriceChange
|
|
1386
|
+
include Google::Apis::Core::Hashable
|
|
1387
|
+
|
|
1388
|
+
# The new price the subscription will renew with if the price change is accepted
|
|
1389
|
+
# by the user.
|
|
1390
|
+
# Corresponds to the JSON property `newPrice`
|
|
1391
|
+
# @return [Google::Apis::AndroidpublisherV2::Price]
|
|
1392
|
+
attr_accessor :new_price
|
|
1393
|
+
|
|
1394
|
+
# The current state of the price change. Possible values are:
|
|
1395
|
+
# - Outstanding: State for a pending price change waiting for the user to agree.
|
|
1396
|
+
# In this state, you can optionally seek confirmation from the user using the In-
|
|
1397
|
+
# App API.
|
|
1398
|
+
# - Accepted: State for an accepted price change that the subscription will
|
|
1399
|
+
# renew with unless it's canceled. The price change takes effect on a future
|
|
1400
|
+
# date when the subscription renews. Note that the change might not occur when
|
|
1401
|
+
# the subscription is renewed next.
|
|
1402
|
+
# Corresponds to the JSON property `state`
|
|
1403
|
+
# @return [Fixnum]
|
|
1404
|
+
attr_accessor :state
|
|
1405
|
+
|
|
1406
|
+
def initialize(**args)
|
|
1407
|
+
update!(**args)
|
|
1408
|
+
end
|
|
1409
|
+
|
|
1410
|
+
# Update properties of this object
|
|
1411
|
+
def update!(**args)
|
|
1412
|
+
@new_price = args[:new_price] if args.key?(:new_price)
|
|
1413
|
+
@state = args[:state] if args.key?(:state)
|
|
1414
|
+
end
|
|
1415
|
+
end
|
|
1416
|
+
|
|
1381
1417
|
# A SubscriptionPurchase resource indicates the status of a user's subscription
|
|
1382
1418
|
# purchase.
|
|
1383
1419
|
class SubscriptionPurchase
|
|
@@ -1484,6 +1520,14 @@ module Google
|
|
|
1484
1520
|
# @return [Fixnum]
|
|
1485
1521
|
attr_accessor :price_amount_micros
|
|
1486
1522
|
|
|
1523
|
+
# Contains the price change information for a subscription that can be used to
|
|
1524
|
+
# control the user journey for the price change in the app. This can be in the
|
|
1525
|
+
# form of seeking confirmation from the user or tailoring the experience for a
|
|
1526
|
+
# successful conversion.
|
|
1527
|
+
# Corresponds to the JSON property `priceChange`
|
|
1528
|
+
# @return [Google::Apis::AndroidpublisherV2::SubscriptionPriceChange]
|
|
1529
|
+
attr_accessor :price_change
|
|
1530
|
+
|
|
1487
1531
|
# ISO 4217 currency code for the subscription price. For example, if the price
|
|
1488
1532
|
# is specified in British pounds sterling, price_currency_code is "GBP".
|
|
1489
1533
|
# Corresponds to the JSON property `priceCurrencyCode`
|
|
@@ -1541,6 +1585,7 @@ module Google
|
|
|
1541
1585
|
@order_id = args[:order_id] if args.key?(:order_id)
|
|
1542
1586
|
@payment_state = args[:payment_state] if args.key?(:payment_state)
|
|
1543
1587
|
@price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros)
|
|
1588
|
+
@price_change = args[:price_change] if args.key?(:price_change)
|
|
1544
1589
|
@price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code)
|
|
1545
1590
|
@profile_id = args[:profile_id] if args.key?(:profile_id)
|
|
1546
1591
|
@profile_name = args[:profile_name] if args.key?(:profile_name)
|
|
@@ -274,6 +274,12 @@ module Google
|
|
|
274
274
|
include Google::Apis::Core::JsonObjectSupport
|
|
275
275
|
end
|
|
276
276
|
|
|
277
|
+
class SubscriptionPriceChange
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
277
283
|
class SubscriptionPurchase
|
|
278
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
285
|
|
|
@@ -750,6 +756,15 @@ module Google
|
|
|
750
756
|
end
|
|
751
757
|
end
|
|
752
758
|
|
|
759
|
+
class SubscriptionPriceChange
|
|
760
|
+
# @private
|
|
761
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
762
|
+
property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation
|
|
763
|
+
|
|
764
|
+
property :state, as: 'state'
|
|
765
|
+
end
|
|
766
|
+
end
|
|
767
|
+
|
|
753
768
|
class SubscriptionPurchase
|
|
754
769
|
# @private
|
|
755
770
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -768,6 +783,8 @@ module Google
|
|
|
768
783
|
property :order_id, as: 'orderId'
|
|
769
784
|
property :payment_state, as: 'paymentState'
|
|
770
785
|
property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros'
|
|
786
|
+
property :price_change, as: 'priceChange', class: Google::Apis::AndroidpublisherV2::SubscriptionPriceChange, decorator: Google::Apis::AndroidpublisherV2::SubscriptionPriceChange::Representation
|
|
787
|
+
|
|
771
788
|
property :price_currency_code, as: 'priceCurrencyCode'
|
|
772
789
|
property :profile_id, as: 'profileId'
|
|
773
790
|
property :profile_name, as: 'profileName'
|
|
@@ -668,7 +668,11 @@ module Google
|
|
|
668
668
|
execute_or_queue_command(command, &block)
|
|
669
669
|
end
|
|
670
670
|
|
|
671
|
-
#
|
|
671
|
+
# Uploads a new Android App Bundle to this edit. If you are using the Google API
|
|
672
|
+
# client libraries, please increase the timeout of the http request before
|
|
673
|
+
# calling this endpoint (a timeout of 2 minutes is recommended). See: https://
|
|
674
|
+
# developers.google.com/api-client-library/java/google-api-java-client/errors
|
|
675
|
+
# for an example in java.
|
|
672
676
|
# @param [String] package_name
|
|
673
677
|
# Unique identifier for the Android app that is being updated; for example, "com.
|
|
674
678
|
# spiffygame".
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV3
|
|
27
27
|
VERSION = 'V3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = ''
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -1352,6 +1352,42 @@ module Google
|
|
|
1352
1352
|
end
|
|
1353
1353
|
end
|
|
1354
1354
|
|
|
1355
|
+
# Contains the price change information for a subscription that can be used to
|
|
1356
|
+
# control the user journey for the price change in the app. This can be in the
|
|
1357
|
+
# form of seeking confirmation from the user or tailoring the experience for a
|
|
1358
|
+
# successful conversion.
|
|
1359
|
+
class SubscriptionPriceChange
|
|
1360
|
+
include Google::Apis::Core::Hashable
|
|
1361
|
+
|
|
1362
|
+
# The new price the subscription will renew with if the price change is accepted
|
|
1363
|
+
# by the user.
|
|
1364
|
+
# Corresponds to the JSON property `newPrice`
|
|
1365
|
+
# @return [Google::Apis::AndroidpublisherV3::Price]
|
|
1366
|
+
attr_accessor :new_price
|
|
1367
|
+
|
|
1368
|
+
# The current state of the price change. Possible values are:
|
|
1369
|
+
# - Outstanding: State for a pending price change waiting for the user to agree.
|
|
1370
|
+
# In this state, you can optionally seek confirmation from the user using the In-
|
|
1371
|
+
# App API.
|
|
1372
|
+
# - Accepted: State for an accepted price change that the subscription will
|
|
1373
|
+
# renew with unless it's canceled. The price change takes effect on a future
|
|
1374
|
+
# date when the subscription renews. Note that the change might not occur when
|
|
1375
|
+
# the subscription is renewed next.
|
|
1376
|
+
# Corresponds to the JSON property `state`
|
|
1377
|
+
# @return [Fixnum]
|
|
1378
|
+
attr_accessor :state
|
|
1379
|
+
|
|
1380
|
+
def initialize(**args)
|
|
1381
|
+
update!(**args)
|
|
1382
|
+
end
|
|
1383
|
+
|
|
1384
|
+
# Update properties of this object
|
|
1385
|
+
def update!(**args)
|
|
1386
|
+
@new_price = args[:new_price] if args.key?(:new_price)
|
|
1387
|
+
@state = args[:state] if args.key?(:state)
|
|
1388
|
+
end
|
|
1389
|
+
end
|
|
1390
|
+
|
|
1355
1391
|
# A SubscriptionPurchase resource indicates the status of a user's subscription
|
|
1356
1392
|
# purchase.
|
|
1357
1393
|
class SubscriptionPurchase
|
|
@@ -1458,6 +1494,14 @@ module Google
|
|
|
1458
1494
|
# @return [Fixnum]
|
|
1459
1495
|
attr_accessor :price_amount_micros
|
|
1460
1496
|
|
|
1497
|
+
# Contains the price change information for a subscription that can be used to
|
|
1498
|
+
# control the user journey for the price change in the app. This can be in the
|
|
1499
|
+
# form of seeking confirmation from the user or tailoring the experience for a
|
|
1500
|
+
# successful conversion.
|
|
1501
|
+
# Corresponds to the JSON property `priceChange`
|
|
1502
|
+
# @return [Google::Apis::AndroidpublisherV3::SubscriptionPriceChange]
|
|
1503
|
+
attr_accessor :price_change
|
|
1504
|
+
|
|
1461
1505
|
# ISO 4217 currency code for the subscription price. For example, if the price
|
|
1462
1506
|
# is specified in British pounds sterling, price_currency_code is "GBP".
|
|
1463
1507
|
# Corresponds to the JSON property `priceCurrencyCode`
|
|
@@ -1515,6 +1559,7 @@ module Google
|
|
|
1515
1559
|
@order_id = args[:order_id] if args.key?(:order_id)
|
|
1516
1560
|
@payment_state = args[:payment_state] if args.key?(:payment_state)
|
|
1517
1561
|
@price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros)
|
|
1562
|
+
@price_change = args[:price_change] if args.key?(:price_change)
|
|
1518
1563
|
@price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code)
|
|
1519
1564
|
@profile_id = args[:profile_id] if args.key?(:profile_id)
|
|
1520
1565
|
@profile_name = args[:profile_name] if args.key?(:profile_name)
|
|
@@ -268,6 +268,12 @@ module Google
|
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
+
class SubscriptionPriceChange
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
271
277
|
class SubscriptionPurchase
|
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
279
|
|
|
@@ -741,6 +747,15 @@ module Google
|
|
|
741
747
|
end
|
|
742
748
|
end
|
|
743
749
|
|
|
750
|
+
class SubscriptionPriceChange
|
|
751
|
+
# @private
|
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
753
|
+
property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
|
|
754
|
+
|
|
755
|
+
property :state, as: 'state'
|
|
756
|
+
end
|
|
757
|
+
end
|
|
758
|
+
|
|
744
759
|
class SubscriptionPurchase
|
|
745
760
|
# @private
|
|
746
761
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -759,6 +774,8 @@ module Google
|
|
|
759
774
|
property :order_id, as: 'orderId'
|
|
760
775
|
property :payment_state, as: 'paymentState'
|
|
761
776
|
property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros'
|
|
777
|
+
property :price_change, as: 'priceChange', class: Google::Apis::AndroidpublisherV3::SubscriptionPriceChange, decorator: Google::Apis::AndroidpublisherV3::SubscriptionPriceChange::Representation
|
|
778
|
+
|
|
762
779
|
property :price_currency_code, as: 'priceCurrencyCode'
|
|
763
780
|
property :profile_id, as: 'profileId'
|
|
764
781
|
property :profile_name, as: 'profileName'
|
|
@@ -402,7 +402,11 @@ module Google
|
|
|
402
402
|
execute_or_queue_command(command, &block)
|
|
403
403
|
end
|
|
404
404
|
|
|
405
|
-
#
|
|
405
|
+
# Uploads a new Android App Bundle to this edit. If you are using the Google API
|
|
406
|
+
# client libraries, please increase the timeout of the http request before
|
|
407
|
+
# calling this endpoint (a timeout of 2 minutes is recommended). See: https://
|
|
408
|
+
# developers.google.com/api-client-library/java/google-api-java-client/errors
|
|
409
|
+
# for an example in java.
|
|
406
410
|
# @param [String] package_name
|
|
407
411
|
# Unique identifier for the Android app that is being updated; for example, "com.
|
|
408
412
|
# spiffygame".
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
27
27
|
module AppengineV1beta
|
|
28
28
|
VERSION = 'V1beta'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180707'
|
|
30
30
|
|
|
31
31
|
# View and manage your applications deployed on Google App Engine
|
|
32
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
@@ -909,6 +909,12 @@ module Google
|
|
|
909
909
|
# @return [String]
|
|
910
910
|
attr_accessor :config_id
|
|
911
911
|
|
|
912
|
+
# Enable or disable trace sampling. By default, this is set to false for enabled.
|
|
913
|
+
# Corresponds to the JSON property `disableTraceSampling`
|
|
914
|
+
# @return [Boolean]
|
|
915
|
+
attr_accessor :disable_trace_sampling
|
|
916
|
+
alias_method :disable_trace_sampling?, :disable_trace_sampling
|
|
917
|
+
|
|
912
918
|
# Endpoints service name which is the name of the "service" resource in the
|
|
913
919
|
# Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
|
|
914
920
|
# Corresponds to the JSON property `name`
|
|
@@ -928,6 +934,7 @@ module Google
|
|
|
928
934
|
# Update properties of this object
|
|
929
935
|
def update!(**args)
|
|
930
936
|
@config_id = args[:config_id] if args.key?(:config_id)
|
|
937
|
+
@disable_trace_sampling = args[:disable_trace_sampling] if args.key?(:disable_trace_sampling)
|
|
931
938
|
@name = args[:name] if args.key?(:name)
|
|
932
939
|
@rollout_strategy = args[:rollout_strategy] if args.key?(:rollout_strategy)
|
|
933
940
|
end
|
|
@@ -700,6 +700,7 @@ module Google
|
|
|
700
700
|
# @private
|
|
701
701
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
702
702
|
property :config_id, as: 'configId'
|
|
703
|
+
property :disable_trace_sampling, as: 'disableTraceSampling'
|
|
703
704
|
property :name, as: 'name'
|
|
704
705
|
property :rollout_strategy, as: 'rolloutStrategy'
|
|
705
706
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
27
27
|
module AppengineV1beta4
|
|
28
28
|
VERSION = 'V1beta4'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180707'
|
|
30
30
|
|
|
31
31
|
# View and manage your applications deployed on Google App Engine
|
|
32
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
@@ -518,6 +518,12 @@ module Google
|
|
|
518
518
|
# @return [String]
|
|
519
519
|
attr_accessor :config_id
|
|
520
520
|
|
|
521
|
+
# Enable or disable trace sampling. By default, this is set to false for enabled.
|
|
522
|
+
# Corresponds to the JSON property `disableTraceSampling`
|
|
523
|
+
# @return [Boolean]
|
|
524
|
+
attr_accessor :disable_trace_sampling
|
|
525
|
+
alias_method :disable_trace_sampling?, :disable_trace_sampling
|
|
526
|
+
|
|
521
527
|
# Endpoints service name which is the name of the "service" resource in the
|
|
522
528
|
# Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
|
|
523
529
|
# Corresponds to the JSON property `name`
|
|
@@ -537,6 +543,7 @@ module Google
|
|
|
537
543
|
# Update properties of this object
|
|
538
544
|
def update!(**args)
|
|
539
545
|
@config_id = args[:config_id] if args.key?(:config_id)
|
|
546
|
+
@disable_trace_sampling = args[:disable_trace_sampling] if args.key?(:disable_trace_sampling)
|
|
540
547
|
@name = args[:name] if args.key?(:name)
|
|
541
548
|
@rollout_strategy = args[:rollout_strategy] if args.key?(:rollout_strategy)
|
|
542
549
|
end
|
|
@@ -451,6 +451,7 @@ module Google
|
|
|
451
451
|
# @private
|
|
452
452
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
453
453
|
property :config_id, as: 'configId'
|
|
454
|
+
property :disable_trace_sampling, as: 'disableTraceSampling'
|
|
454
455
|
property :name, as: 'name'
|
|
455
456
|
property :rollout_strategy, as: 'rolloutStrategy'
|
|
456
457
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
27
27
|
module AppengineV1beta5
|
|
28
28
|
VERSION = 'V1beta5'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180707'
|
|
30
30
|
|
|
31
31
|
# View and manage your applications deployed on Google App Engine
|
|
32
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
@@ -518,6 +518,12 @@ module Google
|
|
|
518
518
|
# @return [String]
|
|
519
519
|
attr_accessor :config_id
|
|
520
520
|
|
|
521
|
+
# Enable or disable trace sampling. By default, this is set to false for enabled.
|
|
522
|
+
# Corresponds to the JSON property `disableTraceSampling`
|
|
523
|
+
# @return [Boolean]
|
|
524
|
+
attr_accessor :disable_trace_sampling
|
|
525
|
+
alias_method :disable_trace_sampling?, :disable_trace_sampling
|
|
526
|
+
|
|
521
527
|
# Endpoints service name which is the name of the "service" resource in the
|
|
522
528
|
# Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
|
|
523
529
|
# Corresponds to the JSON property `name`
|
|
@@ -537,6 +543,7 @@ module Google
|
|
|
537
543
|
# Update properties of this object
|
|
538
544
|
def update!(**args)
|
|
539
545
|
@config_id = args[:config_id] if args.key?(:config_id)
|
|
546
|
+
@disable_trace_sampling = args[:disable_trace_sampling] if args.key?(:disable_trace_sampling)
|
|
540
547
|
@name = args[:name] if args.key?(:name)
|
|
541
548
|
@rollout_strategy = args[:rollout_strategy] if args.key?(:rollout_strategy)
|
|
542
549
|
end
|
|
@@ -445,6 +445,7 @@ module Google
|
|
|
445
445
|
# @private
|
|
446
446
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
447
447
|
property :config_id, as: 'configId'
|
|
448
|
+
property :disable_trace_sampling, as: 'disableTraceSampling'
|
|
448
449
|
property :name, as: 'name'
|
|
449
450
|
property :rollout_strategy, as: 'rolloutStrategy'
|
|
450
451
|
end
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/google-apps/activity/
|
|
26
26
|
module AppsactivityV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = ''
|
|
29
29
|
|
|
30
30
|
# View the activity history of your Google apps
|
|
31
31
|
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
|
|
@@ -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 = ''
|
|
29
29
|
|
|
30
30
|
# View and manage your data for this application
|
|
31
31
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
|
@@ -314,6 +314,22 @@ module Google
|
|
|
314
314
|
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
|
315
315
|
attr_accessor :dataset_reference
|
|
316
316
|
|
|
317
|
+
# [Optional] The default partition expiration for all partitioned tables in the
|
|
318
|
+
# dataset, in milliseconds. Once this property is set, all newly-created
|
|
319
|
+
# partitioned tables in the dataset will have an expirationMs property in the
|
|
320
|
+
# timePartitioning settings set to this value, and changing the value will only
|
|
321
|
+
# affect new tables, not existing ones. The storage in a partition will have an
|
|
322
|
+
# expiration time of its partition time plus this value. Setting this property
|
|
323
|
+
# overrides the use of defaultTableExpirationMs for partitioned tables: only one
|
|
324
|
+
# of defaultTableExpirationMs and defaultPartitionExpirationMs will be used for
|
|
325
|
+
# any new partitioned table. If you provide an explicit timePartitioning.
|
|
326
|
+
# expirationMs when creating or updating a partitioned table, that value takes
|
|
327
|
+
# precedence over the default partition expiration time indicated by this
|
|
328
|
+
# property.
|
|
329
|
+
# Corresponds to the JSON property `defaultPartitionExpirationMs`
|
|
330
|
+
# @return [Fixnum]
|
|
331
|
+
attr_accessor :default_partition_expiration_ms
|
|
332
|
+
|
|
317
333
|
# [Optional] The default lifetime of all tables in the dataset, in milliseconds.
|
|
318
334
|
# The minimum value is 3600000 milliseconds (one hour). Once this property is
|
|
319
335
|
# set, all newly-created tables in the dataset will have an expirationTime
|
|
@@ -390,6 +406,7 @@ module Google
|
|
|
390
406
|
@access = args[:access] if args.key?(:access)
|
|
391
407
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
392
408
|
@dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
|
|
409
|
+
@default_partition_expiration_ms = args[:default_partition_expiration_ms] if args.key?(:default_partition_expiration_ms)
|
|
393
410
|
@default_table_expiration_ms = args[:default_table_expiration_ms] if args.key?(:default_table_expiration_ms)
|
|
394
411
|
@description = args[:description] if args.key?(:description)
|
|
395
412
|
@etag = args[:etag] if args.key?(:etag)
|
|
@@ -1148,6 +1165,55 @@ module Google
|
|
|
1148
1165
|
end
|
|
1149
1166
|
end
|
|
1150
1167
|
|
|
1168
|
+
#
|
|
1169
|
+
class IterationResult
|
|
1170
|
+
include Google::Apis::Core::Hashable
|
|
1171
|
+
|
|
1172
|
+
# [Output-only, Beta] Time taken to run the training iteration in milliseconds.
|
|
1173
|
+
# Corresponds to the JSON property `durationMs`
|
|
1174
|
+
# @return [Fixnum]
|
|
1175
|
+
attr_accessor :duration_ms
|
|
1176
|
+
|
|
1177
|
+
# [Output-only, Beta] Eval loss computed on the eval data at the end of the
|
|
1178
|
+
# iteration. The eval loss is used for early stopping to avoid overfitting. No
|
|
1179
|
+
# eval loss if eval_split_method option is specified as no_split or auto_split
|
|
1180
|
+
# with input data size less than 500 rows.
|
|
1181
|
+
# Corresponds to the JSON property `evalLoss`
|
|
1182
|
+
# @return [Float]
|
|
1183
|
+
attr_accessor :eval_loss
|
|
1184
|
+
|
|
1185
|
+
# [Output-only, Beta] Index of the ML training iteration, starting from zero for
|
|
1186
|
+
# each training run.
|
|
1187
|
+
# Corresponds to the JSON property `index`
|
|
1188
|
+
# @return [Fixnum]
|
|
1189
|
+
attr_accessor :index
|
|
1190
|
+
|
|
1191
|
+
# [Output-only, Beta] Learning rate used for this iteration, it varies for
|
|
1192
|
+
# different training iterations if learn_rate_strategy option is not constant.
|
|
1193
|
+
# Corresponds to the JSON property `learnRate`
|
|
1194
|
+
# @return [Float]
|
|
1195
|
+
attr_accessor :learn_rate
|
|
1196
|
+
|
|
1197
|
+
# [Output-only, Beta] Training loss computed on the training data at the end of
|
|
1198
|
+
# the iteration. The training loss function is defined by model type.
|
|
1199
|
+
# Corresponds to the JSON property `trainingLoss`
|
|
1200
|
+
# @return [Float]
|
|
1201
|
+
attr_accessor :training_loss
|
|
1202
|
+
|
|
1203
|
+
def initialize(**args)
|
|
1204
|
+
update!(**args)
|
|
1205
|
+
end
|
|
1206
|
+
|
|
1207
|
+
# Update properties of this object
|
|
1208
|
+
def update!(**args)
|
|
1209
|
+
@duration_ms = args[:duration_ms] if args.key?(:duration_ms)
|
|
1210
|
+
@eval_loss = args[:eval_loss] if args.key?(:eval_loss)
|
|
1211
|
+
@index = args[:index] if args.key?(:index)
|
|
1212
|
+
@learn_rate = args[:learn_rate] if args.key?(:learn_rate)
|
|
1213
|
+
@training_loss = args[:training_loss] if args.key?(:training_loss)
|
|
1214
|
+
end
|
|
1215
|
+
end
|
|
1216
|
+
|
|
1151
1217
|
#
|
|
1152
1218
|
class Job
|
|
1153
1219
|
include Google::Apis::Core::Hashable
|
|
@@ -2105,6 +2171,19 @@ module Google
|
|
|
2105
2171
|
# @return [Fixnum]
|
|
2106
2172
|
attr_accessor :estimated_bytes_processed
|
|
2107
2173
|
|
|
2174
|
+
# [Output-only, Beta] Index of current ML training iteration. Updated during
|
|
2175
|
+
# create model query job to show job progress.
|
|
2176
|
+
# Corresponds to the JSON property `modelTrainingCurrentIteration`
|
|
2177
|
+
# @return [Fixnum]
|
|
2178
|
+
attr_accessor :model_training_current_iteration
|
|
2179
|
+
|
|
2180
|
+
# [Output-only, Beta] Expected number of iterations for the create model query
|
|
2181
|
+
# job specified as num_iterations in the input query. The actual total number of
|
|
2182
|
+
# iterations may be less than this number due to early stop.
|
|
2183
|
+
# Corresponds to the JSON property `modelTrainingExpectedTotalIteration`
|
|
2184
|
+
# @return [Fixnum]
|
|
2185
|
+
attr_accessor :model_training_expected_total_iteration
|
|
2186
|
+
|
|
2108
2187
|
# [Output-only] The number of rows affected by a DML statement. Present only for
|
|
2109
2188
|
# DML statements INSERT, UPDATE or DELETE.
|
|
2110
2189
|
# Corresponds to the JSON property `numDmlAffectedRows`
|
|
@@ -2192,6 +2271,8 @@ module Google
|
|
|
2192
2271
|
@ddl_operation_performed = args[:ddl_operation_performed] if args.key?(:ddl_operation_performed)
|
|
2193
2272
|
@ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
|
|
2194
2273
|
@estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
|
|
2274
|
+
@model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
|
|
2275
|
+
@model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
|
|
2195
2276
|
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
|
2196
2277
|
@query_plan = args[:query_plan] if args.key?(:query_plan)
|
|
2197
2278
|
@referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables)
|
|
@@ -2336,6 +2417,69 @@ module Google
|
|
|
2336
2417
|
end
|
|
2337
2418
|
end
|
|
2338
2419
|
|
|
2420
|
+
#
|
|
2421
|
+
class ModelDefinition
|
|
2422
|
+
include Google::Apis::Core::Hashable
|
|
2423
|
+
|
|
2424
|
+
# [Output-only, Beta] Model options used for the first training run. These
|
|
2425
|
+
# options are immutable for subsequent training runs. Default values are used
|
|
2426
|
+
# for any options not specified in the input query.
|
|
2427
|
+
# Corresponds to the JSON property `modelOptions`
|
|
2428
|
+
# @return [Google::Apis::BigqueryV2::ModelDefinition::ModelOptions]
|
|
2429
|
+
attr_accessor :model_options
|
|
2430
|
+
|
|
2431
|
+
# [Output-only, Beta] Information about ml training runs, each training run
|
|
2432
|
+
# comprises of multiple iterations and there may be multiple training runs for
|
|
2433
|
+
# the model if warm start is used or if a user decides to continue a previously
|
|
2434
|
+
# cancelled query.
|
|
2435
|
+
# Corresponds to the JSON property `trainingRuns`
|
|
2436
|
+
# @return [Array<Google::Apis::BigqueryV2::TrainingRun>]
|
|
2437
|
+
attr_accessor :training_runs
|
|
2438
|
+
|
|
2439
|
+
def initialize(**args)
|
|
2440
|
+
update!(**args)
|
|
2441
|
+
end
|
|
2442
|
+
|
|
2443
|
+
# Update properties of this object
|
|
2444
|
+
def update!(**args)
|
|
2445
|
+
@model_options = args[:model_options] if args.key?(:model_options)
|
|
2446
|
+
@training_runs = args[:training_runs] if args.key?(:training_runs)
|
|
2447
|
+
end
|
|
2448
|
+
|
|
2449
|
+
# [Output-only, Beta] Model options used for the first training run. These
|
|
2450
|
+
# options are immutable for subsequent training runs. Default values are used
|
|
2451
|
+
# for any options not specified in the input query.
|
|
2452
|
+
class ModelOptions
|
|
2453
|
+
include Google::Apis::Core::Hashable
|
|
2454
|
+
|
|
2455
|
+
#
|
|
2456
|
+
# Corresponds to the JSON property `labels`
|
|
2457
|
+
# @return [Array<String>]
|
|
2458
|
+
attr_accessor :labels
|
|
2459
|
+
|
|
2460
|
+
#
|
|
2461
|
+
# Corresponds to the JSON property `lossType`
|
|
2462
|
+
# @return [String]
|
|
2463
|
+
attr_accessor :loss_type
|
|
2464
|
+
|
|
2465
|
+
#
|
|
2466
|
+
# Corresponds to the JSON property `modelType`
|
|
2467
|
+
# @return [String]
|
|
2468
|
+
attr_accessor :model_type
|
|
2469
|
+
|
|
2470
|
+
def initialize(**args)
|
|
2471
|
+
update!(**args)
|
|
2472
|
+
end
|
|
2473
|
+
|
|
2474
|
+
# Update properties of this object
|
|
2475
|
+
def update!(**args)
|
|
2476
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
2477
|
+
@loss_type = args[:loss_type] if args.key?(:loss_type)
|
|
2478
|
+
@model_type = args[:model_type] if args.key?(:model_type)
|
|
2479
|
+
end
|
|
2480
|
+
end
|
|
2481
|
+
end
|
|
2482
|
+
|
|
2339
2483
|
#
|
|
2340
2484
|
class ProjectList
|
|
2341
2485
|
include Google::Apis::Core::Hashable
|
|
@@ -2938,6 +3082,13 @@ module Google
|
|
|
2938
3082
|
# @return [String]
|
|
2939
3083
|
attr_accessor :location
|
|
2940
3084
|
|
|
3085
|
+
# [Output-only, Beta] Present iff this table represents a ML model. Describes
|
|
3086
|
+
# the training information for the model, and it is required to run 'PREDICT'
|
|
3087
|
+
# queries.
|
|
3088
|
+
# Corresponds to the JSON property `model`
|
|
3089
|
+
# @return [Google::Apis::BigqueryV2::ModelDefinition]
|
|
3090
|
+
attr_accessor :model
|
|
3091
|
+
|
|
2941
3092
|
# [Output-only] The size of this table in bytes, excluding any data in the
|
|
2942
3093
|
# streaming buffer.
|
|
2943
3094
|
# Corresponds to the JSON property `numBytes`
|
|
@@ -3015,6 +3166,7 @@ module Google
|
|
|
3015
3166
|
@labels = args[:labels] if args.key?(:labels)
|
|
3016
3167
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
|
3017
3168
|
@location = args[:location] if args.key?(:location)
|
|
3169
|
+
@model = args[:model] if args.key?(:model)
|
|
3018
3170
|
@num_bytes = args[:num_bytes] if args.key?(:num_bytes)
|
|
3019
3171
|
@num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
|
|
3020
3172
|
@num_rows = args[:num_rows] if args.key?(:num_rows)
|
|
@@ -3533,6 +3685,123 @@ module Google
|
|
|
3533
3685
|
end
|
|
3534
3686
|
end
|
|
3535
3687
|
|
|
3688
|
+
#
|
|
3689
|
+
class TrainingRun
|
|
3690
|
+
include Google::Apis::Core::Hashable
|
|
3691
|
+
|
|
3692
|
+
# [Output-only, Beta] List of each iteration results.
|
|
3693
|
+
# Corresponds to the JSON property `iterationResults`
|
|
3694
|
+
# @return [Array<Google::Apis::BigqueryV2::IterationResult>]
|
|
3695
|
+
attr_accessor :iteration_results
|
|
3696
|
+
|
|
3697
|
+
# [Output-only, Beta] Training run start time in milliseconds since the epoch.
|
|
3698
|
+
# Corresponds to the JSON property `startTime`
|
|
3699
|
+
# @return [DateTime]
|
|
3700
|
+
attr_accessor :start_time
|
|
3701
|
+
|
|
3702
|
+
# [Output-only, Beta] Different state applicable for a training run. IN PROGRESS:
|
|
3703
|
+
# Training run is in progress. FAILED: Training run ended due to a non-
|
|
3704
|
+
# retryable failure. SUCCEEDED: Training run successfully completed. CANCELLED:
|
|
3705
|
+
# Training run cancelled by the user.
|
|
3706
|
+
# Corresponds to the JSON property `state`
|
|
3707
|
+
# @return [String]
|
|
3708
|
+
attr_accessor :state
|
|
3709
|
+
|
|
3710
|
+
# [Output-only, Beta] Training options used by this training run. These options
|
|
3711
|
+
# are mutable for subsequent training runs. Default values are explicitly stored
|
|
3712
|
+
# for options not specified in the input query of the first training run. For
|
|
3713
|
+
# subsequent training runs, any option not explicitly specified in the input
|
|
3714
|
+
# query will be copied from the previous training run.
|
|
3715
|
+
# Corresponds to the JSON property `trainingOptions`
|
|
3716
|
+
# @return [Google::Apis::BigqueryV2::TrainingRun::TrainingOptions]
|
|
3717
|
+
attr_accessor :training_options
|
|
3718
|
+
|
|
3719
|
+
def initialize(**args)
|
|
3720
|
+
update!(**args)
|
|
3721
|
+
end
|
|
3722
|
+
|
|
3723
|
+
# Update properties of this object
|
|
3724
|
+
def update!(**args)
|
|
3725
|
+
@iteration_results = args[:iteration_results] if args.key?(:iteration_results)
|
|
3726
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
3727
|
+
@state = args[:state] if args.key?(:state)
|
|
3728
|
+
@training_options = args[:training_options] if args.key?(:training_options)
|
|
3729
|
+
end
|
|
3730
|
+
|
|
3731
|
+
# [Output-only, Beta] Training options used by this training run. These options
|
|
3732
|
+
# are mutable for subsequent training runs. Default values are explicitly stored
|
|
3733
|
+
# for options not specified in the input query of the first training run. For
|
|
3734
|
+
# subsequent training runs, any option not explicitly specified in the input
|
|
3735
|
+
# query will be copied from the previous training run.
|
|
3736
|
+
class TrainingOptions
|
|
3737
|
+
include Google::Apis::Core::Hashable
|
|
3738
|
+
|
|
3739
|
+
#
|
|
3740
|
+
# Corresponds to the JSON property `earlyStop`
|
|
3741
|
+
# @return [Boolean]
|
|
3742
|
+
attr_accessor :early_stop
|
|
3743
|
+
alias_method :early_stop?, :early_stop
|
|
3744
|
+
|
|
3745
|
+
#
|
|
3746
|
+
# Corresponds to the JSON property `l1Reg`
|
|
3747
|
+
# @return [Float]
|
|
3748
|
+
attr_accessor :l1_reg
|
|
3749
|
+
|
|
3750
|
+
#
|
|
3751
|
+
# Corresponds to the JSON property `l2Reg`
|
|
3752
|
+
# @return [Float]
|
|
3753
|
+
attr_accessor :l2_reg
|
|
3754
|
+
|
|
3755
|
+
#
|
|
3756
|
+
# Corresponds to the JSON property `learnRate`
|
|
3757
|
+
# @return [Float]
|
|
3758
|
+
attr_accessor :learn_rate
|
|
3759
|
+
|
|
3760
|
+
#
|
|
3761
|
+
# Corresponds to the JSON property `learnRateStrategy`
|
|
3762
|
+
# @return [String]
|
|
3763
|
+
attr_accessor :learn_rate_strategy
|
|
3764
|
+
|
|
3765
|
+
#
|
|
3766
|
+
# Corresponds to the JSON property `lineSearchInitLearnRate`
|
|
3767
|
+
# @return [Float]
|
|
3768
|
+
attr_accessor :line_search_init_learn_rate
|
|
3769
|
+
|
|
3770
|
+
#
|
|
3771
|
+
# Corresponds to the JSON property `maxIteration`
|
|
3772
|
+
# @return [Fixnum]
|
|
3773
|
+
attr_accessor :max_iteration
|
|
3774
|
+
|
|
3775
|
+
#
|
|
3776
|
+
# Corresponds to the JSON property `minRelProgress`
|
|
3777
|
+
# @return [Float]
|
|
3778
|
+
attr_accessor :min_rel_progress
|
|
3779
|
+
|
|
3780
|
+
#
|
|
3781
|
+
# Corresponds to the JSON property `warmStart`
|
|
3782
|
+
# @return [Boolean]
|
|
3783
|
+
attr_accessor :warm_start
|
|
3784
|
+
alias_method :warm_start?, :warm_start
|
|
3785
|
+
|
|
3786
|
+
def initialize(**args)
|
|
3787
|
+
update!(**args)
|
|
3788
|
+
end
|
|
3789
|
+
|
|
3790
|
+
# Update properties of this object
|
|
3791
|
+
def update!(**args)
|
|
3792
|
+
@early_stop = args[:early_stop] if args.key?(:early_stop)
|
|
3793
|
+
@l1_reg = args[:l1_reg] if args.key?(:l1_reg)
|
|
3794
|
+
@l2_reg = args[:l2_reg] if args.key?(:l2_reg)
|
|
3795
|
+
@learn_rate = args[:learn_rate] if args.key?(:learn_rate)
|
|
3796
|
+
@learn_rate_strategy = args[:learn_rate_strategy] if args.key?(:learn_rate_strategy)
|
|
3797
|
+
@line_search_init_learn_rate = args[:line_search_init_learn_rate] if args.key?(:line_search_init_learn_rate)
|
|
3798
|
+
@max_iteration = args[:max_iteration] if args.key?(:max_iteration)
|
|
3799
|
+
@min_rel_progress = args[:min_rel_progress] if args.key?(:min_rel_progress)
|
|
3800
|
+
@warm_start = args[:warm_start] if args.key?(:warm_start)
|
|
3801
|
+
end
|
|
3802
|
+
end
|
|
3803
|
+
end
|
|
3804
|
+
|
|
3536
3805
|
#
|
|
3537
3806
|
class UserDefinedFunctionResource
|
|
3538
3807
|
include Google::Apis::Core::Hashable
|