google-apis-compute_alpha 0.97.0 → 0.99.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: a734beb7ec643d15700fc395a649db5f7facef3eee023af7d336fc84176e6c8e
|
|
4
|
+
data.tar.gz: 8644055efb29d0420227d3954b8d25d9977350a821f0bc2ad5298454ad32b295
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '04483b02c64465f3f7fed8785eaa5ddbf402249ba9eebac110c77527fba0e125e434edcc730064522f697d6e2ed2ee9bbcce5cca226cfd73952c2d69ca8f94d9'
|
|
7
|
+
data.tar.gz: 796078e858ed1e4d9bed116c0a67b79053dab961565691eb1b482e01d60c4caba92af77003bd86f51acc6fdb100e8d75561a9b9474e140461025699393e46d3a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
|
2
2
|
|
|
3
|
+
### v0.99.0 (2024-04-28)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20240421
|
|
6
|
+
|
|
7
|
+
### v0.98.0 (2024-04-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20240407
|
|
10
|
+
|
|
3
11
|
### v0.97.0 (2024-04-07)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20240326
|
|
@@ -1460,7 +1460,6 @@ module Google
|
|
|
1460
1460
|
end
|
|
1461
1461
|
|
|
1462
1462
|
# This reservation type allows to pre allocate specific instance configuration.
|
|
1463
|
-
# Next ID: 6
|
|
1464
1463
|
class AllocationSpecificSkuReservation
|
|
1465
1464
|
include Google::Apis::Core::Hashable
|
|
1466
1465
|
|
|
@@ -3667,16 +3666,17 @@ module Google
|
|
|
3667
3666
|
attr_accessor :enable_cdn
|
|
3668
3667
|
alias_method :enable_cdn?, :enable_cdn
|
|
3669
3668
|
|
|
3670
|
-
# Specifies the canary migration state. Possible values are PREPARE,
|
|
3671
|
-
#
|
|
3672
|
-
# must be changed to PREPARE. The state must be
|
|
3673
|
-
# loadBalancingScheme can be changed to
|
|
3674
|
-
# state can be used to
|
|
3675
|
-
#
|
|
3676
|
-
# the states to be set in reverse order. So
|
|
3677
|
-
# EXTERNAL_MANAGED to EXTERNAL requires the state to be
|
|
3678
|
-
# same time. Optionally, the
|
|
3679
|
-
#
|
|
3669
|
+
# Specifies the canary migration state. Possible values are PREPARE,
|
|
3670
|
+
# TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL
|
|
3671
|
+
# to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be
|
|
3672
|
+
# changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to
|
|
3673
|
+
# EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to
|
|
3674
|
+
# migrate traffic by percentage using externalManagedMigrationTestingPercentage.
|
|
3675
|
+
# Rolling back a migration requires the states to be set in reverse order. So
|
|
3676
|
+
# changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be
|
|
3677
|
+
# set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE
|
|
3678
|
+
# state can be used to migrate some traffic back to EXTERNAL or PREPARE can be
|
|
3679
|
+
# used to migrate all traffic back to EXTERNAL.
|
|
3680
3680
|
# Corresponds to the JSON property `externalManagedMigrationState`
|
|
3681
3681
|
# @return [String]
|
|
3682
3682
|
attr_accessor :external_managed_migration_state
|
|
@@ -3684,9 +3684,10 @@ module Google
|
|
|
3684
3684
|
# Determines the fraction of requests that should be processed by the Global
|
|
3685
3685
|
# external Application Load Balancer. The value of this field must be in the
|
|
3686
3686
|
# range [0, 100]. Session affinity options will slightly affect this routing
|
|
3687
|
-
# behavior, for more details, see: Session Affinity. This value
|
|
3688
|
-
# the loadBalancingScheme in the BackendService is set to EXTERNAL when
|
|
3689
|
-
# the classic Application Load Balancer
|
|
3687
|
+
# behavior, for more details, see: Session Affinity. This value can only be set
|
|
3688
|
+
# if the loadBalancingScheme in the BackendService is set to EXTERNAL (when
|
|
3689
|
+
# using the classic Application Load Balancer) and the migration state is
|
|
3690
|
+
# TEST_BY_PERCENTAGE.
|
|
3690
3691
|
# Corresponds to the JSON property `externalManagedMigrationTestingPercentage`
|
|
3691
3692
|
# @return [Float]
|
|
3692
3693
|
attr_accessor :external_managed_migration_testing_percentage
|
|
@@ -3853,6 +3854,12 @@ module Google
|
|
|
3853
3854
|
# @return [String]
|
|
3854
3855
|
attr_accessor :network
|
|
3855
3856
|
|
|
3857
|
+
# Configures traffic steering properties of internal passthrough Network Load
|
|
3858
|
+
# Balancers.
|
|
3859
|
+
# Corresponds to the JSON property `networkPassThroughLbTrafficPolicy`
|
|
3860
|
+
# @return [Google::Apis::ComputeAlpha::BackendServiceNetworkPassThroughLbTrafficPolicy]
|
|
3861
|
+
attr_accessor :network_pass_through_lb_traffic_policy
|
|
3862
|
+
|
|
3856
3863
|
# Settings controlling the eviction of unhealthy hosts from the load balancing
|
|
3857
3864
|
# pool for the backend service.
|
|
3858
3865
|
# Corresponds to the JSON property `outlierDetection`
|
|
@@ -4011,6 +4018,7 @@ module Google
|
|
|
4011
4018
|
@metadatas = args[:metadatas] if args.key?(:metadatas)
|
|
4012
4019
|
@name = args[:name] if args.key?(:name)
|
|
4013
4020
|
@network = args[:network] if args.key?(:network)
|
|
4021
|
+
@network_pass_through_lb_traffic_policy = args[:network_pass_through_lb_traffic_policy] if args.key?(:network_pass_through_lb_traffic_policy)
|
|
4014
4022
|
@outlier_detection = args[:outlier_detection] if args.key?(:outlier_detection)
|
|
4015
4023
|
@port = args[:port] if args.key?(:port)
|
|
4016
4024
|
@port_name = args[:port_name] if args.key?(:port_name)
|
|
@@ -5043,6 +5051,68 @@ module Google
|
|
|
5043
5051
|
end
|
|
5044
5052
|
end
|
|
5045
5053
|
|
|
5054
|
+
#
|
|
5055
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicy
|
|
5056
|
+
include Google::Apis::Core::Hashable
|
|
5057
|
+
|
|
5058
|
+
# When configured, new connections are load balanced across healthy backend
|
|
5059
|
+
# endpoints in the local zone.
|
|
5060
|
+
# Corresponds to the JSON property `zonalAffinity`
|
|
5061
|
+
# @return [Google::Apis::ComputeAlpha::BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity]
|
|
5062
|
+
attr_accessor :zonal_affinity
|
|
5063
|
+
|
|
5064
|
+
def initialize(**args)
|
|
5065
|
+
update!(**args)
|
|
5066
|
+
end
|
|
5067
|
+
|
|
5068
|
+
# Update properties of this object
|
|
5069
|
+
def update!(**args)
|
|
5070
|
+
@zonal_affinity = args[:zonal_affinity] if args.key?(:zonal_affinity)
|
|
5071
|
+
end
|
|
5072
|
+
end
|
|
5073
|
+
|
|
5074
|
+
#
|
|
5075
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
|
|
5076
|
+
include Google::Apis::Core::Hashable
|
|
5077
|
+
|
|
5078
|
+
# This field indicates whether zonal affinity is enabled or not. The possible
|
|
5079
|
+
# values are: - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity is
|
|
5080
|
+
# disabled. The load balancer distributes new connections to all healthy backend
|
|
5081
|
+
# endpoints across all zones. - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity
|
|
5082
|
+
# is enabled. The load balancer distributes new connections to all healthy
|
|
5083
|
+
# backend endpoints in the local zone only. If there are no healthy backend
|
|
5084
|
+
# endpoints in the local zone, the load balancer distributes new connections to
|
|
5085
|
+
# all backend endpoints in the local zone. - ZONAL_AFFINITY_SPILL_CROSS_ZONE:
|
|
5086
|
+
# Zonal Affinity is enabled. The load balancer distributes new connections to
|
|
5087
|
+
# all healthy backend endpoints in the local zone only. If there aren't enough
|
|
5088
|
+
# healthy backend endpoints in the local zone, the load balancer distributes new
|
|
5089
|
+
# connections to all healthy backend endpoints across all zones.
|
|
5090
|
+
# Corresponds to the JSON property `spillover`
|
|
5091
|
+
# @return [String]
|
|
5092
|
+
attr_accessor :spillover
|
|
5093
|
+
|
|
5094
|
+
# The value of the field must be in [0, 1]. When the ratio of the count of
|
|
5095
|
+
# healthy backend endpoints in a zone to the count of backend endpoints in that
|
|
5096
|
+
# same zone is equal to or above this threshold, the load balancer distributes
|
|
5097
|
+
# new connections to all healthy endpoints in the local zone only. When the
|
|
5098
|
+
# ratio of the count of healthy backend endpoints in a zone to the count of
|
|
5099
|
+
# backend endpoints in that same zone is below this threshold, the load balancer
|
|
5100
|
+
# distributes all new connections to all healthy endpoints across all zones.
|
|
5101
|
+
# Corresponds to the JSON property `spilloverRatio`
|
|
5102
|
+
# @return [Float]
|
|
5103
|
+
attr_accessor :spillover_ratio
|
|
5104
|
+
|
|
5105
|
+
def initialize(**args)
|
|
5106
|
+
update!(**args)
|
|
5107
|
+
end
|
|
5108
|
+
|
|
5109
|
+
# Update properties of this object
|
|
5110
|
+
def update!(**args)
|
|
5111
|
+
@spillover = args[:spillover] if args.key?(:spillover)
|
|
5112
|
+
@spillover_ratio = args[:spillover_ratio] if args.key?(:spillover_ratio)
|
|
5113
|
+
end
|
|
5114
|
+
end
|
|
5115
|
+
|
|
5046
5116
|
#
|
|
5047
5117
|
class BackendServiceReference
|
|
5048
5118
|
include Google::Apis::Core::Hashable
|
|
@@ -10739,25 +10809,28 @@ module Google
|
|
|
10739
10809
|
attr_accessor :description
|
|
10740
10810
|
|
|
10741
10811
|
# Specifies the canary migration state for the backend buckets attached to this
|
|
10742
|
-
# forwarding rule. Possible values are PREPARE,
|
|
10743
|
-
# migration from EXTERNAL to EXTERNAL_MANAGED,
|
|
10744
|
-
# PREPARE. The state must be changed to
|
|
10745
|
-
#
|
|
10812
|
+
# forwarding rule. Possible values are PREPARE, TEST_BY_PERCENTAGE, and
|
|
10813
|
+
# TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED,
|
|
10814
|
+
# the state must be changed to PREPARE. The state must be changed to
|
|
10815
|
+
# TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to
|
|
10816
|
+
# EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to
|
|
10746
10817
|
# migrate traffic to backend buckets attached to this forwarding rule by
|
|
10747
10818
|
# percentage using externalManagedBackendBucketMigrationTestingPercentage.
|
|
10748
10819
|
# Rolling back a migration requires the states to be set in reverse order. So
|
|
10749
10820
|
# changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be
|
|
10750
|
-
# set to
|
|
10751
|
-
# migrate some traffic back to EXTERNAL or PREPARE can be
|
|
10752
|
-
# traffic back to EXTERNAL.
|
|
10821
|
+
# set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE
|
|
10822
|
+
# state can be used to migrate some traffic back to EXTERNAL or PREPARE can be
|
|
10823
|
+
# used to migrate all traffic back to EXTERNAL.
|
|
10753
10824
|
# Corresponds to the JSON property `externalManagedBackendBucketMigrationState`
|
|
10754
10825
|
# @return [String]
|
|
10755
10826
|
attr_accessor :external_managed_backend_bucket_migration_state
|
|
10756
10827
|
|
|
10757
10828
|
# Determines the fraction of requests to backend buckets that should be
|
|
10758
|
-
# processed by the
|
|
10759
|
-
# field must be in the range [0, 100]. This value
|
|
10760
|
-
# loadBalancingScheme is set to EXTERNAL (when using the
|
|
10829
|
+
# processed by the global external Application Load Balancer. The value of this
|
|
10830
|
+
# field must be in the range [0, 100]. This value can only be set if the
|
|
10831
|
+
# loadBalancingScheme in the BackendService is set to EXTERNAL (when using the
|
|
10832
|
+
# classic Application Load Balancer) and the migration state is
|
|
10833
|
+
# TEST_BY_PERCENTAGE.
|
|
10761
10834
|
# Corresponds to the JSON property `externalManagedBackendBucketMigrationTestingPercentage`
|
|
10762
10835
|
# @return [Float]
|
|
10763
10836
|
attr_accessor :external_managed_backend_bucket_migration_testing_percentage
|
|
@@ -20982,6 +21055,12 @@ module Google
|
|
|
20982
21055
|
# @return [String]
|
|
20983
21056
|
attr_accessor :name
|
|
20984
21057
|
|
|
21058
|
+
# [Output only] Priority of firewall policy association. Not applicable for type=
|
|
21059
|
+
# HIERARCHY.
|
|
21060
|
+
# Corresponds to the JSON property `priority`
|
|
21061
|
+
# @return [Fixnum]
|
|
21062
|
+
attr_accessor :priority
|
|
21063
|
+
|
|
20985
21064
|
# The rules that apply to the network.
|
|
20986
21065
|
# Corresponds to the JSON property `rules`
|
|
20987
21066
|
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRule>]
|
|
@@ -21006,6 +21085,7 @@ module Google
|
|
|
21006
21085
|
def update!(**args)
|
|
21007
21086
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
21008
21087
|
@name = args[:name] if args.key?(:name)
|
|
21088
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
21009
21089
|
@rules = args[:rules] if args.key?(:rules)
|
|
21010
21090
|
@short_name = args[:short_name] if args.key?(:short_name)
|
|
21011
21091
|
@type = args[:type] if args.key?(:type)
|
|
@@ -21928,6 +22008,13 @@ module Google
|
|
|
21928
22008
|
class Interconnect
|
|
21929
22009
|
include Google::Apis::Core::Hashable
|
|
21930
22010
|
|
|
22011
|
+
# Enable or disable the Application Aware Interconnect(AAI) feature on this
|
|
22012
|
+
# interconnect.
|
|
22013
|
+
# Corresponds to the JSON property `aaiEnabled`
|
|
22014
|
+
# @return [Boolean]
|
|
22015
|
+
attr_accessor :aai_enabled
|
|
22016
|
+
alias_method :aai_enabled?, :aai_enabled
|
|
22017
|
+
|
|
21931
22018
|
# Administrative status of the interconnect. When this is set to true, the
|
|
21932
22019
|
# Interconnect is functional and can carry traffic. When set to false, no
|
|
21933
22020
|
# packets can be carried over the interconnect and no BGP routes are exchanged
|
|
@@ -22163,6 +22250,7 @@ module Google
|
|
|
22163
22250
|
|
|
22164
22251
|
# Update properties of this object
|
|
22165
22252
|
def update!(**args)
|
|
22253
|
+
@aai_enabled = args[:aai_enabled] if args.key?(:aai_enabled)
|
|
22166
22254
|
@admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
|
|
22167
22255
|
@application_aware_interconnect = args[:application_aware_interconnect] if args.key?(:application_aware_interconnect)
|
|
22168
22256
|
@available_features = args[:available_features] if args.key?(:available_features)
|
|
@@ -22208,12 +22296,6 @@ module Google
|
|
|
22208
22296
|
# @return [Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy]
|
|
22209
22297
|
attr_accessor :bandwidth_percentage_policy
|
|
22210
22298
|
|
|
22211
|
-
# Enable or disable the AAI feature on this interconnect.
|
|
22212
|
-
# Corresponds to the JSON property `enabled`
|
|
22213
|
-
# @return [Boolean]
|
|
22214
|
-
attr_accessor :enabled
|
|
22215
|
-
alias_method :enabled?, :enabled
|
|
22216
|
-
|
|
22217
22299
|
# A description for the AAI profile on this interconnect.
|
|
22218
22300
|
# Corresponds to the JSON property `profileDescription`
|
|
22219
22301
|
# @return [String]
|
|
@@ -22231,7 +22313,6 @@ module Google
|
|
|
22231
22313
|
# Update properties of this object
|
|
22232
22314
|
def update!(**args)
|
|
22233
22315
|
@bandwidth_percentage_policy = args[:bandwidth_percentage_policy] if args.key?(:bandwidth_percentage_policy)
|
|
22234
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
|
22235
22316
|
@profile_description = args[:profile_description] if args.key?(:profile_description)
|
|
22236
22317
|
@strict_priority_policy = args[:strict_priority_policy] if args.key?(:strict_priority_policy)
|
|
22237
22318
|
end
|
|
@@ -28006,6 +28087,12 @@ module Google
|
|
|
28006
28087
|
# @return [Hash<String,String>]
|
|
28007
28088
|
attr_accessor :annotations
|
|
28008
28089
|
|
|
28090
|
+
# Represents the port number to which PSC consumer sends packets. Only valid for
|
|
28091
|
+
# network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type.
|
|
28092
|
+
# Corresponds to the JSON property `clientDestinationPort`
|
|
28093
|
+
# @return [Fixnum]
|
|
28094
|
+
attr_accessor :client_destination_port
|
|
28095
|
+
|
|
28009
28096
|
# Represents the port number to which PSC consumer sends packets. Only valid for
|
|
28010
28097
|
# network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.
|
|
28011
28098
|
# Corresponds to the JSON property `clientPort`
|
|
@@ -28068,6 +28155,7 @@ module Google
|
|
|
28068
28155
|
# Update properties of this object
|
|
28069
28156
|
def update!(**args)
|
|
28070
28157
|
@annotations = args[:annotations] if args.key?(:annotations)
|
|
28158
|
+
@client_destination_port = args[:client_destination_port] if args.key?(:client_destination_port)
|
|
28071
28159
|
@client_port = args[:client_port] if args.key?(:client_port)
|
|
28072
28160
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
|
28073
28161
|
@instance = args[:instance] if args.key?(:instance)
|
|
@@ -28172,7 +28260,7 @@ module Google
|
|
|
28172
28260
|
|
|
28173
28261
|
# Type of network endpoints in this network endpoint group. Can be one of
|
|
28174
28262
|
# GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,
|
|
28175
|
-
# INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
|
|
28263
|
+
# INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
|
|
28176
28264
|
# Corresponds to the JSON property `networkEndpointType`
|
|
28177
28265
|
# @return [String]
|
|
28178
28266
|
attr_accessor :network_endpoint_type
|
|
@@ -29577,7 +29665,7 @@ module Google
|
|
|
29577
29665
|
end
|
|
29578
29666
|
end
|
|
29579
29667
|
|
|
29580
|
-
# NetworkPlacement
|
|
29668
|
+
# NetworkPlacement represents a Google managed network placement resource.
|
|
29581
29669
|
class NetworkPlacement
|
|
29582
29670
|
include Google::Apis::Core::Hashable
|
|
29583
29671
|
|
|
@@ -30056,6 +30144,12 @@ module Google
|
|
|
30056
30144
|
# @return [String]
|
|
30057
30145
|
attr_accessor :name
|
|
30058
30146
|
|
|
30147
|
+
# [Output only] Priority of firewall policy association. Not applicable for type=
|
|
30148
|
+
# HIERARCHY.
|
|
30149
|
+
# Corresponds to the JSON property `priority`
|
|
30150
|
+
# @return [Fixnum]
|
|
30151
|
+
attr_accessor :priority
|
|
30152
|
+
|
|
30059
30153
|
# The rules that apply to the network.
|
|
30060
30154
|
# Corresponds to the JSON property `rules`
|
|
30061
30155
|
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRule>]
|
|
@@ -30079,6 +30173,7 @@ module Google
|
|
|
30079
30173
|
def update!(**args)
|
|
30080
30174
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
30081
30175
|
@name = args[:name] if args.key?(:name)
|
|
30176
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
30082
30177
|
@rules = args[:rules] if args.key?(:rules)
|
|
30083
30178
|
@short_name = args[:short_name] if args.key?(:short_name)
|
|
30084
30179
|
@type = args[:type] if args.key?(:type)
|
|
@@ -33367,7 +33462,7 @@ module Google
|
|
|
33367
33462
|
# @return [String]
|
|
33368
33463
|
attr_accessor :enable
|
|
33369
33464
|
|
|
33370
|
-
# Filter for mirrored traffic. If unspecified, all traffic is mirrored.
|
|
33465
|
+
# Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
|
|
33371
33466
|
# Corresponds to the JSON property `filter`
|
|
33372
33467
|
# @return [Google::Apis::ComputeAlpha::PacketMirroringFilter]
|
|
33373
33468
|
attr_accessor :filter
|
|
@@ -33588,12 +33683,11 @@ module Google
|
|
|
33588
33683
|
# @return [Array<String>]
|
|
33589
33684
|
attr_accessor :ip_protocols
|
|
33590
33685
|
|
|
33591
|
-
# One or more IPv4 or IPv6 CIDR ranges that apply as
|
|
33686
|
+
# One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (
|
|
33592
33687
|
# ingress) or destination (egress) IP in the IP header. If no ranges are
|
|
33593
33688
|
# specified, all IPv4 traffic that matches the specified IPProtocols is mirrored.
|
|
33594
33689
|
# If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is
|
|
33595
|
-
# mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
|
|
33596
|
-
# Support for IPv6 traffic is in preview.
|
|
33690
|
+
# mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
|
|
33597
33691
|
# Corresponds to the JSON property `cidrRanges`
|
|
33598
33692
|
# @return [Array<String>]
|
|
33599
33693
|
attr_accessor :cidr_ranges
|
|
@@ -38597,7 +38691,6 @@ module Google
|
|
|
38597
38691
|
attr_accessor :share_settings
|
|
38598
38692
|
|
|
38599
38693
|
# This reservation type allows to pre allocate specific instance configuration.
|
|
38600
|
-
# Next ID: 6
|
|
38601
38694
|
# Corresponds to the JSON property `specificReservation`
|
|
38602
38695
|
# @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation]
|
|
38603
38696
|
attr_accessor :specific_reservation
|
|
@@ -39210,7 +39303,7 @@ module Google
|
|
|
39210
39303
|
attr_accessor :disk_consistency_group_policy
|
|
39211
39304
|
|
|
39212
39305
|
# A GroupPlacementPolicy specifies resource placement configuration. It
|
|
39213
|
-
# specifies the failure bucket separation
|
|
39306
|
+
# specifies the failure bucket separation
|
|
39214
39307
|
# Corresponds to the JSON property `groupPlacementPolicy`
|
|
39215
39308
|
# @return [Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy]
|
|
39216
39309
|
attr_accessor :group_placement_policy
|
|
@@ -39485,7 +39578,7 @@ module Google
|
|
|
39485
39578
|
end
|
|
39486
39579
|
|
|
39487
39580
|
# A GroupPlacementPolicy specifies resource placement configuration. It
|
|
39488
|
-
# specifies the failure bucket separation
|
|
39581
|
+
# specifies the failure bucket separation
|
|
39489
39582
|
class ResourcePolicyGroupPlacementPolicy
|
|
39490
39583
|
include Google::Apis::Core::Hashable
|
|
39491
39584
|
|
|
@@ -39501,11 +39594,6 @@ module Google
|
|
|
39501
39594
|
# @return [String]
|
|
39502
39595
|
attr_accessor :collocation
|
|
39503
39596
|
|
|
39504
|
-
# Specifies network locality
|
|
39505
|
-
# Corresponds to the JSON property `locality`
|
|
39506
|
-
# @return [String]
|
|
39507
|
-
attr_accessor :locality
|
|
39508
|
-
|
|
39509
39597
|
# Specifies the number of max logical switches.
|
|
39510
39598
|
# Corresponds to the JSON property `maxDistance`
|
|
39511
39599
|
# @return [Fixnum]
|
|
@@ -39521,11 +39609,6 @@ module Google
|
|
|
39521
39609
|
# @return [Fixnum]
|
|
39522
39610
|
attr_accessor :slice_count
|
|
39523
39611
|
|
|
39524
|
-
# Specifies instances to hosts placement relationship
|
|
39525
|
-
# Corresponds to the JSON property `style`
|
|
39526
|
-
# @return [String]
|
|
39527
|
-
attr_accessor :style
|
|
39528
|
-
|
|
39529
39612
|
# Specifies the shape of the TPU slice
|
|
39530
39613
|
# Corresponds to the JSON property `tpuTopology`
|
|
39531
39614
|
# @return [String]
|
|
@@ -39546,11 +39629,9 @@ module Google
|
|
|
39546
39629
|
def update!(**args)
|
|
39547
39630
|
@availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
|
|
39548
39631
|
@collocation = args[:collocation] if args.key?(:collocation)
|
|
39549
|
-
@locality = args[:locality] if args.key?(:locality)
|
|
39550
39632
|
@max_distance = args[:max_distance] if args.key?(:max_distance)
|
|
39551
39633
|
@scope = args[:scope] if args.key?(:scope)
|
|
39552
39634
|
@slice_count = args[:slice_count] if args.key?(:slice_count)
|
|
39553
|
-
@style = args[:style] if args.key?(:style)
|
|
39554
39635
|
@tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
|
|
39555
39636
|
@vm_count = args[:vm_count] if args.key?(:vm_count)
|
|
39556
39637
|
end
|
|
@@ -41260,7 +41341,8 @@ module Google
|
|
|
41260
41341
|
attr_accessor :enable_ipv4
|
|
41261
41342
|
alias_method :enable_ipv4?, :enable_ipv4
|
|
41262
41343
|
|
|
41263
|
-
# Enable IPv6 traffic over BGP Peer.
|
|
41344
|
+
# Enable IPv6 traffic over BGP Peer. It is enabled by default if the
|
|
41345
|
+
# peerIpAddress is version 6.
|
|
41264
41346
|
# Corresponds to the JSON property `enableIpv6`
|
|
41265
41347
|
# @return [Boolean]
|
|
41266
41348
|
attr_accessor :enable_ipv6
|
|
@@ -41268,14 +41350,16 @@ module Google
|
|
|
41268
41350
|
|
|
41269
41351
|
# List of export policies applied to this peer, in the order they must be
|
|
41270
41352
|
# evaluated. The name must correspond to an existing policy that has
|
|
41271
|
-
# ROUTE_POLICY_TYPE_EXPORT type.
|
|
41353
|
+
# ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently
|
|
41354
|
+
# available in preview. Please use Beta API to use Route Policies.
|
|
41272
41355
|
# Corresponds to the JSON property `exportPolicies`
|
|
41273
41356
|
# @return [Array<String>]
|
|
41274
41357
|
attr_accessor :export_policies
|
|
41275
41358
|
|
|
41276
41359
|
# List of import policies applied to this peer, in the order they must be
|
|
41277
41360
|
# evaluated. The name must correspond to an existing policy that has
|
|
41278
|
-
# ROUTE_POLICY_TYPE_IMPORT type.
|
|
41361
|
+
# ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently
|
|
41362
|
+
# available in preview. Please use Beta API to use Route Policies.
|
|
41279
41363
|
# Corresponds to the JSON property `importPolicies`
|
|
41280
41364
|
# @return [Array<String>]
|
|
41281
41365
|
attr_accessor :import_policies
|
|
@@ -41285,8 +41369,7 @@ module Google
|
|
|
41285
41369
|
# @return [String]
|
|
41286
41370
|
attr_accessor :interface_name
|
|
41287
41371
|
|
|
41288
|
-
# IP address of the interface inside Google Cloud Platform.
|
|
41289
|
-
# supported.
|
|
41372
|
+
# IP address of the interface inside Google Cloud Platform.
|
|
41290
41373
|
# Corresponds to the JSON property `ipAddress`
|
|
41291
41374
|
# @return [String]
|
|
41292
41375
|
attr_accessor :ip_address
|
|
@@ -41334,8 +41417,7 @@ module Google
|
|
|
41334
41417
|
# @return [Fixnum]
|
|
41335
41418
|
attr_accessor :peer_asn
|
|
41336
41419
|
|
|
41337
|
-
# IP address of the BGP interface outside Google Cloud Platform.
|
|
41338
|
-
# supported.
|
|
41420
|
+
# IP address of the BGP interface outside Google Cloud Platform.
|
|
41339
41421
|
# Corresponds to the JSON property `peerIpAddress`
|
|
41340
41422
|
# @return [String]
|
|
41341
41423
|
attr_accessor :peer_ip_address
|
|
@@ -41501,10 +41583,15 @@ module Google
|
|
|
41501
41583
|
class RouterInterface
|
|
41502
41584
|
include Google::Apis::Core::Hashable
|
|
41503
41585
|
|
|
41504
|
-
# IP address and range of the interface.
|
|
41505
|
-
# link-local IP address space. The value
|
|
41506
|
-
# example
|
|
41507
|
-
# the IP address of the interface.
|
|
41586
|
+
# IP address and range of the interface. - For Internet Protocol version 4 (IPv4)
|
|
41587
|
+
# , the IP range must be in the RFC3927 link-local IP address space. The value
|
|
41588
|
+
# must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not
|
|
41589
|
+
# truncate the IP address, as it represents the IP address of the interface. -
|
|
41590
|
+
# For Internet Protocol version 6 (IPv6), the value must be a unique local
|
|
41591
|
+
# address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This
|
|
41592
|
+
# value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112.
|
|
41593
|
+
# Within the router's VPC, this IPv6 prefix will be reserved exclusively for
|
|
41594
|
+
# this connection and cannot be used for any other purpose.
|
|
41508
41595
|
# Corresponds to the JSON property `ipRange`
|
|
41509
41596
|
# @return [String]
|
|
41510
41597
|
attr_accessor :ip_range
|
|
@@ -42140,7 +42227,8 @@ module Google
|
|
|
42140
42227
|
attr_accessor :enable_ipv4
|
|
42141
42228
|
alias_method :enable_ipv4?, :enable_ipv4
|
|
42142
42229
|
|
|
42143
|
-
# Enable IPv6 traffic over BGP Peer.
|
|
42230
|
+
# Enable IPv6 traffic over BGP Peer. It is enabled by default if the
|
|
42231
|
+
# peerIpAddress is version 6.
|
|
42144
42232
|
# Corresponds to the JSON property `enableIpv6`
|
|
42145
42233
|
# @return [Boolean]
|
|
42146
42234
|
attr_accessor :enable_ipv6
|
|
@@ -45712,13 +45800,21 @@ module Google
|
|
|
45712
45800
|
# @return [String]
|
|
45713
45801
|
attr_accessor :connection_preference
|
|
45714
45802
|
|
|
45715
|
-
#
|
|
45803
|
+
# Specifies which consumer projects or networks are allowed to connect to the
|
|
45804
|
+
# service attachment. Each project or network has a connection limit. A given
|
|
45805
|
+
# service attachment can manage connections at either the project or network
|
|
45806
|
+
# level. Therefore, both the accept and reject lists for a given service
|
|
45807
|
+
# attachment must contain either only projects or only networks.
|
|
45716
45808
|
# Corresponds to the JSON property `consumerAcceptLists`
|
|
45717
45809
|
# @return [Array<Google::Apis::ComputeAlpha::ServiceAttachmentConsumerProjectLimit>]
|
|
45718
45810
|
attr_accessor :consumer_accept_lists
|
|
45719
45811
|
|
|
45720
|
-
#
|
|
45721
|
-
# project can be specified using its
|
|
45812
|
+
# Specifies a list of projects or networks that are not allowed to connect to
|
|
45813
|
+
# this service attachment. The project can be specified using its project ID or
|
|
45814
|
+
# project number and the network can be specified using its URL. A given service
|
|
45815
|
+
# attachment can manage connections at either the project or network level.
|
|
45816
|
+
# Therefore, both the reject and accept lists for a given service attachment
|
|
45817
|
+
# must contain either only projects or only networks.
|
|
45722
45818
|
# Corresponds to the JSON property `consumerRejectLists`
|
|
45723
45819
|
# @return [Array<String>]
|
|
45724
45820
|
attr_accessor :consumer_reject_lists
|
|
@@ -52220,7 +52316,7 @@ module Google
|
|
|
52220
52316
|
|
|
52221
52317
|
# URLs to networkservices.HttpFilter resources enabled for xDS clients using
|
|
52222
52318
|
# this configuration. For example, https://networkservices.googleapis.com/beta/
|
|
52223
|
-
# projects/project/locations/
|
|
52319
|
+
# projects/project/locations/ location/httpFilters/httpFilter Only filters that
|
|
52224
52320
|
# handle outbound connection and stream events may be specified. These filters
|
|
52225
52321
|
# work in conjunction with a default set of HTTP filters that may already be
|
|
52226
52322
|
# configured by Traffic Director. Traffic Director will determine the final
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeAlpha
|
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.99.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20240421"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -574,6 +574,18 @@ module Google
|
|
|
574
574
|
include Google::Apis::Core::JsonObjectSupport
|
|
575
575
|
end
|
|
576
576
|
|
|
577
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicy
|
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
579
|
+
|
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
581
|
+
end
|
|
582
|
+
|
|
583
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
|
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
585
|
+
|
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
587
|
+
end
|
|
588
|
+
|
|
577
589
|
class BackendServiceReference
|
|
578
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
579
591
|
|
|
@@ -8512,6 +8524,8 @@ module Google
|
|
|
8512
8524
|
hash :metadatas, as: 'metadatas'
|
|
8513
8525
|
property :name, as: 'name'
|
|
8514
8526
|
property :network, as: 'network'
|
|
8527
|
+
property :network_pass_through_lb_traffic_policy, as: 'networkPassThroughLbTrafficPolicy', class: Google::Apis::ComputeAlpha::BackendServiceNetworkPassThroughLbTrafficPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceNetworkPassThroughLbTrafficPolicy::Representation
|
|
8528
|
+
|
|
8515
8529
|
property :outlier_detection, as: 'outlierDetection', class: Google::Apis::ComputeAlpha::OutlierDetection, decorator: Google::Apis::ComputeAlpha::OutlierDetection::Representation
|
|
8516
8530
|
|
|
8517
8531
|
property :port, as: 'port'
|
|
@@ -8779,6 +8793,22 @@ module Google
|
|
|
8779
8793
|
end
|
|
8780
8794
|
end
|
|
8781
8795
|
|
|
8796
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicy
|
|
8797
|
+
# @private
|
|
8798
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8799
|
+
property :zonal_affinity, as: 'zonalAffinity', class: Google::Apis::ComputeAlpha::BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity, decorator: Google::Apis::ComputeAlpha::BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity::Representation
|
|
8800
|
+
|
|
8801
|
+
end
|
|
8802
|
+
end
|
|
8803
|
+
|
|
8804
|
+
class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
|
|
8805
|
+
# @private
|
|
8806
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8807
|
+
property :spillover, as: 'spillover'
|
|
8808
|
+
property :spillover_ratio, as: 'spilloverRatio'
|
|
8809
|
+
end
|
|
8810
|
+
end
|
|
8811
|
+
|
|
8782
8812
|
class BackendServiceReference
|
|
8783
8813
|
# @private
|
|
8784
8814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -12615,6 +12645,7 @@ module Google
|
|
|
12615
12645
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12616
12646
|
property :display_name, as: 'displayName'
|
|
12617
12647
|
property :name, as: 'name'
|
|
12648
|
+
property :priority, as: 'priority'
|
|
12618
12649
|
collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::FirewallPolicyRule, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
|
|
12619
12650
|
|
|
12620
12651
|
property :short_name, as: 'shortName'
|
|
@@ -12878,6 +12909,7 @@ module Google
|
|
|
12878
12909
|
class Interconnect
|
|
12879
12910
|
# @private
|
|
12880
12911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12912
|
+
property :aai_enabled, as: 'aaiEnabled'
|
|
12881
12913
|
property :admin_enabled, as: 'adminEnabled'
|
|
12882
12914
|
property :application_aware_interconnect, as: 'applicationAwareInterconnect', class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnect, decorator: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnect::Representation
|
|
12883
12915
|
|
|
@@ -12922,7 +12954,6 @@ module Google
|
|
|
12922
12954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12923
12955
|
property :bandwidth_percentage_policy, as: 'bandwidthPercentagePolicy', class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy, decorator: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy::Representation
|
|
12924
12956
|
|
|
12925
|
-
property :enabled, as: 'enabled'
|
|
12926
12957
|
property :profile_description, as: 'profileDescription'
|
|
12927
12958
|
property :strict_priority_policy, as: 'strictPriorityPolicy', class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectStrictPriorityPolicy, decorator: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnectStrictPriorityPolicy::Representation
|
|
12928
12959
|
|
|
@@ -14378,6 +14409,7 @@ module Google
|
|
|
14378
14409
|
# @private
|
|
14379
14410
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14380
14411
|
hash :annotations, as: 'annotations'
|
|
14412
|
+
property :client_destination_port, as: 'clientDestinationPort'
|
|
14381
14413
|
property :client_port, as: 'clientPort'
|
|
14382
14414
|
property :fqdn, as: 'fqdn'
|
|
14383
14415
|
property :instance, as: 'instance'
|
|
@@ -14860,6 +14892,7 @@ module Google
|
|
|
14860
14892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14861
14893
|
property :display_name, as: 'displayName'
|
|
14862
14894
|
property :name, as: 'name'
|
|
14895
|
+
property :priority, as: 'priority'
|
|
14863
14896
|
collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::FirewallPolicyRule, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
|
|
14864
14897
|
|
|
14865
14898
|
property :short_name, as: 'shortName'
|
|
@@ -17360,11 +17393,9 @@ module Google
|
|
|
17360
17393
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17361
17394
|
property :availability_domain_count, as: 'availabilityDomainCount'
|
|
17362
17395
|
property :collocation, as: 'collocation'
|
|
17363
|
-
property :locality, as: 'locality'
|
|
17364
17396
|
property :max_distance, as: 'maxDistance'
|
|
17365
17397
|
property :scope, as: 'scope'
|
|
17366
17398
|
property :slice_count, as: 'sliceCount'
|
|
17367
|
-
property :style, as: 'style'
|
|
17368
17399
|
property :tpu_topology, as: 'tpuTopology'
|
|
17369
17400
|
property :vm_count, as: 'vmCount'
|
|
17370
17401
|
end
|
|
@@ -41699,6 +41699,112 @@ module Google
|
|
|
41699
41699
|
execute_or_queue_command(command, &block)
|
|
41700
41700
|
end
|
|
41701
41701
|
|
|
41702
|
+
# Patches Named Set
|
|
41703
|
+
# @param [String] project
|
|
41704
|
+
# Project ID for this request.
|
|
41705
|
+
# @param [String] region
|
|
41706
|
+
# Name of the region for this request.
|
|
41707
|
+
# @param [String] router
|
|
41708
|
+
# Name of the Router resource where Named Set is defined.
|
|
41709
|
+
# @param [Google::Apis::ComputeAlpha::NamedSet] named_set_object
|
|
41710
|
+
# @param [String] request_id
|
|
41711
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
41712
|
+
# that if you must retry your request, the server will know to ignore the
|
|
41713
|
+
# request if it has already been completed. For example, consider a situation
|
|
41714
|
+
# where you make an initial request and the request times out. If you make the
|
|
41715
|
+
# request again with the same request ID, the server can check if original
|
|
41716
|
+
# operation with the same request ID was received, and if so, will ignore the
|
|
41717
|
+
# second request. This prevents clients from accidentally creating duplicate
|
|
41718
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
|
41719
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
41720
|
+
# @param [String] fields
|
|
41721
|
+
# Selector specifying which fields to include in a partial response.
|
|
41722
|
+
# @param [String] quota_user
|
|
41723
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41724
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41725
|
+
# @param [String] user_ip
|
|
41726
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
41727
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41728
|
+
# Request-specific options
|
|
41729
|
+
#
|
|
41730
|
+
# @yield [result, err] Result & error if block supplied
|
|
41731
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
41732
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41733
|
+
#
|
|
41734
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
41735
|
+
#
|
|
41736
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41737
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41738
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41739
|
+
def patch_router_named_set(project, region, router, named_set_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
41740
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/patchNamedSet', options)
|
|
41741
|
+
command.request_representation = Google::Apis::ComputeAlpha::NamedSet::Representation
|
|
41742
|
+
command.request_object = named_set_object
|
|
41743
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
41744
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
41745
|
+
command.params['project'] = project unless project.nil?
|
|
41746
|
+
command.params['region'] = region unless region.nil?
|
|
41747
|
+
command.params['router'] = router unless router.nil?
|
|
41748
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
41749
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41750
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41751
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
41752
|
+
execute_or_queue_command(command, &block)
|
|
41753
|
+
end
|
|
41754
|
+
|
|
41755
|
+
# Patches Route Policy
|
|
41756
|
+
# @param [String] project
|
|
41757
|
+
# Project ID for this request.
|
|
41758
|
+
# @param [String] region
|
|
41759
|
+
# Name of the region for this request.
|
|
41760
|
+
# @param [String] router
|
|
41761
|
+
# Name of the Router resource where Route Policy is defined.
|
|
41762
|
+
# @param [Google::Apis::ComputeAlpha::RoutePolicy] route_policy_object
|
|
41763
|
+
# @param [String] request_id
|
|
41764
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
41765
|
+
# that if you must retry your request, the server will know to ignore the
|
|
41766
|
+
# request if it has already been completed. For example, consider a situation
|
|
41767
|
+
# where you make an initial request and the request times out. If you make the
|
|
41768
|
+
# request again with the same request ID, the server can check if original
|
|
41769
|
+
# operation with the same request ID was received, and if so, will ignore the
|
|
41770
|
+
# second request. This prevents clients from accidentally creating duplicate
|
|
41771
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
|
41772
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
41773
|
+
# @param [String] fields
|
|
41774
|
+
# Selector specifying which fields to include in a partial response.
|
|
41775
|
+
# @param [String] quota_user
|
|
41776
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41777
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41778
|
+
# @param [String] user_ip
|
|
41779
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
41780
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41781
|
+
# Request-specific options
|
|
41782
|
+
#
|
|
41783
|
+
# @yield [result, err] Result & error if block supplied
|
|
41784
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
41785
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41786
|
+
#
|
|
41787
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
41788
|
+
#
|
|
41789
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41790
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41791
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41792
|
+
def patch_router_route_policy(project, region, router, route_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
41793
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/patchRoutePolicy', options)
|
|
41794
|
+
command.request_representation = Google::Apis::ComputeAlpha::RoutePolicy::Representation
|
|
41795
|
+
command.request_object = route_policy_object
|
|
41796
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
41797
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
41798
|
+
command.params['project'] = project unless project.nil?
|
|
41799
|
+
command.params['region'] = region unless region.nil?
|
|
41800
|
+
command.params['router'] = router unless router.nil?
|
|
41801
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
41802
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41803
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41804
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
41805
|
+
execute_or_queue_command(command, &block)
|
|
41806
|
+
end
|
|
41807
|
+
|
|
41702
41808
|
# Preview fields auto-generated during router create and update operations.
|
|
41703
41809
|
# Calling this method does NOT create or update the router.
|
|
41704
41810
|
# @param [String] project
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.99.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-04-
|
|
11
|
+
date: 2024-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.99.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|