Skip to content

Commit

Permalink
feat: Automated regeneration of container v1 client (googleapis#20090)
Browse files Browse the repository at this point in the history
Auto-created at 2024-08-18 09:59:07 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Aug 18, 2024
1 parent 2871cc1 commit 8cfdcb4
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 2 deletions.
8 changes: 8 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114480,6 +114480,7 @@
"/container:v1/Cluster/resourceUsageExportConfig": resource_usage_export_config
"/container:v1/Cluster/satisfiesPzi": satisfies_pzi
"/container:v1/Cluster/satisfiesPzs": satisfies_pzs
"/container:v1/Cluster/secretManagerConfig": secret_manager_config
"/container:v1/Cluster/securityPostureConfig": security_posture_config
"/container:v1/Cluster/selfLink": self_link
"/container:v1/Cluster/servicesIpv4Cidr": services_ipv4_cidr
Expand Down Expand Up @@ -114552,6 +114553,7 @@
"/container:v1/ClusterUpdate/desiredPrivateIpv6GoogleAccess": desired_private_ipv6_google_access
"/container:v1/ClusterUpdate/desiredReleaseChannel": desired_release_channel
"/container:v1/ClusterUpdate/desiredResourceUsageExportConfig": desired_resource_usage_export_config
"/container:v1/ClusterUpdate/desiredSecretManagerConfig": desired_secret_manager_config
"/container:v1/ClusterUpdate/desiredSecurityPostureConfig": desired_security_posture_config
"/container:v1/ClusterUpdate/desiredServiceExternalIpsConfig": desired_service_external_ips_config
"/container:v1/ClusterUpdate/desiredShieldedNodes": desired_shielded_nodes
Expand Down Expand Up @@ -114858,6 +114860,8 @@
"/container:v1/NodeConfig/shieldedInstanceConfig": shielded_instance_config
"/container:v1/NodeConfig/soleTenantConfig": sole_tenant_config
"/container:v1/NodeConfig/spot": spot
"/container:v1/NodeConfig/storagePools": storage_pools
"/container:v1/NodeConfig/storagePools/storage_pool": storage_pool
"/container:v1/NodeConfig/tags": tags
"/container:v1/NodeConfig/tags/tag": tag
"/container:v1/NodeConfig/taints": taints
Expand Down Expand Up @@ -115057,6 +115061,8 @@
"/container:v1/SecondaryBootDisk/diskImage": disk_image
"/container:v1/SecondaryBootDisk/mode": mode
"/container:v1/SecondaryBootDiskUpdateStrategy": secondary_boot_disk_update_strategy
"/container:v1/SecretManagerConfig": secret_manager_config
"/container:v1/SecretManagerConfig/enabled": enabled
"/container:v1/SecurityBulletinEvent": security_bulletin_event
"/container:v1/SecurityBulletinEvent/affectedSupportedMinors": affected_supported_minors
"/container:v1/SecurityBulletinEvent/affectedSupportedMinors/affected_supported_minor": affected_supported_minor
Expand Down Expand Up @@ -115242,6 +115248,8 @@
"/container:v1/UpdateNodePoolRequest/queuedProvisioning": queued_provisioning
"/container:v1/UpdateNodePoolRequest/resourceLabels": resource_labels
"/container:v1/UpdateNodePoolRequest/resourceManagerTags": resource_manager_tags
"/container:v1/UpdateNodePoolRequest/storagePools": storage_pools
"/container:v1/UpdateNodePoolRequest/storagePools/storage_pool": storage_pool
"/container:v1/UpdateNodePoolRequest/tags": tags
"/container:v1/UpdateNodePoolRequest/taints": taints
"/container:v1/UpdateNodePoolRequest/upgradeSettings": upgrade_settings
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-container_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-container_v1

### v0.77.0 (2024-08-18)

* Regenerated from discovery document revision 20240730

### v0.76.0 (2024-08-04)

* Regenerated from discovery document revision 20240722
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,11 @@ class Cluster
attr_accessor :satisfies_pzs
alias_method :satisfies_pzs?, :satisfies_pzs

# SecretManagerConfig is config for secret manager enablement.
# Corresponds to the JSON property `secretManagerConfig`
# @return [Google::Apis::ContainerV1::SecretManagerConfig]
attr_accessor :secret_manager_config

# SecurityPostureConfig defines the flags needed to enable/disable features for
# the Security Posture API.
# Corresponds to the JSON property `securityPostureConfig`
Expand Down Expand Up @@ -1411,6 +1416,7 @@ def update!(**args)
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@secret_manager_config = args[:secret_manager_config] if args.key?(:secret_manager_config)
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
@self_link = args[:self_link] if args.key?(:self_link)
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
Expand Down Expand Up @@ -1797,6 +1803,11 @@ class ClusterUpdate
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
attr_accessor :desired_resource_usage_export_config

# SecretManagerConfig is config for secret manager enablement.
# Corresponds to the JSON property `desiredSecretManagerConfig`
# @return [Google::Apis::ContainerV1::SecretManagerConfig]
attr_accessor :desired_secret_manager_config

# SecurityPostureConfig defines the flags needed to enable/disable features for
# the Security Posture API.
# Corresponds to the JSON property `desiredSecurityPostureConfig`
Expand Down Expand Up @@ -1904,6 +1915,7 @@ def update!(**args)
@desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
@desired_secret_manager_config = args[:desired_secret_manager_config] if args.key?(:desired_secret_manager_config)
@desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
@desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
Expand Down Expand Up @@ -4260,6 +4272,11 @@ class NodeConfig
attr_accessor :spot
alias_method :spot?, :spot

# List of Storage Pools where boot disks are provisioned.
# Corresponds to the JSON property `storagePools`
# @return [Array<String>]
attr_accessor :storage_pools

# 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 must comply
Expand Down Expand Up @@ -4329,6 +4346,7 @@ def update!(**args)
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@sole_tenant_config = args[:sole_tenant_config] if args.key?(:sole_tenant_config)
@spot = args[:spot] if args.key?(:spot)
@storage_pools = args[:storage_pools] if args.key?(:storage_pools)
@tags = args[:tags] if args.key?(:tags)
@taints = args[:taints] if args.key?(:taints)
@windows_node_config = args[:windows_node_config] if args.key?(:windows_node_config)
Expand Down Expand Up @@ -5902,6 +5920,26 @@ def update!(**args)
end
end

# SecretManagerConfig is config for secret manager enablement.
class SecretManagerConfig
include Google::Apis::Core::Hashable

# Enable/Disable Secret Manager Config.
# 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

# SecurityBulletinEvent is a notification sent to customers when a security
# bulletin has been posted that they are vulnerable to.
class SecurityBulletinEvent
Expand Down Expand Up @@ -7301,6 +7339,12 @@ class UpdateNodePoolRequest
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
attr_accessor :resource_manager_tags

# List of Storage Pools where boot disks are provisioned. Existing Storage Pools
# will be replaced with storage-pools.
# Corresponds to the JSON property `storagePools`
# @return [Array<String>]
attr_accessor :storage_pools

# Collection of Compute Engine network tags that can be applied to a node's
# underlying VM instance.
# Corresponds to the JSON property `tags`
Expand Down Expand Up @@ -7399,6 +7443,7 @@ def update!(**args)
@queued_provisioning = args[:queued_provisioning] if args.key?(:queued_provisioning)
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
@storage_pools = args[:storage_pools] if args.key?(:storage_pools)
@tags = args[:tags] if args.key?(:tags)
@taints = args[:taints] if args.key?(:taints)
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ContainerV1
# Version of the google-apis-container_v1 gem
GEM_VERSION = "0.76.0"
GEM_VERSION = "0.77.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240722"
REVISION = "20240730"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class SecretManagerConfig
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class SecurityBulletinEvent
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -1419,6 +1425,8 @@ class Representation < Google::Apis::Core::JsonRepresentation

property :satisfies_pzi, as: 'satisfiesPzi'
property :satisfies_pzs, as: 'satisfiesPzs'
property :secret_manager_config, as: 'secretManagerConfig', class: Google::Apis::ContainerV1::SecretManagerConfig, decorator: Google::Apis::ContainerV1::SecretManagerConfig::Representation

property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation

property :self_link, as: 'selfLink'
Expand Down Expand Up @@ -1542,6 +1550,8 @@ class Representation < Google::Apis::Core::JsonRepresentation

property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation

property :desired_secret_manager_config, as: 'desiredSecretManagerConfig', class: Google::Apis::ContainerV1::SecretManagerConfig, decorator: Google::Apis::ContainerV1::SecretManagerConfig::Representation

property :desired_security_posture_config, as: 'desiredSecurityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation

property :desired_service_external_ips_config, as: 'desiredServiceExternalIpsConfig', class: Google::Apis::ContainerV1::ServiceExternalIPsConfig, decorator: Google::Apis::ContainerV1::ServiceExternalIPsConfig::Representation
Expand Down Expand Up @@ -2224,6 +2234,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :sole_tenant_config, as: 'soleTenantConfig', class: Google::Apis::ContainerV1::SoleTenantConfig, decorator: Google::Apis::ContainerV1::SoleTenantConfig::Representation

property :spot, as: 'spot'
collection :storage_pools, as: 'storagePools'
collection :tags, as: 'tags'
collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation

Expand Down Expand Up @@ -2651,6 +2662,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class SecretManagerConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end

class SecurityBulletinEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -2989,6 +3007,7 @@ class Representation < Google::Apis::Core::JsonRepresentation

property :resource_manager_tags, as: 'resourceManagerTags', class: Google::Apis::ContainerV1::ResourceManagerTags, decorator: Google::Apis::ContainerV1::ResourceManagerTags::Representation

collection :storage_pools, as: 'storagePools'
property :tags, as: 'tags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation

property :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaints, decorator: Google::Apis::ContainerV1::NodeTaints::Representation
Expand Down

0 comments on commit 8cfdcb4

Please sign in to comment.