google-apis-networkmanagement_v1 0.56.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 +4 -0
- data/lib/google/apis/networkmanagement_v1/classes.rb +66 -1
- 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
@@ -2075,6 +2075,11 @@ module Google
|
|
2075
2075
|
# @return [Google::Apis::NetworkmanagementV1::EdgeLocation]
|
2076
2076
|
attr_accessor :destination_egress_location
|
2077
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
|
+
|
2078
2083
|
# For display only. The specification of the endpoints for the test.
|
2079
2084
|
# EndpointInfo is derived from source and destination Endpoint and validated by
|
2080
2085
|
# the backend data plane model.
|
@@ -2092,6 +2097,12 @@ module Google
|
|
2092
2097
|
# @return [Google::Apis::NetworkmanagementV1::Status]
|
2093
2098
|
attr_accessor :error
|
2094
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
|
+
|
2095
2106
|
# Describes measured latency distribution.
|
2096
2107
|
# Corresponds to the JSON property `probingLatency`
|
2097
2108
|
# @return [Google::Apis::NetworkmanagementV1::LatencyDistribution]
|
@@ -2125,8 +2136,10 @@ module Google
|
|
2125
2136
|
def update!(**args)
|
2126
2137
|
@abort_cause = args[:abort_cause] if args.key?(:abort_cause)
|
2127
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)
|
2128
2140
|
@endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
|
2129
2141
|
@error = args[:error] if args.key?(:error)
|
2142
|
+
@probed_all_devices = args[:probed_all_devices] if args.key?(:probed_all_devices)
|
2130
2143
|
@probing_latency = args[:probing_latency] if args.key?(:probing_latency)
|
2131
2144
|
@result = args[:result] if args.key?(:result)
|
2132
2145
|
@sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
|
@@ -2637,6 +2650,57 @@ module Google
|
|
2637
2650
|
end
|
2638
2651
|
end
|
2639
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
|
+
|
2640
2704
|
# The `Status` type defines a logical error model that is suitable for different
|
2641
2705
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2642
2706
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -3098,7 +3162,8 @@ module Google
|
|
3098
3162
|
attr_accessor :name
|
3099
3163
|
|
3100
3164
|
# Optional. The state of the VPC Flow Log configuration. Default value is
|
3101
|
-
# 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.
|
3102
3167
|
# Corresponds to the JSON property `state`
|
3103
3168
|
# @return [String]
|
3104
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:
|