google-apis-compute_beta 0.91.0 → 0.93.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a81970e8ebc6d4fd6a9975a8fbfab464d42e0531ec44642f6b0f1c09ff200236
4
- data.tar.gz: 48bde2080d62d95ec946510b9fc1e9f809eff779f3e1870b39c08231699f80de
3
+ metadata.gz: 5ab59fdd4cdfc985cef3ae019a6dd1b8c5cdb9752fb0fe02681b90bb0c1051c9
4
+ data.tar.gz: 284c9a4556d0f3b706dc93f9b94e68d51c27249bce040599af2fed671969a6e9
5
5
  SHA512:
6
- metadata.gz: 7da8c1881b54f047b23edbdeb7a5aefded9b4d814269f5d268b912a73bb5975631fc3005fb45a187942163dbdbbfcdd186ec9c0fe31f6794db222ca3617a6b2c
7
- data.tar.gz: 13e157bf3ea09bedf1936e41b1a2ca1acf6821729ef561bffb92ed4a69a26ba2c2bf6898ad32dde4dff880e2c6dbed8c926451a16e7c05f66d92f3df2ec03d06
6
+ metadata.gz: 78c14ab3f8d6720b4e35bc457ded54c4c713d076d0103e1d8f9b1fe824474040318aa53c87a6b8c92c9ffec1be8daa84e01a6e79569c1c4bff538354bf1aa6de
7
+ data.tar.gz: cf03cbfc835c331c29de4858d114babba10d38930f142fa5d697f744ae02578b3ae12da82e0bc72779843ebf3f29015498c477b8a38976284d1fc7256ddb232d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.93.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240220
6
+
7
+ ### v0.92.0 (2024-02-24)
8
+
9
+ * Regenerated from discovery document revision 20240218
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.91.0 (2024-02-11)
4
13
 
5
14
  * Regenerated from discovery document revision 20240130
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/compute/) may provide guida
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -1750,8 +1750,8 @@ module Google
1750
1750
  attr_accessor :provisioned_iops
1751
1751
 
1752
1752
  # Indicates how much throughput to provision for the disk. This sets the number
1753
- # of throughput mb per second that the disk can handle. Values must be between 1
1754
- # and 7,124.
1753
+ # of throughput mb per second that the disk can handle. Values must greater than
1754
+ # or equal to 1.
1755
1755
  # Corresponds to the JSON property `provisionedThroughput`
1756
1756
  # @return [Fixnum]
1757
1757
  attr_accessor :provisioned_throughput
@@ -6746,8 +6746,8 @@ module Google
6746
6746
  attr_accessor :provisioned_iops
6747
6747
 
6748
6748
  # Indicates how much throughput to provision for the disk. This sets the number
6749
- # of throughput mb per second that the disk can handle. Values must be between 1
6750
- # and 7,124.
6749
+ # of throughput mb per second that the disk can handle. Values must be greater
6750
+ # than or equal to 1.
6751
6751
  # Corresponds to the JSON property `provisionedThroughput`
6752
6752
  # @return [Fixnum]
6753
6753
  attr_accessor :provisioned_throughput
@@ -12071,6 +12071,20 @@ module Google
12071
12071
  # @return [String]
12072
12072
  attr_accessor :self_link
12073
12073
 
12074
+ # The list of cloud regions from which health checks are performed. If any
12075
+ # regions are specified, then exactly 3 regions should be specified. The region
12076
+ # names must be valid names of GCP regions. This can only be set for global
12077
+ # health check. If this list is non-empty, then there are restrictions on what
12078
+ # other health check fields are supported and what other resources can use this
12079
+ # health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP
12080
+ # request field is not supported. - The proxyHeader field for HTTP, HTTPS, and
12081
+ # TCP is not supported. - The checkIntervalSec field must be at least 30. - The
12082
+ # health check cannot be used with BackendService nor with managed instance
12083
+ # group auto-healing.
12084
+ # Corresponds to the JSON property `sourceRegions`
12085
+ # @return [Array<String>]
12086
+ attr_accessor :source_regions
12087
+
12074
12088
  #
12075
12089
  # Corresponds to the JSON property `sslHealthCheck`
12076
12090
  # @return [Google::Apis::ComputeBeta::SslHealthCheck]
@@ -12121,6 +12135,7 @@ module Google
12121
12135
  @name = args[:name] if args.key?(:name)
12122
12136
  @region = args[:region] if args.key?(:region)
12123
12137
  @self_link = args[:self_link] if args.key?(:self_link)
12138
+ @source_regions = args[:source_regions] if args.key?(:source_regions)
12124
12139
  @ssl_health_check = args[:ssl_health_check] if args.key?(:ssl_health_check)
12125
12140
  @tcp_health_check = args[:tcp_health_check] if args.key?(:tcp_health_check)
12126
12141
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
@@ -25707,6 +25722,12 @@ module Google
25707
25722
  # @return [Hash<String,String>]
25708
25723
  attr_accessor :annotations
25709
25724
 
25725
+ # Represents the port number to which PSC consumer sends packets. Only valid for
25726
+ # network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.
25727
+ # Corresponds to the JSON property `clientPort`
25728
+ # @return [Fixnum]
25729
+ attr_accessor :client_port
25730
+
25710
25731
  # Optional fully qualified domain name of network endpoint. This can only be
25711
25732
  # specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
25712
25733
  # Corresponds to the JSON property `fqdn`
@@ -25756,6 +25777,7 @@ module Google
25756
25777
  # Update properties of this object
25757
25778
  def update!(**args)
25758
25779
  @annotations = args[:annotations] if args.key?(:annotations)
25780
+ @client_port = args[:client_port] if args.key?(:client_port)
25759
25781
  @fqdn = args[:fqdn] if args.key?(:fqdn)
25760
25782
  @instance = args[:instance] if args.key?(:instance)
25761
25783
  @ip_address = args[:ip_address] if args.key?(:ip_address)
@@ -25785,6 +25807,11 @@ module Google
25785
25807
  # @return [Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine]
25786
25808
  attr_accessor :app_engine
25787
25809
 
25810
+ # Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.
25811
+ # Corresponds to the JSON property `clientPortMappingMode`
25812
+ # @return [String]
25813
+ attr_accessor :client_port_mapping_mode
25814
+
25788
25815
  # Configuration for a Cloud Function network endpoint group (NEG). The function
25789
25816
  # must be provided explicitly or in the URL mask. Note: Cloud Function must be
25790
25817
  # in the same project and located in the same region as the Serverless NEG.
@@ -25913,6 +25940,7 @@ module Google
25913
25940
  def update!(**args)
25914
25941
  @annotations = args[:annotations] if args.key?(:annotations)
25915
25942
  @app_engine = args[:app_engine] if args.key?(:app_engine)
25943
+ @client_port_mapping_mode = args[:client_port_mapping_mode] if args.key?(:client_port_mapping_mode)
25916
25944
  @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
25917
25945
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
25918
25946
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -31368,6 +31396,13 @@ module Google
31368
31396
  class Project
31369
31397
  include Google::Apis::Core::Hashable
31370
31398
 
31399
+ # [Output Only] The Cloud Armor tier for this project. It can be one of the
31400
+ # following values: CA_STANDARD, CA_ENTERPRISE_PAYGO. If this field is not
31401
+ # specified, it is assumed to be CA_STANDARD.
31402
+ # Corresponds to the JSON property `cloudArmorTier`
31403
+ # @return [String]
31404
+ attr_accessor :cloud_armor_tier
31405
+
31371
31406
  # A metadata key/value entry.
31372
31407
  # Corresponds to the JSON property `commonInstanceMetadata`
31373
31408
  # @return [Google::Apis::ComputeBeta::Metadata]
@@ -31459,6 +31494,7 @@ module Google
31459
31494
 
31460
31495
  # Update properties of this object
31461
31496
  def update!(**args)
31497
+ @cloud_armor_tier = args[:cloud_armor_tier] if args.key?(:cloud_armor_tier)
31462
31498
  @common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata)
31463
31499
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
31464
31500
  @default_network_tier = args[:default_network_tier] if args.key?(:default_network_tier)
@@ -31573,6 +31609,25 @@ module Google
31573
31609
  end
31574
31610
  end
31575
31611
 
31612
+ #
31613
+ class ProjectsSetCloudArmorTierRequest
31614
+ include Google::Apis::Core::Hashable
31615
+
31616
+ # Managed protection tier to be set.
31617
+ # Corresponds to the JSON property `cloudArmorTier`
31618
+ # @return [String]
31619
+ attr_accessor :cloud_armor_tier
31620
+
31621
+ def initialize(**args)
31622
+ update!(**args)
31623
+ end
31624
+
31625
+ # Update properties of this object
31626
+ def update!(**args)
31627
+ @cloud_armor_tier = args[:cloud_armor_tier] if args.key?(:cloud_armor_tier)
31628
+ end
31629
+ end
31630
+
31576
31631
  #
31577
31632
  class ProjectsSetDefaultNetworkTierRequest
31578
31633
  include Google::Apis::Core::Hashable
@@ -38349,6 +38404,11 @@ module Google
38349
38404
  # @return [String]
38350
38405
  attr_accessor :on_host_maintenance
38351
38406
 
38407
+ # Defines the behaviour for instances with the instance_termination_action STOP.
38408
+ # Corresponds to the JSON property `onInstanceStopAction`
38409
+ # @return [Google::Apis::ComputeBeta::SchedulingOnInstanceStopAction]
38410
+ attr_accessor :on_instance_stop_action
38411
+
38352
38412
  # Defines whether the instance is preemptible. This can only be set during
38353
38413
  # instance creation or while the instance is stopped and therefore, in a `
38354
38414
  # TERMINATED` state. See Instance Life Cycle for more information on the
@@ -38387,6 +38447,7 @@ module Google
38387
38447
  @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
38388
38448
  @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
38389
38449
  @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
38450
+ @on_instance_stop_action = args[:on_instance_stop_action] if args.key?(:on_instance_stop_action)
38390
38451
  @preemptible = args[:preemptible] if args.key?(:preemptible)
38391
38452
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
38392
38453
  @termination_time = args[:termination_time] if args.key?(:termination_time)
@@ -38426,6 +38487,28 @@ module Google
38426
38487
  end
38427
38488
  end
38428
38489
 
38490
+ # Defines the behaviour for instances with the instance_termination_action STOP.
38491
+ class SchedulingOnInstanceStopAction
38492
+ include Google::Apis::Core::Hashable
38493
+
38494
+ # If true, the contents of any attached Local SSD disks will be discarded else,
38495
+ # the Local SSD data will be preserved when the instance is stopped at the end
38496
+ # of the run duration/termination time.
38497
+ # Corresponds to the JSON property `discardLocalSsd`
38498
+ # @return [Boolean]
38499
+ attr_accessor :discard_local_ssd
38500
+ alias_method :discard_local_ssd?, :discard_local_ssd
38501
+
38502
+ def initialize(**args)
38503
+ update!(**args)
38504
+ end
38505
+
38506
+ # Update properties of this object
38507
+ def update!(**args)
38508
+ @discard_local_ssd = args[:discard_local_ssd] if args.key?(:discard_local_ssd)
38509
+ end
38510
+ end
38511
+
38429
38512
  # An instance's screenshot.
38430
38513
  class Screenshot
38431
38514
  include Google::Apis::Core::Hashable
@@ -40475,6 +40558,19 @@ module Google
40475
40558
  # @return [String]
40476
40559
  attr_accessor :producer_forwarding_rule
40477
40560
 
40561
+ # The number of consumer Network Connectivity Center spokes that connected
40562
+ # Private Service Connect endpoints can be propagated to. This limit lets a
40563
+ # service producer indirectly limit how many propagated Private Service Connect
40564
+ # connections can be established to the producer's service attachment. If the
40565
+ # connection preference of the service attachment is ACCEPT_MANUAL, the limit
40566
+ # applies to each project or network that is listed in the consumer accept list.
40567
+ # If the connection preference of the service attachment is ACCEPT_AUTOMATIC,
40568
+ # the limit applies to each project that contains a connected endpoint. If
40569
+ # unspecified, the default propagated connection limit is 250.
40570
+ # Corresponds to the JSON property `propagatedConnectionLimit`
40571
+ # @return [Fixnum]
40572
+ attr_accessor :propagated_connection_limit
40573
+
40478
40574
  # [Output Only] An 128-bit global unique ID of the PSC service attachment.
40479
40575
  # Corresponds to the JSON property `pscServiceAttachmentId`
40480
40576
  # @return [Google::Apis::ComputeBeta::Uint128]
@@ -40540,6 +40636,7 @@ module Google
40540
40636
  @name = args[:name] if args.key?(:name)
40541
40637
  @nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
40542
40638
  @producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
40639
+ @propagated_connection_limit = args[:propagated_connection_limit] if args.key?(:propagated_connection_limit)
40543
40640
  @psc_service_attachment_id = args[:psc_service_attachment_id] if args.key?(:psc_service_attachment_id)
40544
40641
  @reconcile_connections = args[:reconcile_connections] if args.key?(:reconcile_connections)
40545
40642
  @region = args[:region] if args.key?(:region)
@@ -40686,6 +40783,12 @@ module Google
40686
40783
  # @return [String]
40687
40784
  attr_accessor :endpoint
40688
40785
 
40786
+ # The number of consumer Network Connectivity Center spokes that the connected
40787
+ # Private Service Connect endpoint has propagated to.
40788
+ # Corresponds to the JSON property `propagatedConnectionCount`
40789
+ # @return [Fixnum]
40790
+ attr_accessor :propagated_connection_count
40791
+
40689
40792
  # The PSC connection id of the connected endpoint.
40690
40793
  # Corresponds to the JSON property `pscConnectionId`
40691
40794
  # @return [Fixnum]
@@ -40704,6 +40807,7 @@ module Google
40704
40807
  def update!(**args)
40705
40808
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
40706
40809
  @endpoint = args[:endpoint] if args.key?(:endpoint)
40810
+ @propagated_connection_count = args[:propagated_connection_count] if args.key?(:propagated_connection_count)
40707
40811
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
40708
40812
  @status = args[:status] if args.key?(:status)
40709
40813
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.91.0"
19
+ GEM_VERSION = "0.93.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240130"
25
+ REVISION = "20240220"
26
26
  end
27
27
  end
28
28
  end
@@ -4018,6 +4018,12 @@ module Google
4018
4018
  include Google::Apis::Core::JsonObjectSupport
4019
4019
  end
4020
4020
 
4021
+ class ProjectsSetCloudArmorTierRequest
4022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4023
+
4024
+ include Google::Apis::Core::JsonObjectSupport
4025
+ end
4026
+
4021
4027
  class ProjectsSetDefaultNetworkTierRequest
4022
4028
  class Representation < Google::Apis::Core::JsonRepresentation; end
4023
4029
 
@@ -4984,6 +4990,12 @@ module Google
4984
4990
  include Google::Apis::Core::JsonObjectSupport
4985
4991
  end
4986
4992
 
4993
+ class SchedulingOnInstanceStopAction
4994
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4995
+
4996
+ include Google::Apis::Core::JsonObjectSupport
4997
+ end
4998
+
4987
4999
  class Screenshot
4988
5000
  class Representation < Google::Apis::Core::JsonRepresentation; end
4989
5001
 
@@ -9412,6 +9424,7 @@ module Google
9412
9424
  property :name, as: 'name'
9413
9425
  property :region, as: 'region'
9414
9426
  property :self_link, as: 'selfLink'
9427
+ collection :source_regions, as: 'sourceRegions'
9415
9428
  property :ssl_health_check, as: 'sslHealthCheck', class: Google::Apis::ComputeBeta::SslHealthCheck, decorator: Google::Apis::ComputeBeta::SslHealthCheck::Representation
9416
9429
 
9417
9430
  property :tcp_health_check, as: 'tcpHealthCheck', class: Google::Apis::ComputeBeta::TcpHealthCheck, decorator: Google::Apis::ComputeBeta::TcpHealthCheck::Representation
@@ -12830,6 +12843,7 @@ module Google
12830
12843
  # @private
12831
12844
  class Representation < Google::Apis::Core::JsonRepresentation
12832
12845
  hash :annotations, as: 'annotations'
12846
+ property :client_port, as: 'clientPort'
12833
12847
  property :fqdn, as: 'fqdn'
12834
12848
  property :instance, as: 'instance'
12835
12849
  property :ip_address, as: 'ipAddress'
@@ -12844,6 +12858,7 @@ module Google
12844
12858
  hash :annotations, as: 'annotations'
12845
12859
  property :app_engine, as: 'appEngine', class: Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine::Representation
12846
12860
 
12861
+ property :client_port_mapping_mode, as: 'clientPortMappingMode'
12847
12862
  property :cloud_function, as: 'cloudFunction', class: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudFunction, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudFunction::Representation
12848
12863
 
12849
12864
  property :cloud_run, as: 'cloudRun', class: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudRun, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudRun::Representation
@@ -14270,6 +14285,7 @@ module Google
14270
14285
  class Project
14271
14286
  # @private
14272
14287
  class Representation < Google::Apis::Core::JsonRepresentation
14288
+ property :cloud_armor_tier, as: 'cloudArmorTier'
14273
14289
  property :common_instance_metadata, as: 'commonInstanceMetadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
14274
14290
 
14275
14291
  property :creation_timestamp, as: 'creationTimestamp'
@@ -14324,6 +14340,13 @@ module Google
14324
14340
  end
14325
14341
  end
14326
14342
 
14343
+ class ProjectsSetCloudArmorTierRequest
14344
+ # @private
14345
+ class Representation < Google::Apis::Core::JsonRepresentation
14346
+ property :cloud_armor_tier, as: 'cloudArmorTier'
14347
+ end
14348
+ end
14349
+
14327
14350
  class ProjectsSetDefaultNetworkTierRequest
14328
14351
  # @private
14329
14352
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16053,6 +16076,8 @@ module Google
16053
16076
  collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeBeta::SchedulingNodeAffinity, decorator: Google::Apis::ComputeBeta::SchedulingNodeAffinity::Representation
16054
16077
 
16055
16078
  property :on_host_maintenance, as: 'onHostMaintenance'
16079
+ property :on_instance_stop_action, as: 'onInstanceStopAction', class: Google::Apis::ComputeBeta::SchedulingOnInstanceStopAction, decorator: Google::Apis::ComputeBeta::SchedulingOnInstanceStopAction::Representation
16080
+
16056
16081
  property :preemptible, as: 'preemptible'
16057
16082
  property :provisioning_model, as: 'provisioningModel'
16058
16083
  property :termination_time, as: 'terminationTime'
@@ -16068,6 +16093,13 @@ module Google
16068
16093
  end
16069
16094
  end
16070
16095
 
16096
+ class SchedulingOnInstanceStopAction
16097
+ # @private
16098
+ class Representation < Google::Apis::Core::JsonRepresentation
16099
+ property :discard_local_ssd, as: 'discardLocalSsd'
16100
+ end
16101
+ end
16102
+
16071
16103
  class Screenshot
16072
16104
  # @private
16073
16105
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16581,6 +16613,7 @@ module Google
16581
16613
  property :name, as: 'name'
16582
16614
  collection :nat_subnets, as: 'natSubnets'
16583
16615
  property :producer_forwarding_rule, as: 'producerForwardingRule'
16616
+ property :propagated_connection_limit, as: 'propagatedConnectionLimit'
16584
16617
  property :psc_service_attachment_id, as: 'pscServiceAttachmentId', class: Google::Apis::ComputeBeta::Uint128, decorator: Google::Apis::ComputeBeta::Uint128::Representation
16585
16618
 
16586
16619
  property :reconcile_connections, as: 'reconcileConnections'
@@ -16630,6 +16663,7 @@ module Google
16630
16663
  class Representation < Google::Apis::Core::JsonRepresentation
16631
16664
  property :consumer_network, as: 'consumerNetwork'
16632
16665
  property :endpoint, as: 'endpoint'
16666
+ property :propagated_connection_count, as: 'propagatedConnectionCount'
16633
16667
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
16634
16668
  property :status, as: 'status'
16635
16669
  end