google-apis-networkservices_v1 0.76.0 → 0.77.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: 35aec7d59780335e2c11ecfcb38a1b30872388badecd92ab16c80787f0253302
4
- data.tar.gz: 5c9d349c4356ea759b203674d628ce9036c5d2654748821bab0225935ce4de3c
3
+ metadata.gz: 1946a44c34486ddcf6440ee1e15f01fc71fd2a24b05bb0dc1170372e94d527b8
4
+ data.tar.gz: a5f7311ff0c6e133d9b06f18930a584b9fc49e74fa52a890b42fd65af2604c03
5
5
  SHA512:
6
- metadata.gz: ccdd8f0384d8804e4db2396a7d84b21d34a6b947a583fc826fd30f6007da3dc19e523091fe54381d829c93f7fcf9c235ad290bd0275d60041bea789209ab933b
7
- data.tar.gz: 8f2df15526c67335029899467daf5e84e70f96e34e5397650b6a2e23a4cfc1d8e53a8dd72537a23a1bc5b698c7f0f96a90d75050b4e69e8268eed66ae4a1f890
6
+ metadata.gz: e7b5f0760ac80f70aa344149a6fa5dba8f3edcda8478ac28cc94dd3830a923cabeac66acdf6a32987ff12d6f2777b94dfdf58ba9b65a943d70da9f15da19739c
7
+ data.tar.gz: bd4d921341dfe840f0564019a90fd829bd72254dc5e7f84bf2753ce0ca46e80cd729116eabd4d80315e13036050f62bb9b29ea01f395e10970854fff978990e0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkservices_v1
2
2
 
3
+ ### v0.77.0 (2026-08-16)
4
+
5
+ * Regenerated from discovery document revision 20260807
6
+
3
7
  ### v0.76.0 (2026-08-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20260803
@@ -40,11 +40,22 @@ module Google
40
40
  # @return [Array<String>]
41
41
  attr_accessor :access_types
42
42
 
43
+ # Optional. The compute environment where the agent is hosted. Exactly one type
44
+ # of compute must be chosen.
45
+ # Corresponds to the JSON property `agentCompute`
46
+ # @return [String]
47
+ attr_accessor :agent_compute
48
+
43
49
  # Output only. The timestamp when the resource was created.
44
50
  # Corresponds to the JSON property `createTime`
45
51
  # @return [String]
46
52
  attr_accessor :create_time
47
53
 
54
+ # Required. The deployment model for the gateway.
55
+ # Corresponds to the JSON property `deploymentModel`
56
+ # @return [String]
57
+ attr_accessor :deployment_model
58
+
48
59
  # Optional. A free-text description of the resource. Max length 1024 characters.
49
60
  # Corresponds to the JSON property `description`
50
61
  # @return [String]
@@ -87,7 +98,9 @@ module Google
87
98
  def update!(**args)
88
99
  @access_path = args[:access_path] if args.key?(:access_path)
89
100
  @access_types = args[:access_types] if args.key?(:access_types)
101
+ @agent_compute = args[:agent_compute] if args.key?(:agent_compute)
90
102
  @create_time = args[:create_time] if args.key?(:create_time)
103
+ @deployment_model = args[:deployment_model] if args.key?(:deployment_model)
91
104
  @description = args[:description] if args.key?(:description)
92
105
  @egress_network_config = args[:egress_network_config] if args.key?(:egress_network_config)
93
106
  @etag = args[:etag] if args.key?(:etag)
@@ -1006,6 +1019,352 @@ module Google
1006
1019
  end
1007
1020
  end
1008
1021
 
1022
+ # `ExtensionBinding` is a resource representing the attachment of an extension
1023
+ # to a service.
1024
+ class ExtensionBinding
1025
+ include Google::Apis::Core::Hashable
1026
+
1027
+ # Output only. The timestamp when the resource was created.
1028
+ # Corresponds to the JSON property `createTime`
1029
+ # @return [String]
1030
+ attr_accessor :create_time
1031
+
1032
+ # Optional. A human-readable description of the resource.
1033
+ # Corresponds to the JSON property `description`
1034
+ # @return [String]
1035
+ attr_accessor :description
1036
+
1037
+ # Optional. Etag of the resource. If provided, it must match the server's etag.
1038
+ # If the provided etag does not match the server's etag, the request will fail
1039
+ # with a 409 ABORTED error.
1040
+ # Corresponds to the JSON property `etag`
1041
+ # @return [String]
1042
+ attr_accessor :etag
1043
+
1044
+ # Optional. Determines the behavior of the extension binding when the call to
1045
+ # the extension fails or times out. Default value is `FALSE`. When set to `TRUE`,
1046
+ # failures of the extension are silently ignored.
1047
+ # Corresponds to the JSON property `failOpen`
1048
+ # @return [Boolean]
1049
+ attr_accessor :fail_open
1050
+ alias_method :fail_open?, :fail_open
1051
+
1052
+ # Optional. Set of labels associated with the `ExtensionBinding` resource. The
1053
+ # format must comply with [the following requirements](https://cloud.google.com/
1054
+ # compute/docs/labeling-resources#requirements).
1055
+ # Corresponds to the JSON property `labels`
1056
+ # @return [Hash<String,String>]
1057
+ attr_accessor :labels
1058
+
1059
+ # Optional. A list of match conditions to match against the incoming request.
1060
+ # The extension will be invoked if at least one condition matches the request,
1061
+ # or if no match conditions are specified. Limited to 5 conditions.
1062
+ # Corresponds to the JSON property `matchConditions`
1063
+ # @return [Array<Google::Apis::NetworkservicesV1::ExtensionBindingMatchCondition>]
1064
+ attr_accessor :match_conditions
1065
+
1066
+ # Identifier. Name of the `ExtensionBinding` resource in the following format: `
1067
+ # projects/`project`/locations/`location`/extensionBindings/`extension_binding``.
1068
+ # Corresponds to the JSON property `name`
1069
+ # @return [String]
1070
+ attr_accessor :name
1071
+
1072
+ # Optional. Priority of the extension binding. Lower numbers indicate higher
1073
+ # priority. Priority of extension bindings are used to determine the order in
1074
+ # which extension bindings are applied to a request.
1075
+ # Corresponds to the JSON property `priority`
1076
+ # @return [Fixnum]
1077
+ attr_accessor :priority
1078
+
1079
+ # Required. The name of the extension that this binding should attach to target
1080
+ # resources. Format: For Google-provided extensions, specify the service
1081
+ # endpoint (see [Model Armor integration](https://docs.cloud.google.com/model-
1082
+ # armor/integrations))
1083
+ # Corresponds to the JSON property `producerExtension`
1084
+ # @return [String]
1085
+ attr_accessor :producer_extension
1086
+
1087
+ # Optional. Additional metadata that should be passed to the attached extension
1088
+ # with each request.
1089
+ # Corresponds to the JSON property `producerMetadata`
1090
+ # @return [Hash<String,String>]
1091
+ attr_accessor :producer_metadata
1092
+
1093
+ # Specifies a list of targets to which this `ExtensionBinding` should attach.
1094
+ # Corresponds to the JSON property `target`
1095
+ # @return [Google::Apis::NetworkservicesV1::ExtensionBindingTarget]
1096
+ attr_accessor :target
1097
+
1098
+ # Output only. The timestamp when the resource was updated.
1099
+ # Corresponds to the JSON property `updateTime`
1100
+ # @return [String]
1101
+ attr_accessor :update_time
1102
+
1103
+ def initialize(**args)
1104
+ update!(**args)
1105
+ end
1106
+
1107
+ # Update properties of this object
1108
+ def update!(**args)
1109
+ @create_time = args[:create_time] if args.key?(:create_time)
1110
+ @description = args[:description] if args.key?(:description)
1111
+ @etag = args[:etag] if args.key?(:etag)
1112
+ @fail_open = args[:fail_open] if args.key?(:fail_open)
1113
+ @labels = args[:labels] if args.key?(:labels)
1114
+ @match_conditions = args[:match_conditions] if args.key?(:match_conditions)
1115
+ @name = args[:name] if args.key?(:name)
1116
+ @priority = args[:priority] if args.key?(:priority)
1117
+ @producer_extension = args[:producer_extension] if args.key?(:producer_extension)
1118
+ @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
1119
+ @target = args[:target] if args.key?(:target)
1120
+ @update_time = args[:update_time] if args.key?(:update_time)
1121
+ end
1122
+ end
1123
+
1124
+ # Conditions to match against the incoming request.
1125
+ class ExtensionBindingMatchCondition
1126
+ include Google::Apis::Core::Hashable
1127
+
1128
+ # Describes properties of one or more destinations of a request.
1129
+ # Corresponds to the JSON property `to`
1130
+ # @return [Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionTo]
1131
+ attr_accessor :to
1132
+
1133
+ def initialize(**args)
1134
+ update!(**args)
1135
+ end
1136
+
1137
+ # Update properties of this object
1138
+ def update!(**args)
1139
+ @to = args[:to] if args.key?(:to)
1140
+ end
1141
+ end
1142
+
1143
+ # Determines how an HTTP header should be matched.
1144
+ class ExtensionBindingMatchConditionHeaderMatch
1145
+ include Google::Apis::Core::Hashable
1146
+
1147
+ # Required. Specifies the name of the header in the request.
1148
+ # Corresponds to the JSON property `name`
1149
+ # @return [String]
1150
+ attr_accessor :name
1151
+
1152
+ # Specifies matching logic for string values.
1153
+ # Corresponds to the JSON property `value`
1154
+ # @return [Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch]
1155
+ attr_accessor :value
1156
+
1157
+ def initialize(**args)
1158
+ update!(**args)
1159
+ end
1160
+
1161
+ # Update properties of this object
1162
+ def update!(**args)
1163
+ @name = args[:name] if args.key?(:name)
1164
+ @value = args[:value] if args.key?(:value)
1165
+ end
1166
+ end
1167
+
1168
+ # Specifies matching logic for string values.
1169
+ class ExtensionBindingMatchConditionStringMatch
1170
+ include Google::Apis::Core::Hashable
1171
+
1172
+ # Optional. The input string must have the substring specified here. Note: empty
1173
+ # contains match is not allowed, please use regex instead. Examples: * ``abc``
1174
+ # matches the value ``xyz.abc.def``
1175
+ # Corresponds to the JSON property `contains`
1176
+ # @return [String]
1177
+ attr_accessor :contains
1178
+
1179
+ # Optional. The input string must match exactly the string specified here.
1180
+ # Examples: * ``abc`` only matches the value ``abc``.
1181
+ # Corresponds to the JSON property `exact`
1182
+ # @return [String]
1183
+ attr_accessor :exact
1184
+
1185
+ # Optional. If true, indicates the exact/prefix/suffix/contains matching should
1186
+ # be case insensitive. For example, the matcher ``data`` will match both input
1187
+ # string ``Data`` and ``data`` if set to true.
1188
+ # Corresponds to the JSON property `ignoreCase`
1189
+ # @return [Boolean]
1190
+ attr_accessor :ignore_case
1191
+ alias_method :ignore_case?, :ignore_case
1192
+
1193
+ # Optional. The input string must have the prefix specified here. Note: empty
1194
+ # prefix is not allowed. Examples: * ``abc`` matches the value ``abc.xyz``
1195
+ # Corresponds to the JSON property `prefix`
1196
+ # @return [String]
1197
+ attr_accessor :prefix
1198
+
1199
+ # Optional. The input string must have the suffix specified here. Note: empty
1200
+ # prefix is not allowed, please use regex instead. Examples: * ``abc`` matches
1201
+ # the value ``xyz.abc``
1202
+ # Corresponds to the JSON property `suffix`
1203
+ # @return [String]
1204
+ attr_accessor :suffix
1205
+
1206
+ def initialize(**args)
1207
+ update!(**args)
1208
+ end
1209
+
1210
+ # Update properties of this object
1211
+ def update!(**args)
1212
+ @contains = args[:contains] if args.key?(:contains)
1213
+ @exact = args[:exact] if args.key?(:exact)
1214
+ @ignore_case = args[:ignore_case] if args.key?(:ignore_case)
1215
+ @prefix = args[:prefix] if args.key?(:prefix)
1216
+ @suffix = args[:suffix] if args.key?(:suffix)
1217
+ end
1218
+ end
1219
+
1220
+ # Describes properties of one or more destinations of a request.
1221
+ class ExtensionBindingMatchConditionTo
1222
+ include Google::Apis::Core::Hashable
1223
+
1224
+ # Describes properties of a single destination.
1225
+ # Corresponds to the JSON property `destination`
1226
+ # @return [Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestination]
1227
+ attr_accessor :destination
1228
+
1229
+ # Describes properties of a single destination.
1230
+ # Corresponds to the JSON property `notDestination`
1231
+ # @return [Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestination]
1232
+ attr_accessor :not_destination
1233
+
1234
+ def initialize(**args)
1235
+ update!(**args)
1236
+ end
1237
+
1238
+ # Update properties of this object
1239
+ def update!(**args)
1240
+ @destination = args[:destination] if args.key?(:destination)
1241
+ @not_destination = args[:not_destination] if args.key?(:not_destination)
1242
+ end
1243
+ end
1244
+
1245
+ # Describes properties of a single destination.
1246
+ class ExtensionBindingMatchConditionToDestination
1247
+ include Google::Apis::Core::Hashable
1248
+
1249
+ # Describes a set of HTTP headers to match against.
1250
+ # Corresponds to the JSON property `headerSet`
1251
+ # @return [Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestinationHeaderSet]
1252
+ attr_accessor :header_set
1253
+
1254
+ # Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not
1255
+ # specified, any host is allowed. If specified, a match occurs if any of the
1256
+ # hosts matches the host value in the request.
1257
+ # Corresponds to the JSON property `hosts`
1258
+ # @return [Array<Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch>]
1259
+ attr_accessor :hosts
1260
+
1261
+ # Optional. A list of paths to match against. Limited to 10 paths. If not
1262
+ # specified, any path is allowed. Note that this path match includes the query
1263
+ # parameters. For gRPC services, this should be a fully-qualified name of the
1264
+ # form /package.service/method.
1265
+ # Corresponds to the JSON property `paths`
1266
+ # @return [Array<Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch>]
1267
+ attr_accessor :paths
1268
+
1269
+ # Optional. A list of non-empty strings whose value is matched against the
1270
+ # resource value. If not specified, any resource is allowed. If specified, a
1271
+ # match occurs if any of the resources matches the resource value in the request.
1272
+ # Limited to 5 resources.
1273
+ # Corresponds to the JSON property `resources`
1274
+ # @return [Array<Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch>]
1275
+ attr_accessor :resources
1276
+
1277
+ def initialize(**args)
1278
+ update!(**args)
1279
+ end
1280
+
1281
+ # Update properties of this object
1282
+ def update!(**args)
1283
+ @header_set = args[:header_set] if args.key?(:header_set)
1284
+ @hosts = args[:hosts] if args.key?(:hosts)
1285
+ @paths = args[:paths] if args.key?(:paths)
1286
+ @resources = args[:resources] if args.key?(:resources)
1287
+ end
1288
+ end
1289
+
1290
+ # Describes a set of HTTP headers to match against.
1291
+ class ExtensionBindingMatchConditionToDestinationHeaderSet
1292
+ include Google::Apis::Core::Hashable
1293
+
1294
+ # Required. A list of headers to match against in http header. If multiple
1295
+ # header matches are provided, they will be evaluated as an AND, i.e. all header
1296
+ # matches must match for the request to match.
1297
+ # Corresponds to the JSON property `headers`
1298
+ # @return [Array<Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionHeaderMatch>]
1299
+ attr_accessor :headers
1300
+
1301
+ def initialize(**args)
1302
+ update!(**args)
1303
+ end
1304
+
1305
+ # Update properties of this object
1306
+ def update!(**args)
1307
+ @headers = args[:headers] if args.key?(:headers)
1308
+ end
1309
+ end
1310
+
1311
+ # Specifies a list of targets to which this `ExtensionBinding` should attach.
1312
+ class ExtensionBindingTarget
1313
+ include Google::Apis::Core::Hashable
1314
+
1315
+ # Optional. The reference to the target resource, to which this binding should
1316
+ # attach. Exactly one of `resources` or `scope` must be set. For Agent Gateway,
1317
+ # this would be the full resource name, in the format: `projects/`project`/
1318
+ # locations/`location`/agentGateways/`agent_gateway``. For AI App, this would be
1319
+ # the full resource name, in the format: `projects/`project`/locations/`location`
1320
+ # /applications/`application``.
1321
+ # Corresponds to the JSON property `resources`
1322
+ # @return [Array<String>]
1323
+ attr_accessor :resources
1324
+
1325
+ # Specifies the scope of resources to which this binding should attach.
1326
+ # Corresponds to the JSON property `scope`
1327
+ # @return [Google::Apis::NetworkservicesV1::ExtensionBindingTargetScope]
1328
+ attr_accessor :scope
1329
+
1330
+ def initialize(**args)
1331
+ update!(**args)
1332
+ end
1333
+
1334
+ # Update properties of this object
1335
+ def update!(**args)
1336
+ @resources = args[:resources] if args.key?(:resources)
1337
+ @scope = args[:scope] if args.key?(:scope)
1338
+ end
1339
+ end
1340
+
1341
+ # Specifies the scope of resources to which this binding should attach.
1342
+ class ExtensionBindingTargetScope
1343
+ include Google::Apis::Core::Hashable
1344
+
1345
+ # Required. Parent resource name specification, in the format: `projects/`
1346
+ # project_number``.
1347
+ # Corresponds to the JSON property `parent`
1348
+ # @return [String]
1349
+ attr_accessor :parent
1350
+
1351
+ # Required. Type of the resource to which the binding should attach. Limited to
1352
+ # 1 resource type.
1353
+ # Corresponds to the JSON property `resourceTypes`
1354
+ # @return [Array<String>]
1355
+ attr_accessor :resource_types
1356
+
1357
+ def initialize(**args)
1358
+ update!(**args)
1359
+ end
1360
+
1361
+ # Update properties of this object
1362
+ def update!(**args)
1363
+ @parent = args[:parent] if args.key?(:parent)
1364
+ @resource_types = args[:resource_types] if args.key?(:resource_types)
1365
+ end
1366
+ end
1367
+
1009
1368
  # A single extension chain wrapper that contains the match conditions and
1010
1369
  # extensions to execute.
1011
1370
  class ExtensionChain
@@ -3229,6 +3588,42 @@ module Google
3229
3588
  end
3230
3589
  end
3231
3590
 
3591
+ # Response returned by the `ListExtensionBindings` method.
3592
+ class ListExtensionBindingsResponse
3593
+ include Google::Apis::Core::Hashable
3594
+
3595
+ # List of `ExtensionBinding` resources.
3596
+ # Corresponds to the JSON property `extensionBindings`
3597
+ # @return [Array<Google::Apis::NetworkservicesV1::ExtensionBinding>]
3598
+ attr_accessor :extension_bindings
3599
+
3600
+ # If there might be more results than those appearing in this response, then `
3601
+ # next_page_token` is included. To get the next set of results, call this method
3602
+ # again using the value of `next_page_token` as `page_token`.
3603
+ # Corresponds to the JSON property `nextPageToken`
3604
+ # @return [String]
3605
+ attr_accessor :next_page_token
3606
+
3607
+ # Unordered list. Unreachable resources. Populated when the request attempts to
3608
+ # list all resources across all supported locations, while some locations are
3609
+ # temporarily unavailable. The resource names are in the format `projects/`
3610
+ # project`/locations/`location`/extensionBindings/`extension_binding``.
3611
+ # Corresponds to the JSON property `unreachable`
3612
+ # @return [Array<String>]
3613
+ attr_accessor :unreachable
3614
+
3615
+ def initialize(**args)
3616
+ update!(**args)
3617
+ end
3618
+
3619
+ # Update properties of this object
3620
+ def update!(**args)
3621
+ @extension_bindings = args[:extension_bindings] if args.key?(:extension_bindings)
3622
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3623
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3624
+ end
3625
+ end
3626
+
3232
3627
  # Response returned by the ListGatewayRouteViews method.
3233
3628
  class ListGatewayRouteViewsResponse
3234
3629
  include Google::Apis::Core::Hashable
@@ -3649,6 +4044,42 @@ module Google
3649
4044
  end
3650
4045
  end
3651
4046
 
4047
+ # Response returned by the `ListProducerExtensions` method.
4048
+ class ListProducerExtensionsResponse
4049
+ include Google::Apis::Core::Hashable
4050
+
4051
+ # If there might be more results than those appearing in this response, then `
4052
+ # next_page_token` is included. To get the next set of results, call this method
4053
+ # again using the value of `next_page_token` as `page_token`.
4054
+ # Corresponds to the JSON property `nextPageToken`
4055
+ # @return [String]
4056
+ attr_accessor :next_page_token
4057
+
4058
+ # List of `ProducerExtension` resources.
4059
+ # Corresponds to the JSON property `producerExtensions`
4060
+ # @return [Array<Google::Apis::NetworkservicesV1::ProducerExtension>]
4061
+ attr_accessor :producer_extensions
4062
+
4063
+ # Unordered list. Unreachable resources. Populated when the request attempts to
4064
+ # list all resources across all supported locations, while some locations are
4065
+ # temporarily unavailable. The resource names are in the format: `projects/`
4066
+ # project`/locations/`location`/producerExtensions/`producer_extension``.
4067
+ # Corresponds to the JSON property `unreachable`
4068
+ # @return [Array<String>]
4069
+ attr_accessor :unreachable
4070
+
4071
+ def initialize(**args)
4072
+ update!(**args)
4073
+ end
4074
+
4075
+ # Update properties of this object
4076
+ def update!(**args)
4077
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4078
+ @producer_extensions = args[:producer_extensions] if args.key?(:producer_extensions)
4079
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
4080
+ end
4081
+ end
4082
+
3652
4083
  # Response returned by the ListServiceBindings method.
3653
4084
  class ListServiceBindingsResponse
3654
4085
  include Google::Apis::Core::Hashable
@@ -4492,6 +4923,112 @@ module Google
4492
4923
  end
4493
4924
  end
4494
4925
 
4926
+ # `ProducerExtension` is a resource representing producer defined configuration
4927
+ # for their service extension.
4928
+ class ProducerExtension
4929
+ include Google::Apis::Core::Hashable
4930
+
4931
+ # Output only. The timestamp when the resource was created.
4932
+ # Corresponds to the JSON property `createTime`
4933
+ # @return [String]
4934
+ attr_accessor :create_time
4935
+
4936
+ # Optional. A human-readable description of the resource.
4937
+ # Corresponds to the JSON property `description`
4938
+ # @return [String]
4939
+ attr_accessor :description
4940
+
4941
+ # Optional. Etag of the resource. If this is provided, it must match the server'
4942
+ # s etag. If the provided etag does not match the server's etag, the request
4943
+ # will fail with a 409 ABORTED error.
4944
+ # Corresponds to the JSON property `etag`
4945
+ # @return [String]
4946
+ attr_accessor :etag
4947
+
4948
+ # The configuration for the service that this `ProducerExtension` offers.
4949
+ # Corresponds to the JSON property `extensionSettings`
4950
+ # @return [Google::Apis::NetworkservicesV1::ProducerExtensionExtensionSettings]
4951
+ attr_accessor :extension_settings
4952
+
4953
+ # Optional. Set of labels associated with the `ProducerExtension` resource. The
4954
+ # format must comply with [the following requirements]((https://cloud.google.com/
4955
+ # compute/docs/labeling-resources#requirements).
4956
+ # Corresponds to the JSON property `labels`
4957
+ # @return [Hash<String,String>]
4958
+ attr_accessor :labels
4959
+
4960
+ # Identifier. Name of the `ProducerExtension` resource in the following format: `
4961
+ # projects/`project`/locations/`location`/producerExtensions/`producer_extension`
4962
+ # `.
4963
+ # Corresponds to the JSON property `name`
4964
+ # @return [String]
4965
+ attr_accessor :name
4966
+
4967
+ # Required. The phase in which this `ProducerExtension` should execute.
4968
+ # Corresponds to the JSON property `phase`
4969
+ # @return [String]
4970
+ attr_accessor :phase
4971
+
4972
+ # Output only. The timestamp when the resource was updated.
4973
+ # Corresponds to the JSON property `updateTime`
4974
+ # @return [String]
4975
+ attr_accessor :update_time
4976
+
4977
+ def initialize(**args)
4978
+ update!(**args)
4979
+ end
4980
+
4981
+ # Update properties of this object
4982
+ def update!(**args)
4983
+ @create_time = args[:create_time] if args.key?(:create_time)
4984
+ @description = args[:description] if args.key?(:description)
4985
+ @etag = args[:etag] if args.key?(:etag)
4986
+ @extension_settings = args[:extension_settings] if args.key?(:extension_settings)
4987
+ @labels = args[:labels] if args.key?(:labels)
4988
+ @name = args[:name] if args.key?(:name)
4989
+ @phase = args[:phase] if args.key?(:phase)
4990
+ @update_time = args[:update_time] if args.key?(:update_time)
4991
+ end
4992
+ end
4993
+
4994
+ # The configuration for the service that this `ProducerExtension` offers.
4995
+ class ProducerExtensionExtensionSettings
4996
+ include Google::Apis::Core::Hashable
4997
+
4998
+ # Optional. The `:authority` header in the request sent to the extension service.
4999
+ # Corresponds to the JSON property `authority`
5000
+ # @return [String]
5001
+ attr_accessor :authority
5002
+
5003
+ # Optional. Whether the extension should function in observability mode.
5004
+ # Corresponds to the JSON property `observabilityMode`
5005
+ # @return [Boolean]
5006
+ attr_accessor :observability_mode
5007
+ alias_method :observability_mode?, :observability_mode
5008
+
5009
+ # Required. URI of the PSC attachment.
5010
+ # Corresponds to the JSON property `service`
5011
+ # @return [String]
5012
+ attr_accessor :service
5013
+
5014
+ # Required. The event types supported by the extension.
5015
+ # Corresponds to the JSON property `supportedEvents`
5016
+ # @return [Array<String>]
5017
+ attr_accessor :supported_events
5018
+
5019
+ def initialize(**args)
5020
+ update!(**args)
5021
+ end
5022
+
5023
+ # Update properties of this object
5024
+ def update!(**args)
5025
+ @authority = args[:authority] if args.key?(:authority)
5026
+ @observability_mode = args[:observability_mode] if args.key?(:observability_mode)
5027
+ @service = args[:service] if args.key?(:service)
5028
+ @supported_events = args[:supported_events] if args.key?(:supported_events)
5029
+ end
5030
+ end
5031
+
4495
5032
  #
4496
5033
  class RetryFilterPerRouteConfig
4497
5034
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkservicesV1
18
18
  # Version of the google-apis-networkservices_v1 gem
19
- GEM_VERSION = "0.76.0"
19
+ GEM_VERSION = "0.77.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260803"
25
+ REVISION = "20260807"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,60 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class ExtensionBinding
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ExtensionBindingMatchCondition
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ExtensionBindingMatchConditionHeaderMatch
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ExtensionBindingMatchConditionStringMatch
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ExtensionBindingMatchConditionTo
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ExtensionBindingMatchConditionToDestination
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ExtensionBindingMatchConditionToDestinationHeaderSet
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ExtensionBindingTarget
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ExtensionBindingTargetScope
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
151
205
  class ExtensionChain
152
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
207
 
@@ -406,6 +460,12 @@ module Google
406
460
  include Google::Apis::Core::JsonObjectSupport
407
461
  end
408
462
 
463
+ class ListExtensionBindingsResponse
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
409
469
  class ListGatewayRouteViewsResponse
410
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
471
 
@@ -484,6 +544,12 @@ module Google
484
544
  include Google::Apis::Core::JsonObjectSupport
485
545
  end
486
546
 
547
+ class ListProducerExtensionsResponse
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
487
553
  class ListServiceBindingsResponse
488
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
555
 
@@ -586,6 +652,18 @@ module Google
586
652
  include Google::Apis::Core::JsonObjectSupport
587
653
  end
588
654
 
655
+ class ProducerExtension
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class ProducerExtensionExtensionSettings
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
589
667
  class RetryFilterPerRouteConfig
590
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
669
 
@@ -747,7 +825,9 @@ module Google
747
825
  class Representation < Google::Apis::Core::JsonRepresentation
748
826
  property :access_path, as: 'accessPath'
749
827
  collection :access_types, as: 'accessTypes'
828
+ property :agent_compute, as: 'agentCompute'
750
829
  property :create_time, as: 'createTime'
830
+ property :deployment_model, as: 'deploymentModel'
751
831
  property :description, as: 'description'
752
832
  property :egress_network_config, as: 'egressNetworkConfig', class: Google::Apis::NetworkservicesV1::EgressNetworkConfig, decorator: Google::Apis::NetworkservicesV1::EgressNetworkConfig::Representation
753
833
 
@@ -963,6 +1043,103 @@ module Google
963
1043
  end
964
1044
  end
965
1045
 
1046
+ class ExtensionBinding
1047
+ # @private
1048
+ class Representation < Google::Apis::Core::JsonRepresentation
1049
+ property :create_time, as: 'createTime'
1050
+ property :description, as: 'description'
1051
+ property :etag, as: 'etag'
1052
+ property :fail_open, as: 'failOpen'
1053
+ hash :labels, as: 'labels'
1054
+ collection :match_conditions, as: 'matchConditions', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchCondition, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchCondition::Representation
1055
+
1056
+ property :name, as: 'name'
1057
+ property :priority, as: 'priority'
1058
+ property :producer_extension, as: 'producerExtension'
1059
+ hash :producer_metadata, as: 'producerMetadata'
1060
+ property :target, as: 'target', class: Google::Apis::NetworkservicesV1::ExtensionBindingTarget, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingTarget::Representation
1061
+
1062
+ property :update_time, as: 'updateTime'
1063
+ end
1064
+ end
1065
+
1066
+ class ExtensionBindingMatchCondition
1067
+ # @private
1068
+ class Representation < Google::Apis::Core::JsonRepresentation
1069
+ property :to, as: 'to', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionTo, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionTo::Representation
1070
+
1071
+ end
1072
+ end
1073
+
1074
+ class ExtensionBindingMatchConditionHeaderMatch
1075
+ # @private
1076
+ class Representation < Google::Apis::Core::JsonRepresentation
1077
+ property :name, as: 'name'
1078
+ property :value, as: 'value', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch::Representation
1079
+
1080
+ end
1081
+ end
1082
+
1083
+ class ExtensionBindingMatchConditionStringMatch
1084
+ # @private
1085
+ class Representation < Google::Apis::Core::JsonRepresentation
1086
+ property :contains, as: 'contains'
1087
+ property :exact, as: 'exact'
1088
+ property :ignore_case, as: 'ignoreCase'
1089
+ property :prefix, as: 'prefix'
1090
+ property :suffix, as: 'suffix'
1091
+ end
1092
+ end
1093
+
1094
+ class ExtensionBindingMatchConditionTo
1095
+ # @private
1096
+ class Representation < Google::Apis::Core::JsonRepresentation
1097
+ property :destination, as: 'destination', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestination, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestination::Representation
1098
+
1099
+ property :not_destination, as: 'notDestination', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestination, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestination::Representation
1100
+
1101
+ end
1102
+ end
1103
+
1104
+ class ExtensionBindingMatchConditionToDestination
1105
+ # @private
1106
+ class Representation < Google::Apis::Core::JsonRepresentation
1107
+ property :header_set, as: 'headerSet', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestinationHeaderSet, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionToDestinationHeaderSet::Representation
1108
+
1109
+ collection :hosts, as: 'hosts', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch::Representation
1110
+
1111
+ collection :paths, as: 'paths', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch::Representation
1112
+
1113
+ collection :resources, as: 'resources', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionStringMatch::Representation
1114
+
1115
+ end
1116
+ end
1117
+
1118
+ class ExtensionBindingMatchConditionToDestinationHeaderSet
1119
+ # @private
1120
+ class Representation < Google::Apis::Core::JsonRepresentation
1121
+ collection :headers, as: 'headers', class: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionHeaderMatch, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingMatchConditionHeaderMatch::Representation
1122
+
1123
+ end
1124
+ end
1125
+
1126
+ class ExtensionBindingTarget
1127
+ # @private
1128
+ class Representation < Google::Apis::Core::JsonRepresentation
1129
+ collection :resources, as: 'resources'
1130
+ property :scope, as: 'scope', class: Google::Apis::NetworkservicesV1::ExtensionBindingTargetScope, decorator: Google::Apis::NetworkservicesV1::ExtensionBindingTargetScope::Representation
1131
+
1132
+ end
1133
+ end
1134
+
1135
+ class ExtensionBindingTargetScope
1136
+ # @private
1137
+ class Representation < Google::Apis::Core::JsonRepresentation
1138
+ property :parent, as: 'parent'
1139
+ collection :resource_types, as: 'resourceTypes'
1140
+ end
1141
+ end
1142
+
966
1143
  class ExtensionChain
967
1144
  # @private
968
1145
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1464,6 +1641,16 @@ module Google
1464
1641
  end
1465
1642
  end
1466
1643
 
1644
+ class ListExtensionBindingsResponse
1645
+ # @private
1646
+ class Representation < Google::Apis::Core::JsonRepresentation
1647
+ collection :extension_bindings, as: 'extensionBindings', class: Google::Apis::NetworkservicesV1::ExtensionBinding, decorator: Google::Apis::NetworkservicesV1::ExtensionBinding::Representation
1648
+
1649
+ property :next_page_token, as: 'nextPageToken'
1650
+ collection :unreachable, as: 'unreachable'
1651
+ end
1652
+ end
1653
+
1467
1654
  class ListGatewayRouteViewsResponse
1468
1655
  # @private
1469
1656
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1593,6 +1780,16 @@ module Google
1593
1780
  end
1594
1781
  end
1595
1782
 
1783
+ class ListProducerExtensionsResponse
1784
+ # @private
1785
+ class Representation < Google::Apis::Core::JsonRepresentation
1786
+ property :next_page_token, as: 'nextPageToken'
1787
+ collection :producer_extensions, as: 'producerExtensions', class: Google::Apis::NetworkservicesV1::ProducerExtension, decorator: Google::Apis::NetworkservicesV1::ProducerExtension::Representation
1788
+
1789
+ collection :unreachable, as: 'unreachable'
1790
+ end
1791
+ end
1792
+
1596
1793
  class ListServiceBindingsResponse
1597
1794
  # @private
1598
1795
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1785,6 +1982,31 @@ module Google
1785
1982
  end
1786
1983
  end
1787
1984
 
1985
+ class ProducerExtension
1986
+ # @private
1987
+ class Representation < Google::Apis::Core::JsonRepresentation
1988
+ property :create_time, as: 'createTime'
1989
+ property :description, as: 'description'
1990
+ property :etag, as: 'etag'
1991
+ property :extension_settings, as: 'extensionSettings', class: Google::Apis::NetworkservicesV1::ProducerExtensionExtensionSettings, decorator: Google::Apis::NetworkservicesV1::ProducerExtensionExtensionSettings::Representation
1992
+
1993
+ hash :labels, as: 'labels'
1994
+ property :name, as: 'name'
1995
+ property :phase, as: 'phase'
1996
+ property :update_time, as: 'updateTime'
1997
+ end
1998
+ end
1999
+
2000
+ class ProducerExtensionExtensionSettings
2001
+ # @private
2002
+ class Representation < Google::Apis::Core::JsonRepresentation
2003
+ property :authority, as: 'authority'
2004
+ property :observability_mode, as: 'observabilityMode'
2005
+ property :service, as: 'service'
2006
+ collection :supported_events, as: 'supportedEvents'
2007
+ end
2008
+ end
2009
+
1788
2010
  class RetryFilterPerRouteConfig
1789
2011
  # @private
1790
2012
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1280,6 +1280,191 @@ module Google
1280
1280
  execute_or_queue_command(command, &block)
1281
1281
  end
1282
1282
 
1283
+ # Creates a new `ExtensionBinding` resource in a given project and location.
1284
+ # @param [String] parent
1285
+ # Required. The parent resource of the `ExtensionBinding` resource. Must be in
1286
+ # the format `projects/`project`/locations/`location``.
1287
+ # @param [Google::Apis::NetworkservicesV1::ExtensionBinding] extension_binding_object
1288
+ # @param [String] extension_binding_id
1289
+ # Required. Short name of the `ExtensionBinding` resource to be created.
1290
+ # @param [String] fields
1291
+ # Selector specifying which fields to include in a partial response.
1292
+ # @param [String] quota_user
1293
+ # Available to use for quota purposes for server-side applications. Can be any
1294
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1295
+ # @param [Google::Apis::RequestOptions] options
1296
+ # Request-specific options
1297
+ #
1298
+ # @yield [result, err] Result & error if block supplied
1299
+ # @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
1300
+ # @yieldparam err [StandardError] error object if request failed
1301
+ #
1302
+ # @return [Google::Apis::NetworkservicesV1::Operation]
1303
+ #
1304
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1305
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1306
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1307
+ def create_project_location_extension_binding(parent, extension_binding_object = nil, extension_binding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1308
+ command = make_simple_command(:post, 'v1/{+parent}/extensionBindings', options)
1309
+ command.request_representation = Google::Apis::NetworkservicesV1::ExtensionBinding::Representation
1310
+ command.request_object = extension_binding_object
1311
+ command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
1312
+ command.response_class = Google::Apis::NetworkservicesV1::Operation
1313
+ command.params['parent'] = parent unless parent.nil?
1314
+ command.query['extensionBindingId'] = extension_binding_id unless extension_binding_id.nil?
1315
+ command.query['fields'] = fields unless fields.nil?
1316
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1317
+ execute_or_queue_command(command, &block)
1318
+ end
1319
+
1320
+ # Deletes the specified `ExtensionBinding` resource.
1321
+ # @param [String] name
1322
+ # Required. A name of the `ExtensionBinding` resource to delete. Must be in the
1323
+ # format `projects/`project`/locations/`location`/extensionBindings/`
1324
+ # extension_binding``.
1325
+ # @param [String] etag
1326
+ # Optional. The etag of the ExtensionBinding to delete.
1327
+ # @param [String] fields
1328
+ # Selector specifying which fields to include in a partial response.
1329
+ # @param [String] quota_user
1330
+ # Available to use for quota purposes for server-side applications. Can be any
1331
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1332
+ # @param [Google::Apis::RequestOptions] options
1333
+ # Request-specific options
1334
+ #
1335
+ # @yield [result, err] Result & error if block supplied
1336
+ # @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
1337
+ # @yieldparam err [StandardError] error object if request failed
1338
+ #
1339
+ # @return [Google::Apis::NetworkservicesV1::Operation]
1340
+ #
1341
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1342
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1343
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1344
+ def delete_project_location_extension_binding(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
1345
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1346
+ command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
1347
+ command.response_class = Google::Apis::NetworkservicesV1::Operation
1348
+ command.params['name'] = name unless name.nil?
1349
+ command.query['etag'] = etag unless etag.nil?
1350
+ command.query['fields'] = fields unless fields.nil?
1351
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1352
+ execute_or_queue_command(command, &block)
1353
+ end
1354
+
1355
+ # Gets details of the specified `ExtensionBinding` resource.
1356
+ # @param [String] name
1357
+ # Required. A name of the `ExtensionBinding` resource to get. Must be in the
1358
+ # format `projects/`project`/locations/`location`/extensionBindings/`
1359
+ # extension_binding``.
1360
+ # @param [String] fields
1361
+ # Selector specifying which fields to include in a partial response.
1362
+ # @param [String] quota_user
1363
+ # Available to use for quota purposes for server-side applications. Can be any
1364
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1365
+ # @param [Google::Apis::RequestOptions] options
1366
+ # Request-specific options
1367
+ #
1368
+ # @yield [result, err] Result & error if block supplied
1369
+ # @yieldparam result [Google::Apis::NetworkservicesV1::ExtensionBinding] parsed result object
1370
+ # @yieldparam err [StandardError] error object if request failed
1371
+ #
1372
+ # @return [Google::Apis::NetworkservicesV1::ExtensionBinding]
1373
+ #
1374
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1375
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1376
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1377
+ def get_project_location_extension_binding(name, fields: nil, quota_user: nil, options: nil, &block)
1378
+ command = make_simple_command(:get, 'v1/{+name}', options)
1379
+ command.response_representation = Google::Apis::NetworkservicesV1::ExtensionBinding::Representation
1380
+ command.response_class = Google::Apis::NetworkservicesV1::ExtensionBinding
1381
+ command.params['name'] = name unless name.nil?
1382
+ command.query['fields'] = fields unless fields.nil?
1383
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1384
+ execute_or_queue_command(command, &block)
1385
+ end
1386
+
1387
+ # Lists `ExtensionBinding` resources in a given project and location.
1388
+ # @param [String] parent
1389
+ # Required. The project and location from which the `ExtensionBinding` resources
1390
+ # should be listed, specified in the format `projects/`project`/locations/`
1391
+ # location``.
1392
+ # @param [Fixnum] page_size
1393
+ # Optional. Maximum number of `ExtensionBinding` resources to return per call.
1394
+ # @param [String] page_token
1395
+ # Optional. The value returned by the last `ListExtensionBindingsResponse`
1396
+ # Indicates that this is a continuation of a prior `ListExtensionBindings` call,
1397
+ # and that the system should return the next page of data.
1398
+ # @param [String] fields
1399
+ # Selector specifying which fields to include in a partial response.
1400
+ # @param [String] quota_user
1401
+ # Available to use for quota purposes for server-side applications. Can be any
1402
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1403
+ # @param [Google::Apis::RequestOptions] options
1404
+ # Request-specific options
1405
+ #
1406
+ # @yield [result, err] Result & error if block supplied
1407
+ # @yieldparam result [Google::Apis::NetworkservicesV1::ListExtensionBindingsResponse] parsed result object
1408
+ # @yieldparam err [StandardError] error object if request failed
1409
+ #
1410
+ # @return [Google::Apis::NetworkservicesV1::ListExtensionBindingsResponse]
1411
+ #
1412
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1413
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1414
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1415
+ def list_project_location_extension_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1416
+ command = make_simple_command(:get, 'v1/{+parent}/extensionBindings', options)
1417
+ command.response_representation = Google::Apis::NetworkservicesV1::ListExtensionBindingsResponse::Representation
1418
+ command.response_class = Google::Apis::NetworkservicesV1::ListExtensionBindingsResponse
1419
+ command.params['parent'] = parent unless parent.nil?
1420
+ command.query['pageSize'] = page_size unless page_size.nil?
1421
+ command.query['pageToken'] = page_token unless page_token.nil?
1422
+ command.query['fields'] = fields unless fields.nil?
1423
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1424
+ execute_or_queue_command(command, &block)
1425
+ end
1426
+
1427
+ # Updates the parameters of the specified `ExtensionBinding` resource.
1428
+ # @param [String] name
1429
+ # Identifier. Name of the `ExtensionBinding` resource in the following format: `
1430
+ # projects/`project`/locations/`location`/extensionBindings/`extension_binding``.
1431
+ # @param [Google::Apis::NetworkservicesV1::ExtensionBinding] extension_binding_object
1432
+ # @param [String] update_mask
1433
+ # Optional. Field mask is used to specify the fields to be overwritten in the `
1434
+ # ExtensionBinding` resource by the update. The fields specified in the
1435
+ # update_mask are relative to the resource, not the full request. A field will
1436
+ # be overwritten if it is in the mask. If the user does not provide a mask then
1437
+ # all fields will be overwritten.
1438
+ # @param [String] fields
1439
+ # Selector specifying which fields to include in a partial response.
1440
+ # @param [String] quota_user
1441
+ # Available to use for quota purposes for server-side applications. Can be any
1442
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1443
+ # @param [Google::Apis::RequestOptions] options
1444
+ # Request-specific options
1445
+ #
1446
+ # @yield [result, err] Result & error if block supplied
1447
+ # @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
1448
+ # @yieldparam err [StandardError] error object if request failed
1449
+ #
1450
+ # @return [Google::Apis::NetworkservicesV1::Operation]
1451
+ #
1452
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1453
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1454
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1455
+ def patch_project_location_extension_binding(name, extension_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1456
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1457
+ command.request_representation = Google::Apis::NetworkservicesV1::ExtensionBinding::Representation
1458
+ command.request_object = extension_binding_object
1459
+ command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
1460
+ command.response_class = Google::Apis::NetworkservicesV1::Operation
1461
+ command.params['name'] = name unless name.nil?
1462
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1463
+ command.query['fields'] = fields unless fields.nil?
1464
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1465
+ execute_or_queue_command(command, &block)
1466
+ end
1467
+
1283
1468
  # Creates a new Gateway in a given project and location.
1284
1469
  # @param [String] parent
1285
1470
  # Required. The parent resource of the Gateway. Must be in the format `projects/*
@@ -3438,6 +3623,150 @@ module Google
3438
3623
  execute_or_queue_command(command, &block)
3439
3624
  end
3440
3625
 
3626
+ # Creates a new `ProducerExtension` resource in a given project and location.
3627
+ # @param [String] parent
3628
+ # Required. The parent resource of the `ProducerExtension` resource. Must be in
3629
+ # the format `projects/`project`/locations/`location``.
3630
+ # @param [Google::Apis::NetworkservicesV1::ProducerExtension] producer_extension_object
3631
+ # @param [String] producer_extension_id
3632
+ # Required. Short name of the `ProducerExtension` resource to be created.
3633
+ # @param [String] fields
3634
+ # Selector specifying which fields to include in a partial response.
3635
+ # @param [String] quota_user
3636
+ # Available to use for quota purposes for server-side applications. Can be any
3637
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3638
+ # @param [Google::Apis::RequestOptions] options
3639
+ # Request-specific options
3640
+ #
3641
+ # @yield [result, err] Result & error if block supplied
3642
+ # @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
3643
+ # @yieldparam err [StandardError] error object if request failed
3644
+ #
3645
+ # @return [Google::Apis::NetworkservicesV1::Operation]
3646
+ #
3647
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3648
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3649
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3650
+ def create_project_location_producer_extension(parent, producer_extension_object = nil, producer_extension_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3651
+ command = make_simple_command(:post, 'v1/{+parent}/producerExtensions', options)
3652
+ command.request_representation = Google::Apis::NetworkservicesV1::ProducerExtension::Representation
3653
+ command.request_object = producer_extension_object
3654
+ command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
3655
+ command.response_class = Google::Apis::NetworkservicesV1::Operation
3656
+ command.params['parent'] = parent unless parent.nil?
3657
+ command.query['producerExtensionId'] = producer_extension_id unless producer_extension_id.nil?
3658
+ command.query['fields'] = fields unless fields.nil?
3659
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3660
+ execute_or_queue_command(command, &block)
3661
+ end
3662
+
3663
+ # Deletes the specified `ProducerExtension` resource.
3664
+ # @param [String] name
3665
+ # Required. A name of the `ProducerExtension` resource to delete. Must be in the
3666
+ # format `projects/`project`/locations/`location`/producerExtensions/`
3667
+ # producer_extension``.
3668
+ # @param [String] etag
3669
+ # Optional. The etag of the ProducerExtension to delete.
3670
+ # @param [String] fields
3671
+ # Selector specifying which fields to include in a partial response.
3672
+ # @param [String] quota_user
3673
+ # Available to use for quota purposes for server-side applications. Can be any
3674
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3675
+ # @param [Google::Apis::RequestOptions] options
3676
+ # Request-specific options
3677
+ #
3678
+ # @yield [result, err] Result & error if block supplied
3679
+ # @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
3680
+ # @yieldparam err [StandardError] error object if request failed
3681
+ #
3682
+ # @return [Google::Apis::NetworkservicesV1::Operation]
3683
+ #
3684
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3685
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3686
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3687
+ def delete_project_location_producer_extension(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
3688
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3689
+ command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
3690
+ command.response_class = Google::Apis::NetworkservicesV1::Operation
3691
+ command.params['name'] = name unless name.nil?
3692
+ command.query['etag'] = etag unless etag.nil?
3693
+ command.query['fields'] = fields unless fields.nil?
3694
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3695
+ execute_or_queue_command(command, &block)
3696
+ end
3697
+
3698
+ # Gets details of the specified `ProducerExtension` resource.
3699
+ # @param [String] name
3700
+ # Required. A name of the `ProducerExtension` resource to get. Must be in the
3701
+ # format `projects/`project`/locations/`location`/producerExtensions/`
3702
+ # producer_extension``.
3703
+ # @param [String] fields
3704
+ # Selector specifying which fields to include in a partial response.
3705
+ # @param [String] quota_user
3706
+ # Available to use for quota purposes for server-side applications. Can be any
3707
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3708
+ # @param [Google::Apis::RequestOptions] options
3709
+ # Request-specific options
3710
+ #
3711
+ # @yield [result, err] Result & error if block supplied
3712
+ # @yieldparam result [Google::Apis::NetworkservicesV1::ProducerExtension] parsed result object
3713
+ # @yieldparam err [StandardError] error object if request failed
3714
+ #
3715
+ # @return [Google::Apis::NetworkservicesV1::ProducerExtension]
3716
+ #
3717
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3718
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3719
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3720
+ def get_project_location_producer_extension(name, fields: nil, quota_user: nil, options: nil, &block)
3721
+ command = make_simple_command(:get, 'v1/{+name}', options)
3722
+ command.response_representation = Google::Apis::NetworkservicesV1::ProducerExtension::Representation
3723
+ command.response_class = Google::Apis::NetworkservicesV1::ProducerExtension
3724
+ command.params['name'] = name unless name.nil?
3725
+ command.query['fields'] = fields unless fields.nil?
3726
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3727
+ execute_or_queue_command(command, &block)
3728
+ end
3729
+
3730
+ # Lists `ProducerExtension` resources in a given project and location.
3731
+ # @param [String] parent
3732
+ # Required. The project and location from which the `ProducerExtension`
3733
+ # resources should be listed, specified in the format `projects/`project`/
3734
+ # locations/`location``.
3735
+ # @param [Fixnum] page_size
3736
+ # Optional. Maximum number of `ProducerExtension` resources to return per call.
3737
+ # @param [String] page_token
3738
+ # Optional. The value returned by the last `ListProducerExtensionsResponse`
3739
+ # Indicates that this is a continuation of a prior `ListProducerExtensions` call,
3740
+ # and that the system should return the next page of data.
3741
+ # @param [String] fields
3742
+ # Selector specifying which fields to include in a partial response.
3743
+ # @param [String] quota_user
3744
+ # Available to use for quota purposes for server-side applications. Can be any
3745
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3746
+ # @param [Google::Apis::RequestOptions] options
3747
+ # Request-specific options
3748
+ #
3749
+ # @yield [result, err] Result & error if block supplied
3750
+ # @yieldparam result [Google::Apis::NetworkservicesV1::ListProducerExtensionsResponse] parsed result object
3751
+ # @yieldparam err [StandardError] error object if request failed
3752
+ #
3753
+ # @return [Google::Apis::NetworkservicesV1::ListProducerExtensionsResponse]
3754
+ #
3755
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3756
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3757
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3758
+ def list_project_location_producer_extensions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3759
+ command = make_simple_command(:get, 'v1/{+parent}/producerExtensions', options)
3760
+ command.response_representation = Google::Apis::NetworkservicesV1::ListProducerExtensionsResponse::Representation
3761
+ command.response_class = Google::Apis::NetworkservicesV1::ListProducerExtensionsResponse
3762
+ command.params['parent'] = parent unless parent.nil?
3763
+ command.query['pageSize'] = page_size unless page_size.nil?
3764
+ command.query['pageToken'] = page_token unless page_token.nil?
3765
+ command.query['fields'] = fields unless fields.nil?
3766
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3767
+ execute_or_queue_command(command, &block)
3768
+ end
3769
+
3441
3770
  # Creates a new ServiceBinding in a given project and location.
3442
3771
  # @param [String] parent
3443
3772
  # Required. The parent resource of the ServiceBinding. Must be in the format `
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkservices_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.76.0
4
+ version: 0.77.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.76.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.77.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1
62
62
  rdoc_options: []
63
63
  require_paths: