@@ -12393,6 +12393,12 @@ class Instance
1239312393 # @return [Fixnum]
1239412394 attr_accessor :id
1239512395
12396+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
12397+ # NONE". The default value is "NONE" if it is not specified.
12398+ # Corresponds to the JSON property `keyRevocationActionType`
12399+ # @return [String]
12400+ attr_accessor :key_revocation_action_type
12401+
1239612402 # [Output Only] Type of the resource. Always compute#instance for instances.
1239712403 # Corresponds to the JSON property `kind`
1239812404 # @return [String]
@@ -12599,6 +12605,7 @@ def update!(**args)
1259912605 @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
1260012606 @hostname = args[:hostname] if args.key?(:hostname)
1260112607 @id = args[:id] if args.key?(:id)
12608+ @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
1260212609 @kind = args[:kind] if args.key?(:kind)
1260312610 @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
1260412611 @labels = args[:labels] if args.key?(:labels)
@@ -15159,6 +15166,12 @@ class InstanceProperties
1515915166 # @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
1516015167 attr_accessor :guest_accelerators
1516115168
15169+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
15170+ # NONE". The default value is "NONE" if it is not specified.
15171+ # Corresponds to the JSON property `keyRevocationActionType`
15172+ # @return [String]
15173+ attr_accessor :key_revocation_action_type
15174+
1516215175 # Labels to apply to instances that are created from these properties.
1516315176 # Corresponds to the JSON property `labels`
1516415177 # @return [Hash<String,String>]
@@ -15254,6 +15267,7 @@ def update!(**args)
1525415267 @description = args[:description] if args.key?(:description)
1525515268 @disks = args[:disks] if args.key?(:disks)
1525615269 @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
15270+ @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
1525715271 @labels = args[:labels] if args.key?(:labels)
1525815272 @machine_type = args[:machine_type] if args.key?(:machine_type)
1525915273 @metadata = args[:metadata] if args.key?(:metadata)
@@ -17924,6 +17938,11 @@ def update!(**args)
1792417938 class LocationPolicyLocation
1792517939 include Google::Apis::Core::Hashable
1792617940
17941+ # Per-zone constraints on location policy for this zone.
17942+ # Corresponds to the JSON property `constraints`
17943+ # @return [Google::Apis::ComputeV1::LocationPolicyLocationConstraints]
17944+ attr_accessor :constraints
17945+
1792717946 # Preference for a given location.
1792817947 # Corresponds to the JSON property `preference`
1792917948 # @return [String]
@@ -17935,10 +17954,31 @@ def initialize(**args)
1793517954
1793617955 # Update properties of this object
1793717956 def update!(**args)
17957+ @constraints = args[:constraints] if args.key?(:constraints)
1793817958 @preference = args[:preference] if args.key?(:preference)
1793917959 end
1794017960 end
1794117961
17962+ # Per-zone constraints on location policy for this zone.
17963+ class LocationPolicyLocationConstraints
17964+ include Google::Apis::Core::Hashable
17965+
17966+ # Maximum number of items that are allowed to be placed in this zone. The value
17967+ # must be non-negative.
17968+ # Corresponds to the JSON property `maxCount`
17969+ # @return [Fixnum]
17970+ attr_accessor :max_count
17971+
17972+ def initialize(**args)
17973+ update!(**args)
17974+ end
17975+
17976+ # Update properties of this object
17977+ def update!(**args)
17978+ @max_count = args[:max_count] if args.key?(:max_count)
17979+ end
17980+ end
17981+
1794217982 # This is deprecated and has no effect. Do not use.
1794317983 class LogConfig
1794417984 include Google::Apis::Core::Hashable
@@ -33343,6 +33383,12 @@ class SourceInstanceProperties
3334333383 # @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
3334433384 attr_accessor :guest_accelerators
3334533385
33386+ # KeyRevocationActionType of the instance. Supported options are "STOP" and "
33387+ # NONE". The default value is "NONE" if it is not specified.
33388+ # Corresponds to the JSON property `keyRevocationActionType`
33389+ # @return [String]
33390+ attr_accessor :key_revocation_action_type
33391+
3334633392 # Labels to apply to instances that are created from this machine image.
3334733393 # Corresponds to the JSON property `labels`
3334833394 # @return [Hash<String,String>]
@@ -33401,6 +33447,7 @@ def update!(**args)
3340133447 @description = args[:description] if args.key?(:description)
3340233448 @disks = args[:disks] if args.key?(:disks)
3340333449 @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
33450+ @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
3340433451 @labels = args[:labels] if args.key?(:labels)
3340533452 @machine_type = args[:machine_type] if args.key?(:machine_type)
3340633453 @metadata = args[:metadata] if args.key?(:metadata)
@@ -39446,6 +39493,11 @@ class VmEndpointNatMappingsInterfaceNatMappings
3944639493 # @return [Fixnum]
3944739494 attr_accessor :num_total_nat_ports
3944839495
39496+ # Information about mappings provided by rules in this NAT.
39497+ # Corresponds to the JSON property `ruleMappings`
39498+ # @return [Array<Google::Apis::ComputeV1::VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>]
39499+ attr_accessor :rule_mappings
39500+
3944939501 # Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP
3945039502 # range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
3945139503 # Corresponds to the JSON property `sourceAliasIpRange`
@@ -39467,11 +39519,62 @@ def update!(**args)
3946739519 @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
3946839520 @num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
3946939521 @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
39522+ @rule_mappings = args[:rule_mappings] if args.key?(:rule_mappings)
3947039523 @source_alias_ip_range = args[:source_alias_ip_range] if args.key?(:source_alias_ip_range)
3947139524 @source_virtual_ip = args[:source_virtual_ip] if args.key?(:source_virtual_ip)
3947239525 end
3947339526 end
3947439527
39528+ # Contains information of NAT Mappings provided by a NAT Rule.
39529+ class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
39530+ include Google::Apis::Core::Hashable
39531+
39532+ # List of all drain IP:port-range mappings assigned to this interface by this
39533+ # rule. These ranges are inclusive, that is, both the first and the last ports
39534+ # can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
39535+ # Corresponds to the JSON property `drainNatIpPortRanges`
39536+ # @return [Array<String>]
39537+ attr_accessor :drain_nat_ip_port_ranges
39538+
39539+ # A list of all IP:port-range mappings assigned to this interface by this rule.
39540+ # These ranges are inclusive, that is, both the first and the last ports can be
39541+ # used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
39542+ # Corresponds to the JSON property `natIpPortRanges`
39543+ # @return [Array<String>]
39544+ attr_accessor :nat_ip_port_ranges
39545+
39546+ # Total number of drain ports across all NAT IPs allocated to this interface by
39547+ # this rule. It equals the aggregated port number in the field
39548+ # drain_nat_ip_port_ranges.
39549+ # Corresponds to the JSON property `numTotalDrainNatPorts`
39550+ # @return [Fixnum]
39551+ attr_accessor :num_total_drain_nat_ports
39552+
39553+ # Total number of ports across all NAT IPs allocated to this interface by this
39554+ # rule. It equals the aggregated port number in the field nat_ip_port_ranges.
39555+ # Corresponds to the JSON property `numTotalNatPorts`
39556+ # @return [Fixnum]
39557+ attr_accessor :num_total_nat_ports
39558+
39559+ # Rule number of the NAT Rule.
39560+ # Corresponds to the JSON property `ruleNumber`
39561+ # @return [Fixnum]
39562+ attr_accessor :rule_number
39563+
39564+ def initialize(**args)
39565+ update!(**args)
39566+ end
39567+
39568+ # Update properties of this object
39569+ def update!(**args)
39570+ @drain_nat_ip_port_ranges = args[:drain_nat_ip_port_ranges] if args.key?(:drain_nat_ip_port_ranges)
39571+ @nat_ip_port_ranges = args[:nat_ip_port_ranges] if args.key?(:nat_ip_port_ranges)
39572+ @num_total_drain_nat_ports = args[:num_total_drain_nat_ports] if args.key?(:num_total_drain_nat_ports)
39573+ @num_total_nat_ports = args[:num_total_nat_ports] if args.key?(:num_total_nat_ports)
39574+ @rule_number = args[:rule_number] if args.key?(:rule_number)
39575+ end
39576+ end
39577+
3947539578 # Contains a list of VmEndpointNatMappings.
3947639579 class VmEndpointNatMappingsList
3947739580 include Google::Apis::Core::Hashable
0 commit comments