google-cloud-network_services-v1 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/network_services/v1/dep_service/client.rb +4 -2
- data/lib/google/cloud/network_services/v1/dep_service/rest/client.rb +4 -2
- data/lib/google/cloud/network_services/v1/version.rb +1 -1
- data/lib/google/cloud/networkservices/v1/dep_pb.rb +3 -1
- data/proto_docs/google/cloud/networkservices/v1/dep.rb +30 -9
- data/proto_docs/google/protobuf/struct.rb +96 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f23a9adb12e03e1f08ee2df0f14d139dac8844d4742a60fad1139076eccae88a
|
4
|
+
data.tar.gz: fc7d4517e7ebdb9ebac0e7982c6cd3fb36c78f0c3b4b8eabbefebae1c6ef2c98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1285326eafe622f430a56218e9ff071a6bcc7d5348fae50c288947dbd273d3d6c1cec940a1666288e2724b0b06499f650909c5aedf8e08b70dd62760f917704c
|
7
|
+
data.tar.gz: 536b6bfb498d836aa1a6bb4bddd5b3adb148d8d07895faebebcd20d46e1b0f41345cad7fb3880f62340ca01d04353f77c3373f6b8daa17f120e44dcd24d7b518
|
@@ -72,6 +72,8 @@ module Google
|
|
72
72
|
end
|
73
73
|
default_config = Client::Configuration.new parent_config
|
74
74
|
|
75
|
+
default_config.timeout = 60.0
|
76
|
+
|
75
77
|
default_config
|
76
78
|
end
|
77
79
|
yield @configure if block_given?
|
@@ -531,7 +533,7 @@ module Google
|
|
531
533
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
532
534
|
#
|
533
535
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
534
|
-
#
|
536
|
+
# Optional. Used to specify the fields to be overwritten in the
|
535
537
|
# `LbTrafficExtension` resource by the update.
|
536
538
|
# The fields specified in the update_mask are relative to the resource, not
|
537
539
|
# the full request. A field is overwritten if it is in the mask. If the
|
@@ -1059,7 +1061,7 @@ module Google
|
|
1059
1061
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1060
1062
|
#
|
1061
1063
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1062
|
-
#
|
1064
|
+
# Optional. Used to specify the fields to be overwritten in the
|
1063
1065
|
# `LbRouteExtension` resource by the update.
|
1064
1066
|
# The fields specified in the update_mask are relative to the resource, not
|
1065
1067
|
# the full request. A field is overwritten if it is in the mask. If the
|
@@ -74,6 +74,8 @@ module Google
|
|
74
74
|
end
|
75
75
|
default_config = Client::Configuration.new parent_config
|
76
76
|
|
77
|
+
default_config.timeout = 60.0
|
78
|
+
|
77
79
|
default_config
|
78
80
|
end
|
79
81
|
yield @configure if block_given?
|
@@ -504,7 +506,7 @@ module Google
|
|
504
506
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
505
507
|
#
|
506
508
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
507
|
-
#
|
509
|
+
# Optional. Used to specify the fields to be overwritten in the
|
508
510
|
# `LbTrafficExtension` resource by the update.
|
509
511
|
# The fields specified in the update_mask are relative to the resource, not
|
510
512
|
# the full request. A field is overwritten if it is in the mask. If the
|
@@ -996,7 +998,7 @@ module Google
|
|
996
998
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
997
999
|
#
|
998
1000
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
999
|
-
#
|
1001
|
+
# Optional. Used to specify the fields to be overwritten in the
|
1000
1002
|
# `LbRouteExtension` resource by the update.
|
1001
1003
|
# The fields specified in the update_mask are relative to the resource, not
|
1002
1004
|
# the full request. A field is overwritten if it is in the mask. If the
|
@@ -14,10 +14,11 @@ require 'google/longrunning/operations_pb'
|
|
14
14
|
require 'google/protobuf/duration_pb'
|
15
15
|
require 'google/protobuf/empty_pb'
|
16
16
|
require 'google/protobuf/field_mask_pb'
|
17
|
+
require 'google/protobuf/struct_pb'
|
17
18
|
require 'google/protobuf/timestamp_pb'
|
18
19
|
|
19
20
|
|
20
|
-
descriptor_data = "\n)google/cloud/networkservices/v1/dep.proto\x12\x1fgoogle.cloud.networkservices.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/networkservices/v1/common.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x04\n\x0e\x45xtensionChain\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\\\n\x0fmatch_condition\x18\x02 \x01(\x0b\x32>.google.cloud.networkservices.v1.ExtensionChain.MatchConditionB\x03\xe0\x41\x02\x12R\n\nextensions\x18\x03 \x03(\x0b\x32\x39.google.cloud.networkservices.v1.ExtensionChain.ExtensionB\x03\xe0\x41\x02\x1a-\n\x0eMatchCondition\x12\x1b\n\x0e\x63\x65l_expression\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\xfe\x01\n\tExtension\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tauthority\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07service\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12I\n\x10supported_events\x18\x04 \x03(\x0e\x32*.google.cloud.networkservices.v1.EventTypeB\x03\xe0\x41\x01\x12/\n\x07timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x16\n\tfail_open\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0f\x66orward_headers\x18\x07 \x03(\tB\x03\xe0\x41\x01\"\xb5\x05\n\x12LbTrafficExtension\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\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\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12T\n\x06labels\x18\x04 \x03(\x0b\x32?.google.cloud.networkservices.v1.LbTrafficExtension.LabelsEntryB\x03\xe0\x41\x01\x12\x1d\n\x10\x66orwarding_rules\x18\x05 \x03(\tB\x03\xe0\x41\x02\x12N\n\x10\x65xtension_chains\x18\x07 \x03(\x0b\x32/.google.cloud.networkservices.v1.ExtensionChainB\x03\xe0\x41\x02\x12X\n\x15load_balancing_scheme\x18\x08 \x01(\x0e\x32\x34.google.cloud.networkservices.v1.LoadBalancingSchemeB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xb4\x01\xea\x41\xb0\x01\n1networkservices.googleapis.com/LbTrafficExtension\x12Rprojects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}*\x13lbTrafficExtensions2\x12lbTrafficExtension\"\xc8\x01\n\x1eListLbTrafficExtensionsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31networkservices.googleapis.com/LbTrafficExtension\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x1fListLbTrafficExtensionsResponse\x12R\n\x15lb_traffic_extensions\x18\x01 \x03(\x0b\x32\x33.google.cloud.networkservices.v1.LbTrafficExtension\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"g\n\x1cGetLbTrafficExtensionRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1networkservices.googleapis.com/LbTrafficExtension\"\x8b\x02\n\x1f\x43reateLbTrafficExtensionRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31networkservices.googleapis.com/LbTrafficExtension\x12$\n\x17lb_traffic_extension_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12V\n\x14lb_traffic_extension\x18\x03 \x01(\x0b\x32\x33.google.cloud.networkservices.v1.LbTrafficExtensionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xd0\x01\n\x1fUpdateLbTrafficExtensionRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12V\n\x14lb_traffic_extension\x18\x02 \x01(\x0b\x32\x33.google.cloud.networkservices.v1.LbTrafficExtensionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8b\x01\n\x1f\x44\x65leteLbTrafficExtensionRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1networkservices.googleapis.com/LbTrafficExtension\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa7\x05\n\x10LbRouteExtension\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\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\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12R\n\x06labels\x18\x04 \x03(\x0b\x32=.google.cloud.networkservices.v1.LbRouteExtension.LabelsEntryB\x03\xe0\x41\x01\x12\x1d\n\x10\x66orwarding_rules\x18\x05 \x03(\tB\x03\xe0\x41\x02\x12N\n\x10\x65xtension_chains\x18\x07 \x03(\x0b\x32/.google.cloud.networkservices.v1.ExtensionChainB\x03\xe0\x41\x02\x12X\n\x15load_balancing_scheme\x18\x08 \x01(\x0e\x32\x34.google.cloud.networkservices.v1.LoadBalancingSchemeB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xaa\x01\xea\x41\xa6\x01\n/networkservices.googleapis.com/LbRouteExtension\x12Nprojects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}*\x11lbRouteExtensions2\x10lbRouteExtension\"\xc4\x01\n\x1cListLbRouteExtensionsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/networkservices.googleapis.com/LbRouteExtension\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x9d\x01\n\x1dListLbRouteExtensionsResponse\x12N\n\x13lb_route_extensions\x18\x01 \x03(\x0b\x32\x31.google.cloud.networkservices.v1.LbRouteExtension\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"c\n\x1aGetLbRouteExtensionRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/networkservices.googleapis.com/LbRouteExtension\"\x81\x02\n\x1d\x43reateLbRouteExtensionRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/networkservices.googleapis.com/LbRouteExtension\x12\"\n\x15lb_route_extension_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12R\n\x12lb_route_extension\x18\x03 \x01(\x0b\x32\x31.google.cloud.networkservices.v1.LbRouteExtensionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xca\x01\n\x1dUpdateLbRouteExtensionRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12R\n\x12lb_route_extension\x18\x02 \x01(\x0b\x32\x31.google.cloud.networkservices.v1.LbRouteExtensionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x87\x01\n\x1d\x44\x65leteLbRouteExtensionRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/networkservices.googleapis.com/LbRouteExtension\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01*\xa4\x01\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fREQUEST_HEADERS\x10\x01\x12\x10\n\x0cREQUEST_BODY\x10\x02\x12\x14\n\x10RESPONSE_HEADERS\x10\x03\x12\x11\n\rRESPONSE_BODY\x10\x04\x12\x14\n\x10REQUEST_TRAILERS\x10\x05\x12\x15\n\x11RESPONSE_TRAILERS\x10\x06*h\n\x13LoadBalancingScheme\x12%\n!LOAD_BALANCING_SCHEME_UNSPECIFIED\x10\x00\x12\x14\n\x10INTERNAL_MANAGED\x10\x01\x12\x14\n\x10\x45XTERNAL_MANAGED\x10\x02\x32\xee\x14\n\nDepService\x12\xe6\x01\n\x17ListLbTrafficExtensions\x12?.google.cloud.networkservices.v1.ListLbTrafficExtensionsRequest\x1a@.google.cloud.networkservices.v1.ListLbTrafficExtensionsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/lbTrafficExtensions\x12\xd3\x01\n\x15GetLbTrafficExtension\x12=.google.cloud.networkservices.v1.GetLbTrafficExtensionRequest\x1a\x33.google.cloud.networkservices.v1.LbTrafficExtension\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/lbTrafficExtensions/*}\x12\xb3\x02\n\x18\x43reateLbTrafficExtension\x12@.google.cloud.networkservices.v1.CreateLbTrafficExtensionRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\xca\x41\'\n\x12LbTrafficExtension\x12\x11OperationMetadata\xda\x41\x33parent,lb_traffic_extension,lb_traffic_extension_id\x82\xd3\xe4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/lbTrafficExtensions:\x14lb_traffic_extension\x12\xb5\x02\n\x18UpdateLbTrafficExtension\x12@.google.cloud.networkservices.v1.UpdateLbTrafficExtensionRequest\x1a\x1d.google.longrunning.Operation\"\xb7\x01\xca\x41\'\n\x12LbTrafficExtension\x12\x11OperationMetadata\xda\x41 lb_traffic_extension,update_mask\x82\xd3\xe4\x93\x02\x64\x32L/v1/{lb_traffic_extension.name=projects/*/locations/*/lbTrafficExtensions/*}:\x14lb_traffic_extension\x12\xf0\x01\n\x18\x44\x65leteLbTrafficExtension\x12@.google.cloud.networkservices.v1.DeleteLbTrafficExtensionRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/lbTrafficExtensions/*}\x12\xde\x01\n\x15ListLbRouteExtensions\x12=.google.cloud.networkservices.v1.ListLbRouteExtensionsRequest\x1a>.google.cloud.networkservices.v1.ListLbRouteExtensionsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/lbRouteExtensions\x12\xcb\x01\n\x13GetLbRouteExtension\x12;.google.cloud.networkservices.v1.GetLbRouteExtensionRequest\x1a\x31.google.cloud.networkservices.v1.LbRouteExtension\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/lbRouteExtensions/*}\x12\xa5\x02\n\x16\x43reateLbRouteExtension\x12>.google.cloud.networkservices.v1.CreateLbRouteExtensionRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\xca\x41%\n\x10LbRouteExtension\x12\x11OperationMetadata\xda\x41/parent,lb_route_extension,lb_route_extension_id\x82\xd3\xe4\x93\x02K\"5/v1/{parent=projects/*/locations/*}/lbRouteExtensions:\x12lb_route_extension\x12\xa7\x02\n\x16UpdateLbRouteExtension\x12>.google.cloud.networkservices.v1.UpdateLbRouteExtensionRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41%\n\x10LbRouteExtension\x12\x11OperationMetadata\xda\x41\x1elb_route_extension,update_mask\x82\xd3\xe4\x93\x02^2H/v1/{lb_route_extension.name=projects/*/locations/*/lbRouteExtensions/*}:\x12lb_route_extension\x12\xea\x01\n\x16\x44\x65leteLbRouteExtension\x12>.google.cloud.networkservices.v1.DeleteLbRouteExtensionRequest\x1a\x1d.google.longrunning.Operation\"q\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/lbRouteExtensions/*}\x1aR\xca\x41\x1enetworkservices.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe9\x01\n#com.google.cloud.networkservices.v1B\x08\x44\x65pProtoP\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"
|
21
|
+
descriptor_data = "\n)google/cloud/networkservices/v1/dep.proto\x12\x1fgoogle.cloud.networkservices.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/networkservices/v1/common.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x04\n\x0e\x45xtensionChain\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\\\n\x0fmatch_condition\x18\x02 \x01(\x0b\x32>.google.cloud.networkservices.v1.ExtensionChain.MatchConditionB\x03\xe0\x41\x02\x12R\n\nextensions\x18\x03 \x03(\x0b\x32\x39.google.cloud.networkservices.v1.ExtensionChain.ExtensionB\x03\xe0\x41\x02\x1a-\n\x0eMatchCondition\x12\x1b\n\x0e\x63\x65l_expression\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\xfe\x01\n\tExtension\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tauthority\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07service\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12I\n\x10supported_events\x18\x04 \x03(\x0e\x32*.google.cloud.networkservices.v1.EventTypeB\x03\xe0\x41\x01\x12/\n\x07timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x16\n\tfail_open\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0f\x66orward_headers\x18\x07 \x03(\tB\x03\xe0\x41\x01\"\xe5\x05\n\x12LbTrafficExtension\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\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\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12T\n\x06labels\x18\x04 \x03(\x0b\x32?.google.cloud.networkservices.v1.LbTrafficExtension.LabelsEntryB\x03\xe0\x41\x01\x12\x1d\n\x10\x66orwarding_rules\x18\x05 \x03(\tB\x03\xe0\x41\x02\x12N\n\x10\x65xtension_chains\x18\x07 \x03(\x0b\x32/.google.cloud.networkservices.v1.ExtensionChainB\x03\xe0\x41\x02\x12X\n\x15load_balancing_scheme\x18\x08 \x01(\x0e\x32\x34.google.cloud.networkservices.v1.LoadBalancingSchemeB\x03\xe0\x41\x02\x12.\n\x08metadata\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\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:\xb4\x01\xea\x41\xb0\x01\n1networkservices.googleapis.com/LbTrafficExtension\x12Rprojects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}*\x13lbTrafficExtensions2\x12lbTrafficExtension\"\xc8\x01\n\x1eListLbTrafficExtensionsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31networkservices.googleapis.com/LbTrafficExtension\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x1fListLbTrafficExtensionsResponse\x12R\n\x15lb_traffic_extensions\x18\x01 \x03(\x0b\x32\x33.google.cloud.networkservices.v1.LbTrafficExtension\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"g\n\x1cGetLbTrafficExtensionRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1networkservices.googleapis.com/LbTrafficExtension\"\x8b\x02\n\x1f\x43reateLbTrafficExtensionRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31networkservices.googleapis.com/LbTrafficExtension\x12$\n\x17lb_traffic_extension_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12V\n\x14lb_traffic_extension\x18\x03 \x01(\x0b\x32\x33.google.cloud.networkservices.v1.LbTrafficExtensionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xd0\x01\n\x1fUpdateLbTrafficExtensionRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12V\n\x14lb_traffic_extension\x18\x02 \x01(\x0b\x32\x33.google.cloud.networkservices.v1.LbTrafficExtensionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x8b\x01\n\x1f\x44\x65leteLbTrafficExtensionRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1networkservices.googleapis.com/LbTrafficExtension\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xd7\x05\n\x10LbRouteExtension\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\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\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12R\n\x06labels\x18\x04 \x03(\x0b\x32=.google.cloud.networkservices.v1.LbRouteExtension.LabelsEntryB\x03\xe0\x41\x01\x12\x1d\n\x10\x66orwarding_rules\x18\x05 \x03(\tB\x03\xe0\x41\x02\x12N\n\x10\x65xtension_chains\x18\x07 \x03(\x0b\x32/.google.cloud.networkservices.v1.ExtensionChainB\x03\xe0\x41\x02\x12X\n\x15load_balancing_scheme\x18\x08 \x01(\x0e\x32\x34.google.cloud.networkservices.v1.LoadBalancingSchemeB\x03\xe0\x41\x02\x12.\n\x08metadata\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\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:\xaa\x01\xea\x41\xa6\x01\n/networkservices.googleapis.com/LbRouteExtension\x12Nprojects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}*\x11lbRouteExtensions2\x10lbRouteExtension\"\xc4\x01\n\x1cListLbRouteExtensionsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/networkservices.googleapis.com/LbRouteExtension\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x9d\x01\n\x1dListLbRouteExtensionsResponse\x12N\n\x13lb_route_extensions\x18\x01 \x03(\x0b\x32\x31.google.cloud.networkservices.v1.LbRouteExtension\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"c\n\x1aGetLbRouteExtensionRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/networkservices.googleapis.com/LbRouteExtension\"\x81\x02\n\x1d\x43reateLbRouteExtensionRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/networkservices.googleapis.com/LbRouteExtension\x12\"\n\x15lb_route_extension_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12R\n\x12lb_route_extension\x18\x03 \x01(\x0b\x32\x31.google.cloud.networkservices.v1.LbRouteExtensionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xca\x01\n\x1dUpdateLbRouteExtensionRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12R\n\x12lb_route_extension\x18\x02 \x01(\x0b\x32\x31.google.cloud.networkservices.v1.LbRouteExtensionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x87\x01\n\x1d\x44\x65leteLbRouteExtensionRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/networkservices.googleapis.com/LbRouteExtension\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01*\xa4\x01\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fREQUEST_HEADERS\x10\x01\x12\x10\n\x0cREQUEST_BODY\x10\x02\x12\x14\n\x10RESPONSE_HEADERS\x10\x03\x12\x11\n\rRESPONSE_BODY\x10\x04\x12\x14\n\x10REQUEST_TRAILERS\x10\x05\x12\x15\n\x11RESPONSE_TRAILERS\x10\x06*h\n\x13LoadBalancingScheme\x12%\n!LOAD_BALANCING_SCHEME_UNSPECIFIED\x10\x00\x12\x14\n\x10INTERNAL_MANAGED\x10\x01\x12\x14\n\x10\x45XTERNAL_MANAGED\x10\x02\x32\xee\x14\n\nDepService\x12\xe6\x01\n\x17ListLbTrafficExtensions\x12?.google.cloud.networkservices.v1.ListLbTrafficExtensionsRequest\x1a@.google.cloud.networkservices.v1.ListLbTrafficExtensionsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/lbTrafficExtensions\x12\xd3\x01\n\x15GetLbTrafficExtension\x12=.google.cloud.networkservices.v1.GetLbTrafficExtensionRequest\x1a\x33.google.cloud.networkservices.v1.LbTrafficExtension\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/lbTrafficExtensions/*}\x12\xb3\x02\n\x18\x43reateLbTrafficExtension\x12@.google.cloud.networkservices.v1.CreateLbTrafficExtensionRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\xca\x41\'\n\x12LbTrafficExtension\x12\x11OperationMetadata\xda\x41\x33parent,lb_traffic_extension,lb_traffic_extension_id\x82\xd3\xe4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/lbTrafficExtensions:\x14lb_traffic_extension\x12\xb5\x02\n\x18UpdateLbTrafficExtension\x12@.google.cloud.networkservices.v1.UpdateLbTrafficExtensionRequest\x1a\x1d.google.longrunning.Operation\"\xb7\x01\xca\x41\'\n\x12LbTrafficExtension\x12\x11OperationMetadata\xda\x41 lb_traffic_extension,update_mask\x82\xd3\xe4\x93\x02\x64\x32L/v1/{lb_traffic_extension.name=projects/*/locations/*/lbTrafficExtensions/*}:\x14lb_traffic_extension\x12\xf0\x01\n\x18\x44\x65leteLbTrafficExtension\x12@.google.cloud.networkservices.v1.DeleteLbTrafficExtensionRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/lbTrafficExtensions/*}\x12\xde\x01\n\x15ListLbRouteExtensions\x12=.google.cloud.networkservices.v1.ListLbRouteExtensionsRequest\x1a>.google.cloud.networkservices.v1.ListLbRouteExtensionsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/lbRouteExtensions\x12\xcb\x01\n\x13GetLbRouteExtension\x12;.google.cloud.networkservices.v1.GetLbRouteExtensionRequest\x1a\x31.google.cloud.networkservices.v1.LbRouteExtension\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/lbRouteExtensions/*}\x12\xa5\x02\n\x16\x43reateLbRouteExtension\x12>.google.cloud.networkservices.v1.CreateLbRouteExtensionRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\xca\x41%\n\x10LbRouteExtension\x12\x11OperationMetadata\xda\x41/parent,lb_route_extension,lb_route_extension_id\x82\xd3\xe4\x93\x02K\"5/v1/{parent=projects/*/locations/*}/lbRouteExtensions:\x12lb_route_extension\x12\xa7\x02\n\x16UpdateLbRouteExtension\x12>.google.cloud.networkservices.v1.UpdateLbRouteExtensionRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41%\n\x10LbRouteExtension\x12\x11OperationMetadata\xda\x41\x1elb_route_extension,update_mask\x82\xd3\xe4\x93\x02^2H/v1/{lb_route_extension.name=projects/*/locations/*/lbRouteExtensions/*}:\x12lb_route_extension\x12\xea\x01\n\x16\x44\x65leteLbRouteExtension\x12>.google.cloud.networkservices.v1.DeleteLbRouteExtensionRequest\x1a\x1d.google.longrunning.Operation\"q\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/lbRouteExtensions/*}\x1aR\xca\x41\x1enetworkservices.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe9\x01\n#com.google.cloud.networkservices.v1B\x08\x44\x65pProtoP\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"
|
21
22
|
|
22
23
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
23
24
|
|
@@ -34,6 +35,7 @@ rescue TypeError
|
|
34
35
|
imports = [
|
35
36
|
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
36
37
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
38
|
+
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
37
39
|
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
38
40
|
]
|
39
41
|
imports.each do |type_name, expected_filename|
|
@@ -51,8 +51,7 @@ module Google
|
|
51
51
|
# Required. A Common Expression Language (CEL) expression that is used to
|
52
52
|
# match requests for which the extension chain is executed.
|
53
53
|
#
|
54
|
-
# For more information, see
|
55
|
-
# [CEL matcher language
|
54
|
+
# For more information, see [CEL matcher language
|
56
55
|
# reference](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference).
|
57
56
|
class MatchCondition
|
58
57
|
include ::Google::Protobuf::MessageExts
|
@@ -91,7 +90,7 @@ module Google
|
|
91
90
|
# @return [::Array<::Google::Cloud::NetworkServices::V1::EventType>]
|
92
91
|
# Optional. A set of events during request or response processing for which
|
93
92
|
# this extension is called. This field is required for the
|
94
|
-
# `LbTrafficExtension` resource. It
|
93
|
+
# `LbTrafficExtension` resource. It must not be set for the
|
95
94
|
# `LbRouteExtension` resource.
|
96
95
|
# @!attribute [rw] timeout
|
97
96
|
# @return [::Google::Protobuf::Duration]
|
@@ -107,6 +106,7 @@ module Google
|
|
107
106
|
# error. Any subsequent extensions in the extension chain are also
|
108
107
|
# executed. When set to `FALSE` or the default setting of `FALSE` is used,
|
109
108
|
# one of the following happens:
|
109
|
+
#
|
110
110
|
# * If response headers have not been delivered to the downstream client,
|
111
111
|
# a generic 500 error is returned to the client. The error response can be
|
112
112
|
# tailored by configuring a custom error response in the load balancer.
|
@@ -147,8 +147,8 @@ module Google
|
|
147
147
|
# Optional. Set of labels associated with the `LbTrafficExtension` resource.
|
148
148
|
#
|
149
149
|
# The format must comply with [the requirements for
|
150
|
-
# labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
|
151
|
-
# resources.
|
150
|
+
# labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
|
151
|
+
# for Google Cloud resources.
|
152
152
|
# @!attribute [rw] forwarding_rules
|
153
153
|
# @return [::Array<::String>]
|
154
154
|
# Required. A list of references to the forwarding rules to which this
|
@@ -169,6 +169,16 @@ module Google
|
|
169
169
|
# `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to
|
170
170
|
# [Choosing a load
|
171
171
|
# balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
172
|
+
# @!attribute [rw] metadata
|
173
|
+
# @return [::Google::Protobuf::Struct]
|
174
|
+
# Optional. The metadata provided here is included in the
|
175
|
+
# `ProcessingRequest.metadata_context.filter_metadata` map field. The
|
176
|
+
# metadata is available under the key
|
177
|
+
# `com.google.lb_traffic_extension.<resource_name>`.
|
178
|
+
# The following variables are supported in the metadata:
|
179
|
+
#
|
180
|
+
# `{forwarding_rule_id}` - substituted with the forwarding rule's fully
|
181
|
+
# qualified resource name.
|
172
182
|
class LbTrafficExtension
|
173
183
|
include ::Google::Protobuf::MessageExts
|
174
184
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -268,7 +278,7 @@ module Google
|
|
268
278
|
# Message for updating a `LbTrafficExtension` resource.
|
269
279
|
# @!attribute [rw] update_mask
|
270
280
|
# @return [::Google::Protobuf::FieldMask]
|
271
|
-
#
|
281
|
+
# Optional. Used to specify the fields to be overwritten in the
|
272
282
|
# `LbTrafficExtension` resource by the update.
|
273
283
|
# The fields specified in the update_mask are relative to the resource, not
|
274
284
|
# the full request. A field is overwritten if it is in the mask. If the
|
@@ -343,8 +353,8 @@ module Google
|
|
343
353
|
# Optional. Set of labels associated with the `LbRouteExtension` resource.
|
344
354
|
#
|
345
355
|
# The format must comply with [the requirements for
|
346
|
-
# labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
|
347
|
-
# resources.
|
356
|
+
# labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
|
357
|
+
# for Google Cloud resources.
|
348
358
|
# @!attribute [rw] forwarding_rules
|
349
359
|
# @return [::Array<::String>]
|
350
360
|
# Required. A list of references to the forwarding rules to which this
|
@@ -365,6 +375,17 @@ module Google
|
|
365
375
|
# `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to
|
366
376
|
# [Choosing a load
|
367
377
|
# balancer](https://cloud.google.com/load-balancing/docs/backend-service).
|
378
|
+
# @!attribute [rw] metadata
|
379
|
+
# @return [::Google::Protobuf::Struct]
|
380
|
+
# Optional. The metadata provided here is included as part of the
|
381
|
+
# `metadata_context` (of type `google.protobuf.Struct`) in the
|
382
|
+
# `ProcessingRequest` message sent to the extension
|
383
|
+
# server. The metadata is available under the namespace
|
384
|
+
# `com.google.lb_route_extension.<resource_name>`.
|
385
|
+
# The following variables are supported in the metadata Struct:
|
386
|
+
#
|
387
|
+
# `{forwarding_rule_id}` - substituted with the forwarding rule's fully
|
388
|
+
# qualified resource name.
|
368
389
|
class LbRouteExtension
|
369
390
|
include ::Google::Protobuf::MessageExts
|
370
391
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -464,7 +485,7 @@ module Google
|
|
464
485
|
# Message for updating a `LbRouteExtension` resource.
|
465
486
|
# @!attribute [rw] update_mask
|
466
487
|
# @return [::Google::Protobuf::FieldMask]
|
467
|
-
#
|
488
|
+
# Optional. Used to specify the fields to be overwritten in the
|
468
489
|
# `LbRouteExtension` resource by the update.
|
469
490
|
# The fields specified in the update_mask are relative to the resource, not
|
470
491
|
# the full request. A field is overwritten if it is in the mask. If the
|
@@ -0,0 +1,96 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Protobuf
|
22
|
+
# `Struct` represents a structured data value, consisting of fields
|
23
|
+
# which map to dynamically typed values. In some languages, `Struct`
|
24
|
+
# might be supported by a native representation. For example, in
|
25
|
+
# scripting languages like JS a struct is represented as an
|
26
|
+
# object. The details of that representation are described together
|
27
|
+
# with the proto support for the language.
|
28
|
+
#
|
29
|
+
# The JSON representation for `Struct` is JSON object.
|
30
|
+
# @!attribute [rw] fields
|
31
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
|
32
|
+
# Unordered map of dynamically typed values.
|
33
|
+
class Struct
|
34
|
+
include ::Google::Protobuf::MessageExts
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
36
|
+
|
37
|
+
# @!attribute [rw] key
|
38
|
+
# @return [::String]
|
39
|
+
# @!attribute [rw] value
|
40
|
+
# @return [::Google::Protobuf::Value]
|
41
|
+
class FieldsEntry
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# `Value` represents a dynamically typed value which can be either
|
48
|
+
# null, a number, a string, a boolean, a recursive struct value, or a
|
49
|
+
# list of values. A producer of value is expected to set one of these
|
50
|
+
# variants. Absence of any variant indicates an error.
|
51
|
+
#
|
52
|
+
# The JSON representation for `Value` is JSON value.
|
53
|
+
# @!attribute [rw] null_value
|
54
|
+
# @return [::Google::Protobuf::NullValue]
|
55
|
+
# Represents a null value.
|
56
|
+
# @!attribute [rw] number_value
|
57
|
+
# @return [::Float]
|
58
|
+
# Represents a double value.
|
59
|
+
# @!attribute [rw] string_value
|
60
|
+
# @return [::String]
|
61
|
+
# Represents a string value.
|
62
|
+
# @!attribute [rw] bool_value
|
63
|
+
# @return [::Boolean]
|
64
|
+
# Represents a boolean value.
|
65
|
+
# @!attribute [rw] struct_value
|
66
|
+
# @return [::Google::Protobuf::Struct]
|
67
|
+
# Represents a structured value.
|
68
|
+
# @!attribute [rw] list_value
|
69
|
+
# @return [::Google::Protobuf::ListValue]
|
70
|
+
# Represents a repeated `Value`.
|
71
|
+
class Value
|
72
|
+
include ::Google::Protobuf::MessageExts
|
73
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
74
|
+
end
|
75
|
+
|
76
|
+
# `ListValue` is a wrapper around a repeated field of values.
|
77
|
+
#
|
78
|
+
# The JSON representation for `ListValue` is JSON array.
|
79
|
+
# @!attribute [rw] values
|
80
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
81
|
+
# Repeated field of dynamically typed values.
|
82
|
+
class ListValue
|
83
|
+
include ::Google::Protobuf::MessageExts
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
|
+
end
|
86
|
+
|
87
|
+
# `NullValue` is a singleton enumeration to represent the null value for the
|
88
|
+
# `Value` type union.
|
89
|
+
#
|
90
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
91
|
+
module NullValue
|
92
|
+
# Null value.
|
93
|
+
NULL_VALUE = 0
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-network_services-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -154,6 +154,7 @@ files:
|
|
154
154
|
- proto_docs/google/protobuf/duration.rb
|
155
155
|
- proto_docs/google/protobuf/empty.rb
|
156
156
|
- proto_docs/google/protobuf/field_mask.rb
|
157
|
+
- proto_docs/google/protobuf/struct.rb
|
157
158
|
- proto_docs/google/protobuf/timestamp.rb
|
158
159
|
- proto_docs/google/rpc/status.rb
|
159
160
|
- proto_docs/google/type/expr.rb
|