google-apis-compute_v1 0.129.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b063b0ba66d38056d3555efddb63064e9304433578ce7c512210bab414f537d
|
4
|
+
data.tar.gz: fc18ea68971244288b4b06083b16eca1329ec520dcfbed919d2478659835cda2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7aeed303ffba030d9c7f068d8871873c742705cebb5bf4e17cb58f0ff9180424bafcac8a53b97778b494deca0d2d192b0d8f733bcd85b42cb273d792cc8b331
|
7
|
+
data.tar.gz: 7afb9a734fc00204e83a859a71f18962ae32347c9c6e8a72dc25d90e1285c3f638aec5187a8f7f0d4849dd0c7b614ef930d32deb6a4a0ddc332ecfc27dfefc62
|
data/CHANGELOG.md
CHANGED
@@ -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),
|
3147
|
-
#
|
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),
|
4209
|
-
#
|
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.
|
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
|
@@ -39418,6 +39481,11 @@ module Google
|
|
39418
39481
|
# @return [String]
|
39419
39482
|
attr_accessor :network
|
39420
39483
|
|
39484
|
+
# Additional router parameters.
|
39485
|
+
# Corresponds to the JSON property `params`
|
39486
|
+
# @return [Google::Apis::ComputeV1::RouterParams]
|
39487
|
+
attr_accessor :params
|
39488
|
+
|
39421
39489
|
# [Output Only] URI of the region where the router resides. You must specify
|
39422
39490
|
# this field as part of the HTTP request URL. It is not settable as a field in
|
39423
39491
|
# the request body.
|
@@ -39448,6 +39516,7 @@ module Google
|
|
39448
39516
|
@name = args[:name] if args.key?(:name)
|
39449
39517
|
@nats = args[:nats] if args.key?(:nats)
|
39450
39518
|
@network = args[:network] if args.key?(:network)
|
39519
|
+
@params = args[:params] if args.key?(:params)
|
39451
39520
|
@region = args[:region] if args.key?(:region)
|
39452
39521
|
@self_link = args[:self_link] if args.key?(:self_link)
|
39453
39522
|
end
|
@@ -40564,6 +40633,33 @@ module Google
|
|
40564
40633
|
end
|
40565
40634
|
end
|
40566
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
|
+
|
40567
40663
|
#
|
40568
40664
|
class RouterStatus
|
40569
40665
|
include Google::Apis::Core::Hashable
|
@@ -41664,6 +41760,13 @@ module Google
|
|
41664
41760
|
# @return [String]
|
41665
41761
|
attr_accessor :provisioning_model
|
41666
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
|
+
|
41667
41770
|
# Specifies the timestamp, when the instance will be terminated, in RFC3339 text
|
41668
41771
|
# format. If specified, the instance termination action will be performed at the
|
41669
41772
|
# termination time.
|
@@ -41690,6 +41793,7 @@ module Google
|
|
41690
41793
|
@on_instance_stop_action = args[:on_instance_stop_action] if args.key?(:on_instance_stop_action)
|
41691
41794
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
41692
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)
|
41693
41797
|
@termination_time = args[:termination_time] if args.key?(:termination_time)
|
41694
41798
|
end
|
41695
41799
|
end
|
@@ -43820,6 +43924,12 @@ module Google
|
|
43820
43924
|
# @return [String]
|
43821
43925
|
attr_accessor :endpoint
|
43822
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
|
+
|
43823
43933
|
# The number of consumer Network Connectivity Center spokes that the connected
|
43824
43934
|
# Private Service Connect endpoint has propagated to.
|
43825
43935
|
# Corresponds to the JSON property `propagatedConnectionCount`
|
@@ -43844,6 +43954,7 @@ module Google
|
|
43844
43954
|
def update!(**args)
|
43845
43955
|
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
43846
43956
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
43957
|
+
@nat_ips = args[:nat_ips] if args.key?(:nat_ips)
|
43847
43958
|
@propagated_connection_count = args[:propagated_connection_count] if args.key?(:propagated_connection_count)
|
43848
43959
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
43849
43960
|
@status = args[:status] if args.key?(:status)
|
@@ -54022,6 +54133,12 @@ module Google
|
|
54022
54133
|
class VpnTunnel
|
54023
54134
|
include Google::Apis::Core::Hashable
|
54024
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
|
+
|
54025
54142
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
54026
54143
|
# Corresponds to the JSON property `creationTimestamp`
|
54027
54144
|
# @return [String]
|
@@ -54207,6 +54324,7 @@ module Google
|
|
54207
54324
|
|
54208
54325
|
# Update properties of this object
|
54209
54326
|
def update!(**args)
|
54327
|
+
@cipher_suite = args[:cipher_suite] if args.key?(:cipher_suite)
|
54210
54328
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
54211
54329
|
@description = args[:description] if args.key?(:description)
|
54212
54330
|
@detailed_status = args[:detailed_status] if args.key?(:detailed_status)
|
@@ -54357,6 +54475,31 @@ module Google
|
|
54357
54475
|
end
|
54358
54476
|
end
|
54359
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
|
+
|
54360
54503
|
# Contains a list of VpnTunnel resources.
|
54361
54504
|
class VpnTunnelList
|
54362
54505
|
include Google::Apis::Core::Hashable
|
@@ -54474,6 +54617,74 @@ module Google
|
|
54474
54617
|
end
|
54475
54618
|
end
|
54476
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
|
+
|
54477
54688
|
#
|
54478
54689
|
class VpnTunnelsScopedList
|
54479
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.
|
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 = "
|
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
|
|
@@ -5296,6 +5302,12 @@ module Google
|
|
5296
5302
|
include Google::Apis::Core::JsonObjectSupport
|
5297
5303
|
end
|
5298
5304
|
|
5305
|
+
class RouterParams
|
5306
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5307
|
+
|
5308
|
+
include Google::Apis::Core::JsonObjectSupport
|
5309
|
+
end
|
5310
|
+
|
5299
5311
|
class RouterStatus
|
5300
5312
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5301
5313
|
|
@@ -7150,6 +7162,12 @@ module Google
|
|
7150
7162
|
include Google::Apis::Core::JsonObjectSupport
|
7151
7163
|
end
|
7152
7164
|
|
7165
|
+
class VpnTunnelCipherSuite
|
7166
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7167
|
+
|
7168
|
+
include Google::Apis::Core::JsonObjectSupport
|
7169
|
+
end
|
7170
|
+
|
7153
7171
|
class VpnTunnelList
|
7154
7172
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7155
7173
|
|
@@ -7168,6 +7186,18 @@ module Google
|
|
7168
7186
|
include Google::Apis::Core::JsonObjectSupport
|
7169
7187
|
end
|
7170
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
|
+
|
7171
7201
|
class VpnTunnelsScopedList
|
7172
7202
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7173
7203
|
|
@@ -11561,6 +11591,8 @@ module Google
|
|
11561
11591
|
class InstanceParams
|
11562
11592
|
# @private
|
11563
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
|
+
|
11564
11596
|
hash :resource_manager_tags, as: 'resourceManagerTags'
|
11565
11597
|
end
|
11566
11598
|
end
|
@@ -14013,9 +14045,11 @@ module Google
|
|
14013
14045
|
property :network_attachment, as: 'networkAttachment'
|
14014
14046
|
property :network_ip, as: 'networkIP'
|
14015
14047
|
property :nic_type, as: 'nicType'
|
14048
|
+
property :parent_nic_name, as: 'parentNicName'
|
14016
14049
|
property :queue_count, as: 'queueCount'
|
14017
14050
|
property :stack_type, as: 'stackType'
|
14018
14051
|
property :subnetwork, as: 'subnetwork'
|
14052
|
+
property :vlan, as: 'vlan'
|
14019
14053
|
end
|
14020
14054
|
end
|
14021
14055
|
|
@@ -14128,6 +14162,8 @@ module Google
|
|
14128
14162
|
property :location, as: 'location', class: Google::Apis::ComputeV1::NetworkProfileLocation, decorator: Google::Apis::ComputeV1::NetworkProfileLocation::Representation
|
14129
14163
|
|
14130
14164
|
property :name, as: 'name'
|
14165
|
+
property :profile_type, as: 'profileType', class: Google::Apis::ComputeV1::NetworkProfileProfileType, decorator: Google::Apis::ComputeV1::NetworkProfileProfileType::Representation
|
14166
|
+
|
14131
14167
|
property :self_link, as: 'selfLink'
|
14132
14168
|
property :self_link_with_id, as: 'selfLinkWithId'
|
14133
14169
|
end
|
@@ -14175,6 +14211,16 @@ module Google
|
|
14175
14211
|
end
|
14176
14212
|
end
|
14177
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
|
+
|
14178
14224
|
class NetworkProfilesListResponse
|
14179
14225
|
# @private
|
14180
14226
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16927,6 +16973,8 @@ module Google
|
|
16927
16973
|
collection :nats, as: 'nats', class: Google::Apis::ComputeV1::RouterNat, decorator: Google::Apis::ComputeV1::RouterNat::Representation
|
16928
16974
|
|
16929
16975
|
property :network, as: 'network'
|
16976
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::RouterParams, decorator: Google::Apis::ComputeV1::RouterParams::Representation
|
16977
|
+
|
16930
16978
|
property :region, as: 'region'
|
16931
16979
|
property :self_link, as: 'selfLink'
|
16932
16980
|
end
|
@@ -17168,6 +17216,13 @@ module Google
|
|
17168
17216
|
end
|
17169
17217
|
end
|
17170
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
|
+
|
17171
17226
|
class RouterStatus
|
17172
17227
|
# @private
|
17173
17228
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -17435,6 +17490,7 @@ module Google
|
|
17435
17490
|
|
17436
17491
|
property :preemptible, as: 'preemptible'
|
17437
17492
|
property :provisioning_model, as: 'provisioningModel'
|
17493
|
+
property :skip_guest_os_shutdown, as: 'skipGuestOsShutdown'
|
17438
17494
|
property :termination_time, as: 'terminationTime'
|
17439
17495
|
end
|
17440
17496
|
end
|
@@ -17971,6 +18027,7 @@ module Google
|
|
17971
18027
|
class Representation < Google::Apis::Core::JsonRepresentation
|
17972
18028
|
property :consumer_network, as: 'consumerNetwork'
|
17973
18029
|
property :endpoint, as: 'endpoint'
|
18030
|
+
collection :nat_ips, as: 'natIps'
|
17974
18031
|
property :propagated_connection_count, as: 'propagatedConnectionCount'
|
17975
18032
|
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
17976
18033
|
property :status, as: 'status'
|
@@ -20528,6 +20585,8 @@ module Google
|
|
20528
20585
|
class VpnTunnel
|
20529
20586
|
# @private
|
20530
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
|
+
|
20531
20590
|
property :creation_timestamp, as: 'creationTimestamp'
|
20532
20591
|
property :description, as: 'description'
|
20533
20592
|
property :detailed_status, as: 'detailedStatus'
|
@@ -20588,6 +20647,16 @@ module Google
|
|
20588
20647
|
end
|
20589
20648
|
end
|
20590
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
|
+
|
20591
20660
|
class VpnTunnelList
|
20592
20661
|
# @private
|
20593
20662
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20620,6 +20689,25 @@ module Google
|
|
20620
20689
|
end
|
20621
20690
|
end
|
20622
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
|
+
|
20623
20711
|
class VpnTunnelsScopedList
|
20624
20712
|
# @private
|
20625
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.
|
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.
|
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:
|