google-api-client 0.13.6 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +56 -0
  3. data/generated/google/apis/adsense_v1_4.rb +1 -1
  4. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  5. data/generated/google/apis/androiddeviceprovisioning_v1.rb +3 -3
  6. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -3
  7. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  8. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  9. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -0
  10. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  11. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  13. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
  15. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  16. data/generated/google/apis/appstate_v1.rb +1 -1
  17. data/generated/google/apis/bigquery_v2.rb +1 -1
  18. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  19. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  20. data/generated/google/apis/bigquerydatatransfer_v1.rb +2 -2
  21. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +19 -69
  22. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +3 -41
  23. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +17 -149
  24. data/generated/google/apis/calendar_v3.rb +1 -1
  25. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  26. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  27. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -0
  28. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  29. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  30. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +30 -0
  31. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +4 -0
  32. data/generated/google/apis/{toolresults_v1beta3firstparty.rb → cloudtasks_v2beta2.rb} +13 -9
  33. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1709 -0
  34. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +585 -0
  35. data/generated/google/apis/cloudtasks_v2beta2/service.rb +1016 -0
  36. data/generated/google/apis/cloudtrace_v2.rb +1 -4
  37. data/generated/google/apis/cloudtrace_v2/classes.rb +0 -78
  38. data/generated/google/apis/cloudtrace_v2/representations.rb +0 -43
  39. data/generated/google/apis/cloudtrace_v2/service.rb +0 -101
  40. data/generated/google/apis/compute_alpha.rb +1 -1
  41. data/generated/google/apis/compute_alpha/classes.rb +833 -120
  42. data/generated/google/apis/compute_alpha/representations.rb +263 -26
  43. data/generated/google/apis/compute_alpha/service.rb +795 -107
  44. data/generated/google/apis/compute_beta.rb +1 -1
  45. data/generated/google/apis/compute_beta/classes.rb +5329 -524
  46. data/generated/google/apis/compute_beta/representations.rb +2241 -36
  47. data/generated/google/apis/compute_beta/service.rb +5 -5
  48. data/generated/google/apis/compute_v1.rb +1 -1
  49. data/generated/google/apis/compute_v1/classes.rb +4 -5
  50. data/generated/google/apis/container_v1.rb +1 -1
  51. data/generated/google/apis/container_v1/classes.rb +12 -0
  52. data/generated/google/apis/container_v1/representations.rb +1 -0
  53. data/generated/google/apis/container_v1beta1.rb +1 -1
  54. data/generated/google/apis/container_v1beta1/classes.rb +54 -0
  55. data/generated/google/apis/container_v1beta1/representations.rb +18 -0
  56. data/generated/google/apis/content_v2.rb +1 -1
  57. data/generated/google/apis/content_v2sandbox.rb +1 -1
  58. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  59. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -39
  60. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -16
  61. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  62. data/generated/google/apis/deploymentmanager_alpha/classes.rb +71 -3
  63. data/generated/google/apis/deploymentmanager_alpha/representations.rb +32 -0
  64. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  65. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  66. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  67. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +39 -3
  68. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +16 -0
  69. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  70. data/generated/google/apis/dlp_v2beta1/classes.rb +1605 -49
  71. data/generated/google/apis/dlp_v2beta1/representations.rb +832 -30
  72. data/generated/google/apis/dlp_v2beta1/service.rb +62 -0
  73. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  74. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  75. data/generated/google/apis/games_management_v1management.rb +1 -1
  76. data/generated/google/apis/games_v1.rb +1 -1
  77. data/generated/google/apis/gmail_v1.rb +1 -1
  78. data/generated/google/apis/gmail_v1/classes.rb +0 -36
  79. data/generated/google/apis/gmail_v1/representations.rb +0 -16
  80. data/generated/google/apis/language_v1.rb +1 -1
  81. data/generated/google/apis/language_v1/classes.rb +74 -0
  82. data/generated/google/apis/language_v1/representations.rb +35 -0
  83. data/generated/google/apis/language_v1/service.rb +31 -0
  84. data/generated/google/apis/language_v1beta1.rb +1 -1
  85. data/generated/google/apis/language_v1beta2.rb +1 -1
  86. data/generated/google/apis/ml_v1.rb +1 -1
  87. data/generated/google/apis/ml_v1/classes.rb +3 -0
  88. data/generated/google/apis/people_v1.rb +1 -1
  89. data/generated/google/apis/people_v1/classes.rb +8 -0
  90. data/generated/google/apis/people_v1/representations.rb +1 -0
  91. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  92. data/generated/google/apis/plus_v1/service.rb +1 -1
  93. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  94. data/generated/google/apis/servicecontrol_v1/classes.rb +35 -6
  95. data/generated/google/apis/servicecontrol_v1/representations.rb +16 -1
  96. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  97. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
  98. data/generated/google/apis/serviceuser_v1.rb +1 -1
  99. data/generated/google/apis/serviceuser_v1/classes.rb +1 -1
  100. data/generated/google/apis/sourcerepo_v1.rb +4 -1
  101. data/generated/google/apis/sourcerepo_v1/classes.rb +45 -204
  102. data/generated/google/apis/sourcerepo_v1/representations.rb +10 -90
  103. data/generated/google/apis/storage_v1beta1.rb +1 -1
  104. data/generated/google/apis/storage_v1beta1/service.rb +1 -1
  105. data/generated/google/apis/storage_v1beta2.rb +1 -1
  106. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  107. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  108. data/generated/google/apis/streetviewpublish_v1/classes.rb +5 -3
  109. data/generated/google/apis/streetviewpublish_v1/service.rb +6 -4
  110. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  111. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  112. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  113. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  114. data/generated/google/apis/youtube_v3.rb +1 -1
  115. data/generated/google/apis/youtube_v3/classes.rb +22 -85
  116. data/generated/google/apis/youtube_v3/representations.rb +3 -46
  117. data/generated/google/apis/youtube_v3/service.rb +11 -1
  118. data/lib/google/apis/version.rb +1 -1
  119. metadata +6 -6
  120. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +0 -2630
  121. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +0 -886
  122. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +0 -1336
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'compute/beta/projects/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/compute/beta'
54
54
  end
55
55
 
56
56
  # Retrieves an aggregated list of accelerator types.
@@ -14853,18 +14853,18 @@ module Google
14853
14853
  # Request-specific options
14854
14854
  #
14855
14855
  # @yield [result, err] Result & error if block supplied
14856
- # @yieldparam result [Google::Apis::ComputeBeta::SecurityPoliciesList] parsed result object
14856
+ # @yieldparam result [Google::Apis::ComputeBeta::SecurityPolicyList] parsed result object
14857
14857
  # @yieldparam err [StandardError] error object if request failed
14858
14858
  #
14859
- # @return [Google::Apis::ComputeBeta::SecurityPoliciesList]
14859
+ # @return [Google::Apis::ComputeBeta::SecurityPolicyList]
14860
14860
  #
14861
14861
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14862
14862
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14863
14863
  # @raise [Google::Apis::AuthorizationError] Authorization is required
14864
14864
  def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14865
14865
  command = make_simple_command(:get, '{project}/global/securityPolicies', options)
14866
- command.response_representation = Google::Apis::ComputeBeta::SecurityPoliciesList::Representation
14867
- command.response_class = Google::Apis::ComputeBeta::SecurityPoliciesList
14866
+ command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyList::Representation
14867
+ command.response_class = Google::Apis::ComputeBeta::SecurityPolicyList
14868
14868
  command.params['project'] = project unless project.nil?
14869
14869
  command.query['filter'] = filter unless filter.nil?
14870
14870
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170821'
28
+ REVISION = '20170905'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -694,10 +694,9 @@ module Google
694
694
  # @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
695
695
  attr_accessor :disk_encryption_key
696
696
 
697
- # Assigns a zero-based index to this disk, where 0 is reserved for the boot disk.
698
- # For example, if you have many disks attached to an instance, each disk would
699
- # have a unique index number. If not specified, the server will choose an
700
- # appropriate value.
697
+ # [Output Only] A zero-based index to this disk, where 0 is reserved for the
698
+ # boot disk. If you have many disks attached to an instance, each disk would
699
+ # have a unique index number.
701
700
  # Corresponds to the JSON property `index`
702
701
  # @return [Fixnum]
703
702
  attr_accessor :index
@@ -8146,7 +8145,7 @@ module Google
8146
8145
  # @return [String]
8147
8146
  attr_accessor :next_page_token
8148
8147
 
8149
- # Serive resources (a.k.a service projects) attached to this project as their
8148
+ # Service resources (a.k.a service projects) attached to this project as their
8150
8149
  # shared VPC host.
8151
8150
  # Corresponds to the JSON property `resources`
8152
8151
  # @return [Array<Google::Apis::ComputeV1::XpnResourceId>]
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170825'
29
+ REVISION = '20170901'
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'
@@ -1093,6 +1093,17 @@ module Google
1093
1093
  # @return [Hash<String,String>]
1094
1094
  attr_accessor :metadata
1095
1095
 
1096
+ # Minimum cpu/platform to be used by this instance. The instance may be
1097
+ # scheduled on the specified or newer cpu/platform. Applicable values are the
1098
+ # friendly names of CPU platforms, such as
1099
+ # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
1100
+ # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
1101
+ # information, read <a href="/compute/docs/instances/specify-min-cpu-platform">
1102
+ # Specifying a Minimum CPU Platform</a>.
1103
+ # Corresponds to the JSON property `minCpuPlatform`
1104
+ # @return [String]
1105
+ attr_accessor :min_cpu_platform
1106
+
1096
1107
  # The set of Google API scopes to be made available on all of the
1097
1108
  # node VMs under the "default" service account.
1098
1109
  # The following scopes are recommended, but not required, and by default are
@@ -1143,6 +1154,7 @@ module Google
1143
1154
  @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
1144
1155
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1145
1156
  @metadata = args[:metadata] if args.key?(:metadata)
1157
+ @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1146
1158
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
1147
1159
  @preemptible = args[:preemptible] if args.key?(:preemptible)
1148
1160
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -547,6 +547,7 @@ module Google
547
547
  property :local_ssd_count, as: 'localSsdCount'
548
548
  property :machine_type, as: 'machineType'
549
549
  hash :metadata, as: 'metadata'
550
+ property :min_cpu_platform, as: 'minCpuPlatform'
550
551
  collection :oauth_scopes, as: 'oauthScopes'
551
552
  property :preemptible, as: 'preemptible'
552
553
  property :service_account, as: 'serviceAccount'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20170825'
29
+ REVISION = '20170901'
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'
@@ -1173,6 +1173,17 @@ module Google
1173
1173
  # @return [Hash<String,String>]
1174
1174
  attr_accessor :metadata
1175
1175
 
1176
+ # Minimum cpu/platform to be used by this instance. The instance may be
1177
+ # scheduled on the specified or newer cpu/platform. Applicable values are the
1178
+ # friendly names of CPU platforms, such as
1179
+ # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
1180
+ # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
1181
+ # information, read <a href="/compute/docs/instances/specify-min-cpu-platform">
1182
+ # Specifying a Minimum CPU Platform</a>.
1183
+ # Corresponds to the JSON property `minCpuPlatform`
1184
+ # @return [String]
1185
+ attr_accessor :min_cpu_platform
1186
+
1176
1187
  # The set of Google API scopes to be made available on all of the
1177
1188
  # node VMs under the "default" service account.
1178
1189
  # The following scopes are recommended, but not required, and by default are
@@ -1210,6 +1221,13 @@ module Google
1210
1221
  # @return [Array<String>]
1211
1222
  attr_accessor :tags
1212
1223
 
1224
+ # List of kubernetes taints to be applied to each node.
1225
+ # For more information, including usage and the valid values, see:
1226
+ # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1227
+ # Corresponds to the JSON property `taints`
1228
+ # @return [Array<Google::Apis::ContainerV1beta1::NodeTaint>]
1229
+ attr_accessor :taints
1230
+
1213
1231
  def initialize(**args)
1214
1232
  update!(**args)
1215
1233
  end
@@ -1223,10 +1241,12 @@ module Google
1223
1241
  @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
1224
1242
  @machine_type = args[:machine_type] if args.key?(:machine_type)
1225
1243
  @metadata = args[:metadata] if args.key?(:metadata)
1244
+ @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1226
1245
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
1227
1246
  @preemptible = args[:preemptible] if args.key?(:preemptible)
1228
1247
  @service_account = args[:service_account] if args.key?(:service_account)
1229
1248
  @tags = args[:tags] if args.key?(:tags)
1249
+ @taints = args[:taints] if args.key?(:taints)
1230
1250
  end
1231
1251
  end
1232
1252
 
@@ -1386,6 +1406,40 @@ module Google
1386
1406
  end
1387
1407
  end
1388
1408
 
1409
+ # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
1410
+ # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
1411
+ # For more information, including usage and the valid values, see:
1412
+ # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1413
+ class NodeTaint
1414
+ include Google::Apis::Core::Hashable
1415
+
1416
+ # Effect for taint.
1417
+ # Corresponds to the JSON property `effect`
1418
+ # @return [String]
1419
+ attr_accessor :effect
1420
+
1421
+ # Key for taint.
1422
+ # Corresponds to the JSON property `key`
1423
+ # @return [String]
1424
+ attr_accessor :key
1425
+
1426
+ # Value for taint.
1427
+ # Corresponds to the JSON property `value`
1428
+ # @return [String]
1429
+ attr_accessor :value
1430
+
1431
+ def initialize(**args)
1432
+ update!(**args)
1433
+ end
1434
+
1435
+ # Update properties of this object
1436
+ def update!(**args)
1437
+ @effect = args[:effect] if args.key?(:effect)
1438
+ @key = args[:key] if args.key?(:key)
1439
+ @value = args[:value] if args.key?(:value)
1440
+ end
1441
+ end
1442
+
1389
1443
  # This operation resource represents operations that may have happened or are
1390
1444
  # happening on the cluster. All fields are output only.
1391
1445
  class Operation
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class NodeTaint
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class Operation
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -498,10 +504,13 @@ module Google
498
504
  property :local_ssd_count, as: 'localSsdCount'
499
505
  property :machine_type, as: 'machineType'
500
506
  hash :metadata, as: 'metadata'
507
+ property :min_cpu_platform, as: 'minCpuPlatform'
501
508
  collection :oauth_scopes, as: 'oauthScopes'
502
509
  property :preemptible, as: 'preemptible'
503
510
  property :service_account, as: 'serviceAccount'
504
511
  collection :tags, as: 'tags'
512
+ collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation
513
+
505
514
  end
506
515
  end
507
516
 
@@ -543,6 +552,15 @@ module Google
543
552
  end
544
553
  end
545
554
 
555
+ class NodeTaint
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ property :effect, as: 'effect'
559
+ property :key, as: 'key'
560
+ property :value, as: 'value'
561
+ end
562
+ end
563
+
546
564
  class Operation
547
565
  # @private
548
566
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20170905'
29
+ REVISION = '20170914'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2sandbox
28
28
  VERSION = 'V2sandbox'
29
- REVISION = '20170905'
29
+ REVISION = '20170912'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20170823'
28
+ REVISION = '20170907'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -894,12 +894,6 @@ module Google
894
894
  # @return [Google::Apis::DataflowV1b3::SplitInt64]
895
895
  attr_accessor :count
896
896
 
897
- # (Optional) Logarithmic histogram of values.
898
- # Each log may be in no more than one bucket. Order does not matter.
899
- # Corresponds to the JSON property `logBuckets`
900
- # @return [Array<Google::Apis::DataflowV1b3::LogBucket>]
901
- attr_accessor :log_buckets
902
-
903
897
  # A representation of an int64, n, that is immune to precision loss when
904
898
  # encoded in JSON.
905
899
  # Corresponds to the JSON property `max`
@@ -930,7 +924,6 @@ module Google
930
924
  # Update properties of this object
931
925
  def update!(**args)
932
926
  @count = args[:count] if args.key?(:count)
933
- @log_buckets = args[:log_buckets] if args.key?(:log_buckets)
934
927
  @max = args[:max] if args.key?(:max)
935
928
  @min = args[:min] if args.key?(:min)
936
929
  @sum = args[:sum] if args.key?(:sum)
@@ -2044,38 +2037,6 @@ module Google
2044
2037
  end
2045
2038
  end
2046
2039
 
2047
- # Bucket of values for Distribution's logarithmic histogram.
2048
- class LogBucket
2049
- include Google::Apis::Core::Hashable
2050
-
2051
- # Number of values in this bucket.
2052
- # Corresponds to the JSON property `count`
2053
- # @return [Fixnum]
2054
- attr_accessor :count
2055
-
2056
- # floor(log2(value)); defined to be zero for nonpositive values.
2057
- # log(-1) = 0
2058
- # log(0) = 0
2059
- # log(1) = 0
2060
- # log(2) = 1
2061
- # log(3) = 1
2062
- # log(4) = 2
2063
- # log(5) = 2
2064
- # Corresponds to the JSON property `log`
2065
- # @return [Fixnum]
2066
- attr_accessor :log
2067
-
2068
- def initialize(**args)
2069
- update!(**args)
2070
- end
2071
-
2072
- # Update properties of this object
2073
- def update!(**args)
2074
- @count = args[:count] if args.key?(:count)
2075
- @log = args[:log] if args.key?(:log)
2076
- end
2077
- end
2078
-
2079
2040
  # MapTask consists of an ordered set of instructions, each of which
2080
2041
  # describes one particular low-level operation for the worker to
2081
2042
  # perform in order to accomplish the MapTask's WorkItem.
@@ -4698,6 +4659,11 @@ module Google
4698
4659
  # @return [Google::Apis::DataflowV1b3::Position]
4699
4660
  attr_accessor :stop_position
4700
4661
 
4662
+ # Total time the worker spent being throttled by external systems.
4663
+ # Corresponds to the JSON property `totalThrottlerWaitTimeSeconds`
4664
+ # @return [Float]
4665
+ attr_accessor :total_throttler_wait_time_seconds
4666
+
4701
4667
  # Identifies the WorkItem.
4702
4668
  # Corresponds to the JSON property `workItemId`
4703
4669
  # @return [String]
@@ -4721,6 +4687,7 @@ module Google
4721
4687
  @source_fork = args[:source_fork] if args.key?(:source_fork)
4722
4688
  @source_operation_response = args[:source_operation_response] if args.key?(:source_operation_response)
4723
4689
  @stop_position = args[:stop_position] if args.key?(:stop_position)
4690
+ @total_throttler_wait_time_seconds = args[:total_throttler_wait_time_seconds] if args.key?(:total_throttler_wait_time_seconds)
4724
4691
  @work_item_id = args[:work_item_id] if args.key?(:work_item_id)
4725
4692
  end
4726
4693
  end
@@ -316,12 +316,6 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
- class LogBucket
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
319
  class MapTask
326
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
321
 
@@ -1016,8 +1010,6 @@ module Google
1016
1010
  class Representation < Google::Apis::Core::JsonRepresentation
1017
1011
  property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
1018
1012
 
1019
- collection :log_buckets, as: 'logBuckets', class: Google::Apis::DataflowV1b3::LogBucket, decorator: Google::Apis::DataflowV1b3::LogBucket::Representation
1020
-
1021
1013
  property :max, as: 'max', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
1022
1014
 
1023
1015
  property :min, as: 'min', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
@@ -1321,14 +1313,6 @@ module Google
1321
1313
  end
1322
1314
  end
1323
1315
 
1324
- class LogBucket
1325
- # @private
1326
- class Representation < Google::Apis::Core::JsonRepresentation
1327
- property :count, :numeric_string => true, as: 'count'
1328
- property :log, as: 'log'
1329
- end
1330
- end
1331
-
1332
1316
  class MapTask
1333
1317
  # @private
1334
1318
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2045,6 +2029,7 @@ module Google
2045
2029
 
2046
2030
  property :stop_position, as: 'stopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation
2047
2031
 
2032
+ property :total_throttler_wait_time_seconds, as: 'totalThrottlerWaitTimeSeconds'
2048
2033
  property :work_item_id, as: 'workItemId'
2049
2034
  end
2050
2035
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/deployment-manager/
27
27
  module DeploymentmanagerAlpha
28
28
  VERSION = 'Alpha'
29
- REVISION = '20170810'
29
+ REVISION = '20170907'
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'
@@ -420,7 +420,8 @@ module Google
420
420
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>]
421
421
  attr_accessor :collection_overrides
422
422
 
423
- # Credential used by ConfigurableResourceTypes.
423
+ # The credential used by Deployment Manager and TypeProvider. Only one of the
424
+ # options is permitted.
424
425
  # Corresponds to the JSON property `credential`
425
426
  # @return [Google::Apis::DeploymentmanagerAlpha::Credential]
426
427
  attr_accessor :credential
@@ -448,7 +449,8 @@ module Google
448
449
  end
449
450
  end
450
451
 
451
- # Credential used by ConfigurableResourceTypes.
452
+ # The credential used by Deployment Manager and TypeProvider. Only one of the
453
+ # options is permitted.
452
454
  class Credential
453
455
  include Google::Apis::Core::Hashable
454
456
 
@@ -457,6 +459,17 @@ module Google
457
459
  # @return [Google::Apis::DeploymentmanagerAlpha::BasicAuth]
458
460
  attr_accessor :basic_auth
459
461
 
462
+ # Service Account used as a credential.
463
+ # Corresponds to the JSON property `serviceAccount`
464
+ # @return [Google::Apis::DeploymentmanagerAlpha::ServiceAccount]
465
+ attr_accessor :service_account
466
+
467
+ # Specify to use the project default credential, only supported by Deployment.
468
+ # Corresponds to the JSON property `useProjectDefault`
469
+ # @return [Boolean]
470
+ attr_accessor :use_project_default
471
+ alias_method :use_project_default?, :use_project_default
472
+
460
473
  def initialize(**args)
461
474
  update!(**args)
462
475
  end
@@ -464,6 +477,8 @@ module Google
464
477
  # Update properties of this object
465
478
  def update!(**args)
466
479
  @basic_auth = args[:basic_auth] if args.key?(:basic_auth)
480
+ @service_account = args[:service_account] if args.key?(:service_account)
481
+ @use_project_default = args[:use_project_default] if args.key?(:use_project_default)
467
482
  end
468
483
  end
469
484
 
@@ -530,6 +545,12 @@ module Google
530
545
  # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
531
546
  attr_accessor :operation
532
547
 
548
+ # api-linter: output-only-format=disabled [Output Only] Map of outputs from the
549
+ # last manifest that deployed successfully.
550
+ # Corresponds to the JSON property `outputs`
551
+ # @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry>]
552
+ attr_accessor :outputs
553
+
533
554
  # [Output Only] Self link for the deployment.
534
555
  # Corresponds to the JSON property `selfLink`
535
556
  # @return [String]
@@ -559,6 +580,7 @@ module Google
559
580
  @manifest = args[:manifest] if args.key?(:manifest)
560
581
  @name = args[:name] if args.key?(:name)
561
582
  @operation = args[:operation] if args.key?(:operation)
583
+ @outputs = args[:outputs] if args.key?(:outputs)
562
584
  @self_link = args[:self_link] if args.key?(:self_link)
563
585
  @target = args[:target] if args.key?(:target)
564
586
  @update = args[:update] if args.key?(:update)
@@ -590,6 +612,31 @@ module Google
590
612
  end
591
613
  end
592
614
 
615
+ #
616
+ class DeploymentOutputsEntry
617
+ include Google::Apis::Core::Hashable
618
+
619
+ #
620
+ # Corresponds to the JSON property `key`
621
+ # @return [String]
622
+ attr_accessor :key
623
+
624
+ #
625
+ # Corresponds to the JSON property `value`
626
+ # @return [String]
627
+ attr_accessor :value
628
+
629
+ def initialize(**args)
630
+ update!(**args)
631
+ end
632
+
633
+ # Update properties of this object
634
+ def update!(**args)
635
+ @key = args[:key] if args.key?(:key)
636
+ @value = args[:value] if args.key?(:value)
637
+ end
638
+ end
639
+
593
640
  #
594
641
  class DeploymentUpdate
595
642
  include Google::Apis::Core::Hashable
@@ -1926,6 +1973,26 @@ module Google
1926
1973
  end
1927
1974
  end
1928
1975
 
1976
+ # Service Account used as a credential.
1977
+ class ServiceAccount
1978
+ include Google::Apis::Core::Hashable
1979
+
1980
+ # The IAM service account email address like test@myproject.iam.gserviceaccount.
1981
+ # com
1982
+ # Corresponds to the JSON property `email`
1983
+ # @return [String]
1984
+ attr_accessor :email
1985
+
1986
+ def initialize(**args)
1987
+ update!(**args)
1988
+ end
1989
+
1990
+ # Update properties of this object
1991
+ def update!(**args)
1992
+ @email = args[:email] if args.key?(:email)
1993
+ end
1994
+ end
1995
+
1929
1996
  #
1930
1997
  class TargetConfiguration
1931
1998
  include Google::Apis::Core::Hashable
@@ -2215,7 +2282,8 @@ module Google
2215
2282
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>]
2216
2283
  attr_accessor :collection_overrides
2217
2284
 
2218
- # Credential used by ConfigurableResourceTypes.
2285
+ # The credential used by Deployment Manager and TypeProvider. Only one of the
2286
+ # options is permitted.
2219
2287
  # Corresponds to the JSON property `credential`
2220
2288
  # @return [Google::Apis::DeploymentmanagerAlpha::Credential]
2221
2289
  attr_accessor :credential