google-api-client 0.30.2 → 0.30.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +90 -0
  3. data/README.md +17 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
  9. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analytics_v3/classes.rb +1 -1
  15. data/generated/google/apis/analytics_v3/service.rb +1 -1
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
  18. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +243 -5
  26. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  27. data/generated/google/apis/bigquery_v2/service.rb +206 -0
  28. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  29. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
  30. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  31. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  32. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  33. data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
  34. data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
  35. data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
  38. data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
  39. data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
  40. data/generated/google/apis/cloudasset_v1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
  42. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
  46. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  47. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
  48. data/generated/google/apis/cloudiot_v1.rb +1 -1
  49. data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
  50. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
  54. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
  56. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
  58. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  59. data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
  60. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
  62. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  63. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
  64. data/generated/google/apis/cloudshell_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
  66. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
  70. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
  72. data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
  73. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +8 -74
  76. data/generated/google/apis/composer_v1beta1.rb +1 -1
  77. data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
  78. data/generated/google/apis/compute_alpha.rb +1 -1
  79. data/generated/google/apis/compute_alpha/classes.rb +1991 -700
  80. data/generated/google/apis/compute_alpha/representations.rb +604 -154
  81. data/generated/google/apis/compute_alpha/service.rb +693 -89
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +375 -230
  84. data/generated/google/apis/compute_beta/representations.rb +2 -0
  85. data/generated/google/apis/compute_beta/service.rb +92 -6
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +1827 -239
  88. data/generated/google/apis/compute_v1/representations.rb +669 -2
  89. data/generated/google/apis/compute_v1/service.rb +1150 -6
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +104 -0
  92. data/generated/google/apis/container_v1/representations.rb +48 -0
  93. data/generated/google/apis/container_v1beta1.rb +1 -1
  94. data/generated/google/apis/container_v1beta1/classes.rb +67 -2
  95. data/generated/google/apis/container_v1beta1/representations.rb +31 -0
  96. data/generated/google/apis/content_v2.rb +1 -1
  97. data/generated/google/apis/content_v2/classes.rb +4 -0
  98. data/generated/google/apis/content_v2_1.rb +1 -1
  99. data/generated/google/apis/content_v2_1/classes.rb +41 -0
  100. data/generated/google/apis/content_v2_1/representations.rb +19 -0
  101. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  102. data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
  103. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  104. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  105. data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +147 -64
  108. data/generated/google/apis/dataproc_v1/representations.rb +42 -0
  109. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  110. data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
  111. data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
  112. data/generated/google/apis/dialogflow_v2.rb +2 -2
  113. data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
  114. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  115. data/generated/google/apis/dialogflow_v2/service.rb +77 -17
  116. data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  122. data/generated/google/apis/dns_v1beta2.rb +1 -1
  123. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +0 -10
  126. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  127. data/generated/google/apis/file_v1.rb +1 -1
  128. data/generated/google/apis/file_v1/classes.rb +17 -74
  129. data/generated/google/apis/file_v1/representations.rb +1 -0
  130. data/generated/google/apis/file_v1beta1.rb +1 -1
  131. data/generated/google/apis/file_v1beta1/classes.rb +17 -74
  132. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/firebase_v1beta1.rb +44 -0
  134. data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
  135. data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
  136. data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
  137. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  138. data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
  139. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  140. data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/iam_v1/classes.rb +6 -0
  143. data/generated/google/apis/iam_v1/representations.rb +1 -0
  144. data/generated/google/apis/logging_v2.rb +1 -1
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +18 -0
  147. data/generated/google/apis/ml_v1/representations.rb +3 -0
  148. data/generated/google/apis/monitoring_v3.rb +1 -1
  149. data/generated/google/apis/monitoring_v3/classes.rb +1 -1
  150. data/generated/google/apis/people_v1.rb +1 -1
  151. data/generated/google/apis/people_v1/classes.rb +12 -111
  152. data/generated/google/apis/pubsub_v1.rb +1 -1
  153. data/generated/google/apis/pubsub_v1/classes.rb +43 -0
  154. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  155. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  156. data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
  157. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
  158. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  159. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
  160. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
  161. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
  162. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  163. data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
  164. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
  165. data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
  166. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
  168. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  169. data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
  170. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
  171. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  172. data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
  173. data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
  174. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  175. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
  176. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  177. data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
  178. data/generated/google/apis/serviceusage_v1.rb +1 -1
  179. data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
  180. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  181. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
  182. data/generated/google/apis/spanner_v1.rb +1 -1
  183. data/generated/google/apis/spanner_v1/classes.rb +12 -111
  184. data/generated/google/apis/speech_v1.rb +1 -1
  185. data/generated/google/apis/speech_v1/classes.rb +13 -74
  186. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  187. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
  188. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  189. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
  190. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  191. data/generated/google/apis/tagmanager_v1.rb +4 -3
  192. data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
  193. data/generated/google/apis/tagmanager_v1/service.rb +223 -374
  194. data/generated/google/apis/tagmanager_v2.rb +4 -3
  195. data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
  196. data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
  197. data/generated/google/apis/tagmanager_v2/service.rb +608 -757
  198. data/generated/google/apis/texttospeech_v1.rb +1 -1
  199. data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
  200. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  201. data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
  202. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  203. data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
  204. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  205. data/generated/google/apis/tpu_v1.rb +1 -1
  206. data/generated/google/apis/tpu_v1/classes.rb +17 -88
  207. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  208. data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
  209. data/generated/google/apis/vault_v1.rb +1 -1
  210. data/generated/google/apis/vault_v1/classes.rb +49 -0
  211. data/generated/google/apis/vault_v1/representations.rb +18 -0
  212. data/generated/google/apis/videointelligence_v1.rb +1 -1
  213. data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
  214. data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
  215. data/generated/google/apis/videointelligence_v1/service.rb +217 -9
  216. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  217. data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
  218. data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
  219. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  220. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
  221. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
  222. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  223. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
  224. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
  225. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  226. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
  227. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
  228. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  229. data/lib/google/apis/version.rb +1 -1
  230. metadata +6 -2
@@ -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 = '20190527'
29
+ REVISION = '20190610'
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'
@@ -120,6 +120,25 @@ module Google
120
120
  end
121
121
  end
122
122
 
123
+ # Parameters for using BigQuery as the destination of resource usage export.
124
+ class BigQueryDestination
125
+ include Google::Apis::Core::Hashable
126
+
127
+ # The ID of a BigQuery Dataset.
128
+ # Corresponds to the JSON property `datasetId`
129
+ # @return [String]
130
+ attr_accessor :dataset_id
131
+
132
+ def initialize(**args)
133
+ update!(**args)
134
+ end
135
+
136
+ # Update properties of this object
137
+ def update!(**args)
138
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
139
+ end
140
+ end
141
+
123
142
  # CancelOperationRequest cancels a single operation.
124
143
  class CancelOperationRequest
125
144
  include Google::Apis::Core::Hashable
@@ -366,6 +385,8 @@ module Google
366
385
 
367
386
  # The logging service the cluster should use to write logs.
368
387
  # Currently available options:
388
+ # * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
389
+ # service with Kubernetes-native resource model in Stackdriver
369
390
  # * `logging.googleapis.com` - the Google Cloud Logging service.
370
391
  # * `none` - no logs will be exported from the cluster.
371
392
  # * if left as an empty string,`logging.googleapis.com` will be used.
@@ -461,6 +482,11 @@ module Google
461
482
  # @return [Hash<String,String>]
462
483
  attr_accessor :resource_labels
463
484
 
485
+ # Configuration for exporting cluster resource usages.
486
+ # Corresponds to the JSON property `resourceUsageExportConfig`
487
+ # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
488
+ attr_accessor :resource_usage_export_config
489
+
464
490
  # [Output only] Server-defined URL for the resource.
465
491
  # Corresponds to the JSON property `selfLink`
466
492
  # @return [String]
@@ -549,6 +575,7 @@ module Google
549
575
  @node_pools = args[:node_pools] if args.key?(:node_pools)
550
576
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
551
577
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
578
+ @resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
552
579
  @self_link = args[:self_link] if args.key?(:self_link)
553
580
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
554
581
  @status = args[:status] if args.key?(:status)
@@ -587,6 +614,16 @@ module Google
587
614
  # @return [Array<String>]
588
615
  attr_accessor :desired_locations
589
616
 
617
+ # The logging service the cluster should use to write logs.
618
+ # Currently available options:
619
+ # * "logging.googleapis.com/kubernetes" - the Google Cloud Logging
620
+ # service with Kubernetes-native resource model in Stackdriver
621
+ # * "logging.googleapis.com" - the Google Cloud Logging service
622
+ # * "none" - no logs will be exported from the cluster
623
+ # Corresponds to the JSON property `desiredLoggingService`
624
+ # @return [String]
625
+ attr_accessor :desired_logging_service
626
+
590
627
  # Configuration options for the master authorized networks feature. Enabled
591
628
  # master authorized networks will disallow all external traffic to access
592
629
  # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@@ -609,6 +646,8 @@ module Google
609
646
 
610
647
  # The monitoring service the cluster should use to write metrics.
611
648
  # Currently available options:
649
+ # * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
650
+ # service with Kubernetes-native resource model in Stackdriver
612
651
  # * "monitoring.googleapis.com" - the Google Cloud Monitoring service
613
652
  # * "none" - no metrics will be exported from the cluster
614
653
  # Corresponds to the JSON property `desiredMonitoringService`
@@ -642,6 +681,11 @@ module Google
642
681
  # @return [String]
643
682
  attr_accessor :desired_node_version
644
683
 
684
+ # Configuration for exporting cluster resource usages.
685
+ # Corresponds to the JSON property `desiredResourceUsageExportConfig`
686
+ # @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
687
+ attr_accessor :desired_resource_usage_export_config
688
+
645
689
  def initialize(**args)
646
690
  update!(**args)
647
691
  end
@@ -651,12 +695,14 @@ module Google
651
695
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
652
696
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
653
697
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
698
+ @desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
654
699
  @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
655
700
  @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
656
701
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
657
702
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
658
703
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
659
704
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
705
+ @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
660
706
  end
661
707
  end
662
708
 
@@ -704,6 +750,28 @@ module Google
704
750
  end
705
751
  end
706
752
 
753
+ # Parameters for controlling consumption metering.
754
+ class ConsumptionMeteringConfig
755
+ include Google::Apis::Core::Hashable
756
+
757
+ # Whether to enable consumption metering for this cluster. If enabled, a
758
+ # second BigQuery table will be created to hold resource consumption
759
+ # records.
760
+ # Corresponds to the JSON property `enabled`
761
+ # @return [Boolean]
762
+ attr_accessor :enabled
763
+ alias_method :enabled?, :enabled
764
+
765
+ def initialize(**args)
766
+ update!(**args)
767
+ end
768
+
769
+ # Update properties of this object
770
+ def update!(**args)
771
+ @enabled = args[:enabled] if args.key?(:enabled)
772
+ end
773
+ end
774
+
707
775
  # CreateClusterRequest creates a cluster.
708
776
  class CreateClusterRequest
709
777
  include Google::Apis::Core::Hashable
@@ -1634,6 +1702,7 @@ module Google
1634
1702
  # "k8s-node-setup-psm1"
1635
1703
  # "install-ssh-psm1"
1636
1704
  # "user-profile-psm1"
1705
+ # "serial-port-logging-enable"
1637
1706
  # Values are free-form strings, and only have meaning as interpreted by
1638
1707
  # the image running in the instance. The only restriction placed on them is
1639
1708
  # that each value's size must be less than or equal to 32 KB.
@@ -2084,6 +2153,39 @@ module Google
2084
2153
  end
2085
2154
  end
2086
2155
 
2156
+ # Configuration for exporting cluster resource usages.
2157
+ class ResourceUsageExportConfig
2158
+ include Google::Apis::Core::Hashable
2159
+
2160
+ # Parameters for using BigQuery as the destination of resource usage export.
2161
+ # Corresponds to the JSON property `bigqueryDestination`
2162
+ # @return [Google::Apis::ContainerV1::BigQueryDestination]
2163
+ attr_accessor :bigquery_destination
2164
+
2165
+ # Parameters for controlling consumption metering.
2166
+ # Corresponds to the JSON property `consumptionMeteringConfig`
2167
+ # @return [Google::Apis::ContainerV1::ConsumptionMeteringConfig]
2168
+ attr_accessor :consumption_metering_config
2169
+
2170
+ # Whether to enable network egress metering for this cluster. If enabled, a
2171
+ # daemonset will be created in the cluster to meter network egress traffic.
2172
+ # Corresponds to the JSON property `enableNetworkEgressMetering`
2173
+ # @return [Boolean]
2174
+ attr_accessor :enable_network_egress_metering
2175
+ alias_method :enable_network_egress_metering?, :enable_network_egress_metering
2176
+
2177
+ def initialize(**args)
2178
+ update!(**args)
2179
+ end
2180
+
2181
+ # Update properties of this object
2182
+ def update!(**args)
2183
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2184
+ @consumption_metering_config = args[:consumption_metering_config] if args.key?(:consumption_metering_config)
2185
+ @enable_network_egress_metering = args[:enable_network_egress_metering] if args.key?(:enable_network_egress_metering)
2186
+ end
2187
+ end
2188
+
2087
2189
  # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
2088
2190
  # NodePool upgrade. This will be an no-op if the last upgrade successfully
2089
2191
  # completed.
@@ -2573,6 +2675,8 @@ module Google
2573
2675
 
2574
2676
  # The monitoring service the cluster should use to write metrics.
2575
2677
  # Currently available options:
2678
+ # * "monitoring.googleapis.com/kubernetes" - the Google Cloud Monitoring
2679
+ # service with Kubernetes-native resource model in Stackdriver
2576
2680
  # * "monitoring.googleapis.com" - the Google Cloud Monitoring service
2577
2681
  # * "none" - no metrics will be exported from the cluster
2578
2682
  # Corresponds to the JSON property `monitoringService`
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class BigQueryDestination
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class CancelOperationRequest
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class ConsumptionMeteringConfig
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class CreateClusterRequest
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -262,6 +274,12 @@ module Google
262
274
  include Google::Apis::Core::JsonObjectSupport
263
275
  end
264
276
 
277
+ class ResourceUsageExportConfig
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
265
283
  class RollbackNodePoolUpgradeRequest
266
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
285
 
@@ -418,6 +436,13 @@ module Google
418
436
  end
419
437
  end
420
438
 
439
+ class BigQueryDestination
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :dataset_id, as: 'datasetId'
443
+ end
444
+ end
445
+
421
446
  class CancelOperationRequest
422
447
  # @private
423
448
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -494,6 +519,8 @@ module Google
494
519
  property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
495
520
 
496
521
  hash :resource_labels, as: 'resourceLabels'
522
+ property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
523
+
497
524
  property :self_link, as: 'selfLink'
498
525
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
499
526
  property :status, as: 'status'
@@ -511,6 +538,7 @@ module Google
511
538
 
512
539
  property :desired_image_type, as: 'desiredImageType'
513
540
  collection :desired_locations, as: 'desiredLocations'
541
+ property :desired_logging_service, as: 'desiredLoggingService'
514
542
  property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
515
543
 
516
544
  property :desired_master_version, as: 'desiredMasterVersion'
@@ -519,6 +547,8 @@ module Google
519
547
 
520
548
  property :desired_node_pool_id, as: 'desiredNodePoolId'
521
549
  property :desired_node_version, as: 'desiredNodeVersion'
550
+ property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
551
+
522
552
  end
523
553
  end
524
554
 
@@ -532,6 +562,13 @@ module Google
532
562
  end
533
563
  end
534
564
 
565
+ class ConsumptionMeteringConfig
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :enabled, as: 'enabled'
569
+ end
570
+ end
571
+
535
572
  class CreateClusterRequest
536
573
  # @private
537
574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -860,6 +897,17 @@ module Google
860
897
  end
861
898
  end
862
899
 
900
+ class ResourceUsageExportConfig
901
+ # @private
902
+ class Representation < Google::Apis::Core::JsonRepresentation
903
+ property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::ContainerV1::BigQueryDestination, decorator: Google::Apis::ContainerV1::BigQueryDestination::Representation
904
+
905
+ property :consumption_metering_config, as: 'consumptionMeteringConfig', class: Google::Apis::ContainerV1::ConsumptionMeteringConfig, decorator: Google::Apis::ContainerV1::ConsumptionMeteringConfig::Representation
906
+
907
+ property :enable_network_egress_metering, as: 'enableNetworkEgressMetering'
908
+ end
909
+ end
910
+
863
911
  class RollbackNodePoolUpgradeRequest
864
912
  # @private
865
913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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 = '20190527'
29
+ REVISION = '20190610'
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'
@@ -675,6 +675,11 @@ module Google
675
675
  # @return [String]
676
676
  attr_accessor :subnetwork
677
677
 
678
+ # Cluster tier settings.
679
+ # Corresponds to the JSON property `tierSettings`
680
+ # @return [Google::Apis::ContainerV1beta1::TierSettings]
681
+ attr_accessor :tier_settings
682
+
678
683
  # [Output only] The IP address range of the Cloud TPUs in this cluster, in
679
684
  # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
680
685
  # notation (e.g. `1.2.3.4/29`).
@@ -757,6 +762,7 @@ module Google
757
762
  @status = args[:status] if args.key?(:status)
758
763
  @status_message = args[:status_message] if args.key?(:status_message)
759
764
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
765
+ @tier_settings = args[:tier_settings] if args.key?(:tier_settings)
760
766
  @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
761
767
  @vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
762
768
  @workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
@@ -1884,8 +1890,7 @@ module Google
1884
1890
  # @return [String]
1885
1891
  attr_accessor :client_key
1886
1892
 
1887
- # [Output only] Base64-encoded public certificate that is the root of
1888
- # trust for the cluster.
1893
+ #
1889
1894
  # Corresponds to the JSON property `clusterCaCertificate`
1890
1895
  # @return [String]
1891
1896
  attr_accessor :cluster_ca_certificate
@@ -2177,6 +2182,7 @@ module Google
2177
2182
  # "k8s-node-setup-psm1"
2178
2183
  # "install-ssh-psm1"
2179
2184
  # "user-profile-psm1"
2185
+ # "serial-port-logging-enable"
2180
2186
  # Values are free-form strings, and only have meaning as interpreted by
2181
2187
  # the image running in the instance. The only restriction placed on them is
2182
2188
  # that each value's size must be less than or equal to 32 KB.
@@ -2231,6 +2237,11 @@ module Google
2231
2237
  # @return [String]
2232
2238
  attr_accessor :service_account
2233
2239
 
2240
+ # A set of Shielded Instance options.
2241
+ # Corresponds to the JSON property `shieldedInstanceConfig`
2242
+ # @return [Google::Apis::ContainerV1beta1::ShieldedInstanceConfig]
2243
+ attr_accessor :shielded_instance_config
2244
+
2234
2245
  # The list of instance tags applied to all nodes. Tags are used to identify
2235
2246
  # valid sources or targets for network firewalls and are specified by
2236
2247
  # the client during cluster or node pool creation. Each tag within the list
@@ -2271,6 +2282,7 @@ module Google
2271
2282
  @preemptible = args[:preemptible] if args.key?(:preemptible)
2272
2283
  @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
2273
2284
  @service_account = args[:service_account] if args.key?(:service_account)
2285
+ @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
2274
2286
  @tags = args[:tags] if args.key?(:tags)
2275
2287
  @taints = args[:taints] if args.key?(:taints)
2276
2288
  @workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
@@ -3570,6 +3582,40 @@ module Google
3570
3582
  end
3571
3583
  end
3572
3584
 
3585
+ # A set of Shielded Instance options.
3586
+ class ShieldedInstanceConfig
3587
+ include Google::Apis::Core::Hashable
3588
+
3589
+ # Defines whether the instance has integrity monitoring enabled.
3590
+ # Enables monitoring and attestation of the boot integrity of the instance.
3591
+ # The attestation is performed against the integrity policy baseline. This
3592
+ # baseline is initially derived from the implicitly trusted boot image when
3593
+ # the instance is created.
3594
+ # Corresponds to the JSON property `enableIntegrityMonitoring`
3595
+ # @return [Boolean]
3596
+ attr_accessor :enable_integrity_monitoring
3597
+ alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
3598
+
3599
+ # Defines whether the instance has Secure Boot enabled.
3600
+ # Secure Boot helps ensure that the system only runs authentic software by
3601
+ # verifying the digital signature of all boot components, and halting the
3602
+ # boot process if signature verification fails.
3603
+ # Corresponds to the JSON property `enableSecureBoot`
3604
+ # @return [Boolean]
3605
+ attr_accessor :enable_secure_boot
3606
+ alias_method :enable_secure_boot?, :enable_secure_boot
3607
+
3608
+ def initialize(**args)
3609
+ update!(**args)
3610
+ end
3611
+
3612
+ # Update properties of this object
3613
+ def update!(**args)
3614
+ @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
3615
+ @enable_secure_boot = args[:enable_secure_boot] if args.key?(:enable_secure_boot)
3616
+ end
3617
+ end
3618
+
3573
3619
  # StartIPRotationRequest creates a new IP for the cluster and then performs
3574
3620
  # a node upgrade on each node pool to point to the new IP.
3575
3621
  class StartIpRotationRequest
@@ -3648,6 +3694,25 @@ module Google
3648
3694
  end
3649
3695
  end
3650
3696
 
3697
+ # Cluster tier settings.
3698
+ class TierSettings
3699
+ include Google::Apis::Core::Hashable
3700
+
3701
+ # Cluster tier.
3702
+ # Corresponds to the JSON property `tier`
3703
+ # @return [String]
3704
+ attr_accessor :tier
3705
+
3706
+ def initialize(**args)
3707
+ update!(**args)
3708
+ end
3709
+
3710
+ # Update properties of this object
3711
+ def update!(**args)
3712
+ @tier = args[:tier] if args.key?(:tier)
3713
+ end
3714
+ end
3715
+
3651
3716
  # UpdateClusterRequest updates the settings of a cluster.
3652
3717
  class UpdateClusterRequest
3653
3718
  include Google::Apis::Core::Hashable
@@ -454,6 +454,12 @@ module Google
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
456
 
457
+ class ShieldedInstanceConfig
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
457
463
  class StartIpRotationRequest
458
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
465
 
@@ -466,6 +472,12 @@ module Google
466
472
  include Google::Apis::Core::JsonObjectSupport
467
473
  end
468
474
 
475
+ class TierSettings
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
469
481
  class UpdateClusterRequest
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
@@ -680,6 +692,8 @@ module Google
680
692
  property :status, as: 'status'
681
693
  property :status_message, as: 'statusMessage'
682
694
  property :subnetwork, as: 'subnetwork'
695
+ property :tier_settings, as: 'tierSettings', class: Google::Apis::ContainerV1beta1::TierSettings, decorator: Google::Apis::ContainerV1beta1::TierSettings::Representation
696
+
683
697
  property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
684
698
  property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation
685
699
 
@@ -1048,6 +1062,8 @@ module Google
1048
1062
  property :sandbox_config, as: 'sandboxConfig', class: Google::Apis::ContainerV1beta1::SandboxConfig, decorator: Google::Apis::ContainerV1beta1::SandboxConfig::Representation
1049
1063
 
1050
1064
  property :service_account, as: 'serviceAccount'
1065
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1beta1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1beta1::ShieldedInstanceConfig::Representation
1066
+
1051
1067
  collection :tags, as: 'tags'
1052
1068
  collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation
1053
1069
 
@@ -1356,6 +1372,14 @@ module Google
1356
1372
  end
1357
1373
  end
1358
1374
 
1375
+ class ShieldedInstanceConfig
1376
+ # @private
1377
+ class Representation < Google::Apis::Core::JsonRepresentation
1378
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
1379
+ property :enable_secure_boot, as: 'enableSecureBoot'
1380
+ end
1381
+ end
1382
+
1359
1383
  class StartIpRotationRequest
1360
1384
  # @private
1361
1385
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1375,6 +1399,13 @@ module Google
1375
1399
  end
1376
1400
  end
1377
1401
 
1402
+ class TierSettings
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :tier, as: 'tier'
1406
+ end
1407
+ end
1408
+
1378
1409
  class UpdateClusterRequest
1379
1410
  # @private
1380
1411
  class Representation < Google::Apis::Core::JsonRepresentation