google-cloud-network_management-v1 0.1.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -6
- data/lib/google/cloud/network_management/v1/reachability_service/operations.rb +3 -0
- data/lib/google/cloud/network_management/v1/version.rb +1 -1
- data/lib/google/cloud/network_management/v1.rb +2 -0
- data/lib/google/cloud/networkmanagement/v1/connectivity_test_pb.rb +2 -2
- data/lib/google/cloud/networkmanagement/v1/reachability_pb.rb +2 -1
- data/lib/google/cloud/networkmanagement/v1/trace_pb.rb +3 -1
- data/proto_docs/google/cloud/networkmanagement/v1/trace.rb +14 -3
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92cfa7cf7dec8c8909c506f7c85bfd36bf9181860f726871d265699adae4b775
|
4
|
+
data.tar.gz: a3d0bc9d429359dbb7afcd6e61398f1dea38ebd231e6535449a73e28f92be336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 848fd7afff40b64f5d6eb5733b35cb7367e225eb16aad23a3a34f2585eea14b8a1aef3ec0cf7cba27fe6d44e155fe3cc7b300e644654ea6727e5af1b155e8edc
|
7
|
+
data.tar.gz: 88d654ed9bafba5f126fbb84fc669723be307dd2f326d6133dcfa8577b0189d6befe548d0037b4f93641a08cb2692948eae6adea355544ca5d42407daf9506d7
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::NetworkManagement::V1::ListConnectivityTestsRequest.n
|
|
37
37
|
response = client.list_connectivity_tests request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-network_management-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/reference/networkmanagement/rest)
|
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -25,6 +25,8 @@ module Google
|
|
25
25
|
##
|
26
26
|
# To load this package, including all its services, and instantiate a client:
|
27
27
|
#
|
28
|
+
# @example
|
29
|
+
#
|
28
30
|
# require "google/cloud/network_management/v1"
|
29
31
|
# client = ::Google::Cloud::NetworkManagement::V1::ReachabilityService::Client.new
|
30
32
|
#
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networkmanagement/v1/connectivity_test.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/cloud/networkmanagement/v1/trace_pb'
|
7
9
|
require 'google/protobuf/timestamp_pb'
|
8
10
|
require 'google/rpc/status_pb'
|
9
|
-
require 'google/api/annotations_pb'
|
10
|
-
require 'google/protobuf'
|
11
11
|
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/networkmanagement/v1/connectivity_test.proto", :syntax => :proto3) do
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networkmanagement/v1/reachability.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -9,7 +11,6 @@ require 'google/cloud/networkmanagement/v1/connectivity_test_pb'
|
|
9
11
|
require 'google/longrunning/operations_pb'
|
10
12
|
require 'google/protobuf/field_mask_pb'
|
11
13
|
require 'google/protobuf/timestamp_pb'
|
12
|
-
require 'google/protobuf'
|
13
14
|
|
14
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
16
|
add_file("google/cloud/networkmanagement/v1/reachability.proto", :syntax => :proto3) do
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networkmanagement/v1/trace.proto
|
3
3
|
|
4
|
-
require 'google/api/annotations_pb'
|
5
4
|
require 'google/protobuf'
|
6
5
|
|
7
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -123,6 +122,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
123
122
|
value :NEXT_HOP_INTERNET_GATEWAY, 8
|
124
123
|
value :NEXT_HOP_BLACKHOLE, 9
|
125
124
|
value :NEXT_HOP_ILB, 10
|
125
|
+
value :NEXT_HOP_ROUTER_APPLIANCE, 11
|
126
126
|
end
|
127
127
|
add_message "google.cloud.networkmanagement.v1.ForwardingRuleInfo" do
|
128
128
|
optional :display_name, :string, 1
|
@@ -227,6 +227,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
227
227
|
add_message "google.cloud.networkmanagement.v1.AbortInfo" do
|
228
228
|
optional :cause, :enum, 1, "google.cloud.networkmanagement.v1.AbortInfo.Cause"
|
229
229
|
optional :resource_uri, :string, 2
|
230
|
+
repeated :projects_missing_permission, :string, 3
|
230
231
|
end
|
231
232
|
add_enum "google.cloud.networkmanagement.v1.AbortInfo.Cause" do
|
232
233
|
value :CAUSE_UNSPECIFIED, 0
|
@@ -244,6 +245,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
244
245
|
value :MISMATCHED_SOURCE_NETWORK, 12
|
245
246
|
value :DESTINATION_ENDPOINT_NOT_FOUND, 13
|
246
247
|
value :MISMATCHED_DESTINATION_NETWORK, 14
|
248
|
+
value :UNSUPPORTED, 15
|
247
249
|
end
|
248
250
|
add_message "google.cloud.networkmanagement.v1.DropInfo" do
|
249
251
|
optional :cause, :enum, 1, "google.cloud.networkmanagement.v1.DropInfo.Cause"
|
@@ -408,6 +408,11 @@ module Google
|
|
408
408
|
|
409
409
|
# Next hop is the forwarding rule of an Internal Load Balancer.
|
410
410
|
NEXT_HOP_ILB = 10
|
411
|
+
|
412
|
+
# Next hop is a
|
413
|
+
# [router appliance
|
414
|
+
# instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
|
415
|
+
NEXT_HOP_ROUTER_APPLIANCE = 11
|
411
416
|
end
|
412
417
|
end
|
413
418
|
|
@@ -710,6 +715,11 @@ module Google
|
|
710
715
|
# @!attribute [rw] resource_uri
|
711
716
|
# @return [::String]
|
712
717
|
# URI of the resource that caused the abort.
|
718
|
+
# @!attribute [rw] projects_missing_permission
|
719
|
+
# @return [::Array<::String>]
|
720
|
+
# List of project IDs that the user has specified in the request but does
|
721
|
+
# not have permission to access network configs. Analysis is aborted in this
|
722
|
+
# case with the PERMISSION_DENIED cause.
|
713
723
|
class AbortInfo
|
714
724
|
include ::Google::Protobuf::MessageExts
|
715
725
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -775,6 +785,9 @@ module Google
|
|
775
785
|
# Aborted because the destination network does not match the destination
|
776
786
|
# endpoint.
|
777
787
|
MISMATCHED_DESTINATION_NETWORK = 14
|
788
|
+
|
789
|
+
# Aborted because the test scenario is not supported.
|
790
|
+
UNSUPPORTED = 15
|
778
791
|
end
|
779
792
|
end
|
780
793
|
|
@@ -827,9 +840,7 @@ module Google
|
|
827
840
|
|
828
841
|
# Instance with only an internal IP address tries to access external hosts,
|
829
842
|
# but Cloud NAT is not enabled in the subnet, unless special configurations
|
830
|
-
# on a VM allow this connection.
|
831
|
-
# configurations for VM
|
832
|
-
# instances](https://cloud.google.com/vpc/docs/special-configurations).
|
843
|
+
# on a VM allow this connection.
|
833
844
|
NO_EXTERNAL_ADDRESS = 9
|
834
845
|
|
835
846
|
# Destination internal address cannot be resolved to a known target. If
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-network_management-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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: 2022-
|
11
|
+
date: 2022-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,28 +50,28 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: 1.26.1
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
60
|
+
version: 1.26.1
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '5.
|
67
|
+
version: '5.16'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '5.
|
74
|
+
version: '5.16'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: minitest-focus
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
109
|
+
version: '13.0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '13.0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: redcarpet
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -207,14 +207,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
207
|
requirements:
|
208
208
|
- - ">="
|
209
209
|
- !ruby/object:Gem::Version
|
210
|
-
version: '2.
|
210
|
+
version: '2.6'
|
211
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.3.
|
217
|
+
rubygems_version: 3.3.14
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: API Client library for the Network Management V1 API
|