google-apis-compute_alpha 0.56.0 → 0.58.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: 745735ada9f85ae5ec711bbb79956e6bca678ca121b1b2a6726c37d381144ab9
|
4
|
+
data.tar.gz: b2925e9e24d74f0b81cd25a7e33f994935cf02878a0cf34ef123ca00d1362ddb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b33e2b7678ea4defaf9c74942577126019ae3e804176e660cb84c130ef47e3413cff69c9a90815df616f41d0e6ad74d77aff4d14dadfd00e36a94f45326f1ead
|
7
|
+
data.tar.gz: 9dee0e4121db2b741b8c887d373adb05a5cb55ef1c2956e70ad10ae2466813729d86f6104734abcd689d64e4c86b7a2a6cdbafb8efa8bbe19d9db974d81396dc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
2
2
|
|
3
|
+
### v0.58.0 (2023-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230119
|
6
|
+
|
7
|
+
### v0.57.0 (2023-01-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230103
|
10
|
+
|
3
11
|
### v0.56.0 (2023-01-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20221224
|
@@ -1787,8 +1787,10 @@ module Google
|
|
1787
1787
|
# @return [Fixnum]
|
1788
1788
|
attr_accessor :provisioned_throughput
|
1789
1789
|
|
1790
|
-
#
|
1791
|
-
#
|
1790
|
+
# Required for each regional disk associated with the instance. Specify the URLs
|
1791
|
+
# of the zones where the disk should be replicated to. You must provide exactly
|
1792
|
+
# two replica zones, and one zone must be the same as the instance zone. You can'
|
1793
|
+
# t use this option with boot disks.
|
1792
1794
|
# Corresponds to the JSON property `replicaZones`
|
1793
1795
|
# @return [Array<String>]
|
1794
1796
|
attr_accessor :replica_zones
|
@@ -3659,6 +3661,27 @@ module Google
|
|
3659
3661
|
# @return [Fixnum]
|
3660
3662
|
attr_accessor :id
|
3661
3663
|
|
3664
|
+
# Specifies preference of traffic to the backend (from the proxy and from the
|
3665
|
+
# client for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send
|
3666
|
+
# IPv4 traffic to the backends of the Backend Service (Instance Group, Managed
|
3667
|
+
# Instance Group, Network Endpoint Group) regardless of traffic from the client
|
3668
|
+
# to the proxy. Only IPv4 health-checks are used to check the health of the
|
3669
|
+
# backends. This is the default setting. - PREFER_IPV6: Prioritize the
|
3670
|
+
# connection to the endpoints IPv6 address over its IPv4 address (provided there
|
3671
|
+
# is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the
|
3672
|
+
# backends of the Backend Service (Instance Group, Managed Instance Group,
|
3673
|
+
# Network Endpoint Group) regardless of traffic from the client to the proxy.
|
3674
|
+
# Only IPv6 health-checks are used to check the health of the backends. This
|
3675
|
+
# field is applicable to either: - Advanced Global External HTTPS Load Balancing
|
3676
|
+
# (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load
|
3677
|
+
# Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), -
|
3678
|
+
# Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED)
|
3679
|
+
# , - Traffic Director with Envoy proxies and proxyless gRPC (load balancing
|
3680
|
+
# scheme INTERNAL_SELF_MANAGED).
|
3681
|
+
# Corresponds to the JSON property `ipAddressSelectionPolicy`
|
3682
|
+
# @return [String]
|
3683
|
+
attr_accessor :ip_address_selection_policy
|
3684
|
+
|
3662
3685
|
# [Output Only] Type of resource. Always compute#backendService for backend
|
3663
3686
|
# services.
|
3664
3687
|
# Corresponds to the JSON property `kind`
|
@@ -3672,11 +3695,14 @@ module Google
|
|
3672
3695
|
# @return [String]
|
3673
3696
|
attr_accessor :load_balancing_scheme
|
3674
3697
|
|
3675
|
-
# A list of locality load
|
3676
|
-
#
|
3677
|
-
#
|
3678
|
-
#
|
3679
|
-
#
|
3698
|
+
# A list of locality load-balancing policies to be used in order of preference.
|
3699
|
+
# When you use localityLbPolicies, you must set at least one value for either
|
3700
|
+
# the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field.
|
3701
|
+
# localityLbPolicies overrides any value set in the localityLbPolicy field. For
|
3702
|
+
# an example of how to use this field, see Define a list of preferred policies.
|
3703
|
+
# Caution: This field and its children are intended for use in a service mesh
|
3704
|
+
# that includes gRPC clients only. Envoy proxies can't use backend services that
|
3705
|
+
# have this configuration.
|
3680
3706
|
# Corresponds to the JSON property `localityLbPolicies`
|
3681
3707
|
# @return [Array<Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig>]
|
3682
3708
|
attr_accessor :locality_lb_policies
|
@@ -3879,6 +3905,7 @@ module Google
|
|
3879
3905
|
@health_checks = args[:health_checks] if args.key?(:health_checks)
|
3880
3906
|
@iap = args[:iap] if args.key?(:iap)
|
3881
3907
|
@id = args[:id] if args.key?(:id)
|
3908
|
+
@ip_address_selection_policy = args[:ip_address_selection_policy] if args.key?(:ip_address_selection_policy)
|
3882
3909
|
@kind = args[:kind] if args.key?(:kind)
|
3883
3910
|
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
3884
3911
|
@locality_lb_policies = args[:locality_lb_policies] if args.key?(:locality_lb_policies)
|
@@ -4628,12 +4655,13 @@ module Google
|
|
4628
4655
|
# @return [String]
|
4629
4656
|
attr_accessor :data
|
4630
4657
|
|
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
|
4658
|
+
# Identifies the custom policy. The value should match the name of a custom
|
4659
|
+
# implementation registered on the gRPC clients. It should follow protocol
|
4660
|
+
# buffer message naming conventions and include the full path (for example,
|
4661
|
+
# myorg.CustomLbPolicy). The maximum length is 256 characters. Do not specify
|
4662
|
+
# the same custom policy more than once for a backend. If you do, the
|
4663
|
+
# configuration is rejected. For an example of how to use this field, see Use a
|
4664
|
+
# custom policy.
|
4637
4665
|
# Corresponds to the JSON property `name`
|
4638
4666
|
# @return [String]
|
4639
4667
|
attr_accessor :name
|
@@ -4653,11 +4681,10 @@ module Google
|
|
4653
4681
|
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
4654
4682
|
include Google::Apis::Core::Hashable
|
4655
4683
|
|
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.
|
4684
|
+
# The name of a locality load-balancing policy. Valid values include ROUND_ROBIN
|
4685
|
+
# and, for Java clients, LEAST_REQUEST. For information about these values, see
|
4686
|
+
# the description of localityLbPolicy. Do not specify the same policy more than
|
4687
|
+
# once for a backend. If you do, the configuration is rejected.
|
4661
4688
|
# Corresponds to the JSON property `name`
|
4662
4689
|
# @return [String]
|
4663
4690
|
attr_accessor :name
|
@@ -21043,7 +21070,7 @@ module Google
|
|
21043
21070
|
# @return [String]
|
21044
21071
|
attr_accessor :type
|
21045
21072
|
|
21046
|
-
# The IEEE 802.1Q VLAN tag for this attachment, in the range 2-
|
21073
|
+
# The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only
|
21047
21074
|
# specified at creation time.
|
21048
21075
|
# Corresponds to the JSON property `vlanTag8021q`
|
21049
21076
|
# @return [Fixnum]
|
@@ -22510,6 +22537,13 @@ module Google
|
|
22510
22537
|
# @return [Fixnum]
|
22511
22538
|
attr_accessor :max_lag_size100_gbps
|
22512
22539
|
|
22540
|
+
# [Output Only] The maximum number of 10 Gbps ports supported in a link
|
22541
|
+
# aggregation group (LAG). When linkType is 10 Gbps, requestedLinkCount cannot
|
22542
|
+
# exceed max_lag_size_10_gbps.
|
22543
|
+
# Corresponds to the JSON property `maxLagSize10Gbps`
|
22544
|
+
# @return [Fixnum]
|
22545
|
+
attr_accessor :max_lag_size10_gbps
|
22546
|
+
|
22513
22547
|
# [Output Only] Name of the resource.
|
22514
22548
|
# Corresponds to the JSON property `name`
|
22515
22549
|
# @return [String]
|
@@ -22570,6 +22604,7 @@ module Google
|
|
22570
22604
|
@kind = args[:kind] if args.key?(:kind)
|
22571
22605
|
@lacp = args[:lacp] if args.key?(:lacp)
|
22572
22606
|
@max_lag_size100_gbps = args[:max_lag_size100_gbps] if args.key?(:max_lag_size100_gbps)
|
22607
|
+
@max_lag_size10_gbps = args[:max_lag_size10_gbps] if args.key?(:max_lag_size10_gbps)
|
22573
22608
|
@name = args[:name] if args.key?(:name)
|
22574
22609
|
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
|
22575
22610
|
@permitted_connections = args[:permitted_connections] if args.key?(:permitted_connections)
|
@@ -27262,6 +27297,12 @@ module Google
|
|
27262
27297
|
# @return [String]
|
27263
27298
|
attr_accessor :nic_type
|
27264
27299
|
|
27300
|
+
# Name of the parent network interface of a VLAN based nic. If this field is
|
27301
|
+
# specified, vlan must be set.
|
27302
|
+
# Corresponds to the JSON property `parentNicName`
|
27303
|
+
# @return [String]
|
27304
|
+
attr_accessor :parent_nic_name
|
27305
|
+
|
27265
27306
|
# The networking queue count that's specified by users for the network interface.
|
27266
27307
|
# Both Rx and Tx queues will be set to this number. It'll be empty if not
|
27267
27308
|
# specified by the users.
|
@@ -27296,6 +27337,13 @@ module Google
|
|
27296
27337
|
# @return [String]
|
27297
27338
|
attr_accessor :subnetwork
|
27298
27339
|
|
27340
|
+
# VLAN tag of a VLAN based network interface, must be in range from 2 to 4094
|
27341
|
+
# inclusively. This field is mandatory if the parent network interface name is
|
27342
|
+
# set.
|
27343
|
+
# Corresponds to the JSON property `vlan`
|
27344
|
+
# @return [Fixnum]
|
27345
|
+
attr_accessor :vlan
|
27346
|
+
|
27299
27347
|
def initialize(**args)
|
27300
27348
|
update!(**args)
|
27301
27349
|
end
|
@@ -27315,10 +27363,12 @@ module Google
|
|
27315
27363
|
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
27316
27364
|
@network_ip = args[:network_ip] if args.key?(:network_ip)
|
27317
27365
|
@nic_type = args[:nic_type] if args.key?(:nic_type)
|
27366
|
+
@parent_nic_name = args[:parent_nic_name] if args.key?(:parent_nic_name)
|
27318
27367
|
@queue_count = args[:queue_count] if args.key?(:queue_count)
|
27319
27368
|
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
27320
27369
|
@subinterfaces = args[:subinterfaces] if args.key?(:subinterfaces)
|
27321
27370
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
27371
|
+
@vlan = args[:vlan] if args.key?(:vlan)
|
27322
27372
|
end
|
27323
27373
|
end
|
27324
27374
|
|
@@ -35718,6 +35768,44 @@ module Google
|
|
35718
35768
|
end
|
35719
35769
|
end
|
35720
35770
|
|
35771
|
+
#
|
35772
|
+
class RegionNetworkEndpointGroupsAttachEndpointsRequest
|
35773
|
+
include Google::Apis::Core::Hashable
|
35774
|
+
|
35775
|
+
# The list of network endpoints to be attached.
|
35776
|
+
# Corresponds to the JSON property `networkEndpoints`
|
35777
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEndpoint>]
|
35778
|
+
attr_accessor :network_endpoints
|
35779
|
+
|
35780
|
+
def initialize(**args)
|
35781
|
+
update!(**args)
|
35782
|
+
end
|
35783
|
+
|
35784
|
+
# Update properties of this object
|
35785
|
+
def update!(**args)
|
35786
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
35787
|
+
end
|
35788
|
+
end
|
35789
|
+
|
35790
|
+
#
|
35791
|
+
class RegionNetworkEndpointGroupsDetachEndpointsRequest
|
35792
|
+
include Google::Apis::Core::Hashable
|
35793
|
+
|
35794
|
+
# The list of network endpoints to be detached.
|
35795
|
+
# Corresponds to the JSON property `networkEndpoints`
|
35796
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEndpoint>]
|
35797
|
+
attr_accessor :network_endpoints
|
35798
|
+
|
35799
|
+
def initialize(**args)
|
35800
|
+
update!(**args)
|
35801
|
+
end
|
35802
|
+
|
35803
|
+
# Update properties of this object
|
35804
|
+
def update!(**args)
|
35805
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
35806
|
+
end
|
35807
|
+
end
|
35808
|
+
|
35721
35809
|
#
|
35722
35810
|
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
35723
35811
|
include Google::Apis::Core::Hashable
|
@@ -41073,16 +41161,17 @@ module Google
|
|
41073
41161
|
include Google::Apis::Core::Hashable
|
41074
41162
|
|
41075
41163
|
# The Action to perform when the rule is matched. The following are the valid
|
41076
|
-
# actions: - allow: allow access to target. - deny(): deny access to
|
41077
|
-
# returns the HTTP response code specified
|
41078
|
-
# - rate_based_ban: limit client traffic to the
|
41079
|
-
# client if the traffic exceeds the threshold.
|
41080
|
-
# action in RateLimitOptions. Requires
|
41081
|
-
# redirect to a different target. This
|
41082
|
-
# redirect, or an external URL-based
|
41083
|
-
# this action can be configured via
|
41084
|
-
# traffic to the configured threshold.
|
41085
|
-
#
|
41164
|
+
# actions: - allow: allow access to target. - deny(STATUS): deny access to
|
41165
|
+
# target, returns the HTTP response code specified. Valid values for `STATUS`
|
41166
|
+
# are 403, 404, and 502. - rate_based_ban: limit client traffic to the
|
41167
|
+
# configured threshold and ban the client if the traffic exceeds the threshold.
|
41168
|
+
# Configure parameters for this action in RateLimitOptions. Requires
|
41169
|
+
# rate_limit_options to be set. - redirect: redirect to a different target. This
|
41170
|
+
# can either be an internal reCAPTCHA redirect, or an external URL-based
|
41171
|
+
# redirect via a 302 response. Parameters for this action can be configured via
|
41172
|
+
# redirectOptions. - throttle: limit client traffic to the configured threshold.
|
41173
|
+
# Configure parameters for this action in rateLimitOptions. Requires
|
41174
|
+
# rate_limit_options to be set for this.
|
41086
41175
|
# Corresponds to the JSON property `action`
|
41087
41176
|
# @return [String]
|
41088
41177
|
attr_accessor :action
|
@@ -41693,9 +41782,9 @@ module Google
|
|
41693
41782
|
|
41694
41783
|
# Action to take for requests that are above the configured rate limit threshold,
|
41695
41784
|
# to either deny with a specified HTTP response code, or redirect to a
|
41696
|
-
# different endpoint. Valid options are
|
41697
|
-
#
|
41698
|
-
# parameters come from exceedRedirectOptions below.
|
41785
|
+
# different endpoint. Valid options are `deny(STATUS)`, where valid values for `
|
41786
|
+
# STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect
|
41787
|
+
# parameters come from `exceedRedirectOptions` below.
|
41699
41788
|
# Corresponds to the JSON property `exceedAction`
|
41700
41789
|
# @return [String]
|
41701
41790
|
attr_accessor :exceed_action
|
@@ -43500,7 +43589,7 @@ module Google
|
|
43500
43589
|
include Google::Apis::Core::Hashable
|
43501
43590
|
|
43502
43591
|
# Attached disks configuration. If not provided, defaults are applied: For boot
|
43503
|
-
# disk and any other R/W disks,
|
43592
|
+
# disk and any other R/W disks, the source images for each disk will be used.
|
43504
43593
|
# For read-only disks, they will be attached in read-only mode. Local SSD disks
|
43505
43594
|
# will be created as blank volumes.
|
43506
43595
|
# Corresponds to the JSON property `diskConfigs`
|
@@ -52166,6 +52255,13 @@ module Google
|
|
52166
52255
|
# @return [String]
|
52167
52256
|
attr_accessor :id
|
52168
52257
|
|
52258
|
+
# The sensitivity value associated with the WAF rule ID. This corresponds to the
|
52259
|
+
# ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only
|
52260
|
+
# rules.
|
52261
|
+
# Corresponds to the JSON property `sensitivity`
|
52262
|
+
# @return [Fixnum]
|
52263
|
+
attr_accessor :sensitivity
|
52264
|
+
|
52169
52265
|
def initialize(**args)
|
52170
52266
|
update!(**args)
|
52171
52267
|
end
|
@@ -52173,6 +52269,7 @@ module Google
|
|
52173
52269
|
# Update properties of this object
|
52174
52270
|
def update!(**args)
|
52175
52271
|
@id = args[:id] if args.key?(:id)
|
52272
|
+
@sensitivity = args[:sensitivity] if args.key?(:sensitivity)
|
52176
52273
|
end
|
52177
52274
|
end
|
52178
52275
|
|
@@ -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.58.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 = "20230119"
|
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
|
|
@@ -7788,6 +7800,7 @@ module Google
|
|
7788
7800
|
property :iap, as: 'iap', class: Google::Apis::ComputeAlpha::BackendServiceIap, decorator: Google::Apis::ComputeAlpha::BackendServiceIap::Representation
|
7789
7801
|
|
7790
7802
|
property :id, :numeric_string => true, as: 'id'
|
7803
|
+
property :ip_address_selection_policy, as: 'ipAddressSelectionPolicy'
|
7791
7804
|
property :kind, as: 'kind'
|
7792
7805
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
7793
7806
|
collection :locality_lb_policies, as: 'localityLbPolicies', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig::Representation
|
@@ -12284,6 +12297,7 @@ module Google
|
|
12284
12297
|
property :kind, as: 'kind'
|
12285
12298
|
property :lacp, as: 'lacp'
|
12286
12299
|
property :max_lag_size100_gbps, as: 'maxLagSize100Gbps'
|
12300
|
+
property :max_lag_size10_gbps, as: 'maxLagSize10Gbps'
|
12287
12301
|
property :name, as: 'name'
|
12288
12302
|
property :peeringdb_facility_id, as: 'peeringdbFacilityId'
|
12289
12303
|
collection :permitted_connections, as: 'permittedConnections', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections::Representation
|
@@ -13506,11 +13520,13 @@ module Google
|
|
13506
13520
|
property :network_attachment, as: 'networkAttachment'
|
13507
13521
|
property :network_ip, as: 'networkIP'
|
13508
13522
|
property :nic_type, as: 'nicType'
|
13523
|
+
property :parent_nic_name, as: 'parentNicName'
|
13509
13524
|
property :queue_count, as: 'queueCount'
|
13510
13525
|
property :stack_type, as: 'stackType'
|
13511
13526
|
collection :subinterfaces, as: 'subinterfaces', class: Google::Apis::ComputeAlpha::NetworkInterfaceSubInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterfaceSubInterface::Representation
|
13512
13527
|
|
13513
13528
|
property :subnetwork, as: 'subnetwork'
|
13529
|
+
property :vlan, as: 'vlan'
|
13514
13530
|
end
|
13515
13531
|
end
|
13516
13532
|
|
@@ -15725,6 +15741,22 @@ module Google
|
|
15725
15741
|
end
|
15726
15742
|
end
|
15727
15743
|
|
15744
|
+
class RegionNetworkEndpointGroupsAttachEndpointsRequest
|
15745
|
+
# @private
|
15746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15747
|
+
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeAlpha::NetworkEndpoint, decorator: Google::Apis::ComputeAlpha::NetworkEndpoint::Representation
|
15748
|
+
|
15749
|
+
end
|
15750
|
+
end
|
15751
|
+
|
15752
|
+
class RegionNetworkEndpointGroupsDetachEndpointsRequest
|
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
|
+
|
15728
15760
|
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
15729
15761
|
# @private
|
15730
15762
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19833,6 +19865,7 @@ module Google
|
|
19833
19865
|
# @private
|
19834
19866
|
class Representation < Google::Apis::Core::JsonRepresentation
|
19835
19867
|
property :id, as: 'id'
|
19868
|
+
property :sensitivity, as: 'sensitivity'
|
19836
19869
|
end
|
19837
19870
|
end
|
19838
19871
|
|
@@ -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.58.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-01-
|
11
|
+
date: 2023-01-29 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.58.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: []
|