google-api-client 0.19.7 → 0.19.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  5. data/generated/google/apis/androidmanagement_v1/classes.rb +54 -8
  6. data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
  7. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v1_1/classes.rb +2 -1
  9. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  10. data/generated/google/apis/androidpublisher_v2/classes.rb +8 -7
  11. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  12. data/generated/google/apis/appengine_v1.rb +1 -1
  13. data/generated/google/apis/appengine_v1/classes.rb +18 -16
  14. data/generated/google/apis/appengine_v1/service.rb +5 -5
  15. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  16. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  17. data/generated/google/apis/appengine_v1beta.rb +1 -1
  18. data/generated/google/apis/appengine_v1beta/classes.rb +25 -16
  19. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  20. data/generated/google/apis/appengine_v1beta/service.rb +5 -5
  21. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  22. data/generated/google/apis/appengine_v1beta4/classes.rb +2 -2
  23. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta5/classes.rb +2 -2
  25. data/generated/google/apis/bigquery_v2.rb +1 -1
  26. data/generated/google/apis/bigquery_v2/classes.rb +42 -5
  27. data/generated/google/apis/bigquery_v2/representations.rb +18 -2
  28. data/generated/google/apis/cloudiot_v1.rb +1 -1
  29. data/generated/google/apis/cloudiot_v1/classes.rb +128 -59
  30. data/generated/google/apis/cloudiot_v1/representations.rb +31 -18
  31. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  32. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -3
  33. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  34. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -4
  35. data/generated/google/apis/compute_alpha.rb +1 -1
  36. data/generated/google/apis/compute_alpha/classes.rb +40 -14
  37. data/generated/google/apis/compute_alpha/representations.rb +5 -1
  38. data/generated/google/apis/compute_alpha/service.rb +131 -0
  39. data/generated/google/apis/compute_beta.rb +1 -1
  40. data/generated/google/apis/compute_beta/classes.rb +67 -10
  41. data/generated/google/apis/compute_beta/representations.rb +17 -0
  42. data/generated/google/apis/compute_beta/service.rb +52 -0
  43. data/generated/google/apis/compute_v1.rb +1 -1
  44. data/generated/google/apis/compute_v1/classes.rb +6 -5
  45. data/generated/google/apis/container_v1beta1.rb +1 -1
  46. data/generated/google/apis/container_v1beta1/classes.rb +44 -0
  47. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  48. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  49. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  50. data/generated/google/apis/dataproc_v1beta2/service.rb +3 -1
  51. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  52. data/generated/google/apis/deploymentmanager_alpha/service.rb +4 -1
  53. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  54. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +102 -0
  55. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +49 -0
  56. data/generated/google/apis/deploymentmanager_v2beta/service.rb +4 -1
  57. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  58. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -10
  59. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  60. data/generated/google/apis/dlp_v2beta2/classes.rb +583 -0
  61. data/generated/google/apis/dlp_v2beta2/representations.rb +258 -0
  62. data/generated/google/apis/dlp_v2beta2/service.rb +181 -0
  63. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  64. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -0
  65. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  66. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +2 -2
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/logging_v2.rb +1 -1
  69. data/generated/google/apis/logging_v2/classes.rb +5 -3
  70. data/generated/google/apis/logging_v2beta1.rb +1 -1
  71. data/generated/google/apis/logging_v2beta1/classes.rb +5 -3
  72. data/generated/google/apis/manufacturers_v1.rb +1 -1
  73. data/generated/google/apis/manufacturers_v1/service.rb +13 -13
  74. data/generated/google/apis/ml_v1.rb +1 -1
  75. data/generated/google/apis/ml_v1/classes.rb +0 -142
  76. data/generated/google/apis/ml_v1/representations.rb +0 -26
  77. data/generated/google/apis/ml_v1/service.rb +3 -63
  78. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  79. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +3 -3
  80. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +18 -17
  81. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  82. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -1
  83. data/generated/google/apis/serviceusage_v1.rb +42 -0
  84. data/generated/google/apis/serviceusage_v1/classes.rb +3862 -0
  85. data/generated/google/apis/serviceusage_v1/representations.rb +1186 -0
  86. data/generated/google/apis/serviceusage_v1/service.rb +406 -0
  87. data/generated/google/apis/slides_v1.rb +1 -1
  88. data/generated/google/apis/slides_v1/classes.rb +13 -0
  89. data/generated/google/apis/slides_v1/representations.rb +3 -0
  90. data/generated/google/apis/spanner_v1.rb +1 -1
  91. data/generated/google/apis/spanner_v1/classes.rb +3 -3
  92. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  93. data/lib/google/apis/version.rb +1 -1
  94. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9178bd061b0da8aab83f514ff2368b0b0eb7e2b
4
- data.tar.gz: f78e42f57e0d9d9913cbf1937f0af5d6e29c7cb3
3
+ metadata.gz: c311315d4e1c041d8160863c6bcee621d9090ed3
4
+ data.tar.gz: 3eb8d55f2f853632ac2c999d78796de2cdb6efac
5
5
  SHA512:
6
- metadata.gz: 0c897b30e4e53009ac6200a8c4d13c727a0afa74537ef9fdb71cdd17b62da1571066145c05a5e6c82b576892af408af0d26f3dfe6bc1f34cf6aae9fbf4c52e72
7
- data.tar.gz: f76e611e2c97dce0da7b4b84afd839e0c3bb8c83a464ee2ba72923b79cf87179519410cf598e48bfad3ce3ea99c857be118e46a4f6dfdde1e3d770a894868c41
6
+ metadata.gz: 954022518c78395a4d622ccd2deabea1333f4f049cbed266f749ff7cbddde9513f3cf06e6851e31a3c47d3ab525e534657181244e2ac58dd7be1d82da7f91f2f
7
+ data.tar.gz: bd334569f764aff11fca93f043cf298cda1b1e09e42818308203f8254b706af9d7524111a02647514da0fedffa68c95a77900c8a9cb12b9d395a2518ded9331c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,40 @@
1
+ # 0.19.8
2
+ * Backwards compatible changes:
3
+ * Added `serviceusage_v1`
4
+ * Updated `adexchangebuyer2_v2beta1`
5
+ * Updated `androidmanagement_v1`
6
+ * Updated `androidpublisher_v1_1`
7
+ * Updated `androidpublisher_v2`
8
+ * Updated `appengine_v1`
9
+ * Updated `appengine_v1alpha`
10
+ * Updated `appengine_v1beta`
11
+ * Updated `appengine_v1beta4`
12
+ * Updated `appengine_v1beta5`
13
+ * Updated `bigquery_v2`
14
+ * Updated `cloudiot_v1`
15
+ * Updated `cloudresourcemanager_v1`
16
+ * Updated `cloudresourcemanager_v1beta1`
17
+ * Updated `compute_alpha`
18
+ * Updated `compute_beta`
19
+ * Updated `compute_v1`
20
+ * Updated `container_v1beta1`
21
+ * Updated `dataproc_v1beta2`
22
+ * Updated `deploymentmanager_alpha`
23
+ * Updated `deploymentmanager_v2beta`
24
+ * Updated `dialogflow_v2beta1`
25
+ * Updated `dlp_v2beta2`
26
+ * Updated `doubleclickbidmanager_v1`
27
+ * Updated `drive_v2`
28
+ * Updated `logging_v2`
29
+ * Updated `logging_v2beta1`
30
+ * Updated `manufacturers_v1`
31
+ * Updated `ml_v1`
32
+ * Updated `runtimeconfig_v1beta1`
33
+ * Updated `safebrowsing_v4`
34
+ * Updated `slides_v1`
35
+ * Updated `spanner_v1`
36
+ * Updated `youtube_partner_v1`
37
+
1
38
  # 0.19.7
2
39
  * Backwards compatible changes:
3
40
  * Updated `androiddeviceprovisioning_v1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20180130'
29
+ REVISION = '20180215'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180129'
29
+ REVISION = '20180207'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -152,6 +152,11 @@ module Google
152
152
  # @return [String]
153
153
  attr_accessor :default_permission_policy
154
154
 
155
+ # The scopes delegated to the app from Android Device Policy.
156
+ # Corresponds to the JSON property `delegatedScopes`
157
+ # @return [Array<String>]
158
+ attr_accessor :delegated_scopes
159
+
155
160
  # The type of installation to perform.
156
161
  # Corresponds to the JSON property `installType`
157
162
  # @return [String]
@@ -177,6 +182,16 @@ module Google
177
182
  # @return [Hash<String,Object>]
178
183
  attr_accessor :managed_configuration
179
184
 
185
+ # The minimum version of the app that runs on the device. If set, the device
186
+ # attempts to update the app to at least this version code. If the app is not up-
187
+ # to-date, the device will contain a NonComplianceDetail with
188
+ # non_compliance_reason set to APP_NOT_UPDATED. The app must already be
189
+ # published to Google Play with a version code greater than or equal to this
190
+ # value. At most 20 apps may specify a minimum version code per policy.
191
+ # Corresponds to the JSON property `minimumVersionCode`
192
+ # @return [Fixnum]
193
+ attr_accessor :minimum_version_code
194
+
180
195
  # The package name of the app. For example, com.google.android.youtube for the
181
196
  # YouTube app.
182
197
  # Corresponds to the JSON property `packageName`
@@ -196,9 +211,11 @@ module Google
196
211
  # Update properties of this object
197
212
  def update!(**args)
198
213
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
214
+ @delegated_scopes = args[:delegated_scopes] if args.key?(:delegated_scopes)
199
215
  @install_type = args[:install_type] if args.key?(:install_type)
200
216
  @lock_task_allowed = args[:lock_task_allowed] if args.key?(:lock_task_allowed)
201
217
  @managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
218
+ @minimum_version_code = args[:minimum_version_code] if args.key?(:minimum_version_code)
202
219
  @package_name = args[:package_name] if args.key?(:package_name)
203
220
  @permission_grants = args[:permission_grants] if args.key?(:permission_grants)
204
221
  end
@@ -501,13 +518,14 @@ module Google
501
518
  class DeviceSettings
502
519
  include Google::Apis::Core::Hashable
503
520
 
504
- # If the ADB is enabled Settings.Global.ADB_ENABLED.
521
+ # Whether ADB (https://developer.android.com/studio/command-line/adb.html) is
522
+ # enabled on the device.
505
523
  # Corresponds to the JSON property `adbEnabled`
506
524
  # @return [Boolean]
507
525
  attr_accessor :adb_enabled
508
526
  alias_method :adb_enabled?, :adb_enabled
509
527
 
510
- # If the developer mode is enabled Settings.Global.DEVELOPMENT_SETTINGS_ENABLED.
528
+ # Whether developer mode is enabled on the device.
511
529
  # Corresponds to the JSON property `developmentSettingsEnabled`
512
530
  # @return [Boolean]
513
531
  attr_accessor :development_settings_enabled
@@ -518,27 +536,31 @@ module Google
518
536
  # @return [String]
519
537
  attr_accessor :encryption_status
520
538
 
521
- # Device secured with PIN/password.
539
+ # Whether the device is secured with PIN/password.
522
540
  # Corresponds to the JSON property `isDeviceSecure`
523
541
  # @return [Boolean]
524
542
  attr_accessor :is_device_secure
525
543
  alias_method :is_device_secure?, :is_device_secure
526
544
 
527
- # Whether the storage encryption is enabled DevicePolicyManager.
528
- # ENCRYPTION_STATUS_ACTIVE or DevicePolicyManager.
529
- # ENCRYPTION_STATUS_ACTIVE_PER_USER in N+ devices.
545
+ # Whether the storage encryption is enabled.
530
546
  # Corresponds to the JSON property `isEncrypted`
531
547
  # @return [Boolean]
532
548
  attr_accessor :is_encrypted
533
549
  alias_method :is_encrypted?, :is_encrypted
534
550
 
535
- # If installing apps from unknown sources is enabled. Settings.Secure.
536
- # INSTALL_NON_MARKET_APPS.
551
+ # Whether installing apps from unknown sources is enabled.
537
552
  # Corresponds to the JSON property `unknownSourcesEnabled`
538
553
  # @return [Boolean]
539
554
  attr_accessor :unknown_sources_enabled
540
555
  alias_method :unknown_sources_enabled?, :unknown_sources_enabled
541
556
 
557
+ # Whether Verify Apps (Google Play Protect (https://support.google.com/
558
+ # googleplay/answer/2812853)) is enabled on the device.
559
+ # Corresponds to the JSON property `verifyAppsEnabled`
560
+ # @return [Boolean]
561
+ attr_accessor :verify_apps_enabled
562
+ alias_method :verify_apps_enabled?, :verify_apps_enabled
563
+
542
564
  def initialize(**args)
543
565
  update!(**args)
544
566
  end
@@ -551,6 +573,7 @@ module Google
551
573
  @is_device_secure = args[:is_device_secure] if args.key?(:is_device_secure)
552
574
  @is_encrypted = args[:is_encrypted] if args.key?(:is_encrypted)
553
575
  @unknown_sources_enabled = args[:unknown_sources_enabled] if args.key?(:unknown_sources_enabled)
576
+ @verify_apps_enabled = args[:verify_apps_enabled] if args.key?(:verify_apps_enabled)
554
577
  end
555
578
  end
556
579
 
@@ -1187,6 +1210,11 @@ module Google
1187
1210
  # @return [String]
1188
1211
  attr_accessor :meid
1189
1212
 
1213
+ # Alphabetic name of current registered operator. For example, Vodafone.
1214
+ # Corresponds to the JSON property `networkOperatorName`
1215
+ # @return [String]
1216
+ attr_accessor :network_operator_name
1217
+
1190
1218
  # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.
1191
1219
  # Corresponds to the JSON property `wifiMacAddress`
1192
1220
  # @return [String]
@@ -1200,6 +1228,7 @@ module Google
1200
1228
  def update!(**args)
1201
1229
  @imei = args[:imei] if args.key?(:imei)
1202
1230
  @meid = args[:meid] if args.key?(:meid)
1231
+ @network_operator_name = args[:network_operator_name] if args.key?(:network_operator_name)
1203
1232
  @wifi_mac_address = args[:wifi_mac_address] if args.key?(:wifi_mac_address)
1204
1233
  end
1205
1234
  end
@@ -1592,6 +1621,13 @@ module Google
1592
1621
  # @return [Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage]
1593
1622
  attr_accessor :always_on_vpn_package
1594
1623
 
1624
+ # The app tracks for Android Device Policy the device can access. The device
1625
+ # receives the latest version among all accessible tracks. If no tracks are
1626
+ # specified, then the device only uses the production track.
1627
+ # Corresponds to the JSON property `androidDevicePolicyTracks`
1628
+ # @return [Array<String>]
1629
+ attr_accessor :android_device_policy_tracks
1630
+
1595
1631
  # Policy applied to apps.
1596
1632
  # Corresponds to the JSON property `applications`
1597
1633
  # @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>]
@@ -1961,6 +1997,7 @@ module Google
1961
1997
  @add_user_disabled = args[:add_user_disabled] if args.key?(:add_user_disabled)
1962
1998
  @adjust_volume_disabled = args[:adjust_volume_disabled] if args.key?(:adjust_volume_disabled)
1963
1999
  @always_on_vpn_package = args[:always_on_vpn_package] if args.key?(:always_on_vpn_package)
2000
+ @android_device_policy_tracks = args[:android_device_policy_tracks] if args.key?(:android_device_policy_tracks)
1964
2001
  @applications = args[:applications] if args.key?(:applications)
1965
2002
  @auto_time_required = args[:auto_time_required] if args.key?(:auto_time_required)
1966
2003
  @block_applications_enabled = args[:block_applications_enabled] if args.key?(:block_applications_enabled)
@@ -2153,6 +2190,14 @@ module Google
2153
2190
  # @return [String]
2154
2191
  attr_accessor :bootloader_version
2155
2192
 
2193
+ # SHA-256 hash of android.content.pm.Signature (https://developer.android.com/
2194
+ # reference/android/content/pm/Signature.html) associated with the system
2195
+ # package, which can be used to verify that the system build hasn't been
2196
+ # modified.
2197
+ # Corresponds to the JSON property `deviceBuildSignature`
2198
+ # @return [String]
2199
+ attr_accessor :device_build_signature
2200
+
2156
2201
  # Kernel version, for example, 2.6.32.9-g103d848.
2157
2202
  # Corresponds to the JSON property `deviceKernelVersion`
2158
2203
  # @return [String]
@@ -2175,6 +2220,7 @@ module Google
2175
2220
  @android_device_policy_version_name = args[:android_device_policy_version_name] if args.key?(:android_device_policy_version_name)
2176
2221
  @android_version = args[:android_version] if args.key?(:android_version)
2177
2222
  @bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
2223
+ @device_build_signature = args[:device_build_signature] if args.key?(:device_build_signature)
2178
2224
  @device_kernel_version = args[:device_kernel_version] if args.key?(:device_kernel_version)
2179
2225
  @security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level)
2180
2226
  end
@@ -308,9 +308,11 @@ module Google
308
308
  # @private
309
309
  class Representation < Google::Apis::Core::JsonRepresentation
310
310
  property :default_permission_policy, as: 'defaultPermissionPolicy'
311
+ collection :delegated_scopes, as: 'delegatedScopes'
311
312
  property :install_type, as: 'installType'
312
313
  property :lock_task_allowed, as: 'lockTaskAllowed'
313
314
  hash :managed_configuration, as: 'managedConfiguration'
315
+ property :minimum_version_code, as: 'minimumVersionCode'
314
316
  property :package_name, as: 'packageName'
315
317
  collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation
316
318
 
@@ -392,6 +394,7 @@ module Google
392
394
  property :is_device_secure, as: 'isDeviceSecure'
393
395
  property :is_encrypted, as: 'isEncrypted'
394
396
  property :unknown_sources_enabled, as: 'unknownSourcesEnabled'
397
+ property :verify_apps_enabled, as: 'verifyAppsEnabled'
395
398
  end
396
399
  end
397
400
 
@@ -554,6 +557,7 @@ module Google
554
557
  class Representation < Google::Apis::Core::JsonRepresentation
555
558
  property :imei, as: 'imei'
556
559
  property :meid, as: 'meid'
560
+ property :network_operator_name, as: 'networkOperatorName'
557
561
  property :wifi_mac_address, as: 'wifiMacAddress'
558
562
  end
559
563
  end
@@ -640,6 +644,7 @@ module Google
640
644
  property :adjust_volume_disabled, as: 'adjustVolumeDisabled'
641
645
  property :always_on_vpn_package, as: 'alwaysOnVpnPackage', class: Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage, decorator: Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage::Representation
642
646
 
647
+ collection :android_device_policy_tracks, as: 'androidDevicePolicyTracks'
643
648
  collection :applications, as: 'applications', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation
644
649
 
645
650
  property :auto_time_required, as: 'autoTimeRequired'
@@ -746,6 +751,7 @@ module Google
746
751
  property :android_device_policy_version_name, as: 'androidDevicePolicyVersionName'
747
752
  property :android_version, as: 'androidVersion'
748
753
  property :bootloader_version, as: 'bootloaderVersion'
754
+ property :device_build_signature, as: 'deviceBuildSignature'
749
755
  property :device_kernel_version, as: 'deviceKernelVersion'
750
756
  property :security_patch_level, as: 'securityPatchLevel'
751
757
  end
@@ -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 = '20171207'
28
+ REVISION = '20180211'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -52,7 +52,7 @@ module Google
52
52
 
53
53
  # The purchase state of the order. Possible values are:
54
54
  # - Purchased
55
- # - Cancelled
55
+ # - Canceled
56
56
  # Corresponds to the JSON property `purchaseState`
57
57
  # @return [Fixnum]
58
58
  attr_accessor :purchase_state
@@ -67,6 +67,7 @@ module Google
67
67
  # purchase was not made using the standard in-app billing flow. Possible values
68
68
  # are:
69
69
  # - Test (i.e. purchased from a license testing account)
70
+ # - Promo (i.e. purchased using a promo code)
70
71
  # Corresponds to the JSON property `purchaseType`
71
72
  # @return [Fixnum]
72
73
  attr_accessor :purchase_type
@@ -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 = '20180114'
28
+ REVISION = '20180211'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -1096,7 +1096,7 @@ module Google
1096
1096
 
1097
1097
  # The purchase state of the order. Possible values are:
1098
1098
  # - Purchased
1099
- # - Cancelled
1099
+ # - Canceled
1100
1100
  # Corresponds to the JSON property `purchaseState`
1101
1101
  # @return [Fixnum]
1102
1102
  attr_accessor :purchase_state
@@ -1111,6 +1111,7 @@ module Google
1111
1111
  # purchase was not made using the standard in-app billing flow. Possible values
1112
1112
  # are:
1113
1113
  # - Test (i.e. purchased from a license testing account)
1114
+ # - Promo (i.e. purchased using a promo code)
1114
1115
  # Corresponds to the JSON property `purchaseType`
1115
1116
  # @return [Fixnum]
1116
1117
  attr_accessor :purchase_type
@@ -1359,13 +1360,13 @@ module Google
1359
1360
  attr_accessor :auto_renewing
1360
1361
  alias_method :auto_renewing?, :auto_renewing
1361
1362
 
1362
- # The reason why a subscription was cancelled or is not auto-renewing. Possible
1363
+ # The reason why a subscription was canceled or is not auto-renewing. Possible
1363
1364
  # values are:
1364
- # - User cancelled the subscription
1365
- # - Subscription was cancelled by the system, for example because of a billing
1365
+ # - User canceled the subscription
1366
+ # - Subscription was canceled by the system, for example because of a billing
1366
1367
  # problem
1367
1368
  # - Subscription was replaced with a new subscription
1368
- # - Subscription was cancelled by the developer
1369
+ # - Subscription was canceled by the developer
1369
1370
  # Corresponds to the JSON property `cancelReason`
1370
1371
  # @return [Fixnum]
1371
1372
  attr_accessor :cancel_reason
@@ -1740,7 +1741,7 @@ module Google
1740
1741
  end
1741
1742
  end
1742
1743
 
1743
- # A VoidedPurchase resource indicates a purchase that was either cancelled/
1744
+ # A VoidedPurchase resource indicates a purchase that was either canceled/
1744
1745
  # refunded/charged-back.
1745
1746
  class VoidedPurchase
1746
1747
  include Google::Apis::Core::Hashable
@@ -1762,7 +1763,7 @@ module Google
1762
1763
  # @return [String]
1763
1764
  attr_accessor :purchase_token
1764
1765
 
1765
- # The time at which the purchase was cancelled/refunded/charged-back, in
1766
+ # The time at which the purchase was canceled/refunded/charged-back, in
1766
1767
  # milliseconds since the epoch (Jan 1, 1970).
1767
1768
  # Corresponds to the JSON property `voidedTimeMillis`
1768
1769
  # @return [Fixnum]
@@ -2355,7 +2355,7 @@ module Google
2355
2355
  execute_or_queue_command(command, &block)
2356
2356
  end
2357
2357
 
2358
- # Lists the purchases that were cancelled, refunded or charged-back.
2358
+ # Lists the purchases that were canceled, refunded or charged-back.
2359
2359
  # @param [String] package_name
2360
2360
  # The package name of the application for which voided purchases need to be
2361
2361
  # returned (for example, 'com.some.thing').
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180129'
29
+ REVISION = '20180209'
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'
@@ -151,10 +151,10 @@ module Google
151
151
  # @return [String]
152
152
  attr_accessor :id
153
153
 
154
- # Location from which this application will be run. Application instances will
155
- # run out of data centers in the chosen location, which is also where all of the
156
- # application's end user content is stored.Defaults to us-central.Options are:us-
157
- # central - Central USeurope-west - Western Europeus-east1 - Eastern US
154
+ # Location from which this application runs. Application instances run out of
155
+ # the data centers in the specified location, which is also where all of the
156
+ # application's end user content is stored.Defaults to us-central1.View the list
157
+ # of supported locations (https://cloud.google.com/appengine/docs/locations).
158
158
  # Corresponds to the JSON property `locationId`
159
159
  # @return [String]
160
160
  attr_accessor :location_id
@@ -339,7 +339,8 @@ module Google
339
339
  # @return [String]
340
340
  attr_accessor :max_pending_latency
341
341
 
342
- # Maximum number of instances that should be started to handle requests.
342
+ # Maximum number of instances that should be started to handle requests for this
343
+ # version.
343
344
  # Corresponds to the JSON property `maxTotalInstances`
344
345
  # @return [Fixnum]
345
346
  attr_accessor :max_total_instances
@@ -356,7 +357,7 @@ module Google
356
357
  # @return [String]
357
358
  attr_accessor :min_pending_latency
358
359
 
359
- # Minimum number of instances that should be maintained for this version.
360
+ # Minimum number of running instances that should be maintained for this version.
360
361
  # Corresponds to the JSON property `minTotalInstances`
361
362
  # @return [Fixnum]
362
363
  attr_accessor :min_total_instances
@@ -1485,13 +1486,13 @@ module Google
1485
1486
  class LocationMetadata
1486
1487
  include Google::Apis::Core::Hashable
1487
1488
 
1488
- # App Engine Flexible Environment is available in the given location.@OutputOnly
1489
+ # App Engine flexible environment is available in the given location.@OutputOnly
1489
1490
  # Corresponds to the JSON property `flexibleEnvironmentAvailable`
1490
1491
  # @return [Boolean]
1491
1492
  attr_accessor :flexible_environment_available
1492
1493
  alias_method :flexible_environment_available?, :flexible_environment_available
1493
1494
 
1494
- # App Engine Standard Environment is available in the given location.@OutputOnly
1495
+ # App Engine standard environment is available in the given location.@OutputOnly
1495
1496
  # Corresponds to the JSON property `standardEnvironmentAvailable`
1496
1497
  # @return [Boolean]
1497
1498
  attr_accessor :standard_environment_available
@@ -1540,8 +1541,8 @@ module Google
1540
1541
  # @return [Array<String>]
1541
1542
  attr_accessor :forwarded_ports
1542
1543
 
1543
- # Tag to apply to the VM instance during creation. for Only applicable in the
1544
- # App Engine flexible environment.
1544
+ # Tag to apply to the instance during creation. Only applicable in the App
1545
+ # Engine flexible environment.
1545
1546
  # Corresponds to the JSON property `instanceTag`
1546
1547
  # @return [String]
1547
1548
  attr_accessor :instance_tag
@@ -1556,13 +1557,13 @@ module Google
1556
1557
  # Specify the short name, not the resource path.If a subnetwork name is
1557
1558
  # specified, a network name will also be required unless it is for the default
1558
1559
  # network.
1559
- # If the network the VM instance is being created in is a Legacy network, then
1560
+ # If the network that the instance is being created in is a Legacy network, then
1560
1561
  # the IP address is allocated from the IPv4Range.
1561
- # If the network the VM instance is being created in is an auto Subnet Mode
1562
+ # If the network that the instance is being created in is an auto Subnet Mode
1562
1563
  # Network, then only network name should be specified (not the subnetwork_name)
1563
1564
  # and the IP address is created from the IPCidrRange of the subnetwork that
1564
1565
  # exists in that zone for that network.
1565
- # If the network the VM instance is being created in is a custom Subnet Mode
1566
+ # If the network that the instance is being created in is a custom Subnet Mode
1566
1567
  # Network, then the subnetwork_name must be specified and the IP address is
1567
1568
  # created from the IPCidrRange of the subnetwork.If specified, the subnetwork
1568
1569
  # must exist in the same region as the App Engine flexible environment
@@ -2247,13 +2248,13 @@ module Google
2247
2248
  class StandardSchedulerSettings
2248
2249
  include Google::Apis::Core::Hashable
2249
2250
 
2250
- # Maximum number of instances for an app version. Set to zero to disable
2251
+ # Maximum number of instances to run for this version. Set to zero to disable
2251
2252
  # max_instances configuration.
2252
2253
  # Corresponds to the JSON property `maxInstances`
2253
2254
  # @return [Fixnum]
2254
2255
  attr_accessor :max_instances
2255
2256
 
2256
- # Minimum number of instances for an app version. Set to zero to disable
2257
+ # Minimum number of instances to run for this version. Set to zero to disable
2257
2258
  # min_instances configuration.
2258
2259
  # Corresponds to the JSON property `minInstances`
2259
2260
  # @return [Fixnum]
@@ -2766,7 +2767,8 @@ module Google
2766
2767
  attr_accessor :vm
2767
2768
  alias_method :vm?, :vm
2768
2769
 
2769
- # The choice of gce zones to use for this App Engine Flexible version.
2770
+ # The Google Compute Engine zones that are supported by this version in the App
2771
+ # Engine flexible environment.
2770
2772
  # Corresponds to the JSON property `zones`
2771
2773
  # @return [Array<String>]
2772
2774
  attr_accessor :zones