google-apis-compute_v1 0.99.0 → 0.100.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: c0520b2bf299eb60352a8b467ab5d2cca95e0f765935ed835b641c4b72855e0e
4
- data.tar.gz: f16612225c705ac8d6649eb912fdb2b64d24855e47c272f749e18bbd8bb4fcce
3
+ metadata.gz: 8d3c070d3584b58584491ec30d0d0a07397aa3c18bd40ebc44d25817a8128563
4
+ data.tar.gz: b4976ccfb0a1c0e73b99e105a5d67d6dfbaefff45c3ba90e77fad0243836a184
5
5
  SHA512:
6
- metadata.gz: 33803f3941d1abb15d8ae663e7ff6604df17e7c93d6b42b5a02cd2c3c4e3ab5b09e8f5dfab6500a92c5eea2c87d21b99fd242a8fc29a15d191e7b55f891a2c80
7
- data.tar.gz: 06ace188e10928133588932f27cb4ac8f4a56f28919bcc23aecf9f64e06374c765a71e4147ba8cb469411b379c53596cb12394ab7ed9e3f205fb83beb125aab0
6
+ metadata.gz: 5c6822e0177dcc93b77d9eb74a0cb55d415112bfc5d0752b1e2b858f81d3c113a11cd7a93e2df76f73bad0f1754eda5c6dc4166e7148c5b218185d9419799b83
7
+ data.tar.gz: 6cda078d45d8a288cc09514fd0acb26509ef8d5c635f2ab32fefa42dbe9e010fe746c8ccc0a6fe7070b6e9131a524e2a7a790919c324f1db590f9da6367d1059
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.100.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240604
6
+
3
7
  ### v0.99.0 (2024-06-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20240526
@@ -1145,6 +1145,11 @@ module Google
1145
1145
  attr_accessor :enable_uefi_networking
1146
1146
  alias_method :enable_uefi_networking?, :enable_uefi_networking
1147
1147
 
1148
+ # Type of Performance Monitoring Unit requested on instance.
1149
+ # Corresponds to the JSON property `performanceMonitoringUnit`
1150
+ # @return [String]
1151
+ attr_accessor :performance_monitoring_unit
1152
+
1148
1153
  # The number of threads per physical core. To disable simultaneous
1149
1154
  # multithreading (SMT) set this to 1. If unset, the maximum number of threads
1150
1155
  # supported per core by the underlying processor is assumed.
@@ -1168,6 +1173,7 @@ module Google
1168
1173
  def update!(**args)
1169
1174
  @enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
1170
1175
  @enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
1176
+ @performance_monitoring_unit = args[:performance_monitoring_unit] if args.key?(:performance_monitoring_unit)
1171
1177
  @threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
1172
1178
  @visible_core_count = args[:visible_core_count] if args.key?(:visible_core_count)
1173
1179
  end
@@ -5954,6 +5960,11 @@ module Google
5954
5960
  class ConfidentialInstanceConfig
5955
5961
  include Google::Apis::Core::Hashable
5956
5962
 
5963
+ # Defines the type of technology used by the confidential instance.
5964
+ # Corresponds to the JSON property `confidentialInstanceType`
5965
+ # @return [String]
5966
+ attr_accessor :confidential_instance_type
5967
+
5957
5968
  # Defines whether the instance should have confidential compute enabled.
5958
5969
  # Corresponds to the JSON property `enableConfidentialCompute`
5959
5970
  # @return [Boolean]
@@ -5966,6 +5977,7 @@ module Google
5966
5977
 
5967
5978
  # Update properties of this object
5968
5979
  def update!(**args)
5980
+ @confidential_instance_type = args[:confidential_instance_type] if args.key?(:confidential_instance_type)
5969
5981
  @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
5970
5982
  end
5971
5983
  end
@@ -36309,6 +36321,14 @@ module Google
36309
36321
  # @return [String]
36310
36322
  attr_accessor :location_hint
36311
36323
 
36324
+ # A Duration represents a fixed-length span of time represented as a count of
36325
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
36326
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
36327
+ # 000 years.
36328
+ # Corresponds to the JSON property `maxRunDuration`
36329
+ # @return [Google::Apis::ComputeV1::Duration]
36330
+ attr_accessor :max_run_duration
36331
+
36312
36332
  # The minimum number of virtual CPUs this instance will consume when running on
36313
36333
  # a sole-tenant node.
36314
36334
  # Corresponds to the JSON property `minNodeCpus`
@@ -36329,6 +36349,11 @@ module Google
36329
36349
  # @return [String]
36330
36350
  attr_accessor :on_host_maintenance
36331
36351
 
36352
+ # Defines the behaviour for instances with the instance_termination_action STOP.
36353
+ # Corresponds to the JSON property `onInstanceStopAction`
36354
+ # @return [Google::Apis::ComputeV1::SchedulingOnInstanceStopAction]
36355
+ attr_accessor :on_instance_stop_action
36356
+
36332
36357
  # Defines whether the instance is preemptible. This can only be set during
36333
36358
  # instance creation or while the instance is stopped and therefore, in a `
36334
36359
  # TERMINATED` state. See Instance Life Cycle for more information on the
@@ -36343,6 +36368,13 @@ module Google
36343
36368
  # @return [String]
36344
36369
  attr_accessor :provisioning_model
36345
36370
 
36371
+ # Specifies the timestamp, when the instance will be terminated, in RFC3339 text
36372
+ # format. If specified, the instance termination action will be performed at the
36373
+ # termination time.
36374
+ # Corresponds to the JSON property `terminationTime`
36375
+ # @return [String]
36376
+ attr_accessor :termination_time
36377
+
36346
36378
  def initialize(**args)
36347
36379
  update!(**args)
36348
36380
  end
@@ -36353,11 +36385,14 @@ module Google
36353
36385
  @instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
36354
36386
  @local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
36355
36387
  @location_hint = args[:location_hint] if args.key?(:location_hint)
36388
+ @max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
36356
36389
  @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
36357
36390
  @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
36358
36391
  @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
36392
+ @on_instance_stop_action = args[:on_instance_stop_action] if args.key?(:on_instance_stop_action)
36359
36393
  @preemptible = args[:preemptible] if args.key?(:preemptible)
36360
36394
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
36395
+ @termination_time = args[:termination_time] if args.key?(:termination_time)
36361
36396
  end
36362
36397
  end
36363
36398
 
@@ -36394,6 +36429,28 @@ module Google
36394
36429
  end
36395
36430
  end
36396
36431
 
36432
+ # Defines the behaviour for instances with the instance_termination_action STOP.
36433
+ class SchedulingOnInstanceStopAction
36434
+ include Google::Apis::Core::Hashable
36435
+
36436
+ # If true, the contents of any attached Local SSD disks will be discarded else,
36437
+ # the Local SSD data will be preserved when the instance is stopped at the end
36438
+ # of the run duration/termination time.
36439
+ # Corresponds to the JSON property `discardLocalSsd`
36440
+ # @return [Boolean]
36441
+ attr_accessor :discard_local_ssd
36442
+ alias_method :discard_local_ssd?, :discard_local_ssd
36443
+
36444
+ def initialize(**args)
36445
+ update!(**args)
36446
+ end
36447
+
36448
+ # Update properties of this object
36449
+ def update!(**args)
36450
+ @discard_local_ssd = args[:discard_local_ssd] if args.key?(:discard_local_ssd)
36451
+ end
36452
+ end
36453
+
36397
36454
  # An instance's screenshot.
36398
36455
  class Screenshot
36399
36456
  include Google::Apis::Core::Hashable
@@ -49004,7 +49061,9 @@ module Google
49004
49061
  # selection of a backend service is determined only for new traffic. Once a user'
49005
49062
  # s request has been directed to a backend service, subsequent requests are sent
49006
49063
  # to the same backend service as determined by the backend service's session
49007
- # affinity policy. The value must be from 0 to 1000.
49064
+ # affinity policy. Don't configure session affinity if you're using weighted
49065
+ # traffic splitting. If you do, the weighted traffic splitting configuration
49066
+ # takes precedence. The value must be from 0 to 1000.
49008
49067
  # Corresponds to the JSON property `weight`
49009
49068
  # @return [Fixnum]
49010
49069
  attr_accessor :weight
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.99.0"
19
+ GEM_VERSION = "0.100.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240526"
25
+ REVISION = "20240604"
26
26
  end
27
27
  end
28
28
  end
@@ -4702,6 +4702,12 @@ module Google
4702
4702
  include Google::Apis::Core::JsonObjectSupport
4703
4703
  end
4704
4704
 
4705
+ class SchedulingOnInstanceStopAction
4706
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4707
+
4708
+ include Google::Apis::Core::JsonObjectSupport
4709
+ end
4710
+
4705
4711
  class Screenshot
4706
4712
  class Representation < Google::Apis::Core::JsonRepresentation; end
4707
4713
 
@@ -6769,6 +6775,7 @@ module Google
6769
6775
  class Representation < Google::Apis::Core::JsonRepresentation
6770
6776
  property :enable_nested_virtualization, as: 'enableNestedVirtualization'
6771
6777
  property :enable_uefi_networking, as: 'enableUefiNetworking'
6778
+ property :performance_monitoring_unit, as: 'performanceMonitoringUnit'
6772
6779
  property :threads_per_core, as: 'threadsPerCore'
6773
6780
  property :visible_core_count, as: 'visibleCoreCount'
6774
6781
  end
@@ -7823,6 +7830,7 @@ module Google
7823
7830
  class ConfidentialInstanceConfig
7824
7831
  # @private
7825
7832
  class Representation < Google::Apis::Core::JsonRepresentation
7833
+ property :confidential_instance_type, as: 'confidentialInstanceType'
7826
7834
  property :enable_confidential_compute, as: 'enableConfidentialCompute'
7827
7835
  end
7828
7836
  end
@@ -15325,12 +15333,17 @@ module Google
15325
15333
  property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
15326
15334
 
15327
15335
  property :location_hint, as: 'locationHint'
15336
+ property :max_run_duration, as: 'maxRunDuration', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
15337
+
15328
15338
  property :min_node_cpus, as: 'minNodeCpus'
15329
15339
  collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeV1::SchedulingNodeAffinity, decorator: Google::Apis::ComputeV1::SchedulingNodeAffinity::Representation
15330
15340
 
15331
15341
  property :on_host_maintenance, as: 'onHostMaintenance'
15342
+ property :on_instance_stop_action, as: 'onInstanceStopAction', class: Google::Apis::ComputeV1::SchedulingOnInstanceStopAction, decorator: Google::Apis::ComputeV1::SchedulingOnInstanceStopAction::Representation
15343
+
15332
15344
  property :preemptible, as: 'preemptible'
15333
15345
  property :provisioning_model, as: 'provisioningModel'
15346
+ property :termination_time, as: 'terminationTime'
15334
15347
  end
15335
15348
  end
15336
15349
 
@@ -15343,6 +15356,13 @@ module Google
15343
15356
  end
15344
15357
  end
15345
15358
 
15359
+ class SchedulingOnInstanceStopAction
15360
+ # @private
15361
+ class Representation < Google::Apis::Core::JsonRepresentation
15362
+ property :discard_local_ssd, as: 'discardLocalSsd'
15363
+ end
15364
+ end
15365
+
15346
15366
  class Screenshot
15347
15367
  # @private
15348
15368
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.0
4
+ version: 0.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-02 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.99.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.100.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
63
63
  post_install_message:
64
64
  rdoc_options: []