google-apis-networkservices_v1beta1 0.23.0 → 0.25.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/networkservices_v1beta1/classes.rb +77 -31
- data/lib/google/apis/networkservices_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networkservices_v1beta1/representations.rb +5 -0
- data/lib/google/apis/networkservices_v1beta1/service.rb +1 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 445dea23d5b65a5d98962cadbadc357673b02d08b2bcbbab7524b982669744b5
|
4
|
+
data.tar.gz: a4fc4f5f20db55b7eb7248ed49c5bed8af85f6f4a762adf1dc4972cd18df9c6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e01104bb01eb0d2f50a87e4e056dc456961810687c0c3845c68e48e7c18cf847ca00a3a7205351cbe7b2911986994fe16a80557089668b12b1fcb1791efc9531
|
7
|
+
data.tar.gz: 81dcd8508f0ed514871dfcd053a76e6838bec72b1ccb436472e4c2ff5832d81f80d9bbf57de7b8719a4752c1432063967783aef33f2743e5de94d0c21b03f691
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkservices_v1beta1
|
2
2
|
|
3
|
+
### v0.25.0 (2023-04-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230424
|
6
|
+
|
7
|
+
### v0.24.0 (2023-04-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230323
|
10
|
+
|
3
11
|
### v0.23.0 (2023-03-05)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230213
|
@@ -376,6 +376,21 @@ module Google
|
|
376
376
|
class Gateway
|
377
377
|
include Google::Apis::Core::Hashable
|
378
378
|
|
379
|
+
# Optional. Zero or one IPv4-address on which the Gateway will receive the
|
380
|
+
# traffic. When no address is provided, an IP from the subnetwork is allocated
|
381
|
+
# This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of
|
382
|
+
# type 'OPEN_MESH' listen on 0.0.0.0.
|
383
|
+
# Corresponds to the JSON property `addresses`
|
384
|
+
# @return [Array<String>]
|
385
|
+
attr_accessor :addresses
|
386
|
+
|
387
|
+
# Optional. A fully-qualified Certificates URL reference. The proxy presents a
|
388
|
+
# Certificate (selected based on SNI) when establishing a TLS connection. This
|
389
|
+
# feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
|
390
|
+
# Corresponds to the JSON property `certificateUrls`
|
391
|
+
# @return [Array<String>]
|
392
|
+
attr_accessor :certificate_urls
|
393
|
+
|
379
394
|
# Output only. The timestamp when the resource was created.
|
380
395
|
# Corresponds to the JSON property `createTime`
|
381
396
|
# @return [String]
|
@@ -386,6 +401,14 @@ module Google
|
|
386
401
|
# @return [String]
|
387
402
|
attr_accessor :description
|
388
403
|
|
404
|
+
# Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines how a
|
405
|
+
# server should apply security policy to inbound (VM to Proxy) initiated
|
406
|
+
# connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-
|
407
|
+
# policy`. This policy is specific to gateways of type 'SECURE_WEB_GATEWAY'.
|
408
|
+
# Corresponds to the JSON property `gatewaySecurityPolicy`
|
409
|
+
# @return [String]
|
410
|
+
attr_accessor :gateway_security_policy
|
411
|
+
|
389
412
|
# Optional. Set of label tags associated with the Gateway resource.
|
390
413
|
# Corresponds to the JSON property `labels`
|
391
414
|
# @return [Hash<String,String>]
|
@@ -397,6 +420,13 @@ module Google
|
|
397
420
|
# @return [String]
|
398
421
|
attr_accessor :name
|
399
422
|
|
423
|
+
# Optional. The relative resource name identifying the VPC network that is using
|
424
|
+
# this configuration. For example: `projects/*/global/networks/network-1`.
|
425
|
+
# Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY'.
|
426
|
+
# Corresponds to the JSON property `network`
|
427
|
+
# @return [String]
|
428
|
+
attr_accessor :network
|
429
|
+
|
400
430
|
# Required. One or more port numbers (1-65535), on which the Gateway will
|
401
431
|
# receive traffic. The proxy binds to the specified ports. Gateways of type '
|
402
432
|
# SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen
|
@@ -425,6 +455,14 @@ module Google
|
|
425
455
|
# @return [String]
|
426
456
|
attr_accessor :server_tls_policy
|
427
457
|
|
458
|
+
# Optional. The relative resource name identifying the subnetwork in which this
|
459
|
+
# SWG is allocated. For example: `projects/*/regions/us-central1/subnetworks/
|
460
|
+
# network-1` Currently, this field is specific to gateways of type '
|
461
|
+
# SECURE_WEB_GATEWAY".
|
462
|
+
# Corresponds to the JSON property `subnetwork`
|
463
|
+
# @return [String]
|
464
|
+
attr_accessor :subnetwork
|
465
|
+
|
428
466
|
# Immutable. The type of the customer managed gateway. This field is required.
|
429
467
|
# If unspecified, an error is returned.
|
430
468
|
# Corresponds to the JSON property `type`
|
@@ -442,14 +480,19 @@ module Google
|
|
442
480
|
|
443
481
|
# Update properties of this object
|
444
482
|
def update!(**args)
|
483
|
+
@addresses = args[:addresses] if args.key?(:addresses)
|
484
|
+
@certificate_urls = args[:certificate_urls] if args.key?(:certificate_urls)
|
445
485
|
@create_time = args[:create_time] if args.key?(:create_time)
|
446
486
|
@description = args[:description] if args.key?(:description)
|
487
|
+
@gateway_security_policy = args[:gateway_security_policy] if args.key?(:gateway_security_policy)
|
447
488
|
@labels = args[:labels] if args.key?(:labels)
|
448
489
|
@name = args[:name] if args.key?(:name)
|
490
|
+
@network = args[:network] if args.key?(:network)
|
449
491
|
@ports = args[:ports] if args.key?(:ports)
|
450
492
|
@scope = args[:scope] if args.key?(:scope)
|
451
493
|
@self_link = args[:self_link] if args.key?(:self_link)
|
452
494
|
@server_tls_policy = args[:server_tls_policy] if args.key?(:server_tls_policy)
|
495
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
453
496
|
@type = args[:type] if args.key?(:type)
|
454
497
|
@update_time = args[:update_time] if args.key?(:update_time)
|
455
498
|
end
|
@@ -482,19 +525,19 @@ module Google
|
|
482
525
|
# describes traffic. Format: [:] Hostname is the fully qualified domain name of
|
483
526
|
# a network host. This matches the RFC 1123 definition of a hostname with 2
|
484
527
|
# notable exceptions: - IPs are not allowed. - A hostname may be prefixed with a
|
485
|
-
# wildcard label (
|
528
|
+
# wildcard label (`*.`). The wildcard label must appear by itself as the first
|
486
529
|
# label. Hostname can be "precise" which is a domain name without the
|
487
|
-
# terminating dot of a network host (e.g.
|
488
|
-
# which is a domain name prefixed with a single wildcard label (e.g.
|
489
|
-
# com). Note that as per RFC1035 and RFC1123, a label must consist of lower
|
490
|
-
# alphanumeric characters or '-', and must start and end with an
|
491
|
-
# character. No other punctuation is allowed. The routes associated
|
492
|
-
# or Gateway must have unique hostnames. If you attempt to attach
|
493
|
-
# routes with conflicting hostnames, the configuration will be rejected.
|
494
|
-
# example, while it is acceptable for routes for the hostnames
|
495
|
-
# and
|
496
|
-
# associate two routes both with
|
497
|
-
# is specified, then gRPC clients must use the channel URI with the port to
|
530
|
+
# terminating dot of a network host (e.g. `foo.example.com`) or "wildcard",
|
531
|
+
# which is a domain name prefixed with a single wildcard label (e.g. `*.example.
|
532
|
+
# com`). Note that as per RFC1035 and RFC1123, a label must consist of lower
|
533
|
+
# case alphanumeric characters or '-', and must start and end with an
|
534
|
+
# alphanumeric character. No other punctuation is allowed. The routes associated
|
535
|
+
# with a Mesh or Gateway must have unique hostnames. If you attempt to attach
|
536
|
+
# multiple routes with conflicting hostnames, the configuration will be rejected.
|
537
|
+
# For example, while it is acceptable for routes for the hostnames `*.foo.bar.
|
538
|
+
# com` and `*.bar.com` to be associated with the same route, it is not possible
|
539
|
+
# to associate two routes both with `*.bar.com` or both with `bar.com`. If a
|
540
|
+
# port is specified, then gRPC clients must use the channel URI with the port to
|
498
541
|
# match this rule (i.e. "xds:///service:123"), otherwise they must supply the
|
499
542
|
# URI without a port (i.e. "xds:///service").
|
500
543
|
# Corresponds to the JSON property `hostnames`
|
@@ -912,19 +955,19 @@ module Google
|
|
912
955
|
# host header to select a HttpRoute to process the request. Hostname is the
|
913
956
|
# fully qualified domain name of a network host, as defined by RFC 1123 with the
|
914
957
|
# exception that: - IPs are not allowed. - A hostname may be prefixed with a
|
915
|
-
# wildcard label (
|
958
|
+
# wildcard label (`*.`). The wildcard label must appear by itself as the first
|
916
959
|
# label. Hostname can be "precise" which is a domain name without the
|
917
|
-
# terminating dot of a network host (e.g.
|
918
|
-
# which is a domain name prefixed with a single wildcard label (e.g.
|
919
|
-
# com). Note that as per RFC1035 and RFC1123, a label must consist of lower
|
920
|
-
# alphanumeric characters or '-', and must start and end with an
|
921
|
-
# character. No other punctuation is allowed. The routes associated
|
922
|
-
# or Gateways must have unique hostnames. If you attempt to attach
|
923
|
-
# routes with conflicting hostnames, the configuration will be rejected.
|
924
|
-
# example, while it is acceptable for routes for the hostnames
|
925
|
-
# and
|
926
|
-
# same scope), it is not possible to associate two routes both with
|
927
|
-
# or both with
|
960
|
+
# terminating dot of a network host (e.g. `foo.example.com`) or "wildcard",
|
961
|
+
# which is a domain name prefixed with a single wildcard label (e.g. `*.example.
|
962
|
+
# com`). Note that as per RFC1035 and RFC1123, a label must consist of lower
|
963
|
+
# case alphanumeric characters or '-', and must start and end with an
|
964
|
+
# alphanumeric character. No other punctuation is allowed. The routes associated
|
965
|
+
# with a Mesh or Gateways must have unique hostnames. If you attempt to attach
|
966
|
+
# multiple routes with conflicting hostnames, the configuration will be rejected.
|
967
|
+
# For example, while it is acceptable for routes for the hostnames `*.foo.bar.
|
968
|
+
# com` and `*.bar.com` to be associated with the same Mesh (or Gateways under
|
969
|
+
# the same scope), it is not possible to associate two routes both with `*.bar.
|
970
|
+
# com` or both with `bar.com`.
|
928
971
|
# Corresponds to the JSON property `hostnames`
|
929
972
|
# @return [Array<String>]
|
930
973
|
attr_accessor :hostnames
|
@@ -1947,7 +1990,7 @@ module Google
|
|
1947
1990
|
end
|
1948
1991
|
end
|
1949
1992
|
|
1950
|
-
# A resource that represents Google Cloud
|
1993
|
+
# A resource that represents a Google Cloud location.
|
1951
1994
|
class Location
|
1952
1995
|
include Google::Apis::Core::Hashable
|
1953
1996
|
|
@@ -2563,13 +2606,15 @@ module Google
|
|
2563
2606
|
include Google::Apis::Core::Hashable
|
2564
2607
|
|
2565
2608
|
# Optional. The destination services to which traffic should be forwarded. At
|
2566
|
-
# least one destination service is required.
|
2609
|
+
# least one destination service is required. Only one of route destination or
|
2610
|
+
# original destination can be set.
|
2567
2611
|
# Corresponds to the JSON property `destinations`
|
2568
2612
|
# @return [Array<Google::Apis::NetworkservicesV1beta1::TcpRouteRouteDestination>]
|
2569
2613
|
attr_accessor :destinations
|
2570
2614
|
|
2571
2615
|
# Optional. If true, Router will use the destination IP and port of the original
|
2572
|
-
# connection as the destination of the request. Default is false.
|
2616
|
+
# connection as the destination of the request. Default is false. Only one of
|
2617
|
+
# route destinations or original destination can be set.
|
2573
2618
|
# Corresponds to the JSON property `originalDestination`
|
2574
2619
|
# @return [Boolean]
|
2575
2620
|
attr_accessor :original_destination
|
@@ -2851,10 +2896,11 @@ module Google
|
|
2851
2896
|
attr_accessor :alpn
|
2852
2897
|
|
2853
2898
|
# Optional. SNI (server name indicator) to match against. SNI will be matched
|
2854
|
-
# against all wildcard domains, i.e. www.example.com will be first matched
|
2855
|
-
# against www.example.com
|
2856
|
-
# not supported, and values like *w.example.com are invalid. At
|
2857
|
-
# sni_host and alpn is required. Up to 5 sni hosts across all
|
2899
|
+
# against all wildcard domains, i.e. `www.example.com` will be first matched
|
2900
|
+
# against `www.example.com`, then `*.example.com`, then `*.com.` Partial
|
2901
|
+
# wildcards are not supported, and values like *w.example.com are invalid. At
|
2902
|
+
# least one of sni_host and alpn is required. Up to 5 sni hosts across all
|
2903
|
+
# matches can be set.
|
2858
2904
|
# Corresponds to the JSON property `sniHost`
|
2859
2905
|
# @return [Array<String>]
|
2860
2906
|
attr_accessor :sni_host
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkservicesV1beta1
|
18
18
|
# Version of the google-apis-networkservices_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230424"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -521,14 +521,19 @@ module Google
|
|
521
521
|
class Gateway
|
522
522
|
# @private
|
523
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
524
|
+
collection :addresses, as: 'addresses'
|
525
|
+
collection :certificate_urls, as: 'certificateUrls'
|
524
526
|
property :create_time, as: 'createTime'
|
525
527
|
property :description, as: 'description'
|
528
|
+
property :gateway_security_policy, as: 'gatewaySecurityPolicy'
|
526
529
|
hash :labels, as: 'labels'
|
527
530
|
property :name, as: 'name'
|
531
|
+
property :network, as: 'network'
|
528
532
|
collection :ports, as: 'ports'
|
529
533
|
property :scope, as: 'scope'
|
530
534
|
property :self_link, as: 'selfLink'
|
531
535
|
property :server_tls_policy, as: 'serverTlsPolicy'
|
536
|
+
property :subnetwork, as: 'subnetwork'
|
532
537
|
property :type, as: 'type'
|
533
538
|
property :update_time, as: 'updateTime'
|
534
539
|
end
|
@@ -1486,13 +1486,7 @@ module Google
|
|
1486
1486
|
end
|
1487
1487
|
|
1488
1488
|
# Lists operations that match the specified filter in the request. If the server
|
1489
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1490
|
-
# binding allows API services to override the binding to use different resource
|
1491
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1492
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1493
|
-
# service configuration. For backwards compatibility, the default name includes
|
1494
|
-
# the operations collection id, however overriding users must ensure the name
|
1495
|
-
# binding is the parent resource, without the operations collection id.
|
1489
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1496
1490
|
# @param [String] name
|
1497
1491
|
# The name of the operation's parent resource.
|
1498
1492
|
# @param [String] filter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkservices_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-14 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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.25.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|