Skip to content

Commit

Permalink
Autogenerated update (2018-11-30)
Browse files Browse the repository at this point in the history
Delete:
- speech_v1beta1

Update:
- cloudfunctions_v1
- composer_v1
- container_v1
- dataproc_v1
- dataproc_v1beta2
- dialogflow_v2beta1
- firebasehosting_v1beta1
- monitoring_v3
- servicecontrol_v1
- testing_v1
- youtube_partner_v1
  • Loading branch information
googleapis-publisher committed Nov 30, 2018
1 parent e5f65e7 commit 54d1b47
Show file tree
Hide file tree
Showing 37 changed files with 2,958 additions and 938 deletions.
210 changes: 210 additions & 0 deletions api_names_out.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion generated/google/apis/cloudfunctions_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/functions
module CloudfunctionsV1
VERSION = 'V1'
REVISION = '20181018'
REVISION = '20181121'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
5 changes: 2 additions & 3 deletions generated/google/apis/cloudfunctions_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ class CloudFunction
# @return [String]
attr_accessor :entry_point

# **Beta Feature**
# Environment variables that shall be available during function execution.
# Corresponds to the JSON property `environmentVariables`
# @return [Hash<String,String>]
Expand Down Expand Up @@ -891,7 +890,7 @@ class OperationMetadataV1
attr_accessor :update_time

# Version id of the function created or updated by an API call.
# This field is only pupulated for Create and Update operations.
# This field is only populated for Create and Update operations.
# Corresponds to the JSON property `versionId`
# @return [Fixnum]
attr_accessor :version_id
Expand Down Expand Up @@ -936,7 +935,7 @@ class OperationMetadataV1Beta2
attr_accessor :update_time

# Version id of the function created or updated by an API call.
# This field is only pupulated for Create and Update operations.
# This field is only populated for Create and Update operations.
# Corresponds to the JSON property `versionId`
# @return [Fixnum]
attr_accessor :version_id
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/composer_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/composer/
module ComposerV1
VERSION = 'V1'
REVISION = '20181001'
REVISION = '20181120'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
9 changes: 9 additions & 0 deletions generated/google/apis/composer_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,14 @@ class SoftwareConfig
# @return [Hash<String,String>]
attr_accessor :pypi_packages

# Optional. The major version of Python used to run the Apache Airflow
# scheduler, worker, and webserver processes.
# Can be set to '2' or '3'. If not specified, the default is '2'. Cannot be
# updated.
# Corresponds to the JSON property `pythonVersion`
# @return [String]
attr_accessor :python_version

def initialize(**args)
update!(**args)
end
Expand All @@ -562,6 +570,7 @@ def update!(**args)
@env_variables = args[:env_variables] if args.key?(:env_variables)
@image_version = args[:image_version] if args.key?(:image_version)
@pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
@python_version = args[:python_version] if args.key?(:python_version)
end
end

Expand Down
1 change: 1 addition & 0 deletions generated/google/apis/composer_v1/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
hash :env_variables, as: 'envVariables'
property :image_version, as: 'imageVersion'
hash :pypi_packages, as: 'pypiPackages'
property :python_version, as: 'pythonVersion'
end
end

Expand Down
6 changes: 3 additions & 3 deletions generated/google/apis/container_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ module Google
module Apis
# Kubernetes Engine API
#
# The Google Kubernetes Engine API is used for building and managing container
# based applications, powered by the open source Kubernetes technology.
# Builds and manages container-based applications, powered by the open source
# Kubernetes technology.
#
# @see https://cloud.google.com/container-engine/
module ContainerV1
VERSION = 'V1'
REVISION = '20180917'
REVISION = '20181109'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
105 changes: 99 additions & 6 deletions generated/google/apis/container_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ class Cluster
# @return [String]
attr_accessor :cluster_ipv4_cidr

# Which conditions caused the current cluster state.
# Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
attr_accessor :conditions

# [Output only] The time the cluster was created, in
# [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
# Corresponds to the JSON property `createTime`
Expand All @@ -237,7 +242,8 @@ class Cluster
# @return [String]
attr_accessor :current_master_version

# [Output only] The number of nodes currently in the cluster.
# [Output only] The number of nodes currently in the cluster. Deprecated.
# Call Kubernetes API directly to retrieve node information.
# Corresponds to the JSON property `currentNodeCount`
# @return [Fixnum]
attr_accessor :current_node_count
Expand Down Expand Up @@ -340,7 +346,7 @@ class Cluster
attr_accessor :location

# The list of Google Compute Engine
# [locations](/compute/docs/zones#available) in which the cluster's nodes
# [zones](/compute/docs/zones#available) in which the cluster's nodes
# should be located.
# Corresponds to the JSON property `locations`
# @return [Array<String>]
Expand Down Expand Up @@ -490,6 +496,7 @@ def initialize(**args)
def update!(**args)
@addons_config = args[:addons_config] if args.key?(:addons_config)
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
@conditions = args[:conditions] if args.key?(:conditions)
@create_time = args[:create_time] if args.key?(:create_time)
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
Expand Down Expand Up @@ -548,7 +555,7 @@ class ClusterUpdate
attr_accessor :desired_image_type

# The desired list of Google Compute Engine
# [locations](/compute/docs/zones#available) in which the cluster's nodes
# [zones](/compute/docs/zones#available) in which the cluster's nodes
# should be located. Changing the locations a cluster is in will result
# in nodes being either created or removed from the cluster, depending on
# whether locations are being added or removed.
Expand Down Expand Up @@ -1184,8 +1191,8 @@ class MasterAuth
attr_accessor :password

# The username to use for HTTP basic authentication to the master endpoint.
# For clusters v1.6.0 and later, you can disable basic authentication by
# providing an empty username.
# For clusters v1.6.0 and later, basic authentication can be disabled by
# leaving username unspecified (or setting it to the empty string).
# Corresponds to the JSON property `username`
# @return [String]
attr_accessor :username
Expand Down Expand Up @@ -1447,6 +1454,13 @@ class NodeConfig
# @return [Array<String>]
attr_accessor :tags

# List of kubernetes taints to be applied to each node.
# For more information, including usage and the valid values, see:
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
# Corresponds to the JSON property `taints`
# @return [Array<Google::Apis::ContainerV1::NodeTaint>]
attr_accessor :taints

def initialize(**args)
update!(**args)
end
Expand All @@ -1466,6 +1480,7 @@ def update!(**args)
@preemptible = args[:preemptible] if args.key?(:preemptible)
@service_account = args[:service_account] if args.key?(:service_account)
@tags = args[:tags] if args.key?(:tags)
@taints = args[:taints] if args.key?(:taints)
end
end

Expand Down Expand Up @@ -1524,6 +1539,11 @@ class NodePool
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
attr_accessor :autoscaling

# Which conditions caused the current node pool state.
# Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
attr_accessor :conditions

# Parameters that describe the nodes in a cluster.
# Corresponds to the JSON property `config`
# @return [Google::Apis::ContainerV1::NodeConfig]
Expand Down Expand Up @@ -1583,6 +1603,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
@conditions = args[:conditions] if args.key?(:conditions)
@config = args[:config] if args.key?(:config)
@initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
Expand Down Expand Up @@ -1630,11 +1651,50 @@ def update!(**args)
end
end

# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
# For more information, including usage and the valid values, see:
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
class NodeTaint
include Google::Apis::Core::Hashable

# Effect for taint.
# Corresponds to the JSON property `effect`
# @return [String]
attr_accessor :effect

# Key for taint.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key

# Value for taint.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@effect = args[:effect] if args.key?(:effect)
@key = args[:key] if args.key?(:key)
@value = args[:value] if args.key?(:value)
end
end

# This operation resource represents operations that may have happened or are
# happening on the cluster. All fields are output only.
class Operation
include Google::Apis::Core::Hashable

# Which conditions caused the current cluster state.
# Corresponds to the JSON property `clusterConditions`
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
attr_accessor :cluster_conditions

# Detailed operation progress, if available.
# Corresponds to the JSON property `detail`
# @return [String]
Expand All @@ -1659,6 +1719,11 @@ class Operation
# @return [String]
attr_accessor :name

# Which conditions caused the current node pool state.
# Corresponds to the JSON property `nodepoolConditions`
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
attr_accessor :nodepool_conditions

# The operation type.
# Corresponds to the JSON property `operationType`
# @return [String]
Expand Down Expand Up @@ -1704,10 +1769,12 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
@detail = args[:detail] if args.key?(:detail)
@end_time = args[:end_time] if args.key?(:end_time)
@location = args[:location] if args.key?(:location)
@name = args[:name] if args.key?(:name)
@nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
@operation_type = args[:operation_type] if args.key?(:operation_type)
@self_link = args[:self_link] if args.key?(:self_link)
@start_time = args[:start_time] if args.key?(:start_time)
Expand Down Expand Up @@ -2042,7 +2109,7 @@ class SetLocationsRequest
attr_accessor :cluster_id

# The desired list of Google Compute Engine
# [locations](/compute/docs/zones#available) in which the cluster's nodes
# [zones](/compute/docs/zones#available) in which the cluster's nodes
# should be located. Changing the locations a cluster is in will result
# in nodes being either created or removed from the cluster, depending on
# whether locations are being added or removed.
Expand Down Expand Up @@ -2579,6 +2646,32 @@ def update!(**args)
end
end

# StatusCondition describes why a cluster or a node pool has a certain status
# (e.g., ERROR or DEGRADED).
class StatusCondition
include Google::Apis::Core::Hashable

# Machine-friendly representation of the condition
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code

# Human-friendly representation of the condition
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@message = args[:message] if args.key?(:message)
end
end

# UpdateClusterRequest updates the settings of a cluster.
class UpdateClusterRequest
include Google::Apis::Core::Hashable
Expand Down
Loading

0 comments on commit 54d1b47

Please sign in to comment.