Autogenerated update (2018-12-08)

Update:
- alertcenter_v1beta1
- bigquery_v2
- compute_alpha
- compute_beta
- compute_v1
- container_v1beta1
- firestore_v1
This commit is contained in:
Google APIs committed 2018-12-08 00:36:43 +00:00
1 parent 42f94aee71
commit 2be58afd60
29 files changed
+9554 -297

No files matched your search

@@ -53,6 +53,11 @@ module Google
class AddonsConfig
include Google::Apis::Core::Hashable
# Configuration options for the Cloud Run feature.
# Corresponds to the JSON property `cloudRunConfig`
# @return [Google::Apis::ContainerV1beta1::CloudRunConfig]
attr_accessor :cloud_run_config
# Configuration options for the horizontal pod autoscaling feature, which
# increases or decreases the number of replica pods a replication controller
# has based on the resource usage of the existing pods.
@@ -66,6 +71,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::HttpLoadBalancing]
attr_accessor :http_load_balancing
# Configuration options for Istio addon.
# Corresponds to the JSON property `istioConfig`
# @return [Google::Apis::ContainerV1beta1::IstioConfig]
attr_accessor :istio_config
# Configuration for the Kubernetes Dashboard.
# Corresponds to the JSON property `kubernetesDashboard`
# @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
@@ -84,8 +94,10 @@ module Google
# Update properties of this object
def update!(**args)
@cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
@istio_config = args[:istio_config] if args.key?(:istio_config)
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
@network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
end
@@ -120,6 +132,25 @@ module Google
end
end
# Parameters for using BigQuery as the destination of resource usage export.
class BigQueryDestination
include Google::Apis::Core::Hashable
# The ID of a BigQuery Dataset.
# Corresponds to the JSON property `datasetId`
# @return [String]
attr_accessor :dataset_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
end
end
# Configuration for Binary Authorization.
class BinaryAuthorization
include Google::Apis::Core::Hashable
@@ -229,6 +260,26 @@ module Google
end
end
# Configuration options for the Cloud Run feature.
class CloudRunConfig
include Google::Apis::Core::Hashable
# Whether Cloud Run addon is enabled for this cluster.
# Corresponds to the JSON property `disabled`
# @return [Boolean]
attr_accessor :disabled
alias_method :disabled?, :disabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disabled = args[:disabled] if args.key?(:disabled)
end
end
# A Google Kubernetes Engine cluster.
class Cluster
include Google::Apis::Core::Hashable
@@ -518,6 +569,11 @@ module Google
# @return [Hash<String,String>]
attr_accessor :resource_labels
# Configuration for exporting cluster resource usages.
# Corresponds to the JSON property `resourceUsageExportConfig`
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
attr_accessor :resource_usage_export_config
# [Output only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
@@ -619,6 +675,7 @@ module Google
@private_cluster = args[:private_cluster] if args.key?(:private_cluster)
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
@self_link = args[:self_link] if args.key?(:self_link)
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
@status = args[:status] if args.key?(:status)
@@ -774,6 +831,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
attr_accessor :desired_pod_security_policy_config
# Configuration for exporting cluster resource usages.
# Corresponds to the JSON property `desiredResourceUsageExportConfig`
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
attr_accessor :desired_resource_usage_export_config
# VerticalPodAutoscaling contains global, per-cluster information
# required by Vertical Pod Autoscaler to automatically adjust
# the resources of pods controlled by it.
@@ -800,6 +862,7 @@ module Google
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
@desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
end
end
@@ -1196,6 +1259,32 @@ module Google
end
end
# Configuration options for Istio addon.
class IstioConfig
include Google::Apis::Core::Hashable
# The specified Istio auth mode, either none, or mutual TLS.
# Corresponds to the JSON property `auth`
# @return [String]
attr_accessor :auth
# Whether Istio is enabled for this cluster.
# Corresponds to the JSON property `disabled`
# @return [Boolean]
attr_accessor :disabled
alias_method :disabled?, :disabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@auth = args[:auth] if args.key?(:auth)
@disabled = args[:disabled] if args.key?(:disabled)
end
end
# Configuration for the Kubernetes Dashboard.
class KubernetesDashboard
include Google::Apis::Core::Hashable
@@ -1381,9 +1470,7 @@ module Google
# @return [String]
attr_accessor :name
# Recommended is a bool combining the drain state of the location (ie- has
# the region been drained manually?), and the stockout status of any zone
# according to Zone Advisor. This will be internal only for use by pantheon.
# Whether the location is recomended for GKE cluster scheduling.
# Corresponds to the JSON property `recommended`
# @return [Boolean]
attr_accessor :recommended
@@ -2302,6 +2389,33 @@ module Google
end
end
# Configuration for exporting cluster resource usages.
class ResourceUsageExportConfig
include Google::Apis::Core::Hashable
# Parameters for using BigQuery as the destination of resource usage export.
# Corresponds to the JSON property `bigqueryDestination`
# @return [Google::Apis::ContainerV1beta1::BigQueryDestination]
attr_accessor :bigquery_destination
# Whether to enable network egress metering for this cluster. If enabled, a
# daemonset will be created in the cluster to meter network egress traffic.
# Corresponds to the JSON property `enableNetworkEgressMetering`
# @return [Boolean]
attr_accessor :enable_network_egress_metering
alias_method :enable_network_egress_metering?, :enable_network_egress_metering
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
@enable_network_egress_metering = args[:enable_network_egress_metering] if args.key?(:enable_network_egress_metering)
end
end
# RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
# NodePool upgrade. This will be an no-op if the last upgrade successfully
# completed.
@@ -40,6 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BigQueryDestination
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BinaryAuthorization
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -64,6 +70,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class CloudRunConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Cluster
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -130,6 +142,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class IstioConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class KubernetesDashboard
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -292,6 +310,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ResourceUsageExportConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RollbackNodePoolUpgradeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -441,10 +465,14 @@ module Google
class AddonsConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cloud_run_config, as: 'cloudRunConfig', class: Google::Apis::ContainerV1beta1::CloudRunConfig, decorator: Google::Apis::ContainerV1beta1::CloudRunConfig::Representation
property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling::Representation
property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1beta1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1beta1::HttpLoadBalancing::Representation
property :istio_config, as: 'istioConfig', class: Google::Apis::ContainerV1beta1::IstioConfig, decorator: Google::Apis::ContainerV1beta1::IstioConfig::Representation
property :kubernetes_dashboard, as: 'kubernetesDashboard', class: Google::Apis::ContainerV1beta1::KubernetesDashboard, decorator: Google::Apis::ContainerV1beta1::KubernetesDashboard::Representation
property :network_policy_config, as: 'networkPolicyConfig', class: Google::Apis::ContainerV1beta1::NetworkPolicyConfig, decorator: Google::Apis::ContainerV1beta1::NetworkPolicyConfig::Representation
@@ -460,6 +488,13 @@ module Google
end
end
class BigQueryDestination
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dataset_id, as: 'datasetId'
end
end
class BinaryAuthorization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -492,6 +527,13 @@ module Google
end
end
class CloudRunConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disabled, as: 'disabled'
end
end
class Cluster
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -551,6 +593,8 @@ module Google
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1beta1::PrivateClusterConfig::Representation
hash :resource_labels, as: 'resourceLabels'
property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
property :self_link, as: 'selfLink'
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
property :status, as: 'status'
@@ -594,6 +638,8 @@ module Google
property :desired_node_version, as: 'desiredNodeVersion'
property :desired_pod_security_policy_config, as: 'desiredPodSecurityPolicyConfig', class: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig, decorator: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig::Representation
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation
end
@@ -679,6 +725,14 @@ module Google
end
end
class IstioConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auth, as: 'auth'
property :disabled, as: 'disabled'
end
end
class KubernetesDashboard
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -962,6 +1016,15 @@ module Google
end
end
class ResourceUsageExportConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::ContainerV1beta1::BigQueryDestination, decorator: Google::Apis::ContainerV1beta1::BigQueryDestination::Representation
property :enable_network_egress_metering, as: 'enableNetworkEgressMetering'
end
end
class RollbackNodePoolUpgradeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -136,7 +136,7 @@ module Google
execute_or_queue_command(command, &block)
end
#
# Used to fetch locations that offer GKE.
# @param [String] parent
# Contains the name of the resource requested.
# Specified in the format 'projects/*'.