google-apis-compute_v1 0.128.0 → 0.130.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84365409fcefbb1ef9dc81f536e30b92043e38cd23dd39029eef459b07690f58
4
- data.tar.gz: 787a865d82247d0404ab634d1ce45317e47a10a63aa73385755eb7b4dd1a4adf
3
+ metadata.gz: 5b063b0ba66d38056d3555efddb63064e9304433578ce7c512210bab414f537d
4
+ data.tar.gz: fc18ea68971244288b4b06083b16eca1329ec520dcfbed919d2478659835cda2
5
5
  SHA512:
6
- metadata.gz: 5890dbb9a0e80de65a45f546a2cbbed7ecf5e585d97f0c86d279f2c66b883d16d4fc7ed225c1932acd935388629f3bcbd1cfa83de86b5110705746e152273c91
7
- data.tar.gz: b30b1651ba9a822e90d4f8bcc7349a6ed11c440e135355f1cf9fa991657a86324bdb5a3cb777ef00b2675261a3c75ef2a2eb0a96aa53a98672f0d5ee1378ef38
6
+ metadata.gz: d7aeed303ffba030d9c7f068d8871873c742705cebb5bf4e17cb58f0ff9180424bafcac8a53b97778b494deca0d2d192b0d8f733bcd85b42cb273d792cc8b331
7
+ data.tar.gz: 7afb9a734fc00204e83a859a71f18962ae32347c9c6e8a72dc25d90e1285c3f638aec5187a8f7f0d4849dd0c7b614ef930d32deb6a4a0ddc332ecfc27dfefc62
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.130.0 (2025-09-14)
4
+
5
+ * Regenerated from discovery document revision 20250902
6
+
7
+ ### v0.129.0 (2025-08-24)
8
+
9
+ * Regenerated from discovery document revision 20250810
10
+
3
11
  ### v0.128.0 (2025-08-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20250807
@@ -3143,8 +3143,8 @@ module Google
3143
3143
  # CDN will apply the following default TTLs to these status codes: HTTP 300 (
3144
3144
  # Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found),
3145
3145
  # 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not
3146
- # Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults
3147
- # can be overridden in negative_caching_policy.
3146
+ # Found), 501 (Not Implemented): 60s. These defaults can be overridden in
3147
+ # negative_caching_policy.
3148
3148
  # Corresponds to the JSON property `negativeCaching`
3149
3149
  # @return [Boolean]
3150
3150
  attr_accessor :negative_caching
@@ -4205,8 +4205,8 @@ module Google
4205
4205
  # CDN will apply the following default TTLs to these status codes: HTTP 300 (
4206
4206
  # Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found),
4207
4207
  # 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not
4208
- # Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults
4209
- # can be overridden in negative_caching_policy.
4208
+ # Found), 501 (Not Implemented): 60s. These defaults can be overridden in
4209
+ # negative_caching_policy.
4210
4210
  # Corresponds to the JSON property `negativeCaching`
4211
4211
  # @return [Boolean]
4212
4212
  attr_accessor :negative_caching
@@ -18503,6 +18503,14 @@ module Google
18503
18503
  class InstanceParams
18504
18504
  include Google::Apis::Core::Hashable
18505
18505
 
18506
+ # A Duration represents a fixed-length span of time represented as a count of
18507
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
18508
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
18509
+ # 000 years.
18510
+ # Corresponds to the JSON property `requestValidForDuration`
18511
+ # @return [Google::Apis::ComputeV1::Duration]
18512
+ attr_accessor :request_valid_for_duration
18513
+
18506
18514
  # Resource manager tags to be bound to the instance. Tag keys and values have
18507
18515
  # the same definition as resource manager tags. Keys must be in the format `
18508
18516
  # tagKeys/`tag_key_id``, and values are in the format `tagValues/456`. The field
@@ -18517,6 +18525,7 @@ module Google
18517
18525
 
18518
18526
  # Update properties of this object
18519
18527
  def update!(**args)
18528
+ @request_valid_for_duration = args[:request_valid_for_duration] if args.key?(:request_valid_for_duration)
18520
18529
  @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
18521
18530
  end
18522
18531
  end
@@ -21835,9 +21844,7 @@ module Google
21835
21844
  # @return [String]
21836
21845
  attr_accessor :is_active
21837
21846
 
21838
- # Whether this Attachment is active, and if so, whether BGP is up. This is based
21839
- # on the statuses available in the Pantheon UI here: http://google3/java/com/
21840
- # google/cloud/boq/clientapi/gce/hybrid/api/interconnect_models.proto
21847
+ # Whether this Attachment is active, and if so, whether BGP is up.
21841
21848
  # Corresponds to the JSON property `status`
21842
21849
  # @return [String]
21843
21850
  attr_accessor :status
@@ -28192,6 +28199,11 @@ module Google
28192
28199
  # @return [String]
28193
28200
  attr_accessor :nic_type
28194
28201
 
28202
+ # Name of the parent network interface of a dynamic network interface.
28203
+ # Corresponds to the JSON property `parentNicName`
28204
+ # @return [String]
28205
+ attr_accessor :parent_nic_name
28206
+
28195
28207
  # The networking queue count that's specified by users for the network interface.
28196
28208
  # Both Rx and Tx queues will be set to this number. It'll be empty if not
28197
28209
  # specified by the users.
@@ -28219,6 +28231,12 @@ module Google
28219
28231
  # @return [String]
28220
28232
  attr_accessor :subnetwork
28221
28233
 
28234
+ # VLAN tag of a dynamic network interface, must be an integer in the range from
28235
+ # 2 to 255 inclusively.
28236
+ # Corresponds to the JSON property `vlan`
28237
+ # @return [Fixnum]
28238
+ attr_accessor :vlan
28239
+
28222
28240
  def initialize(**args)
28223
28241
  update!(**args)
28224
28242
  end
@@ -28238,9 +28256,11 @@ module Google
28238
28256
  @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
28239
28257
  @network_ip = args[:network_ip] if args.key?(:network_ip)
28240
28258
  @nic_type = args[:nic_type] if args.key?(:nic_type)
28259
+ @parent_nic_name = args[:parent_nic_name] if args.key?(:parent_nic_name)
28241
28260
  @queue_count = args[:queue_count] if args.key?(:queue_count)
28242
28261
  @stack_type = args[:stack_type] if args.key?(:stack_type)
28243
28262
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
28263
+ @vlan = args[:vlan] if args.key?(:vlan)
28244
28264
  end
28245
28265
  end
28246
28266
 
@@ -28695,6 +28715,11 @@ module Google
28695
28715
  # @return [String]
28696
28716
  attr_accessor :name
28697
28717
 
28718
+ # [Output Only] Type of the network profile.
28719
+ # Corresponds to the JSON property `profileType`
28720
+ # @return [Google::Apis::ComputeV1::NetworkProfileProfileType]
28721
+ attr_accessor :profile_type
28722
+
28698
28723
  # [Output Only] Server-defined URL for the resource.
28699
28724
  # Corresponds to the JSON property `selfLink`
28700
28725
  # @return [String]
@@ -28718,6 +28743,7 @@ module Google
28718
28743
  @kind = args[:kind] if args.key?(:kind)
28719
28744
  @location = args[:location] if args.key?(:location)
28720
28745
  @name = args[:name] if args.key?(:name)
28746
+ @profile_type = args[:profile_type] if args.key?(:profile_type)
28721
28747
  @self_link = args[:self_link] if args.key?(:self_link)
28722
28748
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
28723
28749
  end
@@ -28932,6 +28958,43 @@ module Google
28932
28958
  end
28933
28959
  end
28934
28960
 
28961
+ #
28962
+ class NetworkProfileProfileType
28963
+ include Google::Apis::Core::Hashable
28964
+
28965
+ #
28966
+ # Corresponds to the JSON property `networkType`
28967
+ # @return [String]
28968
+ attr_accessor :network_type
28969
+
28970
+ #
28971
+ # Corresponds to the JSON property `rdmaSubtype`
28972
+ # @return [String]
28973
+ attr_accessor :rdma_subtype
28974
+
28975
+ #
28976
+ # Corresponds to the JSON property `ullSubtype`
28977
+ # @return [String]
28978
+ attr_accessor :ull_subtype
28979
+
28980
+ #
28981
+ # Corresponds to the JSON property `vpcSubtype`
28982
+ # @return [String]
28983
+ attr_accessor :vpc_subtype
28984
+
28985
+ def initialize(**args)
28986
+ update!(**args)
28987
+ end
28988
+
28989
+ # Update properties of this object
28990
+ def update!(**args)
28991
+ @network_type = args[:network_type] if args.key?(:network_type)
28992
+ @rdma_subtype = args[:rdma_subtype] if args.key?(:rdma_subtype)
28993
+ @ull_subtype = args[:ull_subtype] if args.key?(:ull_subtype)
28994
+ @vpc_subtype = args[:vpc_subtype] if args.key?(:vpc_subtype)
28995
+ end
28996
+ end
28997
+
28935
28998
  # Contains a list of network profiles.
28936
28999
  class NetworkProfilesListResponse
28937
29000
  include Google::Apis::Core::Hashable
@@ -38616,6 +38679,11 @@ module Google
38616
38679
  class ResourceStatus
38617
38680
  include Google::Apis::Core::Hashable
38618
38681
 
38682
+ # Effective values of predefined metadata keys for an instance.
38683
+ # Corresponds to the JSON property `effectiveInstanceMetadata`
38684
+ # @return [Google::Apis::ComputeV1::ResourceStatusEffectiveInstanceMetadata]
38685
+ attr_accessor :effective_instance_metadata
38686
+
38619
38687
  # [Output Only] The precise location of your instance within the zone's data
38620
38688
  # center, including the block, sub-block, and host. The field is formatted as
38621
38689
  # follows: blockId/subBlockId/hostId.
@@ -38644,6 +38712,7 @@ module Google
38644
38712
 
38645
38713
  # Update properties of this object
38646
38714
  def update!(**args)
38715
+ @effective_instance_metadata = args[:effective_instance_metadata] if args.key?(:effective_instance_metadata)
38647
38716
  @physical_host = args[:physical_host] if args.key?(:physical_host)
38648
38717
  @physical_host_topology = args[:physical_host_topology] if args.key?(:physical_host_topology)
38649
38718
  @scheduling = args[:scheduling] if args.key?(:scheduling)
@@ -38651,6 +38720,74 @@ module Google
38651
38720
  end
38652
38721
  end
38653
38722
 
38723
+ # Effective values of predefined metadata keys for an instance.
38724
+ class ResourceStatusEffectiveInstanceMetadata
38725
+ include Google::Apis::Core::Hashable
38726
+
38727
+ # Effective block-project-ssh-keys value at Instance level.
38728
+ # Corresponds to the JSON property `blockProjectSshKeysMetadataValue`
38729
+ # @return [Boolean]
38730
+ attr_accessor :block_project_ssh_keys_metadata_value
38731
+ alias_method :block_project_ssh_keys_metadata_value?, :block_project_ssh_keys_metadata_value
38732
+
38733
+ # Effective enable-guest-attributes value at Instance level.
38734
+ # Corresponds to the JSON property `enableGuestAttributesMetadataValue`
38735
+ # @return [Boolean]
38736
+ attr_accessor :enable_guest_attributes_metadata_value
38737
+ alias_method :enable_guest_attributes_metadata_value?, :enable_guest_attributes_metadata_value
38738
+
38739
+ # Effective enable-os-inventory value at Instance level.
38740
+ # Corresponds to the JSON property `enableOsInventoryMetadataValue`
38741
+ # @return [Boolean]
38742
+ attr_accessor :enable_os_inventory_metadata_value
38743
+ alias_method :enable_os_inventory_metadata_value?, :enable_os_inventory_metadata_value
38744
+
38745
+ # Effective enable-osconfig value at Instance level.
38746
+ # Corresponds to the JSON property `enableOsconfigMetadataValue`
38747
+ # @return [Boolean]
38748
+ attr_accessor :enable_osconfig_metadata_value
38749
+ alias_method :enable_osconfig_metadata_value?, :enable_osconfig_metadata_value
38750
+
38751
+ # Effective enable-oslogin value at Instance level.
38752
+ # Corresponds to the JSON property `enableOsloginMetadataValue`
38753
+ # @return [Boolean]
38754
+ attr_accessor :enable_oslogin_metadata_value
38755
+ alias_method :enable_oslogin_metadata_value?, :enable_oslogin_metadata_value
38756
+
38757
+ # Effective serial-port-enable value at Instance level.
38758
+ # Corresponds to the JSON property `serialPortEnableMetadataValue`
38759
+ # @return [Boolean]
38760
+ attr_accessor :serial_port_enable_metadata_value
38761
+ alias_method :serial_port_enable_metadata_value?, :serial_port_enable_metadata_value
38762
+
38763
+ # Effective serial-port-logging-enable value at Instance level.
38764
+ # Corresponds to the JSON property `serialPortLoggingEnableMetadataValue`
38765
+ # @return [Boolean]
38766
+ attr_accessor :serial_port_logging_enable_metadata_value
38767
+ alias_method :serial_port_logging_enable_metadata_value?, :serial_port_logging_enable_metadata_value
38768
+
38769
+ # Effective VM DNS setting at Instance level.
38770
+ # Corresponds to the JSON property `vmDnsSettingMetadataValue`
38771
+ # @return [String]
38772
+ attr_accessor :vm_dns_setting_metadata_value
38773
+
38774
+ def initialize(**args)
38775
+ update!(**args)
38776
+ end
38777
+
38778
+ # Update properties of this object
38779
+ def update!(**args)
38780
+ @block_project_ssh_keys_metadata_value = args[:block_project_ssh_keys_metadata_value] if args.key?(:block_project_ssh_keys_metadata_value)
38781
+ @enable_guest_attributes_metadata_value = args[:enable_guest_attributes_metadata_value] if args.key?(:enable_guest_attributes_metadata_value)
38782
+ @enable_os_inventory_metadata_value = args[:enable_os_inventory_metadata_value] if args.key?(:enable_os_inventory_metadata_value)
38783
+ @enable_osconfig_metadata_value = args[:enable_osconfig_metadata_value] if args.key?(:enable_osconfig_metadata_value)
38784
+ @enable_oslogin_metadata_value = args[:enable_oslogin_metadata_value] if args.key?(:enable_oslogin_metadata_value)
38785
+ @serial_port_enable_metadata_value = args[:serial_port_enable_metadata_value] if args.key?(:serial_port_enable_metadata_value)
38786
+ @serial_port_logging_enable_metadata_value = args[:serial_port_logging_enable_metadata_value] if args.key?(:serial_port_logging_enable_metadata_value)
38787
+ @vm_dns_setting_metadata_value = args[:vm_dns_setting_metadata_value] if args.key?(:vm_dns_setting_metadata_value)
38788
+ end
38789
+ end
38790
+
38654
38791
  # Represents the physical host topology of the host on which the VM is running.
38655
38792
  class ResourceStatusPhysicalHostTopology
38656
38793
  include Google::Apis::Core::Hashable
@@ -39344,6 +39481,11 @@ module Google
39344
39481
  # @return [String]
39345
39482
  attr_accessor :network
39346
39483
 
39484
+ # Additional router parameters.
39485
+ # Corresponds to the JSON property `params`
39486
+ # @return [Google::Apis::ComputeV1::RouterParams]
39487
+ attr_accessor :params
39488
+
39347
39489
  # [Output Only] URI of the region where the router resides. You must specify
39348
39490
  # this field as part of the HTTP request URL. It is not settable as a field in
39349
39491
  # the request body.
@@ -39374,6 +39516,7 @@ module Google
39374
39516
  @name = args[:name] if args.key?(:name)
39375
39517
  @nats = args[:nats] if args.key?(:nats)
39376
39518
  @network = args[:network] if args.key?(:network)
39519
+ @params = args[:params] if args.key?(:params)
39377
39520
  @region = args[:region] if args.key?(:region)
39378
39521
  @self_link = args[:self_link] if args.key?(:self_link)
39379
39522
  end
@@ -40490,6 +40633,33 @@ module Google
40490
40633
  end
40491
40634
  end
40492
40635
 
40636
+ # Additional router parameters.
40637
+ class RouterParams
40638
+ include Google::Apis::Core::Hashable
40639
+
40640
+ # Tag keys/values directly bound to this resource. The field is allowed for
40641
+ # INSERT only. The keys/values to set on the resource should be specified in
40642
+ # either ID ` : ` or Namespaced format ` : `. For example the following are
40643
+ # valid inputs: * `"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/
40644
+ # 456"` * `"123/environment" : "production", "345/abc" : "xyz"` Note: * Invalid
40645
+ # combinations of ID & namespaced format is not supported. For instance: `"123/
40646
+ # environment" : "tagValues/444"` is invalid. * Inconsistent format is not
40647
+ # supported. For instance: `"tagKeys/333" : "tagValues/444", "123/env" : "prod"`
40648
+ # is invalid.
40649
+ # Corresponds to the JSON property `resourceManagerTags`
40650
+ # @return [Hash<String,String>]
40651
+ attr_accessor :resource_manager_tags
40652
+
40653
+ def initialize(**args)
40654
+ update!(**args)
40655
+ end
40656
+
40657
+ # Update properties of this object
40658
+ def update!(**args)
40659
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
40660
+ end
40661
+ end
40662
+
40493
40663
  #
40494
40664
  class RouterStatus
40495
40665
  include Google::Apis::Core::Hashable
@@ -41590,6 +41760,13 @@ module Google
41590
41760
  # @return [String]
41591
41761
  attr_accessor :provisioning_model
41592
41762
 
41763
+ # Default is false and there will be 120 seconds between GCE ACPI G2 Soft Off
41764
+ # and ACPI G3 Mechanical Off for Standard VMs and 30 seconds for Spot VMs.
41765
+ # Corresponds to the JSON property `skipGuestOsShutdown`
41766
+ # @return [Boolean]
41767
+ attr_accessor :skip_guest_os_shutdown
41768
+ alias_method :skip_guest_os_shutdown?, :skip_guest_os_shutdown
41769
+
41593
41770
  # Specifies the timestamp, when the instance will be terminated, in RFC3339 text
41594
41771
  # format. If specified, the instance termination action will be performed at the
41595
41772
  # termination time.
@@ -41616,6 +41793,7 @@ module Google
41616
41793
  @on_instance_stop_action = args[:on_instance_stop_action] if args.key?(:on_instance_stop_action)
41617
41794
  @preemptible = args[:preemptible] if args.key?(:preemptible)
41618
41795
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
41796
+ @skip_guest_os_shutdown = args[:skip_guest_os_shutdown] if args.key?(:skip_guest_os_shutdown)
41619
41797
  @termination_time = args[:termination_time] if args.key?(:termination_time)
41620
41798
  end
41621
41799
  end
@@ -42077,14 +42255,14 @@ module Google
42077
42255
  # be configured to filter incoming HTTP requests targeting backend services (
42078
42256
  # including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
42079
42257
  # filter requests before the request is served from Google's cache. -
42080
- # CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be
42081
- # configured to filter HTTP requests targeting services managed by Traffic
42082
- # Director in a service mesh. They filter requests before the request is served
42083
- # from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can
42084
- # be configured to filter packets targeting network load balancing resources
42085
- # such as backend services, target pools, target instances, and instances with
42086
- # external IPs. They filter requests before the request is served from the
42087
- # application. This field can be set only at resource creation time.
42258
+ # CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor internal service
42259
+ # policies can be configured to filter HTTP requests targeting services managed
42260
+ # by Traffic Director in a service mesh. They filter requests before the request
42261
+ # is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network
42262
+ # policies can be configured to filter packets targeting network load balancing
42263
+ # resources such as backend services, target pools, target instances, and
42264
+ # instances with external IPs. They filter requests before the request is served
42265
+ # from the application. This field can be set only at resource creation time.
42088
42266
  # Corresponds to the JSON property `type`
42089
42267
  # @return [String]
42090
42268
  attr_accessor :type
@@ -42539,7 +42717,10 @@ module Google
42539
42717
  # redirectOptions. This action is only supported in Global Security Policies of
42540
42718
  # type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold.
42541
42719
  # Configure parameters for this action in rateLimitOptions. Requires
42542
- # rate_limit_options to be set for this.
42720
+ # rate_limit_options to be set for this. - fairshare (preview only): when
42721
+ # traffic reaches the threshold limit, requests from the clients matching this
42722
+ # rule begin to be rate-limited using the Fair Share algorithm. This action is
42723
+ # only allowed in security policies of type `CLOUD_ARMOR_INTERNAL_SERVICE`.
42543
42724
  # Corresponds to the JSON property `action`
42544
42725
  # @return [String]
42545
42726
  attr_accessor :action
@@ -42595,8 +42776,8 @@ module Google
42595
42776
  # @return [Fixnum]
42596
42777
  attr_accessor :priority
42597
42778
 
42598
- # Must be specified if the action is "rate_based_ban" or "throttle". Cannot be
42599
- # specified for any other actions.
42779
+ # Must be specified if the action is "rate_based_ban" or "throttle" or "
42780
+ # fairshare". Cannot be specified for any other actions.
42600
42781
  # Corresponds to the JSON property `rateLimitOptions`
42601
42782
  # @return [Google::Apis::ComputeV1::SecurityPolicyRuleRateLimitOptions]
42602
42783
  attr_accessor :rate_limit_options
@@ -43046,7 +43227,8 @@ module Google
43046
43227
  # configuration or an IP address cannot be resolved from it, the key type
43047
43228
  # defaults to IP. - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the client
43048
43229
  # connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type
43049
- # defaults to ALL.
43230
+ # defaults to ALL. For "fairshare" action, this value is limited to ALL i.e. a
43231
+ # single rate limit threshold is enforced for all the requests matching the rule.
43050
43232
  # Corresponds to the JSON property `enforceOnKey`
43051
43233
  # @return [String]
43052
43234
  attr_accessor :enforce_on_key
@@ -43742,6 +43924,12 @@ module Google
43742
43924
  # @return [String]
43743
43925
  attr_accessor :endpoint
43744
43926
 
43927
+ # NAT IPs of the connected PSC endpoint and those of other endpoints propagated
43928
+ # from it.
43929
+ # Corresponds to the JSON property `natIps`
43930
+ # @return [Array<String>]
43931
+ attr_accessor :nat_ips
43932
+
43745
43933
  # The number of consumer Network Connectivity Center spokes that the connected
43746
43934
  # Private Service Connect endpoint has propagated to.
43747
43935
  # Corresponds to the JSON property `propagatedConnectionCount`
@@ -43766,6 +43954,7 @@ module Google
43766
43954
  def update!(**args)
43767
43955
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
43768
43956
  @endpoint = args[:endpoint] if args.key?(:endpoint)
43957
+ @nat_ips = args[:nat_ips] if args.key?(:nat_ips)
43769
43958
  @propagated_connection_count = args[:propagated_connection_count] if args.key?(:propagated_connection_count)
43770
43959
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
43771
43960
  @status = args[:status] if args.key?(:status)
@@ -53944,6 +54133,12 @@ module Google
53944
54133
  class VpnTunnel
53945
54134
  include Google::Apis::Core::Hashable
53946
54135
 
54136
+ # User specified list of ciphers to use for the phase 1 and phase 2 of the IKE
54137
+ # protocol.
54138
+ # Corresponds to the JSON property `cipherSuite`
54139
+ # @return [Google::Apis::ComputeV1::VpnTunnelCipherSuite]
54140
+ attr_accessor :cipher_suite
54141
+
53947
54142
  # [Output Only] Creation timestamp in RFC3339 text format.
53948
54143
  # Corresponds to the JSON property `creationTimestamp`
53949
54144
  # @return [String]
@@ -54129,6 +54324,7 @@ module Google
54129
54324
 
54130
54325
  # Update properties of this object
54131
54326
  def update!(**args)
54327
+ @cipher_suite = args[:cipher_suite] if args.key?(:cipher_suite)
54132
54328
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
54133
54329
  @description = args[:description] if args.key?(:description)
54134
54330
  @detailed_status = args[:detailed_status] if args.key?(:detailed_status)
@@ -54279,6 +54475,31 @@ module Google
54279
54475
  end
54280
54476
  end
54281
54477
 
54478
+ #
54479
+ class VpnTunnelCipherSuite
54480
+ include Google::Apis::Core::Hashable
54481
+
54482
+ #
54483
+ # Corresponds to the JSON property `phase1`
54484
+ # @return [Google::Apis::ComputeV1::VpnTunnelPhase1Algorithms]
54485
+ attr_accessor :phase1
54486
+
54487
+ #
54488
+ # Corresponds to the JSON property `phase2`
54489
+ # @return [Google::Apis::ComputeV1::VpnTunnelPhase2Algorithms]
54490
+ attr_accessor :phase2
54491
+
54492
+ def initialize(**args)
54493
+ update!(**args)
54494
+ end
54495
+
54496
+ # Update properties of this object
54497
+ def update!(**args)
54498
+ @phase1 = args[:phase1] if args.key?(:phase1)
54499
+ @phase2 = args[:phase2] if args.key?(:phase2)
54500
+ end
54501
+ end
54502
+
54282
54503
  # Contains a list of VpnTunnel resources.
54283
54504
  class VpnTunnelList
54284
54505
  include Google::Apis::Core::Hashable
@@ -54396,6 +54617,74 @@ module Google
54396
54617
  end
54397
54618
  end
54398
54619
 
54620
+ #
54621
+ class VpnTunnelPhase1Algorithms
54622
+ include Google::Apis::Core::Hashable
54623
+
54624
+ #
54625
+ # Corresponds to the JSON property `dh`
54626
+ # @return [Array<String>]
54627
+ attr_accessor :dh
54628
+
54629
+ #
54630
+ # Corresponds to the JSON property `encryption`
54631
+ # @return [Array<String>]
54632
+ attr_accessor :encryption
54633
+
54634
+ #
54635
+ # Corresponds to the JSON property `integrity`
54636
+ # @return [Array<String>]
54637
+ attr_accessor :integrity
54638
+
54639
+ #
54640
+ # Corresponds to the JSON property `prf`
54641
+ # @return [Array<String>]
54642
+ attr_accessor :prf
54643
+
54644
+ def initialize(**args)
54645
+ update!(**args)
54646
+ end
54647
+
54648
+ # Update properties of this object
54649
+ def update!(**args)
54650
+ @dh = args[:dh] if args.key?(:dh)
54651
+ @encryption = args[:encryption] if args.key?(:encryption)
54652
+ @integrity = args[:integrity] if args.key?(:integrity)
54653
+ @prf = args[:prf] if args.key?(:prf)
54654
+ end
54655
+ end
54656
+
54657
+ #
54658
+ class VpnTunnelPhase2Algorithms
54659
+ include Google::Apis::Core::Hashable
54660
+
54661
+ #
54662
+ # Corresponds to the JSON property `encryption`
54663
+ # @return [Array<String>]
54664
+ attr_accessor :encryption
54665
+
54666
+ #
54667
+ # Corresponds to the JSON property `integrity`
54668
+ # @return [Array<String>]
54669
+ attr_accessor :integrity
54670
+
54671
+ #
54672
+ # Corresponds to the JSON property `pfs`
54673
+ # @return [Array<String>]
54674
+ attr_accessor :pfs
54675
+
54676
+ def initialize(**args)
54677
+ update!(**args)
54678
+ end
54679
+
54680
+ # Update properties of this object
54681
+ def update!(**args)
54682
+ @encryption = args[:encryption] if args.key?(:encryption)
54683
+ @integrity = args[:integrity] if args.key?(:integrity)
54684
+ @pfs = args[:pfs] if args.key?(:pfs)
54685
+ end
54686
+ end
54687
+
54399
54688
  #
54400
54689
  class VpnTunnelsScopedList
54401
54690
  include Google::Apis::Core::Hashable
@@ -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.128.0"
19
+ GEM_VERSION = "0.130.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250807"
25
+ REVISION = "20250902"
26
26
  end
27
27
  end
28
28
  end
@@ -3658,6 +3658,12 @@ module Google
3658
3658
  include Google::Apis::Core::JsonObjectSupport
3659
3659
  end
3660
3660
 
3661
+ class NetworkProfileProfileType
3662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3663
+
3664
+ include Google::Apis::Core::JsonObjectSupport
3665
+ end
3666
+
3661
3667
  class NetworkProfilesListResponse
3662
3668
  class Representation < Google::Apis::Core::JsonRepresentation; end
3663
3669
 
@@ -5098,6 +5104,12 @@ module Google
5098
5104
  include Google::Apis::Core::JsonObjectSupport
5099
5105
  end
5100
5106
 
5107
+ class ResourceStatusEffectiveInstanceMetadata
5108
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5109
+
5110
+ include Google::Apis::Core::JsonObjectSupport
5111
+ end
5112
+
5101
5113
  class ResourceStatusPhysicalHostTopology
5102
5114
  class Representation < Google::Apis::Core::JsonRepresentation; end
5103
5115
 
@@ -5290,6 +5302,12 @@ module Google
5290
5302
  include Google::Apis::Core::JsonObjectSupport
5291
5303
  end
5292
5304
 
5305
+ class RouterParams
5306
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5307
+
5308
+ include Google::Apis::Core::JsonObjectSupport
5309
+ end
5310
+
5293
5311
  class RouterStatus
5294
5312
  class Representation < Google::Apis::Core::JsonRepresentation; end
5295
5313
 
@@ -7144,6 +7162,12 @@ module Google
7144
7162
  include Google::Apis::Core::JsonObjectSupport
7145
7163
  end
7146
7164
 
7165
+ class VpnTunnelCipherSuite
7166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7167
+
7168
+ include Google::Apis::Core::JsonObjectSupport
7169
+ end
7170
+
7147
7171
  class VpnTunnelList
7148
7172
  class Representation < Google::Apis::Core::JsonRepresentation; end
7149
7173
 
@@ -7162,6 +7186,18 @@ module Google
7162
7186
  include Google::Apis::Core::JsonObjectSupport
7163
7187
  end
7164
7188
 
7189
+ class VpnTunnelPhase1Algorithms
7190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7191
+
7192
+ include Google::Apis::Core::JsonObjectSupport
7193
+ end
7194
+
7195
+ class VpnTunnelPhase2Algorithms
7196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
7197
+
7198
+ include Google::Apis::Core::JsonObjectSupport
7199
+ end
7200
+
7165
7201
  class VpnTunnelsScopedList
7166
7202
  class Representation < Google::Apis::Core::JsonRepresentation; end
7167
7203
 
@@ -11555,6 +11591,8 @@ module Google
11555
11591
  class InstanceParams
11556
11592
  # @private
11557
11593
  class Representation < Google::Apis::Core::JsonRepresentation
11594
+ property :request_valid_for_duration, as: 'requestValidForDuration', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
11595
+
11558
11596
  hash :resource_manager_tags, as: 'resourceManagerTags'
11559
11597
  end
11560
11598
  end
@@ -14007,9 +14045,11 @@ module Google
14007
14045
  property :network_attachment, as: 'networkAttachment'
14008
14046
  property :network_ip, as: 'networkIP'
14009
14047
  property :nic_type, as: 'nicType'
14048
+ property :parent_nic_name, as: 'parentNicName'
14010
14049
  property :queue_count, as: 'queueCount'
14011
14050
  property :stack_type, as: 'stackType'
14012
14051
  property :subnetwork, as: 'subnetwork'
14052
+ property :vlan, as: 'vlan'
14013
14053
  end
14014
14054
  end
14015
14055
 
@@ -14122,6 +14162,8 @@ module Google
14122
14162
  property :location, as: 'location', class: Google::Apis::ComputeV1::NetworkProfileLocation, decorator: Google::Apis::ComputeV1::NetworkProfileLocation::Representation
14123
14163
 
14124
14164
  property :name, as: 'name'
14165
+ property :profile_type, as: 'profileType', class: Google::Apis::ComputeV1::NetworkProfileProfileType, decorator: Google::Apis::ComputeV1::NetworkProfileProfileType::Representation
14166
+
14125
14167
  property :self_link, as: 'selfLink'
14126
14168
  property :self_link_with_id, as: 'selfLinkWithId'
14127
14169
  end
@@ -14169,6 +14211,16 @@ module Google
14169
14211
  end
14170
14212
  end
14171
14213
 
14214
+ class NetworkProfileProfileType
14215
+ # @private
14216
+ class Representation < Google::Apis::Core::JsonRepresentation
14217
+ property :network_type, as: 'networkType'
14218
+ property :rdma_subtype, as: 'rdmaSubtype'
14219
+ property :ull_subtype, as: 'ullSubtype'
14220
+ property :vpc_subtype, as: 'vpcSubtype'
14221
+ end
14222
+ end
14223
+
14172
14224
  class NetworkProfilesListResponse
14173
14225
  # @private
14174
14226
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16735,6 +16787,8 @@ module Google
16735
16787
  class ResourceStatus
16736
16788
  # @private
16737
16789
  class Representation < Google::Apis::Core::JsonRepresentation
16790
+ property :effective_instance_metadata, as: 'effectiveInstanceMetadata', class: Google::Apis::ComputeV1::ResourceStatusEffectiveInstanceMetadata, decorator: Google::Apis::ComputeV1::ResourceStatusEffectiveInstanceMetadata::Representation
16791
+
16738
16792
  property :physical_host, as: 'physicalHost'
16739
16793
  property :physical_host_topology, as: 'physicalHostTopology', class: Google::Apis::ComputeV1::ResourceStatusPhysicalHostTopology, decorator: Google::Apis::ComputeV1::ResourceStatusPhysicalHostTopology::Representation
16740
16794
 
@@ -16745,6 +16799,20 @@ module Google
16745
16799
  end
16746
16800
  end
16747
16801
 
16802
+ class ResourceStatusEffectiveInstanceMetadata
16803
+ # @private
16804
+ class Representation < Google::Apis::Core::JsonRepresentation
16805
+ property :block_project_ssh_keys_metadata_value, as: 'blockProjectSshKeysMetadataValue'
16806
+ property :enable_guest_attributes_metadata_value, as: 'enableGuestAttributesMetadataValue'
16807
+ property :enable_os_inventory_metadata_value, as: 'enableOsInventoryMetadataValue'
16808
+ property :enable_osconfig_metadata_value, as: 'enableOsconfigMetadataValue'
16809
+ property :enable_oslogin_metadata_value, as: 'enableOsloginMetadataValue'
16810
+ property :serial_port_enable_metadata_value, as: 'serialPortEnableMetadataValue'
16811
+ property :serial_port_logging_enable_metadata_value, as: 'serialPortLoggingEnableMetadataValue'
16812
+ property :vm_dns_setting_metadata_value, as: 'vmDnsSettingMetadataValue'
16813
+ end
16814
+ end
16815
+
16748
16816
  class ResourceStatusPhysicalHostTopology
16749
16817
  # @private
16750
16818
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16905,6 +16973,8 @@ module Google
16905
16973
  collection :nats, as: 'nats', class: Google::Apis::ComputeV1::RouterNat, decorator: Google::Apis::ComputeV1::RouterNat::Representation
16906
16974
 
16907
16975
  property :network, as: 'network'
16976
+ property :params, as: 'params', class: Google::Apis::ComputeV1::RouterParams, decorator: Google::Apis::ComputeV1::RouterParams::Representation
16977
+
16908
16978
  property :region, as: 'region'
16909
16979
  property :self_link, as: 'selfLink'
16910
16980
  end
@@ -17146,6 +17216,13 @@ module Google
17146
17216
  end
17147
17217
  end
17148
17218
 
17219
+ class RouterParams
17220
+ # @private
17221
+ class Representation < Google::Apis::Core::JsonRepresentation
17222
+ hash :resource_manager_tags, as: 'resourceManagerTags'
17223
+ end
17224
+ end
17225
+
17149
17226
  class RouterStatus
17150
17227
  # @private
17151
17228
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17413,6 +17490,7 @@ module Google
17413
17490
 
17414
17491
  property :preemptible, as: 'preemptible'
17415
17492
  property :provisioning_model, as: 'provisioningModel'
17493
+ property :skip_guest_os_shutdown, as: 'skipGuestOsShutdown'
17416
17494
  property :termination_time, as: 'terminationTime'
17417
17495
  end
17418
17496
  end
@@ -17949,6 +18027,7 @@ module Google
17949
18027
  class Representation < Google::Apis::Core::JsonRepresentation
17950
18028
  property :consumer_network, as: 'consumerNetwork'
17951
18029
  property :endpoint, as: 'endpoint'
18030
+ collection :nat_ips, as: 'natIps'
17952
18031
  property :propagated_connection_count, as: 'propagatedConnectionCount'
17953
18032
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
17954
18033
  property :status, as: 'status'
@@ -20506,6 +20585,8 @@ module Google
20506
20585
  class VpnTunnel
20507
20586
  # @private
20508
20587
  class Representation < Google::Apis::Core::JsonRepresentation
20588
+ property :cipher_suite, as: 'cipherSuite', class: Google::Apis::ComputeV1::VpnTunnelCipherSuite, decorator: Google::Apis::ComputeV1::VpnTunnelCipherSuite::Representation
20589
+
20509
20590
  property :creation_timestamp, as: 'creationTimestamp'
20510
20591
  property :description, as: 'description'
20511
20592
  property :detailed_status, as: 'detailedStatus'
@@ -20566,6 +20647,16 @@ module Google
20566
20647
  end
20567
20648
  end
20568
20649
 
20650
+ class VpnTunnelCipherSuite
20651
+ # @private
20652
+ class Representation < Google::Apis::Core::JsonRepresentation
20653
+ property :phase1, as: 'phase1', class: Google::Apis::ComputeV1::VpnTunnelPhase1Algorithms, decorator: Google::Apis::ComputeV1::VpnTunnelPhase1Algorithms::Representation
20654
+
20655
+ property :phase2, as: 'phase2', class: Google::Apis::ComputeV1::VpnTunnelPhase2Algorithms, decorator: Google::Apis::ComputeV1::VpnTunnelPhase2Algorithms::Representation
20656
+
20657
+ end
20658
+ end
20659
+
20569
20660
  class VpnTunnelList
20570
20661
  # @private
20571
20662
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20598,6 +20689,25 @@ module Google
20598
20689
  end
20599
20690
  end
20600
20691
 
20692
+ class VpnTunnelPhase1Algorithms
20693
+ # @private
20694
+ class Representation < Google::Apis::Core::JsonRepresentation
20695
+ collection :dh, as: 'dh'
20696
+ collection :encryption, as: 'encryption'
20697
+ collection :integrity, as: 'integrity'
20698
+ collection :prf, as: 'prf'
20699
+ end
20700
+ end
20701
+
20702
+ class VpnTunnelPhase2Algorithms
20703
+ # @private
20704
+ class Representation < Google::Apis::Core::JsonRepresentation
20705
+ collection :encryption, as: 'encryption'
20706
+ collection :integrity, as: 'integrity'
20707
+ collection :pfs, as: 'pfs'
20708
+ end
20709
+ end
20710
+
20601
20711
  class VpnTunnelsScopedList
20602
20712
  # @private
20603
20713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -738,6 +738,48 @@ module Google
738
738
  execute_or_queue_command(command, &block)
739
739
  end
740
740
 
741
+ # Returns permissions that a caller has on the specified resource.
742
+ # @param [String] project
743
+ # Project ID for this request.
744
+ # @param [String] region
745
+ # The name of the region for this request.
746
+ # @param [String] resource
747
+ # Name or id of the resource for this request.
748
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
749
+ # @param [String] fields
750
+ # Selector specifying which fields to include in a partial response.
751
+ # @param [String] quota_user
752
+ # Available to use for quota purposes for server-side applications. Can be any
753
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
754
+ # @param [String] user_ip
755
+ # Legacy name for parameter that has been superseded by `quotaUser`.
756
+ # @param [Google::Apis::RequestOptions] options
757
+ # Request-specific options
758
+ #
759
+ # @yield [result, err] Result & error if block supplied
760
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
761
+ # @yieldparam err [StandardError] error object if request failed
762
+ #
763
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
764
+ #
765
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
766
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
767
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
768
+ def test_address_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
769
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions', options)
770
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
771
+ command.request_object = test_permissions_request_object
772
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
773
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
774
+ command.params['project'] = project unless project.nil?
775
+ command.params['region'] = region unless region.nil?
776
+ command.params['resource'] = resource unless resource.nil?
777
+ command.query['fields'] = fields unless fields.nil?
778
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
779
+ command.query['userIp'] = user_ip unless user_ip.nil?
780
+ execute_or_queue_command(command, &block)
781
+ end
782
+
741
783
  # Retrieves an aggregated list of autoscalers. To prevent failure, Google
742
784
  # recommends that you set the `returnPartialSuccess` parameter to `true`.
743
785
  # @param [String] project
@@ -6241,6 +6283,45 @@ module Google
6241
6283
  execute_or_queue_command(command, &block)
6242
6284
  end
6243
6285
 
6286
+ # Returns permissions that a caller has on the specified resource.
6287
+ # @param [String] project
6288
+ # Project ID for this request.
6289
+ # @param [String] resource
6290
+ # Name or id of the resource for this request.
6291
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
6292
+ # @param [String] fields
6293
+ # Selector specifying which fields to include in a partial response.
6294
+ # @param [String] quota_user
6295
+ # Available to use for quota purposes for server-side applications. Can be any
6296
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6297
+ # @param [String] user_ip
6298
+ # Legacy name for parameter that has been superseded by `quotaUser`.
6299
+ # @param [Google::Apis::RequestOptions] options
6300
+ # Request-specific options
6301
+ #
6302
+ # @yield [result, err] Result & error if block supplied
6303
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
6304
+ # @yieldparam err [StandardError] error object if request failed
6305
+ #
6306
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
6307
+ #
6308
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6309
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6310
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6311
+ def test_global_address_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
6312
+ command = make_simple_command(:post, 'projects/{project}/global/addresses/{resource}/testIamPermissions', options)
6313
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
6314
+ command.request_object = test_permissions_request_object
6315
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
6316
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
6317
+ command.params['project'] = project unless project.nil?
6318
+ command.params['resource'] = resource unless resource.nil?
6319
+ command.query['fields'] = fields unless fields.nil?
6320
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6321
+ command.query['userIp'] = user_ip unless user_ip.nil?
6322
+ execute_or_queue_command(command, &block)
6323
+ end
6324
+
6244
6325
  # Deletes the specified GlobalForwardingRule resource.
6245
6326
  # @param [String] project
6246
6327
  # Project ID for this request.
@@ -11966,6 +12047,48 @@ module Google
11966
12047
  execute_or_queue_command(command, &block)
11967
12048
  end
11968
12049
 
12050
+ # Returns permissions that a caller has on the specified resource.
12051
+ # @param [String] project
12052
+ # Project ID for this request.
12053
+ # @param [String] zone
12054
+ # The name of the zone for this request.
12055
+ # @param [String] resource
12056
+ # Name or id of the resource for this request.
12057
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
12058
+ # @param [String] fields
12059
+ # Selector specifying which fields to include in a partial response.
12060
+ # @param [String] quota_user
12061
+ # Available to use for quota purposes for server-side applications. Can be any
12062
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12063
+ # @param [String] user_ip
12064
+ # Legacy name for parameter that has been superseded by `quotaUser`.
12065
+ # @param [Google::Apis::RequestOptions] options
12066
+ # Request-specific options
12067
+ #
12068
+ # @yield [result, err] Result & error if block supplied
12069
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
12070
+ # @yieldparam err [StandardError] error object if request failed
12071
+ #
12072
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
12073
+ #
12074
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12075
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12076
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12077
+ def test_instance_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12078
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions', options)
12079
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
12080
+ command.request_object = test_permissions_request_object
12081
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
12082
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
12083
+ command.params['project'] = project unless project.nil?
12084
+ command.params['zone'] = zone unless zone.nil?
12085
+ command.params['resource'] = resource unless resource.nil?
12086
+ command.query['fields'] = fields unless fields.nil?
12087
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12088
+ command.query['userIp'] = user_ip unless user_ip.nil?
12089
+ execute_or_queue_command(command, &block)
12090
+ end
12091
+
11969
12092
  # Get Instance settings.
11970
12093
  # @param [String] project
11971
12094
  # Project ID for this request.
@@ -12562,6 +12685,60 @@ module Google
12562
12685
  execute_or_queue_command(command, &block)
12563
12686
  end
12564
12687
 
12688
+ # Adds one dynamic network interface to an active instance.
12689
+ # @param [String] project
12690
+ # Project ID for this request.
12691
+ # @param [String] zone
12692
+ # The name of the zone for this request.
12693
+ # @param [String] instance
12694
+ # The instance name for this request stored as resource_id. Name should conform
12695
+ # to RFC1035 or be an unsigned long integer.
12696
+ # @param [Google::Apis::ComputeV1::NetworkInterface] network_interface_object
12697
+ # @param [String] request_id
12698
+ # An optional request ID to identify requests. Specify a unique request ID so
12699
+ # that if you must retry your request, the server will know to ignore the
12700
+ # request if it has already been completed. For example, consider a situation
12701
+ # where you make an initial request and the request times out. If you make the
12702
+ # request again with the same request ID, the server can check if original
12703
+ # operation with the same request ID was received, and if so, will ignore the
12704
+ # second request. This prevents clients from accidentally creating duplicate
12705
+ # commitments. The request ID must be a valid UUID with the exception that zero
12706
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
12707
+ # @param [String] fields
12708
+ # Selector specifying which fields to include in a partial response.
12709
+ # @param [String] quota_user
12710
+ # Available to use for quota purposes for server-side applications. Can be any
12711
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12712
+ # @param [String] user_ip
12713
+ # Legacy name for parameter that has been superseded by `quotaUser`.
12714
+ # @param [Google::Apis::RequestOptions] options
12715
+ # Request-specific options
12716
+ #
12717
+ # @yield [result, err] Result & error if block supplied
12718
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
12719
+ # @yieldparam err [StandardError] error object if request failed
12720
+ #
12721
+ # @return [Google::Apis::ComputeV1::Operation]
12722
+ #
12723
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12724
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12725
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12726
+ def add_instance_network_interface(project, zone, instance, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12727
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface', options)
12728
+ command.request_representation = Google::Apis::ComputeV1::NetworkInterface::Representation
12729
+ command.request_object = network_interface_object
12730
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
12731
+ command.response_class = Google::Apis::ComputeV1::Operation
12732
+ command.params['project'] = project unless project.nil?
12733
+ command.params['zone'] = zone unless zone.nil?
12734
+ command.params['instance'] = instance unless instance.nil?
12735
+ command.query['requestId'] = request_id unless request_id.nil?
12736
+ command.query['fields'] = fields unless fields.nil?
12737
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12738
+ command.query['userIp'] = user_ip unless user_ip.nil?
12739
+ execute_or_queue_command(command, &block)
12740
+ end
12741
+
12565
12742
  # Adds existing resource policies to an instance. You can only add one policy
12566
12743
  # right now which will be applied to this instance for scheduling live
12567
12744
  # migrations.
@@ -12943,6 +13120,63 @@ module Google
12943
13120
  execute_or_queue_command(command, &block)
12944
13121
  end
12945
13122
 
13123
+ # Deletes one dynamic network interface from an active instance.
13124
+ # InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to
13125
+ # delete, using project+zone+resource_id fields; - dynamic network interface to
13126
+ # be deleted, using network_interface_name field;
13127
+ # @param [String] project
13128
+ # Project ID for this request.
13129
+ # @param [String] zone
13130
+ # The name of the zone for this request.
13131
+ # @param [String] instance
13132
+ # The instance name for this request stored as resource_id. Name should conform
13133
+ # to RFC1035 or be an unsigned long integer.
13134
+ # @param [String] network_interface_name
13135
+ # The name of the dynamic network interface to be deleted from the instance.
13136
+ # @param [String] request_id
13137
+ # An optional request ID to identify requests. Specify a unique request ID so
13138
+ # that if you must retry your request, the server will know to ignore the
13139
+ # request if it has already been completed. For example, consider a situation
13140
+ # where you make an initial request and the request times out. If you make the
13141
+ # request again with the same request ID, the server can check if original
13142
+ # operation with the same request ID was received, and if so, will ignore the
13143
+ # second request. This prevents clients from accidentally creating duplicate
13144
+ # commitments. The request ID must be a valid UUID with the exception that zero
13145
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
13146
+ # @param [String] fields
13147
+ # Selector specifying which fields to include in a partial response.
13148
+ # @param [String] quota_user
13149
+ # Available to use for quota purposes for server-side applications. Can be any
13150
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13151
+ # @param [String] user_ip
13152
+ # Legacy name for parameter that has been superseded by `quotaUser`.
13153
+ # @param [Google::Apis::RequestOptions] options
13154
+ # Request-specific options
13155
+ #
13156
+ # @yield [result, err] Result & error if block supplied
13157
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
13158
+ # @yieldparam err [StandardError] error object if request failed
13159
+ #
13160
+ # @return [Google::Apis::ComputeV1::Operation]
13161
+ #
13162
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13163
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13164
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13165
+ def delete_instance_network_interface(project, zone, instance, network_interface_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13166
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface', options)
13167
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
13168
+ command.response_class = Google::Apis::ComputeV1::Operation
13169
+ command.params['project'] = project unless project.nil?
13170
+ command.params['zone'] = zone unless zone.nil?
13171
+ command.params['instance'] = instance unless instance.nil?
13172
+ command.query['networkInterfaceName'] = network_interface_name unless network_interface_name.nil?
13173
+ command.query['requestId'] = request_id unless request_id.nil?
13174
+ command.query['fields'] = fields unless fields.nil?
13175
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13176
+ command.query['userIp'] = user_ip unless user_ip.nil?
13177
+ execute_or_queue_command(command, &block)
13178
+ end
13179
+
12946
13180
  # Detaches a disk from an instance.
12947
13181
  # @param [String] project
12948
13182
  # Project ID for this request.
@@ -30616,6 +30850,48 @@ module Google
30616
30850
  execute_or_queue_command(command, &block)
30617
30851
  end
30618
30852
 
30853
+ # Returns permissions that a caller has on the specified resource.
30854
+ # @param [String] project
30855
+ # Project ID for this request.
30856
+ # @param [String] region
30857
+ # The name of the region for this request.
30858
+ # @param [String] resource
30859
+ # Name or id of the resource for this request.
30860
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
30861
+ # @param [String] fields
30862
+ # Selector specifying which fields to include in a partial response.
30863
+ # @param [String] quota_user
30864
+ # Available to use for quota purposes for server-side applications. Can be any
30865
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
30866
+ # @param [String] user_ip
30867
+ # Legacy name for parameter that has been superseded by `quotaUser`.
30868
+ # @param [Google::Apis::RequestOptions] options
30869
+ # Request-specific options
30870
+ #
30871
+ # @yield [result, err] Result & error if block supplied
30872
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
30873
+ # @yieldparam err [StandardError] error object if request failed
30874
+ #
30875
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
30876
+ #
30877
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
30878
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
30879
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
30880
+ def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
30881
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options)
30882
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
30883
+ command.request_object = test_permissions_request_object
30884
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
30885
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
30886
+ command.params['project'] = project unless project.nil?
30887
+ command.params['region'] = region unless region.nil?
30888
+ command.params['resource'] = resource unless resource.nil?
30889
+ command.query['fields'] = fields unless fields.nil?
30890
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
30891
+ command.query['userIp'] = user_ip unless user_ip.nil?
30892
+ execute_or_queue_command(command, &block)
30893
+ end
30894
+
30619
30895
  # Deletes the specified instance template. Deleting an instance template is
30620
30896
  # permanent and cannot be undone.
30621
30897
  # @param [String] project
@@ -39492,6 +39768,8 @@ module Google
39492
39768
  # Name of the region of this request.
39493
39769
  # @param [String] service_attachment
39494
39770
  # Name of the ServiceAttachment resource to return.
39771
+ # @param [Boolean] show_nat_ips
39772
+ # Indicates whether NAT IPs should be included in the response.
39495
39773
  # @param [String] fields
39496
39774
  # Selector specifying which fields to include in a partial response.
39497
39775
  # @param [String] quota_user
@@ -39511,13 +39789,14 @@ module Google
39511
39789
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
39512
39790
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
39513
39791
  # @raise [Google::Apis::AuthorizationError] Authorization is required
39514
- def get_service_attachment(project, region, service_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39792
+ def get_service_attachment(project, region, service_attachment, show_nat_ips: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39515
39793
  command = make_simple_command(:get, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options)
39516
39794
  command.response_representation = Google::Apis::ComputeV1::ServiceAttachment::Representation
39517
39795
  command.response_class = Google::Apis::ComputeV1::ServiceAttachment
39518
39796
  command.params['project'] = project unless project.nil?
39519
39797
  command.params['region'] = region unless region.nil?
39520
39798
  command.params['serviceAttachment'] = service_attachment unless service_attachment.nil?
39799
+ command.query['showNatIps'] = show_nat_ips unless show_nat_ips.nil?
39521
39800
  command.query['fields'] = fields unless fields.nil?
39522
39801
  command.query['quotaUser'] = quota_user unless quota_user.nil?
39523
39802
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -44454,6 +44733,48 @@ module Google
44454
44733
  execute_or_queue_command(command, &block)
44455
44734
  end
44456
44735
 
44736
+ # Returns permissions that a caller has on the specified resource.
44737
+ # @param [String] project
44738
+ # Project ID for this request.
44739
+ # @param [String] zone
44740
+ # The name of the zone for this request.
44741
+ # @param [String] resource
44742
+ # Name or id of the resource for this request.
44743
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
44744
+ # @param [String] fields
44745
+ # Selector specifying which fields to include in a partial response.
44746
+ # @param [String] quota_user
44747
+ # Available to use for quota purposes for server-side applications. Can be any
44748
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44749
+ # @param [String] user_ip
44750
+ # Legacy name for parameter that has been superseded by `quotaUser`.
44751
+ # @param [Google::Apis::RequestOptions] options
44752
+ # Request-specific options
44753
+ #
44754
+ # @yield [result, err] Result & error if block supplied
44755
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
44756
+ # @yieldparam err [StandardError] error object if request failed
44757
+ #
44758
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
44759
+ #
44760
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
44761
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
44762
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
44763
+ def test_target_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
44764
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions', options)
44765
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
44766
+ command.request_object = test_permissions_request_object
44767
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
44768
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
44769
+ command.params['project'] = project unless project.nil?
44770
+ command.params['zone'] = zone unless zone.nil?
44771
+ command.params['resource'] = resource unless resource.nil?
44772
+ command.query['fields'] = fields unless fields.nil?
44773
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
44774
+ command.query['userIp'] = user_ip unless user_ip.nil?
44775
+ execute_or_queue_command(command, &block)
44776
+ end
44777
+
44457
44778
  # Adds health check URLs to a target pool.
44458
44779
  # @param [String] project
44459
44780
  # Project ID for this request.
@@ -45158,6 +45479,48 @@ module Google
45158
45479
  execute_or_queue_command(command, &block)
45159
45480
  end
45160
45481
 
45482
+ # Returns permissions that a caller has on the specified resource.
45483
+ # @param [String] project
45484
+ # Project ID for this request.
45485
+ # @param [String] region
45486
+ # The name of the region for this request.
45487
+ # @param [String] resource
45488
+ # Name or id of the resource for this request.
45489
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
45490
+ # @param [String] fields
45491
+ # Selector specifying which fields to include in a partial response.
45492
+ # @param [String] quota_user
45493
+ # Available to use for quota purposes for server-side applications. Can be any
45494
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
45495
+ # @param [String] user_ip
45496
+ # Legacy name for parameter that has been superseded by `quotaUser`.
45497
+ # @param [Google::Apis::RequestOptions] options
45498
+ # Request-specific options
45499
+ #
45500
+ # @yield [result, err] Result & error if block supplied
45501
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
45502
+ # @yieldparam err [StandardError] error object if request failed
45503
+ #
45504
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
45505
+ #
45506
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
45507
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
45508
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
45509
+ def test_target_pool_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
45510
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions', options)
45511
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
45512
+ command.request_object = test_permissions_request_object
45513
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
45514
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
45515
+ command.params['project'] = project unless project.nil?
45516
+ command.params['region'] = region unless region.nil?
45517
+ command.params['resource'] = resource unless resource.nil?
45518
+ command.query['fields'] = fields unless fields.nil?
45519
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
45520
+ command.query['userIp'] = user_ip unless user_ip.nil?
45521
+ execute_or_queue_command(command, &block)
45522
+ end
45523
+
45161
45524
  # Deletes the specified TargetSslProxy resource.
45162
45525
  # @param [String] project
45163
45526
  # Project ID for this request.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.128.0
4
+ version: 0.130.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.128.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.130.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
62
62
  rdoc_options: []
63
63
  require_paths: