google-cloud-network_management-v1 1.5.0 → 2.0.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: 774822d73da29513ea9addcdba97ff2b2a3c03e6aab7c16168fb27b627d6f65b
4
- data.tar.gz: bc1877bb42e5c7696ba7b8991133a30d2200600b746a72301231855e80b09810
3
+ metadata.gz: 2e328fc847a48df4aae1a203ad832fcc185872575abc86e451fad5d9877ca692
4
+ data.tar.gz: a49092af763fbc9a2128a1398367201ac632f690fd166e07fcaf927de40c280b
5
5
  SHA512:
6
- metadata.gz: c894c3b8e2532902f61ef935d03d0f65a40dbb63b57b9ba8faaa2b003f99e174a64c00b836e3156727500c1deb3e06a1965a221ec788496bf6f1a406a6fed5d3
7
- data.tar.gz: 85fa370806232aceadfa252a8b35ca23970b512515d15e9826f40fd7e40981df7fa89074bd85de3cff3a2016482f3322445cbcffb03e1987c7af946596ef5708
6
+ metadata.gz: f9f708e92ab941826659be7c65d96de81fc4c00d70123051ba5aaf0ede11e549f6a1711d6c77737b618682485cf283b7a3de192a6719bc2577cc99d877c4e239
7
+ data.tar.gz: 92d189000aca404d163f9744f3373fb0a82678478e635cd5a4ad1b56e0c19915bd30a9fb5c66ded37275117268381246ffb4997e753004d7941f35e81f1f18b2
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -914,6 +914,13 @@ module Google
914
914
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
915
915
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
916
916
  # * (`nil`) indicating no credentials
917
+ #
918
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
919
+ # external source for authentication to Google Cloud, you must validate it before
920
+ # providing it to a Google API client library. Providing an unvalidated credential
921
+ # configuration to Google APIs can compromise the security of your systems and data.
922
+ # For more information, refer to [Validate credential configurations from external
923
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
917
924
  # @return [::Object]
918
925
  # @!attribute [rw] scope
919
926
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -280,10 +280,10 @@ module Google
280
280
  # @param order_by [::String]
281
281
  # Field to use to sort the list.
282
282
  # @yield [result, operation] Access the result along with the TransportOperation object
283
- # @yieldparam result [::Google::Cloud::NetworkManagement::V1::ListConnectivityTestsResponse]
283
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkManagement::V1::ConnectivityTest>]
284
284
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
285
285
  #
286
- # @return [::Google::Cloud::NetworkManagement::V1::ListConnectivityTestsResponse]
286
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkManagement::V1::ConnectivityTest>]
287
287
  #
288
288
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
289
289
  #
@@ -335,7 +335,9 @@ module Google
335
335
  retry_policy: @config.retry_policy
336
336
 
337
337
  @reachability_service_stub.list_connectivity_tests request, options do |result, operation|
338
+ result = ::Gapic::Rest::PagedEnumerable.new @reachability_service_stub, :list_connectivity_tests, "resources", request, result, options
338
339
  yield result, operation if block_given?
340
+ throw :response, result
339
341
  end
340
342
  rescue ::Gapic::Rest::Error => e
341
343
  raise ::Google::Cloud::Error.from_error(e)
@@ -863,6 +865,13 @@ module Google
863
865
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
864
866
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
865
867
  # * (`nil`) indicating no credentials
868
+ #
869
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
870
+ # external source for authentication to Google Cloud, you must validate it before
871
+ # providing it to a Google API client library. Providing an unvalidated credential
872
+ # configuration to Google APIs can compromise the security of your systems and data.
873
+ # For more information, refer to [Validate credential configurations from external
874
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
866
875
  # @return [::Object]
867
876
  # @!attribute [rw] scope
868
877
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkManagement
23
23
  module V1
24
- VERSION = "1.5.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -783,6 +783,13 @@ module Google
783
783
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
784
784
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
785
785
  # * (`nil`) indicating no credentials
786
+ #
787
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
788
+ # external source for authentication to Google Cloud, you must validate it before
789
+ # providing it to a Google API client library. Providing an unvalidated credential
790
+ # configuration to Google APIs can compromise the security of your systems and data.
791
+ # For more information, refer to [Validate credential configurations from external
792
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
786
793
  # @return [::Object]
787
794
  # @!attribute [rw] scope
788
795
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -259,10 +259,10 @@ module Google
259
259
  # @param order_by [::String]
260
260
  # Optional. Field to use to sort the list.
261
261
  # @yield [result, operation] Access the result along with the TransportOperation object
262
- # @yieldparam result [::Google::Cloud::NetworkManagement::V1::ListVpcFlowLogsConfigsResponse]
262
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig>]
263
263
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
264
264
  #
265
- # @return [::Google::Cloud::NetworkManagement::V1::ListVpcFlowLogsConfigsResponse]
265
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig>]
266
266
  #
267
267
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
268
268
  #
@@ -314,7 +314,9 @@ module Google
314
314
  retry_policy: @config.retry_policy
315
315
 
316
316
  @vpc_flow_logs_service_stub.list_vpc_flow_logs_configs request, options do |result, operation|
317
+ result = ::Gapic::Rest::PagedEnumerable.new @vpc_flow_logs_service_stub, :list_vpc_flow_logs_configs, "vpc_flow_logs_configs", request, result, options
317
318
  yield result, operation if block_given?
319
+ throw :response, result
318
320
  end
319
321
  rescue ::Gapic::Rest::Error => e
320
322
  raise ::Google::Cloud::Error.from_error(e)
@@ -739,6 +741,13 @@ module Google
739
741
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
740
742
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
741
743
  # * (`nil`) indicating no credentials
744
+ #
745
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
746
+ # external source for authentication to Google Cloud, you must validate it before
747
+ # providing it to a Google API client library. Providing an unvalidated credential
748
+ # configuration to Google APIs can compromise the security of your systems and data.
749
+ # For more information, refer to [Validate credential configurations from external
750
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
742
751
  # @return [::Object]
743
752
  # @!attribute [rw] scope
744
753
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -73,90 +73,144 @@ module Google
73
73
  # @!attribute [rw] instance
74
74
  # @return [::Google::Cloud::NetworkManagement::V1::InstanceInfo]
75
75
  # Display information of a Compute Engine instance.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
76
78
  # @!attribute [rw] firewall
77
79
  # @return [::Google::Cloud::NetworkManagement::V1::FirewallInfo]
78
80
  # Display information of a Compute Engine firewall rule.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `firewall`, `instance`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
79
83
  # @!attribute [rw] route
80
84
  # @return [::Google::Cloud::NetworkManagement::V1::RouteInfo]
81
85
  # Display information of a Compute Engine route.
86
+ #
87
+ # Note: The following fields are mutually exclusive: `route`, `instance`, `firewall`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
82
88
  # @!attribute [rw] endpoint
83
89
  # @return [::Google::Cloud::NetworkManagement::V1::EndpointInfo]
84
90
  # Display information of the source and destination under analysis.
85
91
  # The endpoint information in an intermediate state may differ with the
86
92
  # initial input, as it might be modified by state like NAT,
87
93
  # or Connection Proxy.
94
+ #
95
+ # Note: The following fields are mutually exclusive: `endpoint`, `instance`, `firewall`, `route`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
88
96
  # @!attribute [rw] google_service
89
97
  # @return [::Google::Cloud::NetworkManagement::V1::GoogleServiceInfo]
90
98
  # Display information of a Google service
99
+ #
100
+ # Note: The following fields are mutually exclusive: `google_service`, `instance`, `firewall`, `route`, `endpoint`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
91
101
  # @!attribute [rw] forwarding_rule
92
102
  # @return [::Google::Cloud::NetworkManagement::V1::ForwardingRuleInfo]
93
103
  # Display information of a Compute Engine forwarding rule.
104
+ #
105
+ # Note: The following fields are mutually exclusive: `forwarding_rule`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
94
106
  # @!attribute [rw] vpn_gateway
95
107
  # @return [::Google::Cloud::NetworkManagement::V1::VpnGatewayInfo]
96
108
  # Display information of a Compute Engine VPN gateway.
109
+ #
110
+ # Note: The following fields are mutually exclusive: `vpn_gateway`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
97
111
  # @!attribute [rw] vpn_tunnel
98
112
  # @return [::Google::Cloud::NetworkManagement::V1::VpnTunnelInfo]
99
113
  # Display information of a Compute Engine VPN tunnel.
114
+ #
115
+ # Note: The following fields are mutually exclusive: `vpn_tunnel`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
100
116
  # @!attribute [rw] vpc_connector
101
117
  # @return [::Google::Cloud::NetworkManagement::V1::VpcConnectorInfo]
102
118
  # Display information of a VPC connector.
119
+ #
120
+ # Note: The following fields are mutually exclusive: `vpc_connector`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
103
121
  # @!attribute [rw] deliver
104
122
  # @return [::Google::Cloud::NetworkManagement::V1::DeliverInfo]
105
123
  # Display information of the final state "deliver" and reason.
124
+ #
125
+ # Note: The following fields are mutually exclusive: `deliver`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
106
126
  # @!attribute [rw] forward
107
127
  # @return [::Google::Cloud::NetworkManagement::V1::ForwardInfo]
108
128
  # Display information of the final state "forward" and reason.
129
+ #
130
+ # Note: The following fields are mutually exclusive: `forward`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
109
131
  # @!attribute [rw] abort
110
132
  # @return [::Google::Cloud::NetworkManagement::V1::AbortInfo]
111
133
  # Display information of the final state "abort" and reason.
134
+ #
135
+ # Note: The following fields are mutually exclusive: `abort`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
112
136
  # @!attribute [rw] drop
113
137
  # @return [::Google::Cloud::NetworkManagement::V1::DropInfo]
114
138
  # Display information of the final state "drop" and reason.
139
+ #
140
+ # Note: The following fields are mutually exclusive: `drop`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
115
141
  # @!attribute [rw] load_balancer
116
142
  # @deprecated This field is deprecated and may be removed in the next major version update.
117
143
  # @return [::Google::Cloud::NetworkManagement::V1::LoadBalancerInfo]
118
144
  # Display information of the load balancers. Deprecated in favor of the
119
145
  # `load_balancer_backend_info` field, not used in new tests.
146
+ #
147
+ # Note: The following fields are mutually exclusive: `load_balancer`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
120
148
  # @!attribute [rw] network
121
149
  # @return [::Google::Cloud::NetworkManagement::V1::NetworkInfo]
122
150
  # Display information of a Google Cloud network.
151
+ #
152
+ # Note: The following fields are mutually exclusive: `network`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
123
153
  # @!attribute [rw] gke_master
124
154
  # @return [::Google::Cloud::NetworkManagement::V1::GKEMasterInfo]
125
155
  # Display information of a Google Kubernetes Engine cluster master.
156
+ #
157
+ # Note: The following fields are mutually exclusive: `gke_master`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
126
158
  # @!attribute [rw] cloud_sql_instance
127
159
  # @return [::Google::Cloud::NetworkManagement::V1::CloudSQLInstanceInfo]
128
160
  # Display information of a Cloud SQL instance.
161
+ #
162
+ # Note: The following fields are mutually exclusive: `cloud_sql_instance`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
129
163
  # @!attribute [rw] redis_instance
130
164
  # @return [::Google::Cloud::NetworkManagement::V1::RedisInstanceInfo]
131
165
  # Display information of a Redis Instance.
166
+ #
167
+ # Note: The following fields are mutually exclusive: `redis_instance`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
132
168
  # @!attribute [rw] redis_cluster
133
169
  # @return [::Google::Cloud::NetworkManagement::V1::RedisClusterInfo]
134
170
  # Display information of a Redis Cluster.
171
+ #
172
+ # Note: The following fields are mutually exclusive: `redis_cluster`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
135
173
  # @!attribute [rw] cloud_function
136
174
  # @return [::Google::Cloud::NetworkManagement::V1::CloudFunctionInfo]
137
175
  # Display information of a Cloud Function.
176
+ #
177
+ # Note: The following fields are mutually exclusive: `cloud_function`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
138
178
  # @!attribute [rw] app_engine_version
139
179
  # @return [::Google::Cloud::NetworkManagement::V1::AppEngineVersionInfo]
140
180
  # Display information of an App Engine service version.
181
+ #
182
+ # Note: The following fields are mutually exclusive: `app_engine_version`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
141
183
  # @!attribute [rw] cloud_run_revision
142
184
  # @return [::Google::Cloud::NetworkManagement::V1::CloudRunRevisionInfo]
143
185
  # Display information of a Cloud Run revision.
186
+ #
187
+ # Note: The following fields are mutually exclusive: `cloud_run_revision`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
144
188
  # @!attribute [rw] nat
145
189
  # @return [::Google::Cloud::NetworkManagement::V1::NatInfo]
146
190
  # Display information of a NAT.
191
+ #
192
+ # Note: The following fields are mutually exclusive: `nat`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
147
193
  # @!attribute [rw] proxy_connection
148
194
  # @return [::Google::Cloud::NetworkManagement::V1::ProxyConnectionInfo]
149
195
  # Display information of a ProxyConnection.
196
+ #
197
+ # Note: The following fields are mutually exclusive: `proxy_connection`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `load_balancer_backend_info`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
150
198
  # @!attribute [rw] load_balancer_backend_info
151
199
  # @return [::Google::Cloud::NetworkManagement::V1::LoadBalancerBackendInfo]
152
200
  # Display information of a specific load balancer backend.
201
+ #
202
+ # Note: The following fields are mutually exclusive: `load_balancer_backend_info`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `storage_bucket`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
153
203
  # @!attribute [rw] storage_bucket
154
204
  # @return [::Google::Cloud::NetworkManagement::V1::StorageBucketInfo]
155
205
  # Display information of a Storage Bucket. Used only for return traces.
206
+ #
207
+ # Note: The following fields are mutually exclusive: `storage_bucket`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `serverless_neg`. If a field in that set is populated, all other fields in the set will automatically be cleared.
156
208
  # @!attribute [rw] serverless_neg
157
209
  # @return [::Google::Cloud::NetworkManagement::V1::ServerlessNegInfo]
158
210
  # Display information of a Serverless network endpoint group backend. Used
159
211
  # only for return traces.
212
+ #
213
+ # Note: The following fields are mutually exclusive: `serverless_neg`, `instance`, `firewall`, `route`, `endpoint`, `google_service`, `forwarding_rule`, `vpn_gateway`, `vpn_tunnel`, `vpc_connector`, `deliver`, `forward`, `abort`, `drop`, `load_balancer`, `network`, `gke_master`, `cloud_sql_instance`, `redis_instance`, `redis_cluster`, `cloud_function`, `app_engine_version`, `cloud_run_revision`, `nat`, `proxy_connection`, `load_balancer_backend_info`, `storage_bucket`. If a field in that set is populated, all other fields in the set will automatically be cleared.
160
214
  class Step
161
215
  include ::Google::Protobuf::MessageExts
162
216
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -66,10 +66,14 @@ module Google
66
66
  # Traffic will be logged from the Interconnect Attachment.
67
67
  # Format:
68
68
  # projects/\\{project_id}/regions/\\{region}/interconnectAttachments/\\{name}
69
+ #
70
+ # Note: The following fields are mutually exclusive: `interconnect_attachment`, `vpn_tunnel`. If a field in that set is populated, all other fields in the set will automatically be cleared.
69
71
  # @!attribute [rw] vpn_tunnel
70
72
  # @return [::String]
71
73
  # Traffic will be logged from the VPN Tunnel.
72
74
  # Format: projects/\\{project_id}/regions/\\{region}/vpnTunnels/\\{name}
75
+ #
76
+ # Note: The following fields are mutually exclusive: `vpn_tunnel`, `interconnect_attachment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
73
77
  # @!attribute [rw] labels
74
78
  # @return [::Google::Protobuf::Map{::String => ::String}]
75
79
  # Optional. Resource labels to represent user-provided metadata.
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-network_management-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-23 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -15,7 +15,7 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.24.0
18
+ version: 0.25.0
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
21
  version: 2.a
@@ -25,7 +25,7 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: 0.24.0
28
+ version: 0.25.0
29
29
  - - "<"
30
30
  - !ruby/object:Gem::Version
31
31
  version: 2.a
@@ -157,14 +157,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - ">="
159
159
  - !ruby/object:Gem::Version
160
- version: '2.7'
160
+ version: '3.0'
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - ">="
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
- rubygems_version: 3.6.2
167
+ rubygems_version: 3.6.3
168
168
  specification_version: 4
169
169
  summary: The Network Management API provides a collection of network performance monitoring
170
170
  and diagnostic capabilities.