google-apis-compute_alpha 0.57.0 → 0.59.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: 5d7d98523decbe7118c81ee5dd01739981933ceb2af796d5a3a0200dc6bdee81
|
4
|
+
data.tar.gz: fb6f5abf76f0b512d89b9ad50e8ff8c86c9af2db3ed501230996cf5f903b4479
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3f475e0af4cf2679eef3657cf0c93b5247be5bc25857298c517b658f0ea3015e393652f7016961cc06bc3ef3157e85d3252452b9486715b4f3e9d862d004e6b
|
7
|
+
data.tar.gz: 1d80a19fac0e0bd7db94bdfe2f5f5b8e8ad72edb6d90db0287d0bbbbd1a67363559eb0033cef02735ef50d8085200470e6923a91fe507d24fe4db570af71f6d9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
2
2
|
|
3
|
+
### v0.59.0 (2023-02-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230201
|
6
|
+
|
7
|
+
### v0.58.0 (2023-01-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230119
|
10
|
+
|
3
11
|
### v0.57.0 (2023-01-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230103
|
@@ -518,8 +518,9 @@ module Google
|
|
518
518
|
|
519
519
|
# The first IPv6 address of the external IPv6 range associated with this
|
520
520
|
# instance, prefix length is stored in externalIpv6PrefixLength in
|
521
|
-
# ipv6AccessConfig.
|
522
|
-
#
|
521
|
+
# ipv6AccessConfig. To use a static external IP address, it must be unused and
|
522
|
+
# in the same region as the instance's zone. If not specified, GCP will
|
523
|
+
# automatically assign an external IPv6 address from the instance's subnetwork.
|
523
524
|
# Corresponds to the JSON property `externalIpv6`
|
524
525
|
# @return [String]
|
525
526
|
attr_accessor :external_ipv6
|
@@ -1787,8 +1788,10 @@ module Google
|
|
1787
1788
|
# @return [Fixnum]
|
1788
1789
|
attr_accessor :provisioned_throughput
|
1789
1790
|
|
1790
|
-
#
|
1791
|
-
#
|
1791
|
+
# Required for each regional disk associated with the instance. Specify the URLs
|
1792
|
+
# of the zones where the disk should be replicated to. You must provide exactly
|
1793
|
+
# two replica zones, and one zone must be the same as the instance zone. You can'
|
1794
|
+
# t use this option with boot disks.
|
1792
1795
|
# Corresponds to the JSON property `replicaZones`
|
1793
1796
|
# @return [Array<String>]
|
1794
1797
|
attr_accessor :replica_zones
|
@@ -3659,6 +3662,27 @@ module Google
|
|
3659
3662
|
# @return [Fixnum]
|
3660
3663
|
attr_accessor :id
|
3661
3664
|
|
3665
|
+
# Specifies preference of traffic to the backend (from the proxy and from the
|
3666
|
+
# client for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send
|
3667
|
+
# IPv4 traffic to the backends of the Backend Service (Instance Group, Managed
|
3668
|
+
# Instance Group, Network Endpoint Group) regardless of traffic from the client
|
3669
|
+
# to the proxy. Only IPv4 health-checks are used to check the health of the
|
3670
|
+
# backends. This is the default setting. - PREFER_IPV6: Prioritize the
|
3671
|
+
# connection to the endpoints IPv6 address over its IPv4 address (provided there
|
3672
|
+
# is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the
|
3673
|
+
# backends of the Backend Service (Instance Group, Managed Instance Group,
|
3674
|
+
# Network Endpoint Group) regardless of traffic from the client to the proxy.
|
3675
|
+
# Only IPv6 health-checks are used to check the health of the backends. This
|
3676
|
+
# field is applicable to either: - Advanced Global External HTTPS Load Balancing
|
3677
|
+
# (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load
|
3678
|
+
# Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), -
|
3679
|
+
# Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED)
|
3680
|
+
# , - Traffic Director with Envoy proxies and proxyless gRPC (load balancing
|
3681
|
+
# scheme INTERNAL_SELF_MANAGED).
|
3682
|
+
# Corresponds to the JSON property `ipAddressSelectionPolicy`
|
3683
|
+
# @return [String]
|
3684
|
+
attr_accessor :ip_address_selection_policy
|
3685
|
+
|
3662
3686
|
# [Output Only] Type of resource. Always compute#backendService for backend
|
3663
3687
|
# services.
|
3664
3688
|
# Corresponds to the JSON property `kind`
|
@@ -3672,11 +3696,14 @@ module Google
|
|
3672
3696
|
# @return [String]
|
3673
3697
|
attr_accessor :load_balancing_scheme
|
3674
3698
|
|
3675
|
-
# A list of locality load
|
3676
|
-
#
|
3677
|
-
#
|
3678
|
-
#
|
3679
|
-
#
|
3699
|
+
# A list of locality load-balancing policies to be used in order of preference.
|
3700
|
+
# When you use localityLbPolicies, you must set at least one value for either
|
3701
|
+
# the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field.
|
3702
|
+
# localityLbPolicies overrides any value set in the localityLbPolicy field. For
|
3703
|
+
# an example of how to use this field, see Define a list of preferred policies.
|
3704
|
+
# Caution: This field and its children are intended for use in a service mesh
|
3705
|
+
# that includes gRPC clients only. Envoy proxies can't use backend services that
|
3706
|
+
# have this configuration.
|
3680
3707
|
# Corresponds to the JSON property `localityLbPolicies`
|
3681
3708
|
# @return [Array<Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig>]
|
3682
3709
|
attr_accessor :locality_lb_policies
|
@@ -3879,6 +3906,7 @@ module Google
|
|
3879
3906
|
@health_checks = args[:health_checks] if args.key?(:health_checks)
|
3880
3907
|
@iap = args[:iap] if args.key?(:iap)
|
3881
3908
|
@id = args[:id] if args.key?(:id)
|
3909
|
+
@ip_address_selection_policy = args[:ip_address_selection_policy] if args.key?(:ip_address_selection_policy)
|
3882
3910
|
@kind = args[:kind] if args.key?(:kind)
|
3883
3911
|
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
3884
3912
|
@locality_lb_policies = args[:locality_lb_policies] if args.key?(:locality_lb_policies)
|
@@ -4628,12 +4656,13 @@ module Google
|
|
4628
4656
|
# @return [String]
|
4629
4657
|
attr_accessor :data
|
4630
4658
|
|
4631
|
-
# Identifies the custom policy. The value should match the
|
4632
|
-
# implementation
|
4633
|
-
#
|
4634
|
-
# myorg.CustomLbPolicy). The maximum length is 256 characters.
|
4635
|
-
#
|
4636
|
-
# configuration
|
4659
|
+
# Identifies the custom policy. The value should match the name of a custom
|
4660
|
+
# implementation registered on the gRPC clients. It should follow protocol
|
4661
|
+
# buffer message naming conventions and include the full path (for example,
|
4662
|
+
# myorg.CustomLbPolicy). The maximum length is 256 characters. Do not specify
|
4663
|
+
# the same custom policy more than once for a backend. If you do, the
|
4664
|
+
# configuration is rejected. For an example of how to use this field, see Use a
|
4665
|
+
# custom policy.
|
4637
4666
|
# Corresponds to the JSON property `name`
|
4638
4667
|
# @return [String]
|
4639
4668
|
attr_accessor :name
|
@@ -4653,11 +4682,10 @@ module Google
|
|
4653
4682
|
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
4654
4683
|
include Google::Apis::Core::Hashable
|
4655
4684
|
|
4656
|
-
# The name of a locality load
|
4657
|
-
#
|
4658
|
-
#
|
4659
|
-
#
|
4660
|
-
# than once for a backend is not a valid configuration and will be rejected.
|
4685
|
+
# The name of a locality load-balancing policy. Valid values include ROUND_ROBIN
|
4686
|
+
# and, for Java clients, LEAST_REQUEST. For information about these values, see
|
4687
|
+
# the description of localityLbPolicy. Do not specify the same policy more than
|
4688
|
+
# once for a backend. If you do, the configuration is rejected.
|
4661
4689
|
# Corresponds to the JSON property `name`
|
4662
4690
|
# @return [String]
|
4663
4691
|
attr_accessor :name
|
@@ -5159,22 +5187,22 @@ module Google
|
|
5159
5187
|
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
5160
5188
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
5161
5189
|
# email address that represents a Google group. For example, `admins@example.com`
|
5162
|
-
# . * `
|
5163
|
-
#
|
5164
|
-
#
|
5165
|
-
#
|
5166
|
-
# the
|
5167
|
-
#
|
5168
|
-
#
|
5190
|
+
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
5191
|
+
# users of that domain. For example, `google.com` or `example.com`. * `deleted:
|
5192
|
+
# user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
5193
|
+
# representing a user that has been recently deleted. For example, `alice@
|
5194
|
+
# example.com?uid=123456789012345678901`. If the user is recovered, this value
|
5195
|
+
# reverts to `user:`emailid`` and the recovered user retains the role in the
|
5196
|
+
# binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
|
5197
|
+
# (plus unique identifier) representing a service account that has been recently
|
5198
|
+
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
5169
5199
|
# 123456789012345678901`. If the service account is undeleted, this value
|
5170
5200
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
5171
5201
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
5172
5202
|
# An email address (plus unique identifier) representing a Google group that has
|
5173
5203
|
# been recently deleted. For example, `admins@example.com?uid=
|
5174
5204
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
5175
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
5176
|
-
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
5177
|
-
# of that domain. For example, `google.com` or `example.com`.
|
5205
|
+
# group:`emailid`` and the recovered group retains the role in the binding.
|
5178
5206
|
# Corresponds to the JSON property `members`
|
5179
5207
|
# @return [Array<String>]
|
5180
5208
|
attr_accessor :members
|
@@ -8639,6 +8667,16 @@ module Google
|
|
8639
8667
|
# @return [String]
|
8640
8668
|
attr_accessor :ip_address
|
8641
8669
|
|
8670
|
+
# IPv6 address of the interface in the external VPN gateway. This IPv6 address
|
8671
|
+
# can be either from your on-premise gateway or another Cloud provider's VPN
|
8672
|
+
# gateway, it cannot be an IP address from Google Compute Engine. Must specify
|
8673
|
+
# an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g.
|
8674
|
+
# 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::
|
8675
|
+
# 2d9:51:0:0).
|
8676
|
+
# Corresponds to the JSON property `ipv6Address`
|
8677
|
+
# @return [String]
|
8678
|
+
attr_accessor :ipv6_address
|
8679
|
+
|
8642
8680
|
def initialize(**args)
|
8643
8681
|
update!(**args)
|
8644
8682
|
end
|
@@ -8647,6 +8685,7 @@ module Google
|
|
8647
8685
|
def update!(**args)
|
8648
8686
|
@id = args[:id] if args.key?(:id)
|
8649
8687
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
8688
|
+
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
8650
8689
|
end
|
8651
8690
|
end
|
8652
8691
|
|
@@ -9647,6 +9686,14 @@ module Google
|
|
9647
9686
|
# @return [Array<String>]
|
9648
9687
|
attr_accessor :target_service_accounts
|
9649
9688
|
|
9689
|
+
# Boolean flag indicating if the traffic should be TLS decrypted. Can be set
|
9690
|
+
# only if action = 'apply_security_profile_group' and cannot be set for other
|
9691
|
+
# actions.
|
9692
|
+
# Corresponds to the JSON property `tlsInspect`
|
9693
|
+
# @return [Boolean]
|
9694
|
+
attr_accessor :tls_inspect
|
9695
|
+
alias_method :tls_inspect?, :tls_inspect
|
9696
|
+
|
9650
9697
|
def initialize(**args)
|
9651
9698
|
update!(**args)
|
9652
9699
|
end
|
@@ -9667,6 +9714,7 @@ module Google
|
|
9667
9714
|
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
9668
9715
|
@target_secure_tags = args[:target_secure_tags] if args.key?(:target_secure_tags)
|
9669
9716
|
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
|
9717
|
+
@tls_inspect = args[:tls_inspect] if args.key?(:tls_inspect)
|
9670
9718
|
end
|
9671
9719
|
end
|
9672
9720
|
|
@@ -16781,7 +16829,8 @@ module Google
|
|
16781
16829
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus]
|
16782
16830
|
attr_accessor :status
|
16783
16831
|
|
16784
|
-
# [Output Only] The URL of a zone where the resize request is located.
|
16832
|
+
# [Output Only] The URL of a zone where the resize request is located. Populated
|
16833
|
+
# only for zonal resize requests.
|
16785
16834
|
# Corresponds to the JSON property `zone`
|
16786
16835
|
# @return [String]
|
16787
16836
|
attr_accessor :zone
|
@@ -21043,7 +21092,7 @@ module Google
|
|
21043
21092
|
# @return [String]
|
21044
21093
|
attr_accessor :type
|
21045
21094
|
|
21046
|
-
# The IEEE 802.1Q VLAN tag for this attachment, in the range 2-
|
21095
|
+
# The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only
|
21047
21096
|
# specified at creation time.
|
21048
21097
|
# Corresponds to the JSON property `vlanTag8021q`
|
21049
21098
|
# @return [Fixnum]
|
@@ -22510,6 +22559,13 @@ module Google
|
|
22510
22559
|
# @return [Fixnum]
|
22511
22560
|
attr_accessor :max_lag_size100_gbps
|
22512
22561
|
|
22562
|
+
# [Output Only] The maximum number of 10 Gbps ports supported in a link
|
22563
|
+
# aggregation group (LAG). When linkType is 10 Gbps, requestedLinkCount cannot
|
22564
|
+
# exceed max_lag_size_10_gbps.
|
22565
|
+
# Corresponds to the JSON property `maxLagSize10Gbps`
|
22566
|
+
# @return [Fixnum]
|
22567
|
+
attr_accessor :max_lag_size10_gbps
|
22568
|
+
|
22513
22569
|
# [Output Only] Name of the resource.
|
22514
22570
|
# Corresponds to the JSON property `name`
|
22515
22571
|
# @return [String]
|
@@ -22570,6 +22626,7 @@ module Google
|
|
22570
22626
|
@kind = args[:kind] if args.key?(:kind)
|
22571
22627
|
@lacp = args[:lacp] if args.key?(:lacp)
|
22572
22628
|
@max_lag_size100_gbps = args[:max_lag_size100_gbps] if args.key?(:max_lag_size100_gbps)
|
22629
|
+
@max_lag_size10_gbps = args[:max_lag_size10_gbps] if args.key?(:max_lag_size10_gbps)
|
22573
22630
|
@name = args[:name] if args.key?(:name)
|
22574
22631
|
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
|
22575
22632
|
@permitted_connections = args[:permitted_connections] if args.key?(:permitted_connections)
|
@@ -27212,7 +27269,10 @@ module Google
|
|
27212
27269
|
# @return [String]
|
27213
27270
|
attr_accessor :ipv6_access_type
|
27214
27271
|
|
27215
|
-
# An IPv6 internal network address for this network interface.
|
27272
|
+
# An IPv6 internal network address for this network interface. To use a static
|
27273
|
+
# internal IP address, it must be unused and in the same region as the instance'
|
27274
|
+
# s zone. If not specified, GCP will automatically assign an internal IPv6
|
27275
|
+
# address from the instance's subnetwork.
|
27216
27276
|
# Corresponds to the JSON property `ipv6Address`
|
27217
27277
|
# @return [String]
|
27218
27278
|
attr_accessor :ipv6_address
|
@@ -35733,6 +35793,44 @@ module Google
|
|
35733
35793
|
end
|
35734
35794
|
end
|
35735
35795
|
|
35796
|
+
#
|
35797
|
+
class RegionNetworkEndpointGroupsAttachEndpointsRequest
|
35798
|
+
include Google::Apis::Core::Hashable
|
35799
|
+
|
35800
|
+
# The list of network endpoints to be attached.
|
35801
|
+
# Corresponds to the JSON property `networkEndpoints`
|
35802
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEndpoint>]
|
35803
|
+
attr_accessor :network_endpoints
|
35804
|
+
|
35805
|
+
def initialize(**args)
|
35806
|
+
update!(**args)
|
35807
|
+
end
|
35808
|
+
|
35809
|
+
# Update properties of this object
|
35810
|
+
def update!(**args)
|
35811
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
35812
|
+
end
|
35813
|
+
end
|
35814
|
+
|
35815
|
+
#
|
35816
|
+
class RegionNetworkEndpointGroupsDetachEndpointsRequest
|
35817
|
+
include Google::Apis::Core::Hashable
|
35818
|
+
|
35819
|
+
# The list of network endpoints to be detached.
|
35820
|
+
# Corresponds to the JSON property `networkEndpoints`
|
35821
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEndpoint>]
|
35822
|
+
attr_accessor :network_endpoints
|
35823
|
+
|
35824
|
+
def initialize(**args)
|
35825
|
+
update!(**args)
|
35826
|
+
end
|
35827
|
+
|
35828
|
+
# Update properties of this object
|
35829
|
+
def update!(**args)
|
35830
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
35831
|
+
end
|
35832
|
+
end
|
35833
|
+
|
35736
35834
|
#
|
35737
35835
|
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
35738
35836
|
include Google::Apis::Core::Hashable
|
@@ -38486,6 +38584,18 @@ module Google
|
|
38486
38584
|
# @return [Google::Apis::ComputeAlpha::RouterBgpPeerBfd]
|
38487
38585
|
attr_accessor :bfd
|
38488
38586
|
|
38587
|
+
# User-defined Custom Learned Route IP range list for a BGP session.
|
38588
|
+
# Corresponds to the JSON property `customLearnedIpRanges`
|
38589
|
+
# @return [Array<Google::Apis::ComputeAlpha::RouterBgpPeerCustomLearnedIpRange>]
|
38590
|
+
attr_accessor :custom_learned_ip_ranges
|
38591
|
+
|
38592
|
+
# User-defined Custom Learned Route Priority for a BGP session. This will be
|
38593
|
+
# applied to all Custom Learned Route ranges of the BGP session, if not given,
|
38594
|
+
# google-managed priority of 100 is used.
|
38595
|
+
# Corresponds to the JSON property `customLearnedRoutePriority`
|
38596
|
+
# @return [Fixnum]
|
38597
|
+
attr_accessor :custom_learned_route_priority
|
38598
|
+
|
38489
38599
|
# The status of the BGP peer connection. If set to FALSE, any active session
|
38490
38600
|
# with the peer is terminated and all associated routing information is removed.
|
38491
38601
|
# If set to TRUE, the peer connection can be established with routing
|
@@ -38579,6 +38689,8 @@ module Google
|
|
38579
38689
|
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
38580
38690
|
@advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
|
38581
38691
|
@bfd = args[:bfd] if args.key?(:bfd)
|
38692
|
+
@custom_learned_ip_ranges = args[:custom_learned_ip_ranges] if args.key?(:custom_learned_ip_ranges)
|
38693
|
+
@custom_learned_route_priority = args[:custom_learned_route_priority] if args.key?(:custom_learned_route_priority)
|
38582
38694
|
@enable = args[:enable] if args.key?(:enable)
|
38583
38695
|
@enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
|
38584
38696
|
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
@@ -38679,6 +38791,27 @@ module Google
|
|
38679
38791
|
end
|
38680
38792
|
end
|
38681
38793
|
|
38794
|
+
#
|
38795
|
+
class RouterBgpPeerCustomLearnedIpRange
|
38796
|
+
include Google::Apis::Core::Hashable
|
38797
|
+
|
38798
|
+
# The Custom Learned Route IP range. Must be a valid CIDR-formatted prefix. If
|
38799
|
+
# an IP is provided without a subnet mask, it is interpreted as a /32 singular
|
38800
|
+
# IP range for IPv4, and /128 for IPv6.
|
38801
|
+
# Corresponds to the JSON property `range`
|
38802
|
+
# @return [String]
|
38803
|
+
attr_accessor :range
|
38804
|
+
|
38805
|
+
def initialize(**args)
|
38806
|
+
update!(**args)
|
38807
|
+
end
|
38808
|
+
|
38809
|
+
# Update properties of this object
|
38810
|
+
def update!(**args)
|
38811
|
+
@range = args[:range] if args.key?(:range)
|
38812
|
+
end
|
38813
|
+
end
|
38814
|
+
|
38682
38815
|
#
|
38683
38816
|
class RouterInterface
|
38684
38817
|
include Google::Apis::Core::Hashable
|
@@ -40649,7 +40782,11 @@ module Google
|
|
40649
40782
|
# CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be
|
40650
40783
|
# configured to filter HTTP requests targeting services managed by Traffic
|
40651
40784
|
# Director in a service mesh. They filter requests before the request is served
|
40652
|
-
# from the application.
|
40785
|
+
# from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can
|
40786
|
+
# be configured to filter packets targeting network load balancing resources
|
40787
|
+
# such as backend services, target pools, target instances, and instances with
|
40788
|
+
# external IPs. They filter requests before the request is served from the
|
40789
|
+
# application. This field can be set only at resource creation time.
|
40653
40790
|
# Corresponds to the JSON property `type`
|
40654
40791
|
# @return [String]
|
40655
40792
|
attr_accessor :type
|
@@ -41088,16 +41225,17 @@ module Google
|
|
41088
41225
|
include Google::Apis::Core::Hashable
|
41089
41226
|
|
41090
41227
|
# The Action to perform when the rule is matched. The following are the valid
|
41091
|
-
# actions: - allow: allow access to target. - deny(): deny access to
|
41092
|
-
# returns the HTTP response code specified
|
41093
|
-
# - rate_based_ban: limit client traffic to the
|
41094
|
-
# client if the traffic exceeds the threshold.
|
41095
|
-
# action in RateLimitOptions. Requires
|
41096
|
-
# redirect to a different target. This
|
41097
|
-
# redirect, or an external URL-based
|
41098
|
-
# this action can be configured via
|
41099
|
-
# traffic to the configured threshold.
|
41100
|
-
#
|
41228
|
+
# actions: - allow: allow access to target. - deny(STATUS): deny access to
|
41229
|
+
# target, returns the HTTP response code specified. Valid values for `STATUS`
|
41230
|
+
# are 403, 404, and 502. - rate_based_ban: limit client traffic to the
|
41231
|
+
# configured threshold and ban the client if the traffic exceeds the threshold.
|
41232
|
+
# Configure parameters for this action in RateLimitOptions. Requires
|
41233
|
+
# rate_limit_options to be set. - redirect: redirect to a different target. This
|
41234
|
+
# can either be an internal reCAPTCHA redirect, or an external URL-based
|
41235
|
+
# redirect via a 302 response. Parameters for this action can be configured via
|
41236
|
+
# redirectOptions. - throttle: limit client traffic to the configured threshold.
|
41237
|
+
# Configure parameters for this action in rateLimitOptions. Requires
|
41238
|
+
# rate_limit_options to be set for this.
|
41101
41239
|
# Corresponds to the JSON property `action`
|
41102
41240
|
# @return [String]
|
41103
41241
|
attr_accessor :action
|
@@ -41708,9 +41846,9 @@ module Google
|
|
41708
41846
|
|
41709
41847
|
# Action to take for requests that are above the configured rate limit threshold,
|
41710
41848
|
# to either deny with a specified HTTP response code, or redirect to a
|
41711
|
-
# different endpoint. Valid options are
|
41712
|
-
#
|
41713
|
-
# parameters come from exceedRedirectOptions below.
|
41849
|
+
# different endpoint. Valid options are `deny(STATUS)`, where valid values for `
|
41850
|
+
# STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect
|
41851
|
+
# parameters come from `exceedRedirectOptions` below.
|
41714
41852
|
# Corresponds to the JSON property `exceedAction`
|
41715
41853
|
# @return [String]
|
41716
41854
|
attr_accessor :exceed_action
|
@@ -50983,6 +51121,12 @@ module Google
|
|
50983
51121
|
# @return [String]
|
50984
51122
|
attr_accessor :description
|
50985
51123
|
|
51124
|
+
# The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not
|
51125
|
+
# specified, IPV4 will be used.
|
51126
|
+
# Corresponds to the JSON property `gatewayIpVersion`
|
51127
|
+
# @return [String]
|
51128
|
+
attr_accessor :gateway_ip_version
|
51129
|
+
|
50986
51130
|
# [Output Only] The unique identifier for the resource. This identifier is
|
50987
51131
|
# defined by the server.
|
50988
51132
|
# Corresponds to the JSON property `id`
|
@@ -51000,7 +51144,7 @@ module Google
|
|
51000
51144
|
# request to modify or update labels. You must always provide an up-to-date
|
51001
51145
|
# fingerprint hash in order to update or change labels, otherwise the request
|
51002
51146
|
# will fail with error 412 conditionNotMet. To see the latest fingerprint, make
|
51003
|
-
# a get() request to retrieve
|
51147
|
+
# a get() request to retrieve a VpnGateway.
|
51004
51148
|
# Corresponds to the JSON property `labelFingerprint`
|
51005
51149
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
51006
51150
|
# @return [String]
|
@@ -51059,6 +51203,7 @@ module Google
|
|
51059
51203
|
def update!(**args)
|
51060
51204
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
51061
51205
|
@description = args[:description] if args.key?(:description)
|
51206
|
+
@gateway_ip_version = args[:gateway_ip_version] if args.key?(:gateway_ip_version)
|
51062
51207
|
@id = args[:id] if args.key?(:id)
|
51063
51208
|
@kind = args[:kind] if args.key?(:kind)
|
51064
51209
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
@@ -51467,6 +51612,13 @@ module Google
|
|
51467
51612
|
# @return [String]
|
51468
51613
|
attr_accessor :ip_address
|
51469
51614
|
|
51615
|
+
# [Output Only] IPv6 address for this VPN interface associated with the VPN
|
51616
|
+
# gateway. The IPv6 address must be a regional external IPv6 address. The format
|
51617
|
+
# is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
|
51618
|
+
# Corresponds to the JSON property `ipv6Address`
|
51619
|
+
# @return [String]
|
51620
|
+
attr_accessor :ipv6_address
|
51621
|
+
|
51470
51622
|
def initialize(**args)
|
51471
51623
|
update!(**args)
|
51472
51624
|
end
|
@@ -51476,6 +51628,7 @@ module Google
|
|
51476
51628
|
@id = args[:id] if args.key?(:id)
|
51477
51629
|
@interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
|
51478
51630
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
51631
|
+
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
51479
51632
|
end
|
51480
51633
|
end
|
51481
51634
|
|
@@ -52181,6 +52334,13 @@ module Google
|
|
52181
52334
|
# @return [String]
|
52182
52335
|
attr_accessor :id
|
52183
52336
|
|
52337
|
+
# The sensitivity value associated with the WAF rule ID. This corresponds to the
|
52338
|
+
# ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only
|
52339
|
+
# rules.
|
52340
|
+
# Corresponds to the JSON property `sensitivity`
|
52341
|
+
# @return [Fixnum]
|
52342
|
+
attr_accessor :sensitivity
|
52343
|
+
|
52184
52344
|
def initialize(**args)
|
52185
52345
|
update!(**args)
|
52186
52346
|
end
|
@@ -52188,6 +52348,7 @@ module Google
|
|
52188
52348
|
# Update properties of this object
|
52189
52349
|
def update!(**args)
|
52190
52350
|
@id = args[:id] if args.key?(:id)
|
52351
|
+
@sensitivity = args[:sensitivity] if args.key?(:sensitivity)
|
52191
52352
|
end
|
52192
52353
|
end
|
52193
52354
|
|
@@ -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.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4666,6 +4666,18 @@ module Google
|
|
4666
4666
|
include Google::Apis::Core::JsonObjectSupport
|
4667
4667
|
end
|
4668
4668
|
|
4669
|
+
class RegionNetworkEndpointGroupsAttachEndpointsRequest
|
4670
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4671
|
+
|
4672
|
+
include Google::Apis::Core::JsonObjectSupport
|
4673
|
+
end
|
4674
|
+
|
4675
|
+
class RegionNetworkEndpointGroupsDetachEndpointsRequest
|
4676
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4677
|
+
|
4678
|
+
include Google::Apis::Core::JsonObjectSupport
|
4679
|
+
end
|
4680
|
+
|
4669
4681
|
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
4670
4682
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4671
4683
|
|
@@ -5080,6 +5092,12 @@ module Google
|
|
5080
5092
|
include Google::Apis::Core::JsonObjectSupport
|
5081
5093
|
end
|
5082
5094
|
|
5095
|
+
class RouterBgpPeerCustomLearnedIpRange
|
5096
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5097
|
+
|
5098
|
+
include Google::Apis::Core::JsonObjectSupport
|
5099
|
+
end
|
5100
|
+
|
5083
5101
|
class RouterInterface
|
5084
5102
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5085
5103
|
|
@@ -7788,6 +7806,7 @@ module Google
|
|
7788
7806
|
property :iap, as: 'iap', class: Google::Apis::ComputeAlpha::BackendServiceIap, decorator: Google::Apis::ComputeAlpha::BackendServiceIap::Representation
|
7789
7807
|
|
7790
7808
|
property :id, :numeric_string => true, as: 'id'
|
7809
|
+
property :ip_address_selection_policy, as: 'ipAddressSelectionPolicy'
|
7791
7810
|
property :kind, as: 'kind'
|
7792
7811
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
7793
7812
|
collection :locality_lb_policies, as: 'localityLbPolicies', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig::Representation
|
@@ -8935,6 +8954,7 @@ module Google
|
|
8935
8954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8936
8955
|
property :id, as: 'id'
|
8937
8956
|
property :ip_address, as: 'ipAddress'
|
8957
|
+
property :ipv6_address, as: 'ipv6Address'
|
8938
8958
|
end
|
8939
8959
|
end
|
8940
8960
|
|
@@ -9159,6 +9179,7 @@ module Google
|
|
9159
9179
|
collection :target_secure_tags, as: 'targetSecureTags', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag::Representation
|
9160
9180
|
|
9161
9181
|
collection :target_service_accounts, as: 'targetServiceAccounts'
|
9182
|
+
property :tls_inspect, as: 'tlsInspect'
|
9162
9183
|
end
|
9163
9184
|
end
|
9164
9185
|
|
@@ -12284,6 +12305,7 @@ module Google
|
|
12284
12305
|
property :kind, as: 'kind'
|
12285
12306
|
property :lacp, as: 'lacp'
|
12286
12307
|
property :max_lag_size100_gbps, as: 'maxLagSize100Gbps'
|
12308
|
+
property :max_lag_size10_gbps, as: 'maxLagSize10Gbps'
|
12287
12309
|
property :name, as: 'name'
|
12288
12310
|
property :peeringdb_facility_id, as: 'peeringdbFacilityId'
|
12289
12311
|
collection :permitted_connections, as: 'permittedConnections', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections::Representation
|
@@ -15727,6 +15749,22 @@ module Google
|
|
15727
15749
|
end
|
15728
15750
|
end
|
15729
15751
|
|
15752
|
+
class RegionNetworkEndpointGroupsAttachEndpointsRequest
|
15753
|
+
# @private
|
15754
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15755
|
+
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeAlpha::NetworkEndpoint, decorator: Google::Apis::ComputeAlpha::NetworkEndpoint::Representation
|
15756
|
+
|
15757
|
+
end
|
15758
|
+
end
|
15759
|
+
|
15760
|
+
class RegionNetworkEndpointGroupsDetachEndpointsRequest
|
15761
|
+
# @private
|
15762
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15763
|
+
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeAlpha::NetworkEndpoint, decorator: Google::Apis::ComputeAlpha::NetworkEndpoint::Representation
|
15764
|
+
|
15765
|
+
end
|
15766
|
+
end
|
15767
|
+
|
15730
15768
|
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
15731
15769
|
# @private
|
15732
15770
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16454,6 +16492,9 @@ module Google
|
|
16454
16492
|
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
16455
16493
|
property :bfd, as: 'bfd', class: Google::Apis::ComputeAlpha::RouterBgpPeerBfd, decorator: Google::Apis::ComputeAlpha::RouterBgpPeerBfd::Representation
|
16456
16494
|
|
16495
|
+
collection :custom_learned_ip_ranges, as: 'customLearnedIpRanges', class: Google::Apis::ComputeAlpha::RouterBgpPeerCustomLearnedIpRange, decorator: Google::Apis::ComputeAlpha::RouterBgpPeerCustomLearnedIpRange::Representation
|
16496
|
+
|
16497
|
+
property :custom_learned_route_priority, as: 'customLearnedRoutePriority'
|
16457
16498
|
property :enable, as: 'enable'
|
16458
16499
|
property :enable_ipv6, as: 'enableIpv6'
|
16459
16500
|
property :interface_name, as: 'interfaceName'
|
@@ -16482,6 +16523,13 @@ module Google
|
|
16482
16523
|
end
|
16483
16524
|
end
|
16484
16525
|
|
16526
|
+
class RouterBgpPeerCustomLearnedIpRange
|
16527
|
+
# @private
|
16528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16529
|
+
property :range, as: 'range'
|
16530
|
+
end
|
16531
|
+
end
|
16532
|
+
|
16485
16533
|
class RouterInterface
|
16486
16534
|
# @private
|
16487
16535
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19537,6 +19585,7 @@ module Google
|
|
19537
19585
|
class Representation < Google::Apis::Core::JsonRepresentation
|
19538
19586
|
property :creation_timestamp, as: 'creationTimestamp'
|
19539
19587
|
property :description, as: 'description'
|
19588
|
+
property :gateway_ip_version, as: 'gatewayIpVersion'
|
19540
19589
|
property :id, :numeric_string => true, as: 'id'
|
19541
19590
|
property :kind, as: 'kind'
|
19542
19591
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
@@ -19659,6 +19708,7 @@ module Google
|
|
19659
19708
|
property :id, as: 'id'
|
19660
19709
|
property :interconnect_attachment, as: 'interconnectAttachment'
|
19661
19710
|
property :ip_address, as: 'ipAddress'
|
19711
|
+
property :ipv6_address, as: 'ipv6Address'
|
19662
19712
|
end
|
19663
19713
|
end
|
19664
19714
|
|
@@ -19835,6 +19885,7 @@ module Google
|
|
19835
19885
|
# @private
|
19836
19886
|
class Representation < Google::Apis::Core::JsonRepresentation
|
19837
19887
|
property :id, as: 'id'
|
19888
|
+
property :sensitivity, as: 'sensitivity'
|
19838
19889
|
end
|
19839
19890
|
end
|
19840
19891
|
|
@@ -10046,8 +10046,8 @@ module Google
|
|
10046
10046
|
# @param [String] project
|
10047
10047
|
# Project ID for this request.
|
10048
10048
|
# @param [String] zone
|
10049
|
-
#
|
10050
|
-
#
|
10049
|
+
# Name of the href="/compute/docs/regions-zones/#available">zone scoping this
|
10050
|
+
# request. Name should conform to RFC1035.
|
10051
10051
|
# @param [String] instance_group_manager
|
10052
10052
|
# The name of the managed instance group. Name should conform to RFC1035 or be a
|
10053
10053
|
# resource ID.
|
@@ -32128,6 +32128,61 @@ module Google
|
|
32128
32128
|
execute_or_queue_command(command, &block)
|
32129
32129
|
end
|
32130
32130
|
|
32131
|
+
# Attach a list of network endpoints to the specified network endpoint group.
|
32132
|
+
# @param [String] project
|
32133
|
+
# Project ID for this request.
|
32134
|
+
# @param [String] region
|
32135
|
+
# The name of the region where you want to create the network endpoint group. It
|
32136
|
+
# should comply with RFC1035.
|
32137
|
+
# @param [String] network_endpoint_group
|
32138
|
+
# The name of the network endpoint group where you are attaching network
|
32139
|
+
# endpoints to. It should comply with RFC1035.
|
32140
|
+
# @param [Google::Apis::ComputeAlpha::RegionNetworkEndpointGroupsAttachEndpointsRequest] region_network_endpoint_groups_attach_endpoints_request_object
|
32141
|
+
# @param [String] request_id
|
32142
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
32143
|
+
# that if you must retry your request, the server will know to ignore the
|
32144
|
+
# request if it has already been completed. For example, consider a situation
|
32145
|
+
# where you make an initial request and the request times out. If you make the
|
32146
|
+
# request again with the same request ID, the server can check if original
|
32147
|
+
# operation with the same request ID was received, and if so, will ignore the
|
32148
|
+
# second request. This prevents clients from accidentally creating duplicate
|
32149
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
32150
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
32151
|
+
# @param [String] fields
|
32152
|
+
# Selector specifying which fields to include in a partial response.
|
32153
|
+
# @param [String] quota_user
|
32154
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
32155
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
32156
|
+
# @param [String] user_ip
|
32157
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
32158
|
+
# @param [Google::Apis::RequestOptions] options
|
32159
|
+
# Request-specific options
|
32160
|
+
#
|
32161
|
+
# @yield [result, err] Result & error if block supplied
|
32162
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
32163
|
+
# @yieldparam err [StandardError] error object if request failed
|
32164
|
+
#
|
32165
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
32166
|
+
#
|
32167
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
32168
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
32169
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
32170
|
+
def attach_region_network_endpoint_group_network_endpoints(project, region, network_endpoint_group, region_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
32171
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
|
32172
|
+
command.request_representation = Google::Apis::ComputeAlpha::RegionNetworkEndpointGroupsAttachEndpointsRequest::Representation
|
32173
|
+
command.request_object = region_network_endpoint_groups_attach_endpoints_request_object
|
32174
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
32175
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
32176
|
+
command.params['project'] = project unless project.nil?
|
32177
|
+
command.params['region'] = region unless region.nil?
|
32178
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
32179
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
32180
|
+
command.query['fields'] = fields unless fields.nil?
|
32181
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
32182
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
32183
|
+
execute_or_queue_command(command, &block)
|
32184
|
+
end
|
32185
|
+
|
32131
32186
|
# Deletes the specified network endpoint group. Note that the NEG cannot be
|
32132
32187
|
# deleted if it is configured as a backend of a backend service.
|
32133
32188
|
# @param [String] project
|
@@ -32181,6 +32236,62 @@ module Google
|
|
32181
32236
|
execute_or_queue_command(command, &block)
|
32182
32237
|
end
|
32183
32238
|
|
32239
|
+
# Detach the network endpoint from the specified network endpoint group.
|
32240
|
+
# @param [String] project
|
32241
|
+
# Project ID for this request.
|
32242
|
+
# @param [String] region
|
32243
|
+
# The name of the region where the network endpoint group is located. It should
|
32244
|
+
# comply with RFC1035.
|
32245
|
+
# @param [String] network_endpoint_group
|
32246
|
+
# The name of the network endpoint group you are detaching network endpoints
|
32247
|
+
# from. It should comply with RFC1035.
|
32248
|
+
# @param [Google::Apis::ComputeAlpha::RegionNetworkEndpointGroupsDetachEndpointsRequest] region_network_endpoint_groups_detach_endpoints_request_object
|
32249
|
+
# @param [String] request_id
|
32250
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
32251
|
+
# that if you must retry your request, the server will know to ignore the
|
32252
|
+
# request if it has already been completed. For example, consider a situation
|
32253
|
+
# where you make an initial request and the request times out. If you make the
|
32254
|
+
# request again with the same request ID, the server can check if original
|
32255
|
+
# operation with the same request ID was received, and if so, will ignore the
|
32256
|
+
# second request. This prevents clients from accidentally creating duplicate
|
32257
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
32258
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
32259
|
+
# MixerMutationRequestBuilder
|
32260
|
+
# @param [String] fields
|
32261
|
+
# Selector specifying which fields to include in a partial response.
|
32262
|
+
# @param [String] quota_user
|
32263
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
32264
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
32265
|
+
# @param [String] user_ip
|
32266
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
32267
|
+
# @param [Google::Apis::RequestOptions] options
|
32268
|
+
# Request-specific options
|
32269
|
+
#
|
32270
|
+
# @yield [result, err] Result & error if block supplied
|
32271
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
32272
|
+
# @yieldparam err [StandardError] error object if request failed
|
32273
|
+
#
|
32274
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
32275
|
+
#
|
32276
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
32277
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
32278
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
32279
|
+
def detach_region_network_endpoint_group_network_endpoints(project, region, network_endpoint_group, region_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
32280
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
|
32281
|
+
command.request_representation = Google::Apis::ComputeAlpha::RegionNetworkEndpointGroupsDetachEndpointsRequest::Representation
|
32282
|
+
command.request_object = region_network_endpoint_groups_detach_endpoints_request_object
|
32283
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
32284
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
32285
|
+
command.params['project'] = project unless project.nil?
|
32286
|
+
command.params['region'] = region unless region.nil?
|
32287
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
32288
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
32289
|
+
command.query['fields'] = fields unless fields.nil?
|
32290
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
32291
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
32292
|
+
execute_or_queue_command(command, &block)
|
32293
|
+
end
|
32294
|
+
|
32184
32295
|
# Returns the specified network endpoint group. Gets a list of available network
|
32185
32296
|
# endpoint groups by making a list() request.
|
32186
32297
|
# @param [String] project
|
@@ -32367,6 +32478,102 @@ module Google
|
|
32367
32478
|
execute_or_queue_command(command, &block)
|
32368
32479
|
end
|
32369
32480
|
|
32481
|
+
# Lists the network endpoints in the specified network endpoint group.
|
32482
|
+
# @param [String] project
|
32483
|
+
# Project ID for this request.
|
32484
|
+
# @param [String] region
|
32485
|
+
# The name of the region where the network endpoint group is located. It should
|
32486
|
+
# comply with RFC1035.
|
32487
|
+
# @param [String] network_endpoint_group
|
32488
|
+
# The name of the network endpoint group from which you want to generate a list
|
32489
|
+
# of included network endpoints. It should comply with RFC1035.
|
32490
|
+
# @param [String] filter
|
32491
|
+
# A filter expression that filters resources listed in the response. Most
|
32492
|
+
# Compute resources support two types of filter expressions: expressions that
|
32493
|
+
# support regular expressions and expressions that follow API improvement
|
32494
|
+
# proposal AIP-160. If you want to use AIP-160, your expression must specify the
|
32495
|
+
# field name, an operator, and the value that you want to use for filtering. The
|
32496
|
+
# value must be a string, a number, or a boolean. The operator must be either `=`
|
32497
|
+
# , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
32498
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
32499
|
+
# specifying `name != example-instance`. The `:` operator can be used with
|
32500
|
+
# string fields to match substrings. For non-string fields it is equivalent to
|
32501
|
+
# the `=` operator. The `:*` comparison can be used to test whether a key has
|
32502
|
+
# been defined. For example, to find all objects with `owner` label use: ```
|
32503
|
+
# labels.owner:* ``` You can also filter nested fields. For example, you could
|
32504
|
+
# specify `scheduling.automaticRestart = false` to include instances only if
|
32505
|
+
# they are not scheduled for automatic restarts. You can use filtering on nested
|
32506
|
+
# fields to filter based on resource labels. To filter on multiple expressions,
|
32507
|
+
# provide each separate expression within parentheses. For example: ``` (
|
32508
|
+
# scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
|
32509
|
+
# default, each expression is an `AND` expression. However, you can include `AND`
|
32510
|
+
# and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
|
32511
|
+
# Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
32512
|
+
# automaticRestart = true) ``` If you want to use a regular expression, use the `
|
32513
|
+
# eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
|
32514
|
+
# expression with or without quotes or against multiple parenthesized
|
32515
|
+
# expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
|
32516
|
+
# quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
|
32517
|
+
# literal) (fieldname2 ne "literal")` The literal value is interpreted as a
|
32518
|
+
# regular expression using Google RE2 library syntax. The literal value must
|
32519
|
+
# match the entire field. For example, to filter for instances that do not end
|
32520
|
+
# with name "instance", you would use `name ne .*instance`.
|
32521
|
+
# @param [Fixnum] max_results
|
32522
|
+
# The maximum number of results per page that should be returned. If the number
|
32523
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
32524
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
32525
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
32526
|
+
# @param [String] order_by
|
32527
|
+
# Sorts list results by a certain order. By default, results are returned in
|
32528
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
32529
|
+
# descending order based on the creation timestamp using `orderBy="
|
32530
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
32531
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
32532
|
+
# resources like operations so that the newest operation is returned first.
|
32533
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
32534
|
+
# @param [String] page_token
|
32535
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
32536
|
+
# by a previous list request to get the next page of results.
|
32537
|
+
# @param [Boolean] return_partial_success
|
32538
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
32539
|
+
# failure. The default value is false.
|
32540
|
+
# @param [String] fields
|
32541
|
+
# Selector specifying which fields to include in a partial response.
|
32542
|
+
# @param [String] quota_user
|
32543
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
32544
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
32545
|
+
# @param [String] user_ip
|
32546
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
32547
|
+
# @param [Google::Apis::RequestOptions] options
|
32548
|
+
# Request-specific options
|
32549
|
+
#
|
32550
|
+
# @yield [result, err] Result & error if block supplied
|
32551
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
|
32552
|
+
# @yieldparam err [StandardError] error object if request failed
|
32553
|
+
#
|
32554
|
+
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints]
|
32555
|
+
#
|
32556
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
32557
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
32558
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
32559
|
+
def list_region_network_endpoint_group_network_endpoints(project, region, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
32560
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
|
32561
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation
|
32562
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
|
32563
|
+
command.params['project'] = project unless project.nil?
|
32564
|
+
command.params['region'] = region unless region.nil?
|
32565
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
32566
|
+
command.query['filter'] = filter unless filter.nil?
|
32567
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
32568
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
32569
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
32570
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
32571
|
+
command.query['fields'] = fields unless fields.nil?
|
32572
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
32573
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
32574
|
+
execute_or_queue_command(command, &block)
|
32575
|
+
end
|
32576
|
+
|
32370
32577
|
# Inserts an association for the specified network firewall policy.
|
32371
32578
|
# @param [String] project
|
32372
32579
|
# Project ID for this request.
|
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.59.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-12 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.59.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: []
|