google-api-client 0.19.7 → 0.19.8

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.
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
@@ -54,7 +54,7 @@ module Google
54
54
  # location - The region (https://cloud.google.com/appengine/docs/locations)
55
55
  # where you want the App Engine application located.For more information about
56
56
  # App Engine applications, see Managing Projects, Applications, and Billing (
57
- # https://cloud.google.com/appengine/docs/python/console/).
57
+ # https://cloud.google.com/appengine/docs/standard/python/console/).
58
58
  # @param [Google::Apis::AppengineV1::Application] application_object
59
59
  # @param [String] fields
60
60
  # Selector specifying which fields to include in a partial response.
@@ -1310,19 +1310,19 @@ module Google
1310
1310
  # automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/
1311
1311
  # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
1312
1312
  # automatic_scaling): For Version resources that use automatic scaling and run
1313
- # in the App Engine Flexible environment.
1313
+ # in the App Engine flexible environment.
1314
1314
  # automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/
1315
1315
  # admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
1316
1316
  # automatic_scaling): For Version resources that use automatic scaling and run
1317
- # in the App Engine Flexible environment.
1317
+ # in the App Engine flexible environment.
1318
1318
  # automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/
1319
1319
  # docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.
1320
1320
  # automatic_scaling): For Version resources that use automatic scaling and run
1321
- # in the App Engine Flexible environment.
1321
+ # in the App Engine flexible environment.
1322
1322
  # automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/
1323
1323
  # appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.
1324
1324
  # FIELDS.automatic_scaling): For Version resources that use automatic scaling
1325
- # and run in the App Engine Flexible environment.
1325
+ # and run in the App Engine flexible environment.
1326
1326
  # @param [String] apps_id
1327
1327
  # Part of `name`. Name of the resource to update. Example: apps/myapp/services/
1328
1328
  # default/versions/1.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1alpha
28
28
  VERSION = 'V1alpha'
29
- REVISION = '20171220'
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'
@@ -435,13 +435,13 @@ module Google
435
435
  class LocationMetadata
436
436
  include Google::Apis::Core::Hashable
437
437
 
438
- # App Engine Flexible Environment is available in the given location.@OutputOnly
438
+ # App Engine flexible environment is available in the given location.@OutputOnly
439
439
  # Corresponds to the JSON property `flexibleEnvironmentAvailable`
440
440
  # @return [Boolean]
441
441
  attr_accessor :flexible_environment_available
442
442
  alias_method :flexible_environment_available?, :flexible_environment_available
443
443
 
444
- # App Engine Standard Environment is available in the given location.@OutputOnly
444
+ # App Engine standard environment is available in the given location.@OutputOnly
445
445
  # Corresponds to the JSON property `standardEnvironmentAvailable`
446
446
  # @return [Boolean]
447
447
  attr_accessor :standard_environment_available
@@ -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 = '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
@@ -350,7 +350,8 @@ module Google
350
350
  # @return [String]
351
351
  attr_accessor :max_pending_latency
352
352
 
353
- # Maximum number of instances that should be started to handle requests.
353
+ # Maximum number of instances that should be started to handle requests for this
354
+ # version.
354
355
  # Corresponds to the JSON property `maxTotalInstances`
355
356
  # @return [Fixnum]
356
357
  attr_accessor :max_total_instances
@@ -367,7 +368,7 @@ module Google
367
368
  # @return [String]
368
369
  attr_accessor :min_pending_latency
369
370
 
370
- # Minimum number of instances that should be maintained for this version.
371
+ # Minimum number of running instances that should be maintained for this version.
371
372
  # Corresponds to the JSON property `minTotalInstances`
372
373
  # @return [Fixnum]
373
374
  attr_accessor :min_total_instances
@@ -1619,13 +1620,13 @@ module Google
1619
1620
  class LocationMetadata
1620
1621
  include Google::Apis::Core::Hashable
1621
1622
 
1622
- # App Engine Flexible Environment is available in the given location.@OutputOnly
1623
+ # App Engine flexible environment is available in the given location.@OutputOnly
1623
1624
  # Corresponds to the JSON property `flexibleEnvironmentAvailable`
1624
1625
  # @return [Boolean]
1625
1626
  attr_accessor :flexible_environment_available
1626
1627
  alias_method :flexible_environment_available?, :flexible_environment_available
1627
1628
 
1628
- # App Engine Standard Environment is available in the given location.@OutputOnly
1629
+ # App Engine standard environment is available in the given location.@OutputOnly
1629
1630
  # Corresponds to the JSON property `standardEnvironmentAvailable`
1630
1631
  # @return [Boolean]
1631
1632
  attr_accessor :standard_environment_available
@@ -1702,8 +1703,8 @@ module Google
1702
1703
  # @return [Array<String>]
1703
1704
  attr_accessor :forwarded_ports
1704
1705
 
1705
- # Tag to apply to the VM instance during creation. for Only applicable in the
1706
- # App Engine flexible environment.
1706
+ # Tag to apply to the instance during creation. Only applicable in the App
1707
+ # Engine flexible environment.
1707
1708
  # Corresponds to the JSON property `instanceTag`
1708
1709
  # @return [String]
1709
1710
  attr_accessor :instance_tag
@@ -1714,17 +1715,23 @@ module Google
1714
1715
  # @return [String]
1715
1716
  attr_accessor :name
1716
1717
 
1718
+ # Enable session affinity.
1719
+ # Corresponds to the JSON property `sessionAffinity`
1720
+ # @return [Boolean]
1721
+ attr_accessor :session_affinity
1722
+ alias_method :session_affinity?, :session_affinity
1723
+
1717
1724
  # Google Cloud Platform sub-network where the virtual machines are created.
1718
1725
  # Specify the short name, not the resource path.If a subnetwork name is
1719
1726
  # specified, a network name will also be required unless it is for the default
1720
1727
  # network.
1721
- # If the network the VM instance is being created in is a Legacy network, then
1728
+ # If the network that the instance is being created in is a Legacy network, then
1722
1729
  # the IP address is allocated from the IPv4Range.
1723
- # If the network the VM instance is being created in is an auto Subnet Mode
1730
+ # If the network that the instance is being created in is an auto Subnet Mode
1724
1731
  # Network, then only network name should be specified (not the subnetwork_name)
1725
1732
  # and the IP address is created from the IPCidrRange of the subnetwork that
1726
1733
  # exists in that zone for that network.
1727
- # If the network the VM instance is being created in is a custom Subnet Mode
1734
+ # If the network that the instance is being created in is a custom Subnet Mode
1728
1735
  # Network, then the subnetwork_name must be specified and the IP address is
1729
1736
  # created from the IPCidrRange of the subnetwork.If specified, the subnetwork
1730
1737
  # must exist in the same region as the App Engine flexible environment
@@ -1742,6 +1749,7 @@ module Google
1742
1749
  @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
1743
1750
  @instance_tag = args[:instance_tag] if args.key?(:instance_tag)
1744
1751
  @name = args[:name] if args.key?(:name)
1752
+ @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
1745
1753
  @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
1746
1754
  end
1747
1755
  end
@@ -2433,13 +2441,13 @@ module Google
2433
2441
  class StandardSchedulerSettings
2434
2442
  include Google::Apis::Core::Hashable
2435
2443
 
2436
- # Maximum number of instances for an app version. Set to zero to disable
2444
+ # Maximum number of instances to run for this version. Set to zero to disable
2437
2445
  # max_instances configuration.
2438
2446
  # Corresponds to the JSON property `maxInstances`
2439
2447
  # @return [Fixnum]
2440
2448
  attr_accessor :max_instances
2441
2449
 
2442
- # Minimum number of instances for an app version. Set to zero to disable
2450
+ # Minimum number of instances to run for this version. Set to zero to disable
2443
2451
  # min_instances configuration.
2444
2452
  # Corresponds to the JSON property `minInstances`
2445
2453
  # @return [Fixnum]
@@ -2952,7 +2960,8 @@ module Google
2952
2960
  attr_accessor :vm
2953
2961
  alias_method :vm?, :vm
2954
2962
 
2955
- # The choice of gce zones to use for this App Engine Flexible version.
2963
+ # The Google Compute Engine zones that are supported by this version in the App
2964
+ # Engine flexible environment.
2956
2965
  # Corresponds to the JSON property `zones`
2957
2966
  # @return [Array<String>]
2958
2967
  attr_accessor :zones
@@ -901,6 +901,7 @@ module Google
901
901
  collection :forwarded_ports, as: 'forwardedPorts'
902
902
  property :instance_tag, as: 'instanceTag'
903
903
  property :name, as: 'name'
904
+ property :session_affinity, as: 'sessionAffinity'
904
905
  property :subnetwork_name, as: 'subnetworkName'
905
906
  end
906
907
  end
@@ -54,7 +54,7 @@ module Google
54
54
  # location - The region (https://cloud.google.com/appengine/docs/locations)
55
55
  # where you want the App Engine application located.For more information about
56
56
  # App Engine applications, see Managing Projects, Applications, and Billing (
57
- # https://cloud.google.com/appengine/docs/python/console/).
57
+ # https://cloud.google.com/appengine/docs/standard/python/console/).
58
58
  # @param [Google::Apis::AppengineV1beta::Application] application_object
59
59
  # @param [String] fields
60
60
  # Selector specifying which fields to include in a partial response.
@@ -1310,19 +1310,19 @@ module Google
1310
1310
  # automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/
1311
1311
  # admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
1312
1312
  # automatic_scaling): For Version resources that use automatic scaling and run
1313
- # in the App Engine Flexible environment.
1313
+ # in the App Engine flexible environment.
1314
1314
  # automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/
1315
1315
  # admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
1316
1316
  # automatic_scaling): For Version resources that use automatic scaling and run
1317
- # in the App Engine Flexible environment.
1317
+ # in the App Engine flexible environment.
1318
1318
  # automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/
1319
1319
  # docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.
1320
1320
  # automatic_scaling): For Version resources that use automatic scaling and run
1321
- # in the App Engine Flexible environment.
1321
+ # in the App Engine flexible environment.
1322
1322
  # automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/
1323
1323
  # appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.
1324
1324
  # FIELDS.automatic_scaling): For Version resources that use automatic scaling
1325
- # and run in the App Engine Flexible environment.
1325
+ # and run in the App Engine flexible environment.
1326
1326
  # @param [String] apps_id
1327
1327
  # Part of `name`. Name of the resource to update. Example: apps/myapp/services/
1328
1328
  # default/versions/1.
@@ -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 = '20171220'
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'
@@ -993,13 +993,13 @@ module Google
993
993
  class LocationMetadata
994
994
  include Google::Apis::Core::Hashable
995
995
 
996
- # App Engine Flexible Environment is available in the given location.@OutputOnly
996
+ # App Engine flexible environment is available in the given location.@OutputOnly
997
997
  # Corresponds to the JSON property `flexibleEnvironmentAvailable`
998
998
  # @return [Boolean]
999
999
  attr_accessor :flexible_environment_available
1000
1000
  alias_method :flexible_environment_available?, :flexible_environment_available
1001
1001
 
1002
- # App Engine Standard Environment is available in the given location.@OutputOnly
1002
+ # App Engine standard environment is available in the given location.@OutputOnly
1003
1003
  # Corresponds to the JSON property `standardEnvironmentAvailable`
1004
1004
  # @return [Boolean]
1005
1005
  attr_accessor :standard_environment_available
@@ -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 = '20171220'
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'
@@ -993,13 +993,13 @@ module Google
993
993
  class LocationMetadata
994
994
  include Google::Apis::Core::Hashable
995
995
 
996
- # App Engine Flexible Environment is available in the given location.@OutputOnly
996
+ # App Engine flexible environment is available in the given location.@OutputOnly
997
997
  # Corresponds to the JSON property `flexibleEnvironmentAvailable`
998
998
  # @return [Boolean]
999
999
  attr_accessor :flexible_environment_available
1000
1000
  alias_method :flexible_environment_available?, :flexible_environment_available
1001
1001
 
1002
- # App Engine Standard Environment is available in the given location.@OutputOnly
1002
+ # App Engine standard environment is available in the given location.@OutputOnly
1003
1003
  # Corresponds to the JSON property `standardEnvironmentAvailable`
1004
1004
  # @return [Boolean]
1005
1005
  attr_accessor :standard_environment_available
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20180205'
28
+ REVISION = '20180211'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -562,6 +562,35 @@ module Google
562
562
  end
563
563
  end
564
564
 
565
+ #
566
+ class DestinationTableProperties
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # [Optional] The description for the destination table. This will only be used
570
+ # if the destination table is newly created. If the table already exists and a
571
+ # value different than the current description is provided, the job will fail.
572
+ # Corresponds to the JSON property `description`
573
+ # @return [String]
574
+ attr_accessor :description
575
+
576
+ # [Optional] The friendly name for the destination table. This will only be used
577
+ # if the destination table is newly created. If the table already exists and a
578
+ # value different than the current friendly name is provided, the job will fail.
579
+ # Corresponds to the JSON property `friendlyName`
580
+ # @return [String]
581
+ attr_accessor :friendly_name
582
+
583
+ def initialize(**args)
584
+ update!(**args)
585
+ end
586
+
587
+ # Update properties of this object
588
+ def update!(**args)
589
+ @description = args[:description] if args.key?(:description)
590
+ @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
591
+ end
592
+ end
593
+
565
594
  #
566
595
  class EncryptionConfiguration
567
596
  include Google::Apis::Core::Hashable
@@ -1254,7 +1283,8 @@ module Google
1254
1283
  include Google::Apis::Core::Hashable
1255
1284
 
1256
1285
  # [Optional] The compression type to use for exported files. Possible values
1257
- # include GZIP and NONE. The default value is NONE.
1286
+ # include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE
1287
+ # and SNAPPY are only supported for Avro.
1258
1288
  # Corresponds to the JSON property `compression`
1259
1289
  # @return [String]
1260
1290
  attr_accessor :compression
@@ -1349,7 +1379,7 @@ module Google
1349
1379
  # @return [String]
1350
1380
  attr_accessor :create_disposition
1351
1381
 
1352
- # [Experimental] Custom encryption configuration (e.g., Cloud KMS keys).
1382
+ # Custom encryption configuration (e.g., Cloud KMS keys).
1353
1383
  # Corresponds to the JSON property `destinationEncryptionConfiguration`
1354
1384
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
1355
1385
  attr_accessor :destination_encryption_configuration
@@ -1359,6 +1389,12 @@ module Google
1359
1389
  # @return [Google::Apis::BigqueryV2::TableReference]
1360
1390
  attr_accessor :destination_table
1361
1391
 
1392
+ # [Experimental] [Optional] Properties with which to create the destination
1393
+ # table if it is new.
1394
+ # Corresponds to the JSON property `destinationTableProperties`
1395
+ # @return [Google::Apis::BigqueryV2::DestinationTableProperties]
1396
+ attr_accessor :destination_table_properties
1397
+
1362
1398
  # [Optional] The character encoding of the data. The supported values are UTF-8
1363
1399
  # or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the
1364
1400
  # raw, binary data has been split using the values of the quote and
@@ -1513,6 +1549,7 @@ module Google
1513
1549
  @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
1514
1550
  @destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
1515
1551
  @destination_table = args[:destination_table] if args.key?(:destination_table)
1552
+ @destination_table_properties = args[:destination_table_properties] if args.key?(:destination_table_properties)
1516
1553
  @encoding = args[:encoding] if args.key?(:encoding)
1517
1554
  @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
1518
1555
  @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
@@ -1562,7 +1599,7 @@ module Google
1562
1599
  # @return [Google::Apis::BigqueryV2::DatasetReference]
1563
1600
  attr_accessor :default_dataset
1564
1601
 
1565
- # [Experimental] Custom encryption configuration (e.g., Cloud KMS keys).
1602
+ # Custom encryption configuration (e.g., Cloud KMS keys).
1566
1603
  # Corresponds to the JSON property `destinationEncryptionConfiguration`
1567
1604
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
1568
1605
  attr_accessor :destination_encryption_configuration
@@ -1731,7 +1768,7 @@ module Google
1731
1768
  # @return [String]
1732
1769
  attr_accessor :create_disposition
1733
1770
 
1734
- # [Experimental] Custom encryption configuration (e.g., Cloud KMS keys).
1771
+ # Custom encryption configuration (e.g., Cloud KMS keys).
1735
1772
  # Corresponds to the JSON property `destinationEncryptionConfiguration`
1736
1773
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
1737
1774
  attr_accessor :destination_encryption_configuration
@@ -2746,7 +2783,7 @@ module Google
2746
2783
  # @return [String]
2747
2784
  attr_accessor :description
2748
2785
 
2749
- # [Experimental] Custom encryption configuration (e.g., Cloud KMS keys).
2786
+ # Custom encryption configuration (e.g., Cloud KMS keys).
2750
2787
  # Corresponds to the JSON property `encryptionConfiguration`
2751
2788
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
2752
2789
  attr_accessor :encryption_configuration
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class DestinationTableProperties
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class EncryptionConfiguration
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -494,6 +500,14 @@ module Google
494
500
  end
495
501
  end
496
502
 
503
+ class DestinationTableProperties
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :description, as: 'description'
507
+ property :friendly_name, as: 'friendlyName'
508
+ end
509
+ end
510
+
497
511
  class EncryptionConfiguration
498
512
  # @private
499
513
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -682,6 +696,8 @@ module Google
682
696
 
683
697
  property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
684
698
 
699
+ property :destination_table_properties, as: 'destinationTableProperties', class: Google::Apis::BigqueryV2::DestinationTableProperties, decorator: Google::Apis::BigqueryV2::DestinationTableProperties::Representation
700
+
685
701
  property :encoding, as: 'encoding'
686
702
  property :field_delimiter, as: 'fieldDelimiter'
687
703
  property :ignore_unknown_values, as: 'ignoreUnknownValues'
@@ -983,8 +999,8 @@ module Google
983
999
  class QueryTimelineSample
984
1000
  # @private
985
1001
  class Representation < Google::Apis::Core::JsonRepresentation
986
- property :active_inputs, as: 'activeInputs'
987
- property :completed_inputs, as: 'completedInputs'
1002
+ property :active_inputs, :numeric_string => true, as: 'activeInputs'
1003
+ property :completed_inputs, :numeric_string => true, as: 'completedInputs'
988
1004
  property :elapsed_ms, :numeric_string => true, as: 'elapsedMs'
989
1005
  property :pending_inputs, :numeric_string => true, as: 'pendingInputs'
990
1006
  property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/iot
27
27
  module CloudiotV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180131'
29
+ REVISION = '20180208'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'