google-cloud-network_services-v1 2.3.0 → 2.4.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: 8201499cdab32f77fd250cde7983335f5003e25c0970f428485d63406a1bb22d
|
4
|
+
data.tar.gz: 81d22619a70d9cb2bd33a9076ac4e9866fb7a3592663c2ddcdf71537b2e7682d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b356b2dd2ea6ab3215a4e2813c53a78b165d4810aba52d6023c5c011a118f043586f874c544211d0cc9fdee5670d83088f1e3972a3469407a5fbb8ae15b874f
|
7
|
+
data.tar.gz: 45a9c1313baad56fa2c68004493b2c3bf482f307137eb1c7298082e82778f06df910ca953941dcf103c6670f9f25c480a8668af5fa5978035adcb1b6c115ff1d
|
@@ -10,7 +10,7 @@ require 'google/protobuf/field_mask_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n7google/cloud/networkservices/v1/service_lb_policy.proto\x12\x1fgoogle.cloud.networkservices.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\n7google/cloud/networkservices/v1/service_lb_policy.proto\x12\x1fgoogle.cloud.networkservices.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\x0b\n\x0fServiceLbPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x06labels\x18\x04 \x03(\x0b\x32<.google.cloud.networkservices.v1.ServiceLbPolicy.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12n\n\x18load_balancing_algorithm\x18\x06 \x01(\x0e\x32G.google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithmB\x03\xe0\x41\x01\x12\x64\n\x13\x61uto_capacity_drain\x18\x08 \x01(\x0b\x32\x42.google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrainB\x03\xe0\x41\x01\x12]\n\x0f\x66\x61ilover_config\x18\n \x01(\x0b\x32?.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigB\x03\xe0\x41\x01\x12_\n\x10isolation_config\x18\x0b \x01(\x0b\x32@.google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfigB\x03\xe0\x41\x01\x1a(\n\x11\x41utoCapacityDrain\x12\x13\n\x06\x65nable\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x38\n\x0e\x46\x61iloverConfig\x12&\n\x19\x66\x61ilover_health_threshold\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x1a\xd9\x01\n\x0fIsolationConfig\x12i\n\x15isolation_granularity\x18\x01 \x01(\x0e\x32\x45.google.cloud.networkservices.v1.ServiceLbPolicy.IsolationGranularityB\x03\xe0\x41\x01\x12[\n\x0eisolation_mode\x18\x02 \x01(\x0e\x32>.google.cloud.networkservices.v1.ServiceLbPolicy.IsolationModeB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9b\x01\n\x16LoadBalancingAlgorithm\x12(\n$LOAD_BALANCING_ALGORITHM_UNSPECIFIED\x10\x00\x12\x12\n\x0eSPRAY_TO_WORLD\x10\x03\x12\x13\n\x0fSPRAY_TO_REGION\x10\x04\x12\x17\n\x13WATERFALL_BY_REGION\x10\x05\x12\x15\n\x11WATERFALL_BY_ZONE\x10\x06\"I\n\x14IsolationGranularity\x12%\n!ISOLATION_GRANULARITY_UNSPECIFIED\x10\x00\x12\n\n\x06REGION\x10\x01\"H\n\rIsolationMode\x12\x1e\n\x1aISOLATION_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07NEAREST\x10\x01\x12\n\n\x06STRICT\x10\x02:\x82\x01\xea\x41\x7f\n.networkservices.googleapis.com/ServiceLbPolicy\x12Mprojects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy}\"\x8d\x01\n\x1cListServiceLbPoliciesRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.networkservices.googleapis.com/ServiceLbPolicy\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x9c\x01\n\x1dListServiceLbPoliciesResponse\x12M\n\x13service_lb_policies\x18\x01 \x03(\x0b\x32\x30.google.cloud.networkservices.v1.ServiceLbPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"a\n\x19GetServiceLbPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networkservices.googleapis.com/ServiceLbPolicy\"\xdb\x01\n\x1c\x43reateServiceLbPolicyRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.networkservices.googleapis.com/ServiceLbPolicy\x12!\n\x14service_lb_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12P\n\x11service_lb_policy\x18\x03 \x01(\x0b\x32\x30.google.cloud.networkservices.v1.ServiceLbPolicyB\x03\xe0\x41\x02\"\xa6\x01\n\x1cUpdateServiceLbPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12P\n\x11service_lb_policy\x18\x02 \x01(\x0b\x32\x30.google.cloud.networkservices.v1.ServiceLbPolicyB\x03\xe0\x41\x02\"d\n\x1c\x44\x65leteServiceLbPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networkservices.googleapis.com/ServiceLbPolicyB\xf5\x01\n#com.google.cloud.networkservices.v1B\x14ServiceLbPolicyProtoP\x01ZMcloud.google.com/go/networkservices/apiv1/networkservicespb;networkservicespb\xaa\x02\x1fGoogle.Cloud.NetworkServices.V1\xca\x02\x1fGoogle\\Cloud\\NetworkServices\\V1\xea\x02\"Google::Cloud::NetworkServices::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -45,7 +45,10 @@ module Google
|
|
45
45
|
ServiceLbPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ServiceLbPolicy").msgclass
|
46
46
|
ServiceLbPolicy::AutoCapacityDrain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ServiceLbPolicy.AutoCapacityDrain").msgclass
|
47
47
|
ServiceLbPolicy::FailoverConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfig").msgclass
|
48
|
+
ServiceLbPolicy::IsolationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ServiceLbPolicy.IsolationConfig").msgclass
|
48
49
|
ServiceLbPolicy::LoadBalancingAlgorithm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ServiceLbPolicy.LoadBalancingAlgorithm").enummodule
|
50
|
+
ServiceLbPolicy::IsolationGranularity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ServiceLbPolicy.IsolationGranularity").enummodule
|
51
|
+
ServiceLbPolicy::IsolationMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ServiceLbPolicy.IsolationMode").enummodule
|
49
52
|
ListServiceLbPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ListServiceLbPoliciesRequest").msgclass
|
50
53
|
ListServiceLbPoliciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ListServiceLbPoliciesResponse").msgclass
|
51
54
|
GetServiceLbPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.GetServiceLbPolicyRequest").msgclass
|
@@ -51,6 +51,10 @@ module Google
|
|
51
51
|
# @!attribute [rw] failover_config
|
52
52
|
# @return [::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::FailoverConfig]
|
53
53
|
# Optional. Configuration related to health based failover.
|
54
|
+
# @!attribute [rw] isolation_config
|
55
|
+
# @return [::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationConfig]
|
56
|
+
# Optional. Configuration to provide isolation support for the associated
|
57
|
+
# Backend Service.
|
54
58
|
class ServiceLbPolicy
|
55
59
|
include ::Google::Protobuf::MessageExts
|
56
60
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -84,6 +88,19 @@ module Google
|
|
84
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
89
|
end
|
86
90
|
|
91
|
+
# Configuration to provide isolation support for the associated Backend
|
92
|
+
# Service.
|
93
|
+
# @!attribute [rw] isolation_granularity
|
94
|
+
# @return [::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationGranularity]
|
95
|
+
# Optional. The isolation granularity of the load balancer.
|
96
|
+
# @!attribute [rw] isolation_mode
|
97
|
+
# @return [::Google::Cloud::NetworkServices::V1::ServiceLbPolicy::IsolationMode]
|
98
|
+
# Optional. The isolation mode of the load balancer.
|
99
|
+
class IsolationConfig
|
100
|
+
include ::Google::Protobuf::MessageExts
|
101
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
102
|
+
end
|
103
|
+
|
87
104
|
# @!attribute [rw] key
|
88
105
|
# @return [::String]
|
89
106
|
# @!attribute [rw] value
|
@@ -117,6 +134,30 @@ module Google
|
|
117
134
|
# spilling over to other zones.
|
118
135
|
WATERFALL_BY_ZONE = 6
|
119
136
|
end
|
137
|
+
|
138
|
+
# The granularity of this isolation restriction.
|
139
|
+
module IsolationGranularity
|
140
|
+
# No isolation is configured for the backend service. Traffic can overflow
|
141
|
+
# based on the load balancing algorithm.
|
142
|
+
ISOLATION_GRANULARITY_UNSPECIFIED = 0
|
143
|
+
|
144
|
+
# Traffic for this service will be isolated at the cloud region level.
|
145
|
+
REGION = 1
|
146
|
+
end
|
147
|
+
|
148
|
+
# The mode of this isolation restriction, defining whether clients in a given
|
149
|
+
# region are allowed to reach out to another region.
|
150
|
+
module IsolationMode
|
151
|
+
# No isolation mode is configured for the backend service.
|
152
|
+
ISOLATION_MODE_UNSPECIFIED = 0
|
153
|
+
|
154
|
+
# Traffic will be sent to the nearest region.
|
155
|
+
NEAREST = 1
|
156
|
+
|
157
|
+
# Traffic will fail if no serving backends are available in the same region
|
158
|
+
# as the load balancer.
|
159
|
+
STRICT = 2
|
160
|
+
end
|
120
161
|
end
|
121
162
|
|
122
163
|
# Request used with the ListServiceLbPolicies method.
|