Autogenerated update (2019-09-29)

Update:
- container_v1
- oslogin_v1
- oslogin_v1alpha
- oslogin_v1beta
This commit is contained in:
Google APIs 2019-09-29 00:38:01 +00:00
parent 41ca4a205c
commit 60eb4c6dd5
12 changed files with 208 additions and 4 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1
VERSION = 'V1'
REVISION = '20190830'
REVISION = '20190906'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -139,6 +139,27 @@ module Google
end
end
# Configuration for Binary Authorization.
class BinaryAuthorization
include Google::Apis::Core::Hashable
# Enable Binary Authorization for this cluster. If enabled, all container
# images will be validated by Binary Authorization.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
# CancelOperationRequest cancels a single operation.
class CancelOperationRequest
include Google::Apis::Core::Hashable
@ -237,6 +258,11 @@ module Google
# @return [Google::Apis::ContainerV1::AddonsConfig]
attr_accessor :addons_config
# Configuration for Binary Authorization.
# Corresponds to the JSON property `binaryAuthorization`
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
attr_accessor :binary_authorization
# The IP address range of the container pods in this cluster, in
# [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
# notation (e.g. `10.96.0.0/14`). Leave blank to have
@ -277,6 +303,11 @@ module Google
# @return [String]
attr_accessor :current_node_version
# Configuration of etcd encryption.
# Corresponds to the JSON property `databaseEncryption`
# @return [Google::Apis::ContainerV1::DatabaseEncryption]
attr_accessor :database_encryption
# Constraints applied to pods.
# Corresponds to the JSON property `defaultMaxPodsConstraint`
# @return [Google::Apis::ContainerV1::MaxPodsConstraint]
@ -541,12 +572,14 @@ module Google
# Update properties of this object
def update!(**args)
@addons_config = args[:addons_config] if args.key?(:addons_config)
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
@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)
@current_node_version = args[:current_node_version] if args.key?(:current_node_version)
@database_encryption = args[:database_encryption] if args.key?(:database_encryption)
@default_max_pods_constraint = args[:default_max_pods_constraint] if args.key?(:default_max_pods_constraint)
@description = args[:description] if args.key?(:description)
@enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
@ -598,6 +631,16 @@ module Google
# @return [Google::Apis::ContainerV1::AddonsConfig]
attr_accessor :desired_addons_config
# Configuration for Binary Authorization.
# Corresponds to the JSON property `desiredBinaryAuthorization`
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
attr_accessor :desired_binary_authorization
# Configuration of etcd encryption.
# Corresponds to the JSON property `desiredDatabaseEncryption`
# @return [Google::Apis::ContainerV1::DatabaseEncryption]
attr_accessor :desired_database_encryption
# The desired image type for the node pool.
# NOTE: Set the "desired_node_pool" field as well.
# Corresponds to the JSON property `desiredImageType`
@ -699,6 +742,8 @@ module Google
# Update properties of this object
def update!(**args)
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
@ -908,6 +953,32 @@ module Google
end
end
# Configuration of etcd encryption.
class DatabaseEncryption
include Google::Apis::Core::Hashable
# Name of CloudKMS key to use for the encryption of secrets in etcd.
# Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
# Corresponds to the JSON property `keyName`
# @return [String]
attr_accessor :key_name
# Denotes the state of etcd encryption.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@key_name = args[:key_name] if args.key?(:key_name)
@state = args[:state] if args.key?(:state)
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
@ -1831,6 +1902,11 @@ module Google
# @return [String]
attr_accessor :service_account
# A set of Shielded Instance options.
# Corresponds to the JSON property `shieldedInstanceConfig`
# @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
attr_accessor :shielded_instance_config
# The list of instance tags applied to all nodes. Tags are used to identify
# valid sources or targets for network firewalls and are specified by
# the client during cluster or node pool creation. Each tag within the list
@ -1864,6 +1940,7 @@ module Google
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
@preemptible = args[:preemptible] if args.key?(:preemptible)
@service_account = args[:service_account] if args.key?(:service_account)
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@tags = args[:tags] if args.key?(:tags)
@taints = args[:taints] if args.key?(:taints)
end
@ -3026,6 +3103,40 @@ module Google
end
end
# A set of Shielded Instance options.
class ShieldedInstanceConfig
include Google::Apis::Core::Hashable
# Defines whether the instance has integrity monitoring enabled.
# Enables monitoring and attestation of the boot integrity of the instance.
# The attestation is performed against the integrity policy baseline. This
# baseline is initially derived from the implicitly trusted boot image when
# the instance is created.
# Corresponds to the JSON property `enableIntegrityMonitoring`
# @return [Boolean]
attr_accessor :enable_integrity_monitoring
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
# Defines whether the instance has Secure Boot enabled.
# Secure Boot helps ensure that the system only runs authentic software by
# verifying the digital signature of all boot components, and halting the
# boot process if signature verification fails.
# Corresponds to the JSON property `enableSecureBoot`
# @return [Boolean]
attr_accessor :enable_secure_boot
alias_method :enable_secure_boot?, :enable_secure_boot
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
@enable_secure_boot = args[:enable_secure_boot] if args.key?(:enable_secure_boot)
end
end
# StartIPRotationRequest creates a new IP for the cluster and then performs
# a node upgrade on each node pool to point to the new IP.
class StartIpRotationRequest

View File

@ -46,6 +46,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BinaryAuthorization
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -106,6 +112,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DatabaseEncryption
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -376,6 +388,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedInstanceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StartIpRotationRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -455,6 +473,13 @@ module Google
end
end
class BinaryAuthorization
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class CancelOperationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -485,6 +510,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
@ -492,6 +519,8 @@ module Google
property :current_master_version, as: 'currentMasterVersion'
property :current_node_count, as: 'currentNodeCount'
property :current_node_version, as: 'currentNodeVersion'
property :database_encryption, as: 'databaseEncryption', class: Google::Apis::ContainerV1::DatabaseEncryption, decorator: Google::Apis::ContainerV1::DatabaseEncryption::Representation
property :default_max_pods_constraint, as: 'defaultMaxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
property :description, as: 'description'
@ -548,6 +577,10 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1::DatabaseEncryption, decorator: Google::Apis::ContainerV1::DatabaseEncryption::Representation
property :desired_image_type, as: 'desiredImageType'
property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1::IntraNodeVisibilityConfig::Representation
@ -614,6 +647,14 @@ module Google
end
end
class DatabaseEncryption
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key_name, as: 'keyName'
property :state, as: 'state'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -842,6 +883,8 @@ module Google
collection :oauth_scopes, as: 'oauthScopes'
property :preemptible, as: 'preemptible'
property :service_account, as: 'serviceAccount'
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1::ShieldedInstanceConfig::Representation
collection :tags, as: 'tags'
collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation
@ -1108,6 +1151,14 @@ module Google
end
end
class ShieldedInstanceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
property :enable_secure_boot, as: 'enableSecureBoot'
end
end
class StartIpRotationRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1
VERSION = 'V1'
REVISION = '20190429'
REVISION = '20190921'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -117,6 +117,11 @@ module Google
# @return [String]
attr_accessor :home_directory
# Output only. The canonical resource name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The operating system type where this account applies.
# Corresponds to the JSON property `operatingSystemType`
# @return [String]
@ -159,6 +164,7 @@ module Google
@gecos = args[:gecos] if args.key?(:gecos)
@gid = args[:gid] if args.key?(:gid)
@home_directory = args[:home_directory] if args.key?(:home_directory)
@name = args[:name] if args.key?(:name)
@operating_system_type = args[:operating_system_type] if args.key?(:operating_system_type)
@primary = args[:primary] if args.key?(:primary)
@shell = args[:shell] if args.key?(:shell)
@ -189,6 +195,11 @@ module Google
# @return [String]
attr_accessor :key
# Output only. The canonical resource name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
@ -198,6 +209,7 @@ module Google
@expiration_time_usec = args[:expiration_time_usec] if args.key?(:expiration_time_usec)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@key = args[:key] if args.key?(:key)
@name = args[:name] if args.key?(:name)
end
end
end

View File

@ -84,6 +84,7 @@ module Google
property :gecos, as: 'gecos'
property :gid, :numeric_string => true, as: 'gid'
property :home_directory, as: 'homeDirectory'
property :name, as: 'name'
property :operating_system_type, as: 'operatingSystemType'
property :primary, as: 'primary'
property :shell, as: 'shell'
@ -99,6 +100,7 @@ module Google
property :expiration_time_usec, :numeric_string => true, as: 'expirationTimeUsec'
property :fingerprint, as: 'fingerprint'
property :key, as: 'key'
property :name, as: 'name'
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1alpha
VERSION = 'V1alpha'
REVISION = '20190429'
REVISION = '20190921'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -117,6 +117,11 @@ module Google
# @return [String]
attr_accessor :home_directory
# Output only. The canonical resource name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The operating system type where this account applies.
# Corresponds to the JSON property `operatingSystemType`
# @return [String]
@ -159,6 +164,7 @@ module Google
@gecos = args[:gecos] if args.key?(:gecos)
@gid = args[:gid] if args.key?(:gid)
@home_directory = args[:home_directory] if args.key?(:home_directory)
@name = args[:name] if args.key?(:name)
@operating_system_type = args[:operating_system_type] if args.key?(:operating_system_type)
@primary = args[:primary] if args.key?(:primary)
@shell = args[:shell] if args.key?(:shell)
@ -189,6 +195,11 @@ module Google
# @return [String]
attr_accessor :key
# Output only. The canonical resource name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
@ -198,6 +209,7 @@ module Google
@expiration_time_usec = args[:expiration_time_usec] if args.key?(:expiration_time_usec)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@key = args[:key] if args.key?(:key)
@name = args[:name] if args.key?(:name)
end
end
end

View File

@ -84,6 +84,7 @@ module Google
property :gecos, as: 'gecos'
property :gid, :numeric_string => true, as: 'gid'
property :home_directory, as: 'homeDirectory'
property :name, as: 'name'
property :operating_system_type, as: 'operatingSystemType'
property :primary, as: 'primary'
property :shell, as: 'shell'
@ -99,6 +100,7 @@ module Google
property :expiration_time_usec, :numeric_string => true, as: 'expirationTimeUsec'
property :fingerprint, as: 'fingerprint'
property :key, as: 'key'
property :name, as: 'name'
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1beta
VERSION = 'V1beta'
REVISION = '20190429'
REVISION = '20190921'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -117,6 +117,11 @@ module Google
# @return [String]
attr_accessor :home_directory
# Output only. The canonical resource name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The operating system type where this account applies.
# Corresponds to the JSON property `operatingSystemType`
# @return [String]
@ -159,6 +164,7 @@ module Google
@gecos = args[:gecos] if args.key?(:gecos)
@gid = args[:gid] if args.key?(:gid)
@home_directory = args[:home_directory] if args.key?(:home_directory)
@name = args[:name] if args.key?(:name)
@operating_system_type = args[:operating_system_type] if args.key?(:operating_system_type)
@primary = args[:primary] if args.key?(:primary)
@shell = args[:shell] if args.key?(:shell)
@ -189,6 +195,11 @@ module Google
# @return [String]
attr_accessor :key
# Output only. The canonical resource name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
@ -198,6 +209,7 @@ module Google
@expiration_time_usec = args[:expiration_time_usec] if args.key?(:expiration_time_usec)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@key = args[:key] if args.key?(:key)
@name = args[:name] if args.key?(:name)
end
end
end

View File

@ -84,6 +84,7 @@ module Google
property :gecos, as: 'gecos'
property :gid, :numeric_string => true, as: 'gid'
property :home_directory, as: 'homeDirectory'
property :name, as: 'name'
property :operating_system_type, as: 'operatingSystemType'
property :primary, as: 'primary'
property :shell, as: 'shell'
@ -99,6 +100,7 @@ module Google
property :expiration_time_usec, :numeric_string => true, as: 'expirationTimeUsec'
property :fingerprint, as: 'fingerprint'
property :key, as: 'key'
property :name, as: 'name'
end
end
end