google-apis-compute_v1 0.85.0 → 0.87.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: afb07f18f643d55f9421056d564160dfb482e6fbb75c526e4812d6f1c3aecfa5
4
- data.tar.gz: c46dd267fa0959a1124f22ed96e7297b3a4f3a35dc215ad33929b04fa5a2e615
3
+ metadata.gz: da7c435b443e7d9c02465e7892677fb6db7ab6bbd6c8447cedd2da091069547c
4
+ data.tar.gz: 1cbe8ec410a2c11dbc87a0458a5e625c65abe0d7f95c71f6215f8853dccaf23b
5
5
  SHA512:
6
- metadata.gz: edf6e2a15fcc9f508e3a1a7aea2ab108081ae09d84180f55710dc900eecc59b6ba3ebb3cdec792fd03dc078686a673724ab6d10d6dda1a7c482b9b16367492ca
7
- data.tar.gz: 9d6bdfb09d83aa3d77d3b2690fe65c664b2e3cd5d5265682736fb0687933f38a6be4a3750c08cf750c651acb11bc23cd923e057accb2748eda1a44a6fd299683
6
+ metadata.gz: 5c298ad0e73db98e86ae14d074600ebf023641aba436899c87de0747def70dfe04cccf8262762e739e47f91d82285e9680b0a8c01b6fb3ee4df3612f5219aba3
7
+ data.tar.gz: c295fb0295d44313c0b7ec4a9ef18667007c1b4cf5c58a7c4c9800e8266d344dbfe12b8d2ea669556d7bc94f35e8c91a7f8ef67e98e6d076773129f595b0a7da
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.87.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240109
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.86.0 (2024-01-07)
9
+
10
+ * Regenerated from discovery document revision 20231231
11
+
3
12
  ### v0.85.0 (2023-12-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20231128
@@ -5003,21 +5003,43 @@ module Google
5003
5003
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
5004
5004
  # email address that represents a Google group. For example, `admins@example.com`
5005
5005
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
5006
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
5007
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
5008
- # representing a user that has been recently deleted. For example, `alice@
5009
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
5010
- # reverts to `user:`emailid`` and the recovered user retains the role in the
5011
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
5012
- # (plus unique identifier) representing a service account that has been recently
5013
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
5006
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
5007
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
5008
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
5009
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
5010
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
5011
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
5012
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
5013
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
5014
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
5015
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
5016
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
5017
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
5018
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
5019
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
5020
+ # googleapis.com/projects/`project_number`/locations/global/
5021
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
5022
+ # All identities in a workload identity pool with a certain attribute. * `
5023
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
5024
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
5025
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
5026
+ # identifier) representing a user that has been recently deleted. For example, `
5027
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
5028
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
5029
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
5030
+ # address (plus unique identifier) representing a service account that has been
5031
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
5014
5032
  # 123456789012345678901`. If the service account is undeleted, this value
5015
5033
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
5016
5034
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
5017
5035
  # An email address (plus unique identifier) representing a Google group that has
5018
5036
  # been recently deleted. For example, `admins@example.com?uid=
5019
5037
  # 123456789012345678901`. If the group is recovered, this value reverts to `
5020
- # group:`emailid`` and the recovered group retains the role in the binding.
5038
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
5039
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
5040
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
5041
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
5042
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
5021
5043
  # Corresponds to the JSON property `members`
5022
5044
  # @return [Array<String>]
5023
5045
  attr_accessor :members
@@ -5412,6 +5434,15 @@ module Google
5412
5434
  # @return [String]
5413
5435
  attr_accessor :end_timestamp
5414
5436
 
5437
+ # Specifies the already existing reservations to attach to the Commitment. This
5438
+ # field is optional, and it can be a full or partial URL. For example, the
5439
+ # following are valid URLs to an reservation: - https://www.googleapis.com/
5440
+ # compute/v1/projects/project/zones/zone /reservations/reservation - projects/
5441
+ # project/zones/zone/reservations/reservation
5442
+ # Corresponds to the JSON property `existingReservations`
5443
+ # @return [Array<String>]
5444
+ attr_accessor :existing_reservations
5445
+
5415
5446
  # [Output Only] The unique identifier for the resource. This identifier is
5416
5447
  # defined by the server.
5417
5448
  # Corresponds to the JSON property `id`
@@ -5455,7 +5486,7 @@ module Google
5455
5486
  # @return [String]
5456
5487
  attr_accessor :region
5457
5488
 
5458
- # List of create-on-create reseravtions for this commitment.
5489
+ # List of create-on-create reservations for this commitment.
5459
5490
  # Corresponds to the JSON property `reservations`
5460
5491
  # @return [Array<Google::Apis::ComputeV1::Reservation>]
5461
5492
  attr_accessor :reservations
@@ -5512,6 +5543,7 @@ module Google
5512
5543
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
5513
5544
  @description = args[:description] if args.key?(:description)
5514
5545
  @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
5546
+ @existing_reservations = args[:existing_reservations] if args.key?(:existing_reservations)
5515
5547
  @id = args[:id] if args.key?(:id)
5516
5548
  @kind = args[:kind] if args.key?(:kind)
5517
5549
  @license_resource = args[:license_resource] if args.key?(:license_resource)
@@ -6428,6 +6460,12 @@ module Google
6428
6460
  # @return [Google::Apis::ComputeV1::DiskResourceStatus]
6429
6461
  attr_accessor :resource_status
6430
6462
 
6463
+ # Output only. Reserved for future use.
6464
+ # Corresponds to the JSON property `satisfiesPzi`
6465
+ # @return [Boolean]
6466
+ attr_accessor :satisfies_pzi
6467
+ alias_method :satisfies_pzi?, :satisfies_pzi
6468
+
6431
6469
  # [Output Only] Reserved for future use.
6432
6470
  # Corresponds to the JSON property `satisfiesPzs`
6433
6471
  # @return [Boolean]
@@ -6603,6 +6641,7 @@ module Google
6603
6641
  @replica_zones = args[:replica_zones] if args.key?(:replica_zones)
6604
6642
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
6605
6643
  @resource_status = args[:resource_status] if args.key?(:resource_status)
6644
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
6606
6645
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
6607
6646
  @self_link = args[:self_link] if args.key?(:self_link)
6608
6647
  @size_gb = args[:size_gb] if args.key?(:size_gb)
@@ -9442,14 +9481,12 @@ module Google
9442
9481
  attr_accessor :all_ports
9443
9482
  alias_method :all_ports?, :all_ports
9444
9483
 
9445
- # This field is used along with the backend_service field for internal load
9446
- # balancing or with the target field for internal TargetInstance. If set to true,
9447
- # clients can access the internal passthrough Network Load Balancers, the
9448
- # regional internal Application Load Balancer, and the regional internal proxy
9449
- # Network Load Balancer from all regions. If false, only allows access from the
9450
- # local region the load balancer is located at. Note that for INTERNAL_MANAGED
9451
- # forwarding rules, this field cannot be changed after the forwarding rule is
9452
- # created.
9484
+ # If set to true, clients can access the internal passthrough Network Load
9485
+ # Balancers, the regional internal Application Load Balancer, and the regional
9486
+ # internal proxy Network Load Balancer from all regions. If false, only allows
9487
+ # access from the local region the load balancer is located at. Note that for
9488
+ # INTERNAL_MANAGED forwarding rules, this field cannot be changed after the
9489
+ # forwarding rule is created.
9453
9490
  # Corresponds to the JSON property `allowGlobalAccess`
9454
9491
  # @return [Boolean]
9455
9492
  attr_accessor :allow_global_access
@@ -10552,8 +10589,9 @@ module Google
10552
10589
  # The ID of a supported feature. To add multiple values, use commas to separate
10553
10590
  # values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
10554
10591
  # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
10555
- # SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more
10556
- # information, see Enabling guest operating system features.
10592
+ # SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE -
10593
+ # TDX_CAPABLE - IDPF For more information, see Enabling guest operating system
10594
+ # features.
10557
10595
  # Corresponds to the JSON property `type`
10558
10596
  # @return [String]
10559
10597
  attr_accessor :type
@@ -13100,6 +13138,12 @@ module Google
13100
13138
  # @return [Google::Apis::ComputeV1::Image::RawDisk]
13101
13139
  attr_accessor :raw_disk
13102
13140
 
13141
+ # Output only. Reserved for future use.
13142
+ # Corresponds to the JSON property `satisfiesPzi`
13143
+ # @return [Boolean]
13144
+ attr_accessor :satisfies_pzi
13145
+ alias_method :satisfies_pzi?, :satisfies_pzi
13146
+
13103
13147
  # [Output Only] Reserved for future use.
13104
13148
  # Corresponds to the JSON property `satisfiesPzs`
13105
13149
  # @return [Boolean]
@@ -13230,6 +13274,7 @@ module Google
13230
13274
  @licenses = args[:licenses] if args.key?(:licenses)
13231
13275
  @name = args[:name] if args.key?(:name)
13232
13276
  @raw_disk = args[:raw_disk] if args.key?(:raw_disk)
13277
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
13233
13278
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
13234
13279
  @self_link = args[:self_link] if args.key?(:self_link)
13235
13280
  @shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
@@ -20550,6 +20595,12 @@ module Google
20550
20595
  # @return [String]
20551
20596
  attr_accessor :name
20552
20597
 
20598
+ # Output only. Reserved for future use.
20599
+ # Corresponds to the JSON property `satisfiesPzi`
20600
+ # @return [Boolean]
20601
+ attr_accessor :satisfies_pzi
20602
+ alias_method :satisfies_pzi?, :satisfies_pzi
20603
+
20553
20604
  # [Output Only] Reserved for future use.
20554
20605
  # Corresponds to the JSON property `satisfiesPzs`
20555
20606
  # @return [Boolean]
@@ -20619,6 +20670,7 @@ module Google
20619
20670
  @kind = args[:kind] if args.key?(:kind)
20620
20671
  @machine_image_encryption_key = args[:machine_image_encryption_key] if args.key?(:machine_image_encryption_key)
20621
20672
  @name = args[:name] if args.key?(:name)
20673
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
20622
20674
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
20623
20675
  @saved_disks = args[:saved_disks] if args.key?(:saved_disks)
20624
20676
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -22752,10 +22804,12 @@ module Google
22752
22804
  # @return [String]
22753
22805
  attr_accessor :fqdn
22754
22806
 
22755
- # The name for a specific VM instance that the IP address belongs to. This is
22756
- # required for network endpoints of type GCE_VM_IP_PORT. The instance must be in
22757
- # the same zone of network endpoint group. The name must be 1-63 characters long,
22758
- # and comply with RFC1035.
22807
+ # The name or a URL of a specific VM instance that the IP address belongs to.
22808
+ # This is required for network endpoints of type GCE_VM_IP_PORT. The instance
22809
+ # must be in the same zone of network endpoint group (for zonal NEGs) or in the
22810
+ # zone within the region of the NEG (for regional NEGs). The name must be 1-63
22811
+ # characters long, and comply with RFC1035 or be a valid URL pointing to an
22812
+ # existing instance.
22759
22813
  # Corresponds to the JSON property `instance`
22760
22814
  # @return [String]
22761
22815
  attr_accessor :instance
@@ -26197,7 +26251,8 @@ module Google
26197
26251
  # operations, use the `globalOperations` resource. - For regional operations,
26198
26252
  # use the `regionOperations` resource. - For zonal operations, use the `
26199
26253
  # zoneOperations` resource. For more information, read Global, Regional, and
26200
- # Zonal Resources.
26254
+ # Zonal Resources. Note that completed Operation resources have a limited
26255
+ # retention period.
26201
26256
  class Operation
26202
26257
  include Google::Apis::Core::Hashable
26203
26258
 
@@ -27307,15 +27362,17 @@ module Google
27307
27362
 
27308
27363
  # Protocols that apply as filter on mirrored traffic. If no protocols are
27309
27364
  # specified, all traffic that matches the specified CIDR ranges is mirrored. If
27310
- # neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
27365
+ # neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored.
27311
27366
  # Corresponds to the JSON property `IPProtocols`
27312
27367
  # @return [Array<String>]
27313
27368
  attr_accessor :ip_protocols
27314
27369
 
27315
- # IP CIDR ranges that apply as filter on the source (ingress) or destination (
27316
- # egress) IP in the IP header. Only IPv4 is supported. If no ranges are
27317
- # specified, all traffic that matches the specified IPProtocols is mirrored. If
27318
- # neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
27370
+ # One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (
27371
+ # ingress) or destination (egress) IP in the IP header. If no ranges are
27372
+ # specified, all IPv4 traffic that matches the specified IPProtocols is mirrored.
27373
+ # If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is
27374
+ # mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note:
27375
+ # Support for IPv6 traffic is in preview.
27319
27376
  # Corresponds to the JSON property `cidrRanges`
27320
27377
  # @return [Array<String>]
27321
27378
  attr_accessor :cidr_ranges
@@ -35824,7 +35881,7 @@ module Google
35824
35881
  include Google::Apis::Core::Hashable
35825
35882
 
35826
35883
  # reCAPTCHA configuration options to be applied for the rule. If the rule does
35827
- # not evaluate reCAPTCHA tokens, this field will have no effect.
35884
+ # not evaluate reCAPTCHA tokens, this field has no effect.
35828
35885
  # Corresponds to the JSON property `recaptchaOptions`
35829
35886
  # @return [Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions]
35830
35887
  attr_accessor :recaptcha_options
@@ -37416,6 +37473,12 @@ module Google
37416
37473
  # @return [String]
37417
37474
  attr_accessor :name
37418
37475
 
37476
+ # Output only. Reserved for future use.
37477
+ # Corresponds to the JSON property `satisfiesPzi`
37478
+ # @return [Boolean]
37479
+ attr_accessor :satisfies_pzi
37480
+ alias_method :satisfies_pzi?, :satisfies_pzi
37481
+
37419
37482
  # [Output Only] Reserved for future use.
37420
37483
  # Corresponds to the JSON property `satisfiesPzs`
37421
37484
  # @return [Boolean]
@@ -37527,6 +37590,7 @@ module Google
37527
37590
  @licenses = args[:licenses] if args.key?(:licenses)
37528
37591
  @location_hint = args[:location_hint] if args.key?(:location_hint)
37529
37592
  @name = args[:name] if args.key?(:name)
37593
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
37530
37594
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
37531
37595
  @self_link = args[:self_link] if args.key?(:self_link)
37532
37596
  @snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
@@ -39239,18 +39303,15 @@ module Google
39239
39303
  attr_accessor :private_ipv6_google_access
39240
39304
 
39241
39305
  # The purpose of the resource. This field can be either PRIVATE,
39242
- # REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
39243
- # INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created
39244
- # subnets or subnets that are automatically created in auto mode networks. A
39245
- # subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork
39246
- # that is reserved for regional Envoy-based load balancers. A subnet with
39247
- # purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using
39248
- # Private Service Connect. A subnet with purpose set to
39249
- # INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by
39250
- # regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is
39251
- # the preferred setting for all regional Envoy load balancers. If unspecified,
39252
- # the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't
39253
- # supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
39306
+ # GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
39307
+ # PRIVATE is the default purpose for user-created subnets or subnets that are
39308
+ # automatically created in auto mode networks. Subnets with purpose set to
39309
+ # GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks
39310
+ # that are reserved for Envoy-based load balancers. A subnet with purpose set to
39311
+ # PRIVATE_SERVICE_CONNECT is used to publish services using Private Service
39312
+ # Connect. If unspecified, the subnet purpose defaults to PRIVATE. The
39313
+ # enableFlowLogs field isn't supported if the subnet purpose field is set to
39314
+ # GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
39254
39315
  # Corresponds to the JSON property `purpose`
39255
39316
  # @return [String]
39256
39317
  attr_accessor :purpose
@@ -39261,11 +39322,17 @@ module Google
39261
39322
  # @return [String]
39262
39323
  attr_accessor :region
39263
39324
 
39264
- # The role of subnetwork. Currently, this field is only used when purpose =
39265
- # REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE
39266
- # subnetwork is one that is currently being used for Envoy-based load balancers
39267
- # in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE
39268
- # or is currently draining. This field can be updated with a patch request.
39325
+ # The URL of the reserved internal range.
39326
+ # Corresponds to the JSON property `reservedInternalRange`
39327
+ # @return [String]
39328
+ attr_accessor :reserved_internal_range
39329
+
39330
+ # The role of subnetwork. Currently, this field is only used when purpose is set
39331
+ # to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to
39332
+ # ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for
39333
+ # Envoy-based load balancers in a region. A BACKUP subnetwork is one that is
39334
+ # ready to be promoted to ACTIVE or is currently draining. This field can be
39335
+ # updated with a patch request.
39269
39336
  # Corresponds to the JSON property `role`
39270
39337
  # @return [String]
39271
39338
  attr_accessor :role
@@ -39326,6 +39393,7 @@ module Google
39326
39393
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
39327
39394
  @purpose = args[:purpose] if args.key?(:purpose)
39328
39395
  @region = args[:region] if args.key?(:region)
39396
+ @reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
39329
39397
  @role = args[:role] if args.key?(:role)
39330
39398
  @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
39331
39399
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -39662,6 +39730,11 @@ module Google
39662
39730
  # @return [String]
39663
39731
  attr_accessor :range_name
39664
39732
 
39733
+ # The URL of the reserved internal range.
39734
+ # Corresponds to the JSON property `reservedInternalRange`
39735
+ # @return [String]
39736
+ attr_accessor :reserved_internal_range
39737
+
39665
39738
  def initialize(**args)
39666
39739
  update!(**args)
39667
39740
  end
@@ -39670,6 +39743,7 @@ module Google
39670
39743
  def update!(**args)
39671
39744
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
39672
39745
  @range_name = args[:range_name] if args.key?(:range_name)
39746
+ @reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
39673
39747
  end
39674
39748
  end
39675
39749
 
@@ -44330,27 +44404,25 @@ module Google
44330
44404
  attr_accessor :network
44331
44405
 
44332
44406
  # The purpose of the resource. This field can be either PRIVATE,
44333
- # REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
44334
- # INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created
44335
- # subnets or subnets that are automatically created in auto mode networks. A
44336
- # subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork
44337
- # that is reserved for regional Envoy-based load balancers. A subnet with
44338
- # purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using
44339
- # Private Service Connect. A subnet with purpose set to
44340
- # INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by
44341
- # regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is
44342
- # the preferred setting for all regional Envoy load balancers. If unspecified,
44343
- # the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't
44344
- # supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.
44407
+ # GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
44408
+ # PRIVATE is the default purpose for user-created subnets or subnets that are
44409
+ # automatically created in auto mode networks. Subnets with purpose set to
44410
+ # GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks
44411
+ # that are reserved for Envoy-based load balancers. A subnet with purpose set to
44412
+ # PRIVATE_SERVICE_CONNECT is used to publish services using Private Service
44413
+ # Connect. If unspecified, the subnet purpose defaults to PRIVATE. The
44414
+ # enableFlowLogs field isn't supported if the subnet purpose field is set to
44415
+ # GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.
44345
44416
  # Corresponds to the JSON property `purpose`
44346
44417
  # @return [String]
44347
44418
  attr_accessor :purpose
44348
44419
 
44349
- # The role of subnetwork. Currently, this field is only used when purpose =
44350
- # REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE
44351
- # subnetwork is one that is currently being used for Envoy-based load balancers
44352
- # in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE
44353
- # or is currently draining. This field can be updated with a patch request.
44420
+ # The role of subnetwork. Currently, this field is only used when purpose is set
44421
+ # to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to
44422
+ # ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for
44423
+ # Envoy-based load balancers in a region. A BACKUP subnetwork is one that is
44424
+ # ready to be promoted to ACTIVE or is currently draining. This field can be
44425
+ # updated with a patch request.
44354
44426
  # Corresponds to the JSON property `role`
44355
44427
  # @return [String]
44356
44428
  attr_accessor :role
@@ -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.85.0"
19
+ GEM_VERSION = "0.87.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231128"
25
+ REVISION = "20240109"
26
26
  end
27
27
  end
28
28
  end
@@ -7362,6 +7362,7 @@ module Google
7362
7362
  property :creation_timestamp, as: 'creationTimestamp'
7363
7363
  property :description, as: 'description'
7364
7364
  property :end_timestamp, as: 'endTimestamp'
7365
+ collection :existing_reservations, as: 'existingReservations'
7365
7366
  property :id, :numeric_string => true, as: 'id'
7366
7367
  property :kind, as: 'kind'
7367
7368
  property :license_resource, as: 'licenseResource', class: Google::Apis::ComputeV1::LicenseResourceCommitment, decorator: Google::Apis::ComputeV1::LicenseResourceCommitment::Representation
@@ -7602,6 +7603,7 @@ module Google
7602
7603
  collection :resource_policies, as: 'resourcePolicies'
7603
7604
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::DiskResourceStatus, decorator: Google::Apis::ComputeV1::DiskResourceStatus::Representation
7604
7605
 
7606
+ property :satisfies_pzi, as: 'satisfiesPzi'
7605
7607
  property :satisfies_pzs, as: 'satisfiesPzs'
7606
7608
  property :self_link, as: 'selfLink'
7607
7609
  property :size_gb, :numeric_string => true, as: 'sizeGb'
@@ -9127,6 +9129,7 @@ module Google
9127
9129
  property :name, as: 'name'
9128
9130
  property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeV1::Image::RawDisk, decorator: Google::Apis::ComputeV1::Image::RawDisk::Representation
9129
9131
 
9132
+ property :satisfies_pzi, as: 'satisfiesPzi'
9130
9133
  property :satisfies_pzs, as: 'satisfiesPzs'
9131
9134
  property :self_link, as: 'selfLink'
9132
9135
  property :shielded_instance_initial_state, as: 'shieldedInstanceInitialState', class: Google::Apis::ComputeV1::InitialStateConfig, decorator: Google::Apis::ComputeV1::InitialStateConfig::Representation
@@ -11006,6 +11009,7 @@ module Google
11006
11009
  property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
11007
11010
 
11008
11011
  property :name, as: 'name'
11012
+ property :satisfies_pzi, as: 'satisfiesPzi'
11009
11013
  property :satisfies_pzs, as: 'satisfiesPzs'
11010
11014
  collection :saved_disks, as: 'savedDisks', class: Google::Apis::ComputeV1::SavedDisk, decorator: Google::Apis::ComputeV1::SavedDisk::Representation
11011
11015
 
@@ -15309,6 +15313,7 @@ module Google
15309
15313
  collection :licenses, as: 'licenses'
15310
15314
  property :location_hint, as: 'locationHint'
15311
15315
  property :name, as: 'name'
15316
+ property :satisfies_pzi, as: 'satisfiesPzi'
15312
15317
  property :satisfies_pzs, as: 'satisfiesPzs'
15313
15318
  property :self_link, as: 'selfLink'
15314
15319
  property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
@@ -15772,6 +15777,7 @@ module Google
15772
15777
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
15773
15778
  property :purpose, as: 'purpose'
15774
15779
  property :region, as: 'region'
15780
+ property :reserved_internal_range, as: 'reservedInternalRange'
15775
15781
  property :role, as: 'role'
15776
15782
  collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeV1::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeV1::SubnetworkSecondaryRange::Representation
15777
15783
 
@@ -15863,6 +15869,7 @@ module Google
15863
15869
  class Representation < Google::Apis::Core::JsonRepresentation
15864
15870
  property :ip_cidr_range, as: 'ipCidrRange'
15865
15871
  property :range_name, as: 'rangeName'
15872
+ property :reserved_internal_range, as: 'reservedInternalRange'
15866
15873
  end
15867
15874
  end
15868
15875
 
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/compute/
34
34
  class ComputeService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://compute.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -47,7 +49,7 @@ module Google
47
49
  attr_accessor :user_ip
48
50
 
49
51
  def initialize
50
- super('https://compute.googleapis.com/', 'compute/v1/',
52
+ super(DEFAULT_ENDPOINT_TEMPLATE, 'compute/v1/',
51
53
  client_name: 'google-apis-compute_v1',
52
54
  client_version: Google::Apis::ComputeV1::GEM_VERSION)
53
55
  @batch_path = 'batch/compute/v1'
@@ -1581,7 +1583,7 @@ module Google
1581
1583
  # @param [String] project
1582
1584
  # Project ID for this request.
1583
1585
  # @param [String] backend_bucket
1584
- # Name of the BackendService resource to which the security policy should be set.
1586
+ # Name of the BackendBucket resource to which the security policy should be set.
1585
1587
  # The name should conform to RFC1035.
1586
1588
  # @param [Google::Apis::ComputeV1::SecurityPolicyReference] security_policy_reference_object
1587
1589
  # @param [String] request_id
@@ -12699,6 +12701,56 @@ module Google
12699
12701
  execute_or_queue_command(command, &block)
12700
12702
  end
12701
12703
 
12704
+ # Perform a manual maintenance on the instance.
12705
+ # @param [String] project
12706
+ # Project ID for this request.
12707
+ # @param [String] zone
12708
+ # The name of the zone for this request.
12709
+ # @param [String] instance
12710
+ # Name of the instance scoping this request.
12711
+ # @param [String] request_id
12712
+ # An optional request ID to identify requests. Specify a unique request ID so
12713
+ # that if you must retry your request, the server will know to ignore the
12714
+ # request if it has already been completed. For example, consider a situation
12715
+ # where you make an initial request and the request times out. If you make the
12716
+ # request again with the same request ID, the server can check if original
12717
+ # operation with the same request ID was received, and if so, will ignore the
12718
+ # second request. This prevents clients from accidentally creating duplicate
12719
+ # commitments. The request ID must be a valid UUID with the exception that zero
12720
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
12721
+ # @param [String] fields
12722
+ # Selector specifying which fields to include in a partial response.
12723
+ # @param [String] quota_user
12724
+ # Available to use for quota purposes for server-side applications. Can be any
12725
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12726
+ # @param [String] user_ip
12727
+ # Legacy name for parameter that has been superseded by `quotaUser`.
12728
+ # @param [Google::Apis::RequestOptions] options
12729
+ # Request-specific options
12730
+ #
12731
+ # @yield [result, err] Result & error if block supplied
12732
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
12733
+ # @yieldparam err [StandardError] error object if request failed
12734
+ #
12735
+ # @return [Google::Apis::ComputeV1::Operation]
12736
+ #
12737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12740
+ def perform_instance_maintenance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12741
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/performMaintenance', options)
12742
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
12743
+ command.response_class = Google::Apis::ComputeV1::Operation
12744
+ command.params['project'] = project unless project.nil?
12745
+ command.params['zone'] = zone unless zone.nil?
12746
+ command.params['instance'] = instance unless instance.nil?
12747
+ command.query['requestId'] = request_id unless request_id.nil?
12748
+ command.query['fields'] = fields unless fields.nil?
12749
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12750
+ command.query['userIp'] = user_ip unless user_ip.nil?
12751
+ execute_or_queue_command(command, &block)
12752
+ end
12753
+
12702
12754
  # Removes resource policies from an instance.
12703
12755
  # @param [String] project
12704
12756
  # Project ID for this request.
@@ -13659,6 +13711,9 @@ module Google
13659
13711
  # second request. This prevents clients from accidentally creating duplicate
13660
13712
  # commitments. The request ID must be a valid UUID with the exception that zero
13661
13713
  # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
13714
+ # @param [Boolean] with_extended_notifications
13715
+ # Determines whether the customers receive notifications before migration. Only
13716
+ # applicable to SF vms.
13662
13717
  # @param [String] fields
13663
13718
  # Selector specifying which fields to include in a partial response.
13664
13719
  # @param [String] quota_user
@@ -13678,7 +13733,7 @@ module Google
13678
13733
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13679
13734
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13680
13735
  # @raise [Google::Apis::AuthorizationError] Authorization is required
13681
- def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13736
+ def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, with_extended_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13682
13737
  command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
13683
13738
  command.response_representation = Google::Apis::ComputeV1::Operation::Representation
13684
13739
  command.response_class = Google::Apis::ComputeV1::Operation
@@ -13686,6 +13741,7 @@ module Google
13686
13741
  command.params['zone'] = zone unless zone.nil?
13687
13742
  command.params['instance'] = instance unless instance.nil?
13688
13743
  command.query['requestId'] = request_id unless request_id.nil?
13744
+ command.query['withExtendedNotifications'] = with_extended_notifications unless with_extended_notifications.nil?
13689
13745
  command.query['fields'] = fields unless fields.nil?
13690
13746
  command.query['quotaUser'] = quota_user unless quota_user.nil?
13691
13747
  command.query['userIp'] = user_ip unless user_ip.nil?
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.85.0
4
+ version: 0.87.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: 2023-12-10 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.85.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.87.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Compute Engine API V1