google-apis-networkmanagement_v1 0.55.0 → 0.57.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/networkmanagement_v1/classes.rb +76 -10
- data/lib/google/apis/networkmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkmanagement_v1/representations.rb +23 -0
- data/lib/google/apis/networkmanagement_v1/service.rb +5 -1
- 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: 410f3864e1337213a575498f51c02a309d15f9a8defa85eeee5d8edd446cb23d
|
4
|
+
data.tar.gz: 15cb964d66e0ca8820353af78021aecad1302b42e9080e56f22f2bb87fec54e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71973d2c8a04abf037c0d18fd5d0fb04ed95717461bfdcb960adbf369aa8bd33171c8eb69261ade301822edf82893083a42c677a59bb4cbd240f6f89060cac3f
|
7
|
+
data.tar.gz: 73a1f2261d34a73534f53a7c3900c4dee16fa84266fcb98a4cd600e4483194f9fb984c8c10d0763efccffed6b0b4d4516acce1a12bd3e507e2f9fffcb5dbe08b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkmanagement_v1
|
2
2
|
|
3
|
+
### v0.57.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250409
|
6
|
+
|
7
|
+
### v0.56.0 (2025-03-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250319
|
10
|
+
|
3
11
|
### v0.55.0 (2025-03-09)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250226
|
@@ -471,8 +471,7 @@ module Google
|
|
471
471
|
class ConnectivityTest
|
472
472
|
include Google::Apis::Core::Hashable
|
473
473
|
|
474
|
-
# Whether the
|
475
|
-
# false.
|
474
|
+
# Whether the analysis should skip firewall checking. Default value is false.
|
476
475
|
# Corresponds to the JSON property `bypassFirewallChecks`
|
477
476
|
# @return [Boolean]
|
478
477
|
attr_accessor :bypass_firewall_checks
|
@@ -770,9 +769,9 @@ module Google
|
|
770
769
|
# A forwarding rule and its corresponding IP address represent the frontend
|
771
770
|
# configuration of a Google Cloud load balancer. Forwarding rules are also used
|
772
771
|
# for protocol forwarding, Private Service Connect and other network services to
|
773
|
-
# provide forwarding information in the control plane.
|
774
|
-
#
|
775
|
-
# forwardingRules/`id`
|
772
|
+
# provide forwarding information in the control plane. Applicable only to
|
773
|
+
# destination endpoint. Format: projects/`project`/global/forwardingRules/`id`
|
774
|
+
# or projects/`project`/regions/`region`/forwardingRules/`id`
|
776
775
|
# Corresponds to the JSON property `forwardingRule`
|
777
776
|
# @return [String]
|
778
777
|
attr_accessor :forwarding_rule
|
@@ -817,7 +816,7 @@ module Google
|
|
817
816
|
# @return [String]
|
818
817
|
attr_accessor :load_balancer_type
|
819
818
|
|
820
|
-
# A
|
819
|
+
# A VPC network URI.
|
821
820
|
# Corresponds to the JSON property `network`
|
822
821
|
# @return [String]
|
823
822
|
attr_accessor :network
|
@@ -834,9 +833,9 @@ module Google
|
|
834
833
|
# @return [Fixnum]
|
835
834
|
attr_accessor :port
|
836
835
|
|
837
|
-
# Project ID where the endpoint is located. The
|
838
|
-
# the URI if you provide a
|
839
|
-
#
|
836
|
+
# Project ID where the endpoint is located. The project ID can be derived from
|
837
|
+
# the URI if you provide a endpoint or network URI. The following are two cases
|
838
|
+
# where you may need to provide the project ID: 1. Only the IP address is
|
840
839
|
# specified, and the IP address is within a Google Cloud project. 2. When you
|
841
840
|
# are using Shared VPC and the IP address that you provide is from the service
|
842
841
|
# project. In this case, the network that the IP address resides in is defined
|
@@ -846,11 +845,13 @@ module Google
|
|
846
845
|
attr_accessor :project_id
|
847
846
|
|
848
847
|
# A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.
|
848
|
+
# Applicable only to destination endpoint.
|
849
849
|
# Corresponds to the JSON property `redisCluster`
|
850
850
|
# @return [String]
|
851
851
|
attr_accessor :redis_cluster
|
852
852
|
|
853
853
|
# A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.
|
854
|
+
# Applicable only to destination endpoint.
|
854
855
|
# Corresponds to the JSON property `redisInstance`
|
855
856
|
# @return [String]
|
856
857
|
attr_accessor :redis_instance
|
@@ -2074,6 +2075,11 @@ module Google
|
|
2074
2075
|
# @return [Google::Apis::NetworkmanagementV1::EdgeLocation]
|
2075
2076
|
attr_accessor :destination_egress_location
|
2076
2077
|
|
2078
|
+
# Probing results for all edge devices.
|
2079
|
+
# Corresponds to the JSON property `edgeResponses`
|
2080
|
+
# @return [Array<Google::Apis::NetworkmanagementV1::SingleEdgeResponse>]
|
2081
|
+
attr_accessor :edge_responses
|
2082
|
+
|
2077
2083
|
# For display only. The specification of the endpoints for the test.
|
2078
2084
|
# EndpointInfo is derived from source and destination Endpoint and validated by
|
2079
2085
|
# the backend data plane model.
|
@@ -2091,6 +2097,12 @@ module Google
|
|
2091
2097
|
# @return [Google::Apis::NetworkmanagementV1::Status]
|
2092
2098
|
attr_accessor :error
|
2093
2099
|
|
2100
|
+
# Whether all relevant edge devices were probed.
|
2101
|
+
# Corresponds to the JSON property `probedAllDevices`
|
2102
|
+
# @return [Boolean]
|
2103
|
+
attr_accessor :probed_all_devices
|
2104
|
+
alias_method :probed_all_devices?, :probed_all_devices
|
2105
|
+
|
2094
2106
|
# Describes measured latency distribution.
|
2095
2107
|
# Corresponds to the JSON property `probingLatency`
|
2096
2108
|
# @return [Google::Apis::NetworkmanagementV1::LatencyDistribution]
|
@@ -2124,8 +2136,10 @@ module Google
|
|
2124
2136
|
def update!(**args)
|
2125
2137
|
@abort_cause = args[:abort_cause] if args.key?(:abort_cause)
|
2126
2138
|
@destination_egress_location = args[:destination_egress_location] if args.key?(:destination_egress_location)
|
2139
|
+
@edge_responses = args[:edge_responses] if args.key?(:edge_responses)
|
2127
2140
|
@endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
|
2128
2141
|
@error = args[:error] if args.key?(:error)
|
2142
|
+
@probed_all_devices = args[:probed_all_devices] if args.key?(:probed_all_devices)
|
2129
2143
|
@probing_latency = args[:probing_latency] if args.key?(:probing_latency)
|
2130
2144
|
@result = args[:result] if args.key?(:result)
|
2131
2145
|
@sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
|
@@ -2636,6 +2650,57 @@ module Google
|
|
2636
2650
|
end
|
2637
2651
|
end
|
2638
2652
|
|
2653
|
+
# Probing results for a single edge device.
|
2654
|
+
class SingleEdgeResponse
|
2655
|
+
include Google::Apis::Core::Hashable
|
2656
|
+
|
2657
|
+
# Representation of a network edge location as per https://cloud.google.com/vpc/
|
2658
|
+
# docs/edge-locations.
|
2659
|
+
# Corresponds to the JSON property `destinationEgressLocation`
|
2660
|
+
# @return [Google::Apis::NetworkmanagementV1::EdgeLocation]
|
2661
|
+
attr_accessor :destination_egress_location
|
2662
|
+
|
2663
|
+
# Router name in the format '`router`.`metroshard`'. For example: pf01.aaa01,
|
2664
|
+
# pr02.aaa01.
|
2665
|
+
# Corresponds to the JSON property `destinationRouter`
|
2666
|
+
# @return [String]
|
2667
|
+
attr_accessor :destination_router
|
2668
|
+
|
2669
|
+
# Describes measured latency distribution.
|
2670
|
+
# Corresponds to the JSON property `probingLatency`
|
2671
|
+
# @return [Google::Apis::NetworkmanagementV1::LatencyDistribution]
|
2672
|
+
attr_accessor :probing_latency
|
2673
|
+
|
2674
|
+
# The overall result of active probing for this egress device.
|
2675
|
+
# Corresponds to the JSON property `result`
|
2676
|
+
# @return [String]
|
2677
|
+
attr_accessor :result
|
2678
|
+
|
2679
|
+
# Number of probes sent.
|
2680
|
+
# Corresponds to the JSON property `sentProbeCount`
|
2681
|
+
# @return [Fixnum]
|
2682
|
+
attr_accessor :sent_probe_count
|
2683
|
+
|
2684
|
+
# Number of probes that reached the destination.
|
2685
|
+
# Corresponds to the JSON property `successfulProbeCount`
|
2686
|
+
# @return [Fixnum]
|
2687
|
+
attr_accessor :successful_probe_count
|
2688
|
+
|
2689
|
+
def initialize(**args)
|
2690
|
+
update!(**args)
|
2691
|
+
end
|
2692
|
+
|
2693
|
+
# Update properties of this object
|
2694
|
+
def update!(**args)
|
2695
|
+
@destination_egress_location = args[:destination_egress_location] if args.key?(:destination_egress_location)
|
2696
|
+
@destination_router = args[:destination_router] if args.key?(:destination_router)
|
2697
|
+
@probing_latency = args[:probing_latency] if args.key?(:probing_latency)
|
2698
|
+
@result = args[:result] if args.key?(:result)
|
2699
|
+
@sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
|
2700
|
+
@successful_probe_count = args[:successful_probe_count] if args.key?(:successful_probe_count)
|
2701
|
+
end
|
2702
|
+
end
|
2703
|
+
|
2639
2704
|
# The `Status` type defines a logical error model that is suitable for different
|
2640
2705
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2641
2706
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -3097,7 +3162,8 @@ module Google
|
|
3097
3162
|
attr_accessor :name
|
3098
3163
|
|
3099
3164
|
# Optional. The state of the VPC Flow Log configuration. Default value is
|
3100
|
-
# ENABLED. When creating a new configuration, it must be enabled.
|
3165
|
+
# ENABLED. When creating a new configuration, it must be enabled. Setting state=
|
3166
|
+
# DISABLED will pause the log generation for this config.
|
3101
3167
|
# Corresponds to the JSON property `state`
|
3102
3168
|
# @return [String]
|
3103
3169
|
attr_accessor :state
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkmanagementV1
|
18
18
|
# Version of the google-apis-networkmanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.57.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250409"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -334,6 +334,12 @@ module Google
|
|
334
334
|
include Google::Apis::Core::JsonObjectSupport
|
335
335
|
end
|
336
336
|
|
337
|
+
class SingleEdgeResponse
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
337
343
|
class Status
|
338
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
345
|
|
@@ -877,10 +883,13 @@ module Google
|
|
877
883
|
property :abort_cause, as: 'abortCause'
|
878
884
|
property :destination_egress_location, as: 'destinationEgressLocation', class: Google::Apis::NetworkmanagementV1::EdgeLocation, decorator: Google::Apis::NetworkmanagementV1::EdgeLocation::Representation
|
879
885
|
|
886
|
+
collection :edge_responses, as: 'edgeResponses', class: Google::Apis::NetworkmanagementV1::SingleEdgeResponse, decorator: Google::Apis::NetworkmanagementV1::SingleEdgeResponse::Representation
|
887
|
+
|
880
888
|
property :endpoint_info, as: 'endpointInfo', class: Google::Apis::NetworkmanagementV1::EndpointInfo, decorator: Google::Apis::NetworkmanagementV1::EndpointInfo::Representation
|
881
889
|
|
882
890
|
property :error, as: 'error', class: Google::Apis::NetworkmanagementV1::Status, decorator: Google::Apis::NetworkmanagementV1::Status::Representation
|
883
891
|
|
892
|
+
property :probed_all_devices, as: 'probedAllDevices'
|
884
893
|
property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1::LatencyDistribution::Representation
|
885
894
|
|
886
895
|
property :result, as: 'result'
|
@@ -1002,6 +1011,20 @@ module Google
|
|
1002
1011
|
end
|
1003
1012
|
end
|
1004
1013
|
|
1014
|
+
class SingleEdgeResponse
|
1015
|
+
# @private
|
1016
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1017
|
+
property :destination_egress_location, as: 'destinationEgressLocation', class: Google::Apis::NetworkmanagementV1::EdgeLocation, decorator: Google::Apis::NetworkmanagementV1::EdgeLocation::Representation
|
1018
|
+
|
1019
|
+
property :destination_router, as: 'destinationRouter'
|
1020
|
+
property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1::LatencyDistribution::Representation
|
1021
|
+
|
1022
|
+
property :result, as: 'result'
|
1023
|
+
property :sent_probe_count, as: 'sentProbeCount'
|
1024
|
+
property :successful_probe_count, as: 'successfulProbeCount'
|
1025
|
+
end
|
1026
|
+
end
|
1027
|
+
|
1005
1028
|
class Status
|
1006
1029
|
# @private
|
1007
1030
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -85,6 +85,9 @@ module Google
|
|
85
85
|
# Lists information about the supported locations for this service.
|
86
86
|
# @param [String] name
|
87
87
|
# The resource that owns the locations collection, if applicable.
|
88
|
+
# @param [Array<String>, String] extra_location_types
|
89
|
+
# Optional. A list of extra location types that should be used as conditions for
|
90
|
+
# controlling the visibility of the locations.
|
88
91
|
# @param [String] filter
|
89
92
|
# A filter to narrow down results to a preferred subset. The filtering language
|
90
93
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -112,11 +115,12 @@ module Google
|
|
112
115
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
116
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
117
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
116
119
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
117
120
|
command.response_representation = Google::Apis::NetworkmanagementV1::ListLocationsResponse::Representation
|
118
121
|
command.response_class = Google::Apis::NetworkmanagementV1::ListLocationsResponse
|
119
122
|
command.params['name'] = name unless name.nil?
|
123
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
120
124
|
command.query['filter'] = filter unless filter.nil?
|
121
125
|
command.query['pageSize'] = page_size unless page_size.nil?
|
122
126
|
command.query['pageToken'] = page_token unless page_token.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkmanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.57.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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-networkmanagement_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.57.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|