google-apis-networkservices_v1 0.49.0 → 0.50.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: ec3c1f529045ae787786bd9216f8f2c243eb387b28972c15edaeaee38c628ce3
4
- data.tar.gz: 8260da9071eebc4df527f2ca18b4665e760c29e611e7127ef5c2203030d1afc9
3
+ metadata.gz: 115b278c9f08ce3e91a3d73c69947d2a7ace6224c1def3eaa98c9de0c077d1ec
4
+ data.tar.gz: 507c19c19aee05e2f9c60a66bcf7e3324a8a203434dc5ab3bb00ef34608964e6
5
5
  SHA512:
6
- metadata.gz: ab6c99396bb010bdf46027e2181290bfca59fa356e7b185f79a1654568194e7dc44964183494fde6f8200945a6fc016e456b261d51526bdce49c26fa8bd04e1d
7
- data.tar.gz: 1a239064e1f69e3354cd3e99ddf22884bcef0f32c16420fb8e38fef9a37e56182882e6505bb9adb38f8964581586a07c1df4ee8e284275d82a3f0d2ba0d36dd0
6
+ metadata.gz: b8c93a90f8405f15bde2b0c11da7fb795defb3aa738a2a302915e8a407c4f28b7a065c97592245cc3b861373050c3bec675e74c5d2feb99c114dbd8c80eb6e58
7
+ data.tar.gz: 900fef44377cf7564a0b9ea3a2e2030796c02e9eb46c535b5f717f86a7b24da7d2d4158fb56cbafccca2656a02fa0209471066346620125ba87e6d2687aa45d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkservices_v1
2
2
 
3
+ ### v0.50.0 (2024-11-17)
4
+
5
+ * Regenerated from discovery document revision 20241109
6
+
3
7
  ### v0.49.0 (2024-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20241010
@@ -93,6 +93,131 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
+ # `AuthzExtension` is a resource that allows traffic forwarding to a callout
97
+ # backend service to make an authorization decision.
98
+ class AuthzExtension
99
+ include Google::Apis::Core::Hashable
100
+
101
+ # Required. The `:authority` header in the gRPC request sent from Envoy to the
102
+ # extension service.
103
+ # Corresponds to the JSON property `authority`
104
+ # @return [String]
105
+ attr_accessor :authority
106
+
107
+ # Output only. The timestamp when the resource was created.
108
+ # Corresponds to the JSON property `createTime`
109
+ # @return [String]
110
+ attr_accessor :create_time
111
+
112
+ # Optional. A human-readable description of the resource.
113
+ # Corresponds to the JSON property `description`
114
+ # @return [String]
115
+ attr_accessor :description
116
+
117
+ # Optional. Determines how the proxy behaves if the call to the extension fails
118
+ # or times out. When set to `TRUE`, request or response processing continues
119
+ # without error. Any subsequent extensions in the extension chain are also
120
+ # executed. When set to `FALSE` or the default setting of `FALSE` is used, one
121
+ # of the following happens: * If response headers have not been delivered to the
122
+ # downstream client, a generic 500 error is returned to the client. The error
123
+ # response can be tailored by configuring a custom error response in the load
124
+ # balancer. * If response headers have been delivered, then the HTTP stream to
125
+ # the downstream client is reset.
126
+ # Corresponds to the JSON property `failOpen`
127
+ # @return [Boolean]
128
+ attr_accessor :fail_open
129
+ alias_method :fail_open?, :fail_open
130
+
131
+ # Optional. List of the HTTP headers to forward to the extension (from the
132
+ # client). If omitted, all headers are sent. Each element is a string indicating
133
+ # the header name.
134
+ # Corresponds to the JSON property `forwardHeaders`
135
+ # @return [Array<String>]
136
+ attr_accessor :forward_headers
137
+
138
+ # Optional. Set of labels associated with the `AuthzExtension` resource. The
139
+ # format must comply with [the requirements for labels](/compute/docs/labeling-
140
+ # resources#requirements) for Google Cloud resources.
141
+ # Corresponds to the JSON property `labels`
142
+ # @return [Hash<String,String>]
143
+ attr_accessor :labels
144
+
145
+ # Required. All backend services and forwarding rules referenced by this
146
+ # extension must share the same load balancing scheme. Supported values: `
147
+ # INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [Backend
148
+ # services overview](https://cloud.google.com/load-balancing/docs/backend-
149
+ # service).
150
+ # Corresponds to the JSON property `loadBalancingScheme`
151
+ # @return [String]
152
+ attr_accessor :load_balancing_scheme
153
+
154
+ # Optional. The metadata provided here is included as part of the `
155
+ # metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest`
156
+ # message sent to the extension server. The metadata is available under the
157
+ # namespace `com.google.authz_extension.`. The following variables are supported
158
+ # in the metadata Struct: ``forwarding_rule_id`` - substituted with the
159
+ # forwarding rule's fully qualified resource name.
160
+ # Corresponds to the JSON property `metadata`
161
+ # @return [Hash<String,Object>]
162
+ attr_accessor :metadata
163
+
164
+ # Required. Identifier. Name of the `AuthzExtension` resource in the following
165
+ # format: `projects/`project`/locations/`location`/authzExtensions/`
166
+ # authz_extension``.
167
+ # Corresponds to the JSON property `name`
168
+ # @return [String]
169
+ attr_accessor :name
170
+
171
+ # Required. The reference to the service that runs the extension. To configure a
172
+ # callout extension, `service` must be a fully-qualified reference to a [backend
173
+ # service](https://cloud.google.com/compute/docs/reference/rest/v1/
174
+ # backendServices) in the format: `https://www.googleapis.com/compute/v1/
175
+ # projects/`project`/regions/`region`/backendServices/`backendService`` or `
176
+ # https://www.googleapis.com/compute/v1/projects/`project`/global/
177
+ # backendServices/`backendService``.
178
+ # Corresponds to the JSON property `service`
179
+ # @return [String]
180
+ attr_accessor :service
181
+
182
+ # Required. Specifies the timeout for each individual message on the stream. The
183
+ # timeout must be between 10-10000 milliseconds.
184
+ # Corresponds to the JSON property `timeout`
185
+ # @return [String]
186
+ attr_accessor :timeout
187
+
188
+ # Output only. The timestamp when the resource was updated.
189
+ # Corresponds to the JSON property `updateTime`
190
+ # @return [String]
191
+ attr_accessor :update_time
192
+
193
+ # Optional. The format of communication supported by the callout extension. If
194
+ # not specified, the default is `EXT_PROC_GRPC`.
195
+ # Corresponds to the JSON property `wireFormat`
196
+ # @return [String]
197
+ attr_accessor :wire_format
198
+
199
+ def initialize(**args)
200
+ update!(**args)
201
+ end
202
+
203
+ # Update properties of this object
204
+ def update!(**args)
205
+ @authority = args[:authority] if args.key?(:authority)
206
+ @create_time = args[:create_time] if args.key?(:create_time)
207
+ @description = args[:description] if args.key?(:description)
208
+ @fail_open = args[:fail_open] if args.key?(:fail_open)
209
+ @forward_headers = args[:forward_headers] if args.key?(:forward_headers)
210
+ @labels = args[:labels] if args.key?(:labels)
211
+ @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
212
+ @metadata = args[:metadata] if args.key?(:metadata)
213
+ @name = args[:name] if args.key?(:name)
214
+ @service = args[:service] if args.key?(:service)
215
+ @timeout = args[:timeout] if args.key?(:timeout)
216
+ @update_time = args[:update_time] if args.key?(:update_time)
217
+ @wire_format = args[:wire_format] if args.key?(:wire_format)
218
+ end
219
+ end
220
+
96
221
  # Associates `members`, or principals, with a `role`.
97
222
  class Binding
98
223
  include Google::Apis::Core::Hashable
@@ -504,7 +629,7 @@ module Google
504
629
 
505
630
  # Optional. The `:authority` header in the gRPC request sent from Envoy to the
506
631
  # extension service. Required for Callout extensions. This field is not
507
- # supported for plugin extensions and must not be set.
632
+ # supported for plugin extensions. Setting it results in a validation error.
508
633
  # Corresponds to the JSON property `authority`
509
634
  # @return [String]
510
635
  attr_accessor :authority
@@ -537,7 +662,7 @@ module Google
537
662
  # lbtrafficextension1.chain1.ext1`. The following variables are supported in the
538
663
  # metadata: ``forwarding_rule_id`` - substituted with the forwarding rule's
539
664
  # fully qualified resource name. This field is not supported for plugin
540
- # extensions and must not be set.
665
+ # extensions. Setting it results in a validation error.
541
666
  # Corresponds to the JSON property `metadata`
542
667
  # @return [Hash<String,Object>]
543
668
  attr_accessor :metadata
@@ -551,32 +676,35 @@ module Google
551
676
  # @return [String]
552
677
  attr_accessor :name
553
678
 
554
- # Required. The reference to the service that runs the extension. Currently only
555
- # callout extensions are supported here. To configure a callout extension, `
556
- # service` must be a fully-qualified reference to a [backend service](https://
557
- # cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format:
558
- # `https://www.googleapis.com/compute/v1/projects/`project`/regions/`region`/
559
- # backendServices/`backendService`` or `https://www.googleapis.com/compute/v1/
560
- # projects/`project`/global/backendServices/`backendService``. To configure a
561
- # plugin extension, this must be a reference to a [wasm plugin](https://cloud.
562
- # google.com/service-extensions/docs/reference/rest/v1beta1/projects.locations.
563
- # wasmPlugins) in the format: `projects/`project`/locations/`location`/
564
- # wasmPlugins/`plugin`` or `//networkservices.googleapis.com/projects/`project`/
565
- # locations/`location`/wasmPlugins/`wasmPlugin``.
679
+ # Required. The reference to the service that runs the extension. To configure a
680
+ # callout extension, `service` must be a fully-qualified reference to a [backend
681
+ # service](https://cloud.google.com/compute/docs/reference/rest/v1/
682
+ # backendServices) in the format: `https://www.googleapis.com/compute/v1/
683
+ # projects/`project`/regions/`region`/backendServices/`backendService`` or `
684
+ # https://www.googleapis.com/compute/v1/projects/`project`/global/
685
+ # backendServices/`backendService``. To configure a plugin extension, `service`
686
+ # must be a reference to a [`WasmPlugin` resource](https://cloud.google.com/
687
+ # service-extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins)
688
+ # in the format: `projects/`project`/locations/`location`/wasmPlugins/`plugin``
689
+ # or `//networkservices.googleapis.com/projects/`project`/locations/`location`/
690
+ # wasmPlugins/`wasmPlugin``. Plugin extensions are currently supported for the `
691
+ # LbTrafficExtension` and the `LbRouteExtension` resources.
566
692
  # Corresponds to the JSON property `service`
567
693
  # @return [String]
568
694
  attr_accessor :service
569
695
 
570
696
  # Optional. A set of events during request or response processing for which this
571
697
  # extension is called. This field is required for the `LbTrafficExtension`
572
- # resource. It must not be set for the `LbRouteExtension` resource.
698
+ # resource. It must not be set for the `LbRouteExtension` resource, otherwise a
699
+ # validation error is returned.
573
700
  # Corresponds to the JSON property `supportedEvents`
574
701
  # @return [Array<String>]
575
702
  attr_accessor :supported_events
576
703
 
577
704
  # Optional. Specifies the timeout for each individual message on the stream. The
578
- # timeout must be between 10-1000 milliseconds. Required for callout extensions.
579
- # This field is not supported for plugin extensions and must not be set.
705
+ # timeout must be between `10`-`1000` milliseconds. Required for callout
706
+ # extensions. This field is not supported for plugin extensions. Setting it
707
+ # results in a validation error.
580
708
  # Corresponds to the JSON property `timeout`
581
709
  # @return [String]
582
710
  attr_accessor :timeout
@@ -772,6 +900,51 @@ module Google
772
900
  end
773
901
  end
774
902
 
903
+ # GatewayRouteView defines view-only resource for Routes to a Gateway
904
+ class GatewayRouteView
905
+ include Google::Apis::Core::Hashable
906
+
907
+ # Output only. Identifier. Full path name of the GatewayRouteView resource.
908
+ # Format: projects/`project_number`/locations/`location`/gateways/`gateway_name`/
909
+ # routeViews/`route_view_name`
910
+ # Corresponds to the JSON property `name`
911
+ # @return [String]
912
+ attr_accessor :name
913
+
914
+ # Output only. The resource id for the route.
915
+ # Corresponds to the JSON property `routeId`
916
+ # @return [String]
917
+ attr_accessor :route_id
918
+
919
+ # Output only. Location where the route exists.
920
+ # Corresponds to the JSON property `routeLocation`
921
+ # @return [String]
922
+ attr_accessor :route_location
923
+
924
+ # Output only. Project number where the route exists.
925
+ # Corresponds to the JSON property `routeProjectNumber`
926
+ # @return [Fixnum]
927
+ attr_accessor :route_project_number
928
+
929
+ # Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
930
+ # Corresponds to the JSON property `routeType`
931
+ # @return [String]
932
+ attr_accessor :route_type
933
+
934
+ def initialize(**args)
935
+ update!(**args)
936
+ end
937
+
938
+ # Update properties of this object
939
+ def update!(**args)
940
+ @name = args[:name] if args.key?(:name)
941
+ @route_id = args[:route_id] if args.key?(:route_id)
942
+ @route_location = args[:route_location] if args.key?(:route_location)
943
+ @route_project_number = args[:route_project_number] if args.key?(:route_project_number)
944
+ @route_type = args[:route_type] if args.key?(:route_type)
945
+ end
946
+ end
947
+
775
948
  # GrpcRoute is the resource defining how gRPC traffic routed by a Mesh or
776
949
  # Gateway resource is routed.
777
950
  class GrpcRoute
@@ -2179,8 +2352,8 @@ module Google
2179
2352
  attr_accessor :extension_chains
2180
2353
 
2181
2354
  # Required. A list of references to the forwarding rules to which this service
2182
- # extension is attached to. At least one forwarding rule is required. There can
2183
- # be only one `LbRouteExtension` resource per forwarding rule.
2355
+ # extension is attached. At least one forwarding rule is required. There can be
2356
+ # only one `LbRouteExtension` resource per forwarding rule.
2184
2357
  # Corresponds to the JSON property `forwardingRules`
2185
2358
  # @return [Array<String>]
2186
2359
  attr_accessor :forwarding_rules
@@ -2207,7 +2380,7 @@ module Google
2207
2380
  # namespace `com.google.lb_route_extension.`. The following variables are
2208
2381
  # supported in the metadata Struct: ``forwarding_rule_id`` - substituted with
2209
2382
  # the forwarding rule's fully qualified resource name. This field is not
2210
- # supported for plugin extensions and must not be set.
2383
+ # supported for plugin extensions. Setting it results in a validation error.
2211
2384
  # Corresponds to the JSON property `metadata`
2212
2385
  # @return [Hash<String,Object>]
2213
2386
  attr_accessor :metadata
@@ -2268,9 +2441,9 @@ module Google
2268
2441
  # @return [Array<Google::Apis::NetworkservicesV1::ExtensionChain>]
2269
2442
  attr_accessor :extension_chains
2270
2443
 
2271
- # Required. A list of references to the forwarding rules to which this service
2272
- # extension is attached to. At least one forwarding rule is required. There can
2273
- # be only one `LBTrafficExtension` resource per forwarding rule.
2444
+ # Optional. A list of references to the forwarding rules to which this service
2445
+ # extension is attached. At least one forwarding rule is required. There can be
2446
+ # only one `LBTrafficExtension` resource per forwarding rule.
2274
2447
  # Corresponds to the JSON property `forwardingRules`
2275
2448
  # @return [Array<String>]
2276
2449
  attr_accessor :forwarding_rules
@@ -2296,7 +2469,7 @@ module Google
2296
2469
  # the key `com.google.lb_traffic_extension.`. The following variables are
2297
2470
  # supported in the metadata: ``forwarding_rule_id`` - substituted with the
2298
2471
  # forwarding rule's fully qualified resource name. This field is not supported
2299
- # for plugin extensions and must not be set.
2472
+ # for plugin extensions. Setting it results in a validation error.
2300
2473
  # Corresponds to the JSON property `metadata`
2301
2474
  # @return [Hash<String,Object>]
2302
2475
  attr_accessor :metadata
@@ -2331,6 +2504,37 @@ module Google
2331
2504
  end
2332
2505
  end
2333
2506
 
2507
+ # Message for response to listing `AuthzExtension` resources.
2508
+ class ListAuthzExtensionsResponse
2509
+ include Google::Apis::Core::Hashable
2510
+
2511
+ # The list of `AuthzExtension` resources.
2512
+ # Corresponds to the JSON property `authzExtensions`
2513
+ # @return [Array<Google::Apis::NetworkservicesV1::AuthzExtension>]
2514
+ attr_accessor :authz_extensions
2515
+
2516
+ # A token identifying a page of results that the server returns.
2517
+ # Corresponds to the JSON property `nextPageToken`
2518
+ # @return [String]
2519
+ attr_accessor :next_page_token
2520
+
2521
+ # Locations that could not be reached.
2522
+ # Corresponds to the JSON property `unreachable`
2523
+ # @return [Array<String>]
2524
+ attr_accessor :unreachable
2525
+
2526
+ def initialize(**args)
2527
+ update!(**args)
2528
+ end
2529
+
2530
+ # Update properties of this object
2531
+ def update!(**args)
2532
+ @authz_extensions = args[:authz_extensions] if args.key?(:authz_extensions)
2533
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2534
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2535
+ end
2536
+ end
2537
+
2334
2538
  # Response returned by the ListEndpointPolicies method.
2335
2539
  class ListEndpointPoliciesResponse
2336
2540
  include Google::Apis::Core::Hashable
@@ -2358,6 +2562,32 @@ module Google
2358
2562
  end
2359
2563
  end
2360
2564
 
2565
+ # Response returned by the ListGatewayRouteViews method.
2566
+ class ListGatewayRouteViewsResponse
2567
+ include Google::Apis::Core::Hashable
2568
+
2569
+ # List of GatewayRouteView resources.
2570
+ # Corresponds to the JSON property `gatewayRouteViews`
2571
+ # @return [Array<Google::Apis::NetworkservicesV1::GatewayRouteView>]
2572
+ attr_accessor :gateway_route_views
2573
+
2574
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2575
+ # field is omitted, there are no subsequent pages.
2576
+ # Corresponds to the JSON property `nextPageToken`
2577
+ # @return [String]
2578
+ attr_accessor :next_page_token
2579
+
2580
+ def initialize(**args)
2581
+ update!(**args)
2582
+ end
2583
+
2584
+ # Update properties of this object
2585
+ def update!(**args)
2586
+ @gateway_route_views = args[:gateway_route_views] if args.key?(:gateway_route_views)
2587
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2588
+ end
2589
+ end
2590
+
2361
2591
  # Response returned by the ListGateways method.
2362
2592
  class ListGatewaysResponse
2363
2593
  include Google::Apis::Core::Hashable
@@ -2532,6 +2762,32 @@ module Google
2532
2762
  end
2533
2763
  end
2534
2764
 
2765
+ # Response returned by the ListMeshRouteViews method.
2766
+ class ListMeshRouteViewsResponse
2767
+ include Google::Apis::Core::Hashable
2768
+
2769
+ # List of MeshRouteView resources.
2770
+ # Corresponds to the JSON property `meshRouteViews`
2771
+ # @return [Array<Google::Apis::NetworkservicesV1::MeshRouteView>]
2772
+ attr_accessor :mesh_route_views
2773
+
2774
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2775
+ # field is omitted, there are no subsequent pages.
2776
+ # Corresponds to the JSON property `nextPageToken`
2777
+ # @return [String]
2778
+ attr_accessor :next_page_token
2779
+
2780
+ def initialize(**args)
2781
+ update!(**args)
2782
+ end
2783
+
2784
+ # Update properties of this object
2785
+ def update!(**args)
2786
+ @mesh_route_views = args[:mesh_route_views] if args.key?(:mesh_route_views)
2787
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2788
+ end
2789
+ end
2790
+
2535
2791
  # Response returned by the ListMeshes method.
2536
2792
  class ListMeshesResponse
2537
2793
  include Google::Apis::Core::Hashable
@@ -2885,6 +3141,51 @@ module Google
2885
3141
  end
2886
3142
  end
2887
3143
 
3144
+ # MeshRouteView defines view-only resource for Routes to a Mesh
3145
+ class MeshRouteView
3146
+ include Google::Apis::Core::Hashable
3147
+
3148
+ # Output only. Identifier. Full path name of the MeshRouteView resource. Format:
3149
+ # projects/`project_number`/locations/`location`/meshes/`mesh_name`/routeViews/`
3150
+ # route_view_name`
3151
+ # Corresponds to the JSON property `name`
3152
+ # @return [String]
3153
+ attr_accessor :name
3154
+
3155
+ # Output only. The resource id for the route.
3156
+ # Corresponds to the JSON property `routeId`
3157
+ # @return [String]
3158
+ attr_accessor :route_id
3159
+
3160
+ # Output only. Location where the route exists.
3161
+ # Corresponds to the JSON property `routeLocation`
3162
+ # @return [String]
3163
+ attr_accessor :route_location
3164
+
3165
+ # Output only. Project number where the route exists.
3166
+ # Corresponds to the JSON property `routeProjectNumber`
3167
+ # @return [Fixnum]
3168
+ attr_accessor :route_project_number
3169
+
3170
+ # Output only. Type of the route: HttpRoute,GrpcRoute,TcpRoute, or TlsRoute
3171
+ # Corresponds to the JSON property `routeType`
3172
+ # @return [String]
3173
+ attr_accessor :route_type
3174
+
3175
+ def initialize(**args)
3176
+ update!(**args)
3177
+ end
3178
+
3179
+ # Update properties of this object
3180
+ def update!(**args)
3181
+ @name = args[:name] if args.key?(:name)
3182
+ @route_id = args[:route_id] if args.key?(:route_id)
3183
+ @route_location = args[:route_location] if args.key?(:route_location)
3184
+ @route_project_number = args[:route_project_number] if args.key?(:route_project_number)
3185
+ @route_type = args[:route_type] if args.key?(:route_type)
3186
+ end
3187
+ end
3188
+
2888
3189
  # This resource represents a long-running operation that is the result of a
2889
3190
  # network API call.
2890
3191
  class Operation
@@ -3875,8 +4176,8 @@ module Google
3875
4176
  # @return [Hash<String,String>]
3876
4177
  attr_accessor :labels
3877
4178
 
3878
- # Specifies the logging options for the activity performed by this `WasmPlugin`.
3879
- # If logging is enabled, plugin logs are exported to Cloud Logging.
4179
+ # Specifies the logging options for the activity performed by this plugin. If
4180
+ # logging is enabled, plugin logs are exported to Cloud Logging.
3880
4181
  # Corresponds to the JSON property `logConfig`
3881
4182
  # @return [Google::Apis::NetworkservicesV1::WasmPluginLogConfig]
3882
4183
  attr_accessor :log_config
@@ -3899,22 +4200,23 @@ module Google
3899
4200
  # @return [String]
3900
4201
  attr_accessor :update_time
3901
4202
 
3902
- # Output only. List of all [Service Extensions](https://cloud.google.com/service-
3903
- # extensions/docs/overview) that use this `WasmPlugin`.
4203
+ # Output only. List of all [extensions](https://cloud.google.com/service-
4204
+ # extensions/docs/overview) that use this `WasmPlugin` resource.
3904
4205
  # Corresponds to the JSON property `usedBy`
3905
4206
  # @return [Array<Google::Apis::NetworkservicesV1::WasmPluginUsedBy>]
3906
4207
  attr_accessor :used_by
3907
4208
 
3908
- # Optional. All versions of this `WasmPlugin` in the key-value format. The key
3909
- # is the resource ID, the value is the `VersionDetails`. Allows to create or
3910
- # update `WasmPlugin` and its WasmPluginVersions in a single request. When the `
3911
- # main_version_id` field is not empty it must point to one of the VersionDetails
3912
- # in the map. If provided in the update request, the new versions replace the
3913
- # previous set. Any version omitted from the `versions` will be removed. Since
3914
- # the `WasmPluginVersion` resource is immutable, if the WasmPluginVersion with
3915
- # the same name already exists and differs the Update request will fail. Note:
3916
- # In the GET request, this field is populated only if the GetWasmPluginRequest.
3917
- # view is set to WASM_PLUGIN_VIEW_FULL.
4209
+ # Optional. All versions of this `WasmPlugin` resource in the key-value format.
4210
+ # The key is the resource ID, and the value is the `VersionDetails` object. Lets
4211
+ # you create or update a `WasmPlugin` resource and its versions in a single
4212
+ # request. When the `main_version_id` field is not empty, it must point to one
4213
+ # of the `VersionDetails` objects in the map. If provided in a `PATCH` request,
4214
+ # the new versions replace the previous set. Any version omitted from the `
4215
+ # versions` field is removed. Because the `WasmPluginVersion` resource is
4216
+ # immutable, if a `WasmPluginVersion` resource with the same name already exists
4217
+ # and differs, the request fails. Note: In a `GET` request, this field is
4218
+ # populated only if the field `GetWasmPluginRequest.view` is set to `
4219
+ # WASM_PLUGIN_VIEW_FULL`.
3918
4220
  # Corresponds to the JSON property `versions`
3919
4221
  # @return [Hash<String,Google::Apis::NetworkservicesV1::WasmPluginVersionDetails>]
3920
4222
  attr_accessor :versions
@@ -3937,13 +4239,13 @@ module Google
3937
4239
  end
3938
4240
  end
3939
4241
 
3940
- # Specifies the logging options for the activity performed by this `WasmPlugin`.
3941
- # If logging is enabled, plugin logs are exported to Cloud Logging.
4242
+ # Specifies the logging options for the activity performed by this plugin. If
4243
+ # logging is enabled, plugin logs are exported to Cloud Logging.
3942
4244
  class WasmPluginLogConfig
3943
4245
  include Google::Apis::Core::Hashable
3944
4246
 
3945
- # Optional. Specifies whether to enable logging for activity by this `WasmPlugin`
3946
- # . Defaults to `false`.
4247
+ # Optional. Specifies whether to enable logging for activity by this plugin.
4248
+ # Defaults to `false`.
3947
4249
  # Corresponds to the JSON property `enable`
3948
4250
  # @return [Boolean]
3949
4251
  attr_accessor :enable
@@ -3952,8 +4254,8 @@ module Google
3952
4254
  # Non-empty default. Specificies the lowest level of the plugin logs that are
3953
4255
  # exported to Cloud Logging. This setting relates to the logs generated by using
3954
4256
  # logging statements in your Wasm code. This field is can be set only if logging
3955
- # is enabled for the `WasmPlugin` resource. If the field is not provided when
3956
- # logging is enabled, it is set to `INFO` by default.
4257
+ # is enabled for the plugin. If the field is not provided when logging is
4258
+ # enabled, it is set to `INFO` by default.
3957
4259
  # Corresponds to the JSON property `minLogLevel`
3958
4260
  # @return [String]
3959
4261
  attr_accessor :min_log_level
@@ -3963,7 +4265,7 @@ module Google
3963
4265
  # A floating point value between `0.0` and `1.0` indicates that a percentage of
3964
4266
  # log messages is stored. The default value when logging is enabled is `1.0`.
3965
4267
  # The value of the field must be between `0` and `1` (inclusive). This field can
3966
- # only be specified if logging is enabled for this `WasmPlugin`.
4268
+ # be specified only if logging is enabled for this plugin.
3967
4269
  # Corresponds to the JSON property `sampleRate`
3968
4270
  # @return [Float]
3969
4271
  attr_accessor :sample_rate
@@ -3980,13 +4282,13 @@ module Google
3980
4282
  end
3981
4283
  end
3982
4284
 
3983
- # Defines a resource that uses the `WasmPlugin`.
4285
+ # Defines a resource that uses the `WasmPlugin` resource.
3984
4286
  class WasmPluginUsedBy
3985
4287
  include Google::Apis::Core::Hashable
3986
4288
 
3987
4289
  # Output only. Full name of the resource https://google.aip.dev/122#full-
3988
- # resource-names, e.g. `//networkservices.googleapis.com/projects/`project`/
3989
- # locations/`location`/lbRouteExtensions/`extension``
4290
+ # resource-names, for example `//networkservices.googleapis.com/projects/`
4291
+ # project`/locations/`location`/lbRouteExtensions/`extension``
3990
4292
  # Corresponds to the JSON property `name`
3991
4293
  # @return [String]
3992
4294
  attr_accessor :name
@@ -4001,8 +4303,8 @@ module Google
4001
4303
  end
4002
4304
  end
4003
4305
 
4004
- # A single immutable version of a `WasmPlugin`. Defines the Wasm module used and
4005
- # optionally its runtime config.
4306
+ # A single immutable version of a `WasmPlugin` resource. Defines the Wasm module
4307
+ # used and optionally its runtime config.
4006
4308
  class WasmPluginVersion
4007
4309
  include Google::Apis::Core::Hashable
4008
4310
 
@@ -4016,15 +4318,15 @@ module Google
4016
4318
  # @return [String]
4017
4319
  attr_accessor :description
4018
4320
 
4019
- # Output only. The resolved digest for the image specified in `image`. The
4020
- # digest is resolved during the creation of `WasmPluginVersion` resource. This
4021
- # field holds the digest value regardless of whether a tag or digest was
4321
+ # Output only. The resolved digest for the image specified in the `image` field.
4322
+ # The digest is resolved during the creation of `WasmPluginVersion` resource.
4323
+ # This field holds the digest value, regardless of whether a tag or digest was
4022
4324
  # originally specified in the `image` field.
4023
4325
  # Corresponds to the JSON property `imageDigest`
4024
4326
  # @return [String]
4025
4327
  attr_accessor :image_digest
4026
4328
 
4027
- # Optional. URI of the container image containing the Wasm plugin, stored in the
4329
+ # Optional. URI of the container image containing the plugin, stored in the
4028
4330
  # Artifact Registry. When a new `WasmPluginVersion` resource is created, the
4029
4331
  # digest of the container image is saved in the `image_digest` field. When
4030
4332
  # downloading an image, the digest value is used instead of an image tag.
@@ -4044,24 +4346,24 @@ module Google
4044
4346
  # @return [String]
4045
4347
  attr_accessor :name
4046
4348
 
4047
- # Configuration for the Wasm plugin. The configuration is provided to the Wasm
4048
- # plugin at runtime through the `ON_CONFIGURE` callback. When a new `
4049
- # WasmPluginVersion` resource is created, the digest of the contents is saved in
4050
- # the `plugin_config_digest` field.
4349
+ # Configuration for the plugin. The configuration is provided to the plugin at
4350
+ # runtime through the `ON_CONFIGURE` callback. When a new `WasmPluginVersion`
4351
+ # resource is created, the digest of the contents is saved in the `
4352
+ # plugin_config_digest` field.
4051
4353
  # Corresponds to the JSON property `pluginConfigData`
4052
4354
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
4053
4355
  # @return [String]
4054
4356
  attr_accessor :plugin_config_data
4055
4357
 
4056
4358
  # Output only. This field holds the digest (usually checksum) value for the
4057
- # plugin configuration. The value is calculated based on the contents of the `
4359
+ # plugin configuration. The value is calculated based on the contents of `
4058
4360
  # plugin_config_data` or the container image defined by the `plugin_config_uri`
4059
4361
  # field.
4060
4362
  # Corresponds to the JSON property `pluginConfigDigest`
4061
4363
  # @return [String]
4062
4364
  attr_accessor :plugin_config_digest
4063
4365
 
4064
- # URI of the Wasm plugin configuration stored in the Artifact Registry. The
4366
+ # URI of the plugin configuration stored in the Artifact Registry. The
4065
4367
  # configuration is provided to the plugin at runtime through the `ON_CONFIGURE`
4066
4368
  # callback. The container image must contain only a single file with the name `
4067
4369
  # plugin.config`. When a new `WasmPluginVersion` resource is created, the digest
@@ -4130,10 +4432,10 @@ module Google
4130
4432
  # @return [Hash<String,String>]
4131
4433
  attr_accessor :labels
4132
4434
 
4133
- # Configuration for the Wasm plugin. The configuration is provided to the Wasm
4134
- # plugin at runtime through the `ON_CONFIGURE` callback. When a new `
4135
- # WasmPluginVersion` version is created, the digest of the contents is saved in
4136
- # the `plugin_config_digest` field.
4435
+ # Configuration for the plugin. The configuration is provided to the plugin at
4436
+ # runtime through the `ON_CONFIGURE` callback. When a new `WasmPluginVersion`
4437
+ # version is created, the digest of the contents is saved in the `
4438
+ # plugin_config_digest` field.
4137
4439
  # Corresponds to the JSON property `pluginConfigData`
4138
4440
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
4139
4441
  # @return [String]
@@ -4141,18 +4443,17 @@ module Google
4141
4443
 
4142
4444
  # Output only. This field holds the digest (usually checksum) value for the
4143
4445
  # plugin configuration. The value is calculated based on the contents of the `
4144
- # plugin_config_data` or the container image defined by the `plugin_config_uri`
4145
- # field.
4446
+ # plugin_config_data` field or the container image defined by the `
4447
+ # plugin_config_uri` field.
4146
4448
  # Corresponds to the JSON property `pluginConfigDigest`
4147
4449
  # @return [String]
4148
4450
  attr_accessor :plugin_config_digest
4149
4451
 
4150
- # URI of the WasmPlugin configuration stored in the Artifact Registry. The
4151
- # configuration is provided to the Wasm plugin at runtime through the `
4152
- # ON_CONFIGURE` callback. The container image must contain only a single file
4153
- # with the name `plugin.config`. When a new `WasmPluginVersion` resource is
4154
- # created, the digest of the container image is saved in the `
4155
- # plugin_config_digest` field.
4452
+ # URI of the plugin configuration stored in the Artifact Registry. The
4453
+ # configuration is provided to the plugin at runtime through the `ON_CONFIGURE`
4454
+ # callback. The container image must contain only a single file with the name `
4455
+ # plugin.config`. When a new `WasmPluginVersion` resource is created, the digest
4456
+ # of the container image is saved in the `plugin_config_digest` field.
4156
4457
  # Corresponds to the JSON property `pluginConfigUri`
4157
4458
  # @return [String]
4158
4459
  attr_accessor :plugin_config_uri
@@ -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.49.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241010"
25
+ REVISION = "20241109"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AuthzExtension
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Binding
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -106,6 +112,12 @@ module Google
106
112
  include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
115
+ class GatewayRouteView
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
109
121
  class GrpcRoute
110
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
123
 
@@ -304,12 +316,24 @@ module Google
304
316
  include Google::Apis::Core::JsonObjectSupport
305
317
  end
306
318
 
319
+ class ListAuthzExtensionsResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
307
325
  class ListEndpointPoliciesResponse
308
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
327
 
310
328
  include Google::Apis::Core::JsonObjectSupport
311
329
  end
312
330
 
331
+ class ListGatewayRouteViewsResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
313
337
  class ListGatewaysResponse
314
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
339
 
@@ -346,6 +370,12 @@ module Google
346
370
  include Google::Apis::Core::JsonObjectSupport
347
371
  end
348
372
 
373
+ class ListMeshRouteViewsResponse
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
349
379
  class ListMeshesResponse
350
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
381
 
@@ -412,6 +442,12 @@ module Google
412
442
  include Google::Apis::Core::JsonObjectSupport
413
443
  end
414
444
 
445
+ class MeshRouteView
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
415
451
  class Operation
416
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
453
 
@@ -597,6 +633,25 @@ module Google
597
633
  end
598
634
  end
599
635
 
636
+ class AuthzExtension
637
+ # @private
638
+ class Representation < Google::Apis::Core::JsonRepresentation
639
+ property :authority, as: 'authority'
640
+ property :create_time, as: 'createTime'
641
+ property :description, as: 'description'
642
+ property :fail_open, as: 'failOpen'
643
+ collection :forward_headers, as: 'forwardHeaders'
644
+ hash :labels, as: 'labels'
645
+ property :load_balancing_scheme, as: 'loadBalancingScheme'
646
+ hash :metadata, as: 'metadata'
647
+ property :name, as: 'name'
648
+ property :service, as: 'service'
649
+ property :timeout, as: 'timeout'
650
+ property :update_time, as: 'updateTime'
651
+ property :wire_format, as: 'wireFormat'
652
+ end
653
+ end
654
+
600
655
  class Binding
601
656
  # @private
602
657
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -729,6 +784,17 @@ module Google
729
784
  end
730
785
  end
731
786
 
787
+ class GatewayRouteView
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :name, as: 'name'
791
+ property :route_id, as: 'routeId'
792
+ property :route_location, as: 'routeLocation'
793
+ property :route_project_number, :numeric_string => true, as: 'routeProjectNumber'
794
+ property :route_type, as: 'routeType'
795
+ end
796
+ end
797
+
732
798
  class GrpcRoute
733
799
  # @private
734
800
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1102,6 +1168,16 @@ module Google
1102
1168
  end
1103
1169
  end
1104
1170
 
1171
+ class ListAuthzExtensionsResponse
1172
+ # @private
1173
+ class Representation < Google::Apis::Core::JsonRepresentation
1174
+ collection :authz_extensions, as: 'authzExtensions', class: Google::Apis::NetworkservicesV1::AuthzExtension, decorator: Google::Apis::NetworkservicesV1::AuthzExtension::Representation
1175
+
1176
+ property :next_page_token, as: 'nextPageToken'
1177
+ collection :unreachable, as: 'unreachable'
1178
+ end
1179
+ end
1180
+
1105
1181
  class ListEndpointPoliciesResponse
1106
1182
  # @private
1107
1183
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1111,6 +1187,15 @@ module Google
1111
1187
  end
1112
1188
  end
1113
1189
 
1190
+ class ListGatewayRouteViewsResponse
1191
+ # @private
1192
+ class Representation < Google::Apis::Core::JsonRepresentation
1193
+ collection :gateway_route_views, as: 'gatewayRouteViews', class: Google::Apis::NetworkservicesV1::GatewayRouteView, decorator: Google::Apis::NetworkservicesV1::GatewayRouteView::Representation
1194
+
1195
+ property :next_page_token, as: 'nextPageToken'
1196
+ end
1197
+ end
1198
+
1114
1199
  class ListGatewaysResponse
1115
1200
  # @private
1116
1201
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1168,6 +1253,15 @@ module Google
1168
1253
  end
1169
1254
  end
1170
1255
 
1256
+ class ListMeshRouteViewsResponse
1257
+ # @private
1258
+ class Representation < Google::Apis::Core::JsonRepresentation
1259
+ collection :mesh_route_views, as: 'meshRouteViews', class: Google::Apis::NetworkservicesV1::MeshRouteView, decorator: Google::Apis::NetworkservicesV1::MeshRouteView::Representation
1260
+
1261
+ property :next_page_token, as: 'nextPageToken'
1262
+ end
1263
+ end
1264
+
1171
1265
  class ListMeshesResponse
1172
1266
  # @private
1173
1267
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1272,6 +1366,17 @@ module Google
1272
1366
  end
1273
1367
  end
1274
1368
 
1369
+ class MeshRouteView
1370
+ # @private
1371
+ class Representation < Google::Apis::Core::JsonRepresentation
1372
+ property :name, as: 'name'
1373
+ property :route_id, as: 'routeId'
1374
+ property :route_location, as: 'routeLocation'
1375
+ property :route_project_number, :numeric_string => true, as: 'routeProjectNumber'
1376
+ property :route_type, as: 'routeType'
1377
+ end
1378
+ end
1379
+
1275
1380
  class Operation
1276
1381
  # @private
1277
1382
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -124,6 +124,229 @@ module Google
124
124
  execute_or_queue_command(command, &block)
125
125
  end
126
126
 
127
+ # Creates a new `AuthzExtension` resource in a given project and location.
128
+ # @param [String] parent
129
+ # Required. The parent resource of the `AuthzExtension` resource. Must be in the
130
+ # format `projects/`project`/locations/`location``.
131
+ # @param [Google::Apis::NetworkservicesV1::AuthzExtension] authz_extension_object
132
+ # @param [String] authz_extension_id
133
+ # Required. User-provided ID of the `AuthzExtension` resource to be created.
134
+ # @param [String] request_id
135
+ # Optional. An optional request ID to identify requests. Specify a unique
136
+ # request ID so that if you must retry your request, the server can ignore the
137
+ # request if it has already been completed. The server guarantees that for at
138
+ # least 60 minutes since the first request. For example, consider a situation
139
+ # where you make an initial request and the request times out. If you make the
140
+ # request again with the same request ID, the server can check if original
141
+ # operation with the same request ID was received, and if so, ignores the second
142
+ # request. This prevents clients from accidentally creating duplicate
143
+ # commitments. The request ID must be a valid UUID with the exception that zero
144
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
145
+ # @param [String] fields
146
+ # Selector specifying which fields to include in a partial response.
147
+ # @param [String] quota_user
148
+ # Available to use for quota purposes for server-side applications. Can be any
149
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
150
+ # @param [Google::Apis::RequestOptions] options
151
+ # Request-specific options
152
+ #
153
+ # @yield [result, err] Result & error if block supplied
154
+ # @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
155
+ # @yieldparam err [StandardError] error object if request failed
156
+ #
157
+ # @return [Google::Apis::NetworkservicesV1::Operation]
158
+ #
159
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
160
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
161
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
162
+ def create_project_location_authz_extension(parent, authz_extension_object = nil, authz_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
163
+ command = make_simple_command(:post, 'v1/{+parent}/authzExtensions', options)
164
+ command.request_representation = Google::Apis::NetworkservicesV1::AuthzExtension::Representation
165
+ command.request_object = authz_extension_object
166
+ command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
167
+ command.response_class = Google::Apis::NetworkservicesV1::Operation
168
+ command.params['parent'] = parent unless parent.nil?
169
+ command.query['authzExtensionId'] = authz_extension_id unless authz_extension_id.nil?
170
+ command.query['requestId'] = request_id unless request_id.nil?
171
+ command.query['fields'] = fields unless fields.nil?
172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
173
+ execute_or_queue_command(command, &block)
174
+ end
175
+
176
+ # Deletes the specified `AuthzExtension` resource.
177
+ # @param [String] name
178
+ # Required. The name of the `AuthzExtension` resource to delete. Must be in the
179
+ # format `projects/`project`/locations/`location`/authzExtensions/`
180
+ # authz_extension``.
181
+ # @param [String] request_id
182
+ # Optional. An optional request ID to identify requests. Specify a unique
183
+ # request ID so that if you must retry your request, the server can ignore the
184
+ # request if it has already been completed. The server guarantees that for at
185
+ # least 60 minutes after the first request. For example, consider a situation
186
+ # where you make an initial request and the request times out. If you make the
187
+ # request again with the same request ID, the server can check if original
188
+ # operation with the same request ID was received, and if so, ignores the second
189
+ # request. This prevents clients from accidentally creating duplicate
190
+ # commitments. The request ID must be a valid UUID with the exception that zero
191
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
192
+ # @param [String] fields
193
+ # Selector specifying which fields to include in a partial response.
194
+ # @param [String] quota_user
195
+ # Available to use for quota purposes for server-side applications. Can be any
196
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
197
+ # @param [Google::Apis::RequestOptions] options
198
+ # Request-specific options
199
+ #
200
+ # @yield [result, err] Result & error if block supplied
201
+ # @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
202
+ # @yieldparam err [StandardError] error object if request failed
203
+ #
204
+ # @return [Google::Apis::NetworkservicesV1::Operation]
205
+ #
206
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
207
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
208
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
209
+ def delete_project_location_authz_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
210
+ command = make_simple_command(:delete, 'v1/{+name}', options)
211
+ command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
212
+ command.response_class = Google::Apis::NetworkservicesV1::Operation
213
+ command.params['name'] = name unless name.nil?
214
+ command.query['requestId'] = request_id unless request_id.nil?
215
+ command.query['fields'] = fields unless fields.nil?
216
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
217
+ execute_or_queue_command(command, &block)
218
+ end
219
+
220
+ # Gets details of the specified `AuthzExtension` resource.
221
+ # @param [String] name
222
+ # Required. A name of the `AuthzExtension` resource to get. Must be in the
223
+ # format `projects/`project`/locations/`location`/authzExtensions/`
224
+ # authz_extension``.
225
+ # @param [String] fields
226
+ # Selector specifying which fields to include in a partial response.
227
+ # @param [String] quota_user
228
+ # Available to use for quota purposes for server-side applications. Can be any
229
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
230
+ # @param [Google::Apis::RequestOptions] options
231
+ # Request-specific options
232
+ #
233
+ # @yield [result, err] Result & error if block supplied
234
+ # @yieldparam result [Google::Apis::NetworkservicesV1::AuthzExtension] parsed result object
235
+ # @yieldparam err [StandardError] error object if request failed
236
+ #
237
+ # @return [Google::Apis::NetworkservicesV1::AuthzExtension]
238
+ #
239
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
240
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
241
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
242
+ def get_project_location_authz_extension(name, fields: nil, quota_user: nil, options: nil, &block)
243
+ command = make_simple_command(:get, 'v1/{+name}', options)
244
+ command.response_representation = Google::Apis::NetworkservicesV1::AuthzExtension::Representation
245
+ command.response_class = Google::Apis::NetworkservicesV1::AuthzExtension
246
+ command.params['name'] = name unless name.nil?
247
+ command.query['fields'] = fields unless fields.nil?
248
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
249
+ execute_or_queue_command(command, &block)
250
+ end
251
+
252
+ # Lists `AuthzExtension` resources in a given project and location.
253
+ # @param [String] parent
254
+ # Required. The project and location from which the `AuthzExtension` resources
255
+ # are listed, specified in the following format: `projects/`project`/locations/`
256
+ # location``.
257
+ # @param [String] filter
258
+ # Optional. Filtering results.
259
+ # @param [String] order_by
260
+ # Optional. Hint for how to order the results.
261
+ # @param [Fixnum] page_size
262
+ # Optional. Requested page size. The server might return fewer items than
263
+ # requested. If unspecified, the server picks an appropriate default.
264
+ # @param [String] page_token
265
+ # Optional. A token identifying a page of results that the server returns.
266
+ # @param [String] fields
267
+ # Selector specifying which fields to include in a partial response.
268
+ # @param [String] quota_user
269
+ # Available to use for quota purposes for server-side applications. Can be any
270
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
271
+ # @param [Google::Apis::RequestOptions] options
272
+ # Request-specific options
273
+ #
274
+ # @yield [result, err] Result & error if block supplied
275
+ # @yieldparam result [Google::Apis::NetworkservicesV1::ListAuthzExtensionsResponse] parsed result object
276
+ # @yieldparam err [StandardError] error object if request failed
277
+ #
278
+ # @return [Google::Apis::NetworkservicesV1::ListAuthzExtensionsResponse]
279
+ #
280
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
281
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
282
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
283
+ def list_project_location_authz_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
284
+ command = make_simple_command(:get, 'v1/{+parent}/authzExtensions', options)
285
+ command.response_representation = Google::Apis::NetworkservicesV1::ListAuthzExtensionsResponse::Representation
286
+ command.response_class = Google::Apis::NetworkservicesV1::ListAuthzExtensionsResponse
287
+ command.params['parent'] = parent unless parent.nil?
288
+ command.query['filter'] = filter unless filter.nil?
289
+ command.query['orderBy'] = order_by unless order_by.nil?
290
+ command.query['pageSize'] = page_size unless page_size.nil?
291
+ command.query['pageToken'] = page_token unless page_token.nil?
292
+ command.query['fields'] = fields unless fields.nil?
293
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
294
+ execute_or_queue_command(command, &block)
295
+ end
296
+
297
+ # Updates the parameters of the specified `AuthzExtension` resource.
298
+ # @param [String] name
299
+ # Required. Identifier. Name of the `AuthzExtension` resource in the following
300
+ # format: `projects/`project`/locations/`location`/authzExtensions/`
301
+ # authz_extension``.
302
+ # @param [Google::Apis::NetworkservicesV1::AuthzExtension] authz_extension_object
303
+ # @param [String] request_id
304
+ # Optional. An optional request ID to identify requests. Specify a unique
305
+ # request ID so that if you must retry your request, the server can ignore the
306
+ # request if it has already been completed. The server guarantees that for at
307
+ # least 60 minutes since the first request. For example, consider a situation
308
+ # where you make an initial request and the request times out. If you make the
309
+ # request again with the same request ID, the server can check if original
310
+ # operation with the same request ID was received, and if so, ignores the second
311
+ # request. This prevents clients from accidentally creating duplicate
312
+ # commitments. The request ID must be a valid UUID with the exception that zero
313
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
314
+ # @param [String] update_mask
315
+ # Required. Used to specify the fields to be overwritten in the `AuthzExtension`
316
+ # resource by the update. The fields specified in the `update_mask` are relative
317
+ # to the resource, not the full request. A field is overwritten if it is in the
318
+ # mask. If the user does not specify a mask, then all fields are overwritten.
319
+ # @param [String] fields
320
+ # Selector specifying which fields to include in a partial response.
321
+ # @param [String] quota_user
322
+ # Available to use for quota purposes for server-side applications. Can be any
323
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
324
+ # @param [Google::Apis::RequestOptions] options
325
+ # Request-specific options
326
+ #
327
+ # @yield [result, err] Result & error if block supplied
328
+ # @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
329
+ # @yieldparam err [StandardError] error object if request failed
330
+ #
331
+ # @return [Google::Apis::NetworkservicesV1::Operation]
332
+ #
333
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
334
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
335
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
336
+ def patch_project_location_authz_extension(name, authz_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
337
+ command = make_simple_command(:patch, 'v1/{+name}', options)
338
+ command.request_representation = Google::Apis::NetworkservicesV1::AuthzExtension::Representation
339
+ command.request_object = authz_extension_object
340
+ command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
341
+ command.response_class = Google::Apis::NetworkservicesV1::Operation
342
+ command.params['name'] = name unless name.nil?
343
+ command.query['requestId'] = request_id unless request_id.nil?
344
+ command.query['updateMask'] = update_mask unless update_mask.nil?
345
+ command.query['fields'] = fields unless fields.nil?
346
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
347
+ execute_or_queue_command(command, &block)
348
+ end
349
+
127
350
  # Gets the access control policy for a resource. Returns an empty policy if the
128
351
  # resource exists and does not have a policy set.
129
352
  # @param [String] resource
@@ -846,6 +1069,77 @@ module Google
846
1069
  execute_or_queue_command(command, &block)
847
1070
  end
848
1071
 
1072
+ # Get a single RouteView of a Gateway.
1073
+ # @param [String] name
1074
+ # Required. Name of the GatewayRouteView resource. Formats: projects/`
1075
+ # project_number`/locations/`location`/gateways/`gateway_name`/routeViews/`
1076
+ # route_view_name`
1077
+ # @param [String] fields
1078
+ # Selector specifying which fields to include in a partial response.
1079
+ # @param [String] quota_user
1080
+ # Available to use for quota purposes for server-side applications. Can be any
1081
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1082
+ # @param [Google::Apis::RequestOptions] options
1083
+ # Request-specific options
1084
+ #
1085
+ # @yield [result, err] Result & error if block supplied
1086
+ # @yieldparam result [Google::Apis::NetworkservicesV1::GatewayRouteView] parsed result object
1087
+ # @yieldparam err [StandardError] error object if request failed
1088
+ #
1089
+ # @return [Google::Apis::NetworkservicesV1::GatewayRouteView]
1090
+ #
1091
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1092
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1093
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1094
+ def get_project_location_gateway_route_view(name, fields: nil, quota_user: nil, options: nil, &block)
1095
+ command = make_simple_command(:get, 'v1/{+name}', options)
1096
+ command.response_representation = Google::Apis::NetworkservicesV1::GatewayRouteView::Representation
1097
+ command.response_class = Google::Apis::NetworkservicesV1::GatewayRouteView
1098
+ command.params['name'] = name unless name.nil?
1099
+ command.query['fields'] = fields unless fields.nil?
1100
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1101
+ execute_or_queue_command(command, &block)
1102
+ end
1103
+
1104
+ # Lists RouteViews
1105
+ # @param [String] parent
1106
+ # Required. The Gateway to which a Route is associated. Formats: projects/`
1107
+ # project_number`/locations/`location`/gateways/`gateway_name`
1108
+ # @param [Fixnum] page_size
1109
+ # Maximum number of GatewayRouteViews to return per call.
1110
+ # @param [String] page_token
1111
+ # The value returned by the last `ListGatewayRouteViewsResponse` Indicates that
1112
+ # this is a continuation of a prior `ListGatewayRouteViews` call, and that the
1113
+ # system should return the next page of data.
1114
+ # @param [String] fields
1115
+ # Selector specifying which fields to include in a partial response.
1116
+ # @param [String] quota_user
1117
+ # Available to use for quota purposes for server-side applications. Can be any
1118
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1119
+ # @param [Google::Apis::RequestOptions] options
1120
+ # Request-specific options
1121
+ #
1122
+ # @yield [result, err] Result & error if block supplied
1123
+ # @yieldparam result [Google::Apis::NetworkservicesV1::ListGatewayRouteViewsResponse] parsed result object
1124
+ # @yieldparam err [StandardError] error object if request failed
1125
+ #
1126
+ # @return [Google::Apis::NetworkservicesV1::ListGatewayRouteViewsResponse]
1127
+ #
1128
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1129
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1130
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1131
+ def list_project_location_gateway_route_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1132
+ command = make_simple_command(:get, 'v1/{+parent}/routeViews', options)
1133
+ command.response_representation = Google::Apis::NetworkservicesV1::ListGatewayRouteViewsResponse::Representation
1134
+ command.response_class = Google::Apis::NetworkservicesV1::ListGatewayRouteViewsResponse
1135
+ command.params['parent'] = parent unless parent.nil?
1136
+ command.query['pageSize'] = page_size unless page_size.nil?
1137
+ command.query['pageToken'] = page_token unless page_token.nil?
1138
+ command.query['fields'] = fields unless fields.nil?
1139
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1140
+ execute_or_queue_command(command, &block)
1141
+ end
1142
+
849
1143
  # Creates a new GrpcRoute in a given project and location.
850
1144
  # @param [String] parent
851
1145
  # Required. The parent resource of the GrpcRoute. Must be in the format `
@@ -1831,6 +2125,76 @@ module Google
1831
2125
  execute_or_queue_command(command, &block)
1832
2126
  end
1833
2127
 
2128
+ # Get a single RouteView of a Mesh.
2129
+ # @param [String] name
2130
+ # Required. Name of the MeshRouteView resource. Format: projects/`project_number`
2131
+ # /locations/`location`/meshes/`mesh_name`/routeViews/`route_view_name`
2132
+ # @param [String] fields
2133
+ # Selector specifying which fields to include in a partial response.
2134
+ # @param [String] quota_user
2135
+ # Available to use for quota purposes for server-side applications. Can be any
2136
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2137
+ # @param [Google::Apis::RequestOptions] options
2138
+ # Request-specific options
2139
+ #
2140
+ # @yield [result, err] Result & error if block supplied
2141
+ # @yieldparam result [Google::Apis::NetworkservicesV1::MeshRouteView] parsed result object
2142
+ # @yieldparam err [StandardError] error object if request failed
2143
+ #
2144
+ # @return [Google::Apis::NetworkservicesV1::MeshRouteView]
2145
+ #
2146
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2147
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2148
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2149
+ def get_project_location_mesh_route_view(name, fields: nil, quota_user: nil, options: nil, &block)
2150
+ command = make_simple_command(:get, 'v1/{+name}', options)
2151
+ command.response_representation = Google::Apis::NetworkservicesV1::MeshRouteView::Representation
2152
+ command.response_class = Google::Apis::NetworkservicesV1::MeshRouteView
2153
+ command.params['name'] = name unless name.nil?
2154
+ command.query['fields'] = fields unless fields.nil?
2155
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2156
+ execute_or_queue_command(command, &block)
2157
+ end
2158
+
2159
+ # Lists RouteViews
2160
+ # @param [String] parent
2161
+ # Required. The Mesh to which a Route is associated. Format: projects/`
2162
+ # project_number`/locations/`location`/meshes/`mesh_name`
2163
+ # @param [Fixnum] page_size
2164
+ # Maximum number of MeshRouteViews to return per call.
2165
+ # @param [String] page_token
2166
+ # The value returned by the last `ListMeshRouteViewsResponse` Indicates that
2167
+ # this is a continuation of a prior `ListMeshRouteViews` call, and that the
2168
+ # system should return the next page of data.
2169
+ # @param [String] fields
2170
+ # Selector specifying which fields to include in a partial response.
2171
+ # @param [String] quota_user
2172
+ # Available to use for quota purposes for server-side applications. Can be any
2173
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2174
+ # @param [Google::Apis::RequestOptions] options
2175
+ # Request-specific options
2176
+ #
2177
+ # @yield [result, err] Result & error if block supplied
2178
+ # @yieldparam result [Google::Apis::NetworkservicesV1::ListMeshRouteViewsResponse] parsed result object
2179
+ # @yieldparam err [StandardError] error object if request failed
2180
+ #
2181
+ # @return [Google::Apis::NetworkservicesV1::ListMeshRouteViewsResponse]
2182
+ #
2183
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2184
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2185
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2186
+ def list_project_location_mesh_route_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2187
+ command = make_simple_command(:get, 'v1/{+parent}/routeViews', options)
2188
+ command.response_representation = Google::Apis::NetworkservicesV1::ListMeshRouteViewsResponse::Representation
2189
+ command.response_class = Google::Apis::NetworkservicesV1::ListMeshRouteViewsResponse
2190
+ command.params['parent'] = parent unless parent.nil?
2191
+ command.query['pageSize'] = page_size unless page_size.nil?
2192
+ command.query['pageToken'] = page_token unless page_token.nil?
2193
+ command.query['fields'] = fields unless fields.nil?
2194
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2195
+ execute_or_queue_command(command, &block)
2196
+ end
2197
+
1834
2198
  # Starts asynchronous cancellation on a long-running operation. The server makes
1835
2199
  # a best effort to cancel the operation, but success is not guaranteed. If the
1836
2200
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -2725,8 +3089,8 @@ module Google
2725
3089
  # Required. A name of the `WasmPlugin` resource to get. Must be in the format `
2726
3090
  # projects/`project`/locations/global/wasmPlugins/`wasm_plugin``.
2727
3091
  # @param [String] view
2728
- # Determine how much data should be returned by the API. See [AIP-157](https://
2729
- # google.aip.dev/157).
3092
+ # Determines how much data must be returned in the response. See [AIP-157](https:
3093
+ # //google.aip.dev/157).
2730
3094
  # @param [String] fields
2731
3095
  # Selector specifying which fields to include in a partial response.
2732
3096
  # @param [String] quota_user
@@ -2762,8 +3126,8 @@ module Google
2762
3126
  # global`.
2763
3127
  # @param [Fixnum] page_size
2764
3128
  # Maximum number of `WasmPlugin` resources to return per call. If not specified,
2765
- # at most 50 `WasmPlugin`s are returned. The maximum value is 1000; values above
2766
- # 1000 are coerced to 1000.
3129
+ # at most 50 `WasmPlugin` resources are returned. The maximum value is 1000;
3130
+ # values above 1000 are coerced to 1000.
2767
3131
  # @param [String] page_token
2768
3132
  # The value returned by the last `ListWasmPluginsResponse` call. Indicates that
2769
3133
  # this is a continuation of a prior `ListWasmPlugins` call, and that the next
@@ -2948,8 +3312,8 @@ module Google
2948
3312
  # wasmPlugins/`wasm_plugin``.
2949
3313
  # @param [Fixnum] page_size
2950
3314
  # Maximum number of `WasmPluginVersion` resources to return per call. If not
2951
- # specified, at most 50 `WasmPluginVersion`s are returned. The maximum value is
2952
- # 1000; values above 1000 are coerced to 1000.
3315
+ # specified, at most 50 `WasmPluginVersion` resources are returned. The maximum
3316
+ # value is 1000; values above 1000 are coerced to 1000.
2953
3317
  # @param [String] page_token
2954
3318
  # The value returned by the last `ListWasmPluginVersionsResponse` call.
2955
3319
  # Indicates that this is a continuation of a prior `ListWasmPluginVersions` call,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkservices_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.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-10-27 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Services API V1