google-apis-networkmanagement_v1beta1 0.55.0 → 0.56.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: e4154df6997c529705dc4203f6a8e6aefbda8844269b2db551f6e6de118db45f
4
- data.tar.gz: d3325bda7f094bc672816b2845ea00daf61ec264722435d4d4ddb1acb34367ad
3
+ metadata.gz: 2df56f3fda24e0c4d96a2b3a74d756bb8796ba82d82647a27a94f03e050a7359
4
+ data.tar.gz: 0e99f43b4f6ef15b520828a881bceb5cea983e0c1473f34b4656361b5f2e721b
5
5
  SHA512:
6
- metadata.gz: 2611f282df19b0d4b3ac67c86efacd5ff5f75408a466948b28f721f8ab7502e973c36e8caf150eb26ce17855e4705c162b4b96965f89eb119cb5574491ae21d2
7
- data.tar.gz: 5d6b9c9debc22e2e7587f869e059a3aa789cde24540acf655cb84c752cde2241e3adc167addd1c1bcaddf1bb650bd18131627be9fd85303b2311b6656a94478b
6
+ metadata.gz: 2a79984efaf3c83a782da7c88c3e7e24fbf563645cdeafe51dc61b1f070a1856a2a2e008baa0b37d1aab5c863fbbb879e6b559dd25efff70583ea78bfe7238e5
7
+ data.tar.gz: e972dcc2b4de11d1c9f56f2f9d4a795140000aa9c157ad2e4bf2dab83d19330a9d7aa68845e19dc7bd18b11f5427e8bda99382d9f486555996a37eca34c1cd89
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkmanagement_v1beta1
2
2
 
3
+ ### v0.56.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250409
6
+
3
7
  ### v0.55.0 (2025-03-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20250319
@@ -2081,6 +2081,11 @@ module Google
2081
2081
  # @return [Google::Apis::NetworkmanagementV1beta1::EdgeLocation]
2082
2082
  attr_accessor :destination_egress_location
2083
2083
 
2084
+ # Probing results for all edge devices.
2085
+ # Corresponds to the JSON property `edgeResponses`
2086
+ # @return [Array<Google::Apis::NetworkmanagementV1beta1::SingleEdgeResponse>]
2087
+ attr_accessor :edge_responses
2088
+
2084
2089
  # For display only. The specification of the endpoints for the test.
2085
2090
  # EndpointInfo is derived from source and destination Endpoint and validated by
2086
2091
  # the backend data plane model.
@@ -2098,6 +2103,12 @@ module Google
2098
2103
  # @return [Google::Apis::NetworkmanagementV1beta1::Status]
2099
2104
  attr_accessor :error
2100
2105
 
2106
+ # Whether all relevant edge devices were probed.
2107
+ # Corresponds to the JSON property `probedAllDevices`
2108
+ # @return [Boolean]
2109
+ attr_accessor :probed_all_devices
2110
+ alias_method :probed_all_devices?, :probed_all_devices
2111
+
2101
2112
  # Describes measured latency distribution.
2102
2113
  # Corresponds to the JSON property `probingLatency`
2103
2114
  # @return [Google::Apis::NetworkmanagementV1beta1::LatencyDistribution]
@@ -2131,8 +2142,10 @@ module Google
2131
2142
  def update!(**args)
2132
2143
  @abort_cause = args[:abort_cause] if args.key?(:abort_cause)
2133
2144
  @destination_egress_location = args[:destination_egress_location] if args.key?(:destination_egress_location)
2145
+ @edge_responses = args[:edge_responses] if args.key?(:edge_responses)
2134
2146
  @endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
2135
2147
  @error = args[:error] if args.key?(:error)
2148
+ @probed_all_devices = args[:probed_all_devices] if args.key?(:probed_all_devices)
2136
2149
  @probing_latency = args[:probing_latency] if args.key?(:probing_latency)
2137
2150
  @result = args[:result] if args.key?(:result)
2138
2151
  @sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
@@ -2643,6 +2656,57 @@ module Google
2643
2656
  end
2644
2657
  end
2645
2658
 
2659
+ # Probing results for a single edge device.
2660
+ class SingleEdgeResponse
2661
+ include Google::Apis::Core::Hashable
2662
+
2663
+ # Representation of a network edge location as per https://cloud.google.com/vpc/
2664
+ # docs/edge-locations.
2665
+ # Corresponds to the JSON property `destinationEgressLocation`
2666
+ # @return [Google::Apis::NetworkmanagementV1beta1::EdgeLocation]
2667
+ attr_accessor :destination_egress_location
2668
+
2669
+ # Router name in the format '`router`.`metroshard`'. For example: pf01.aaa01,
2670
+ # pr02.aaa01.
2671
+ # Corresponds to the JSON property `destinationRouter`
2672
+ # @return [String]
2673
+ attr_accessor :destination_router
2674
+
2675
+ # Describes measured latency distribution.
2676
+ # Corresponds to the JSON property `probingLatency`
2677
+ # @return [Google::Apis::NetworkmanagementV1beta1::LatencyDistribution]
2678
+ attr_accessor :probing_latency
2679
+
2680
+ # The overall result of active probing for this egress device.
2681
+ # Corresponds to the JSON property `result`
2682
+ # @return [String]
2683
+ attr_accessor :result
2684
+
2685
+ # Number of probes sent.
2686
+ # Corresponds to the JSON property `sentProbeCount`
2687
+ # @return [Fixnum]
2688
+ attr_accessor :sent_probe_count
2689
+
2690
+ # Number of probes that reached the destination.
2691
+ # Corresponds to the JSON property `successfulProbeCount`
2692
+ # @return [Fixnum]
2693
+ attr_accessor :successful_probe_count
2694
+
2695
+ def initialize(**args)
2696
+ update!(**args)
2697
+ end
2698
+
2699
+ # Update properties of this object
2700
+ def update!(**args)
2701
+ @destination_egress_location = args[:destination_egress_location] if args.key?(:destination_egress_location)
2702
+ @destination_router = args[:destination_router] if args.key?(:destination_router)
2703
+ @probing_latency = args[:probing_latency] if args.key?(:probing_latency)
2704
+ @result = args[:result] if args.key?(:result)
2705
+ @sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
2706
+ @successful_probe_count = args[:successful_probe_count] if args.key?(:successful_probe_count)
2707
+ end
2708
+ end
2709
+
2646
2710
  # The `Status` type defines a logical error model that is suitable for different
2647
2711
  # programming environments, including REST APIs and RPC APIs. It is used by [
2648
2712
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -3106,7 +3170,8 @@ module Google
3106
3170
  attr_accessor :name
3107
3171
 
3108
3172
  # Optional. The state of the VPC Flow Log configuration. Default value is
3109
- # ENABLED. When creating a new configuration, it must be enabled.
3173
+ # ENABLED. When creating a new configuration, it must be enabled. Setting state=
3174
+ # DISABLED will pause the log generation for this config.
3110
3175
  # Corresponds to the JSON property `state`
3111
3176
  # @return [String]
3112
3177
  attr_accessor :state
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkmanagementV1beta1
18
18
  # Version of the google-apis-networkmanagement_v1beta1 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.56.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 = "20250319"
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
 
@@ -878,10 +884,13 @@ module Google
878
884
  property :abort_cause, as: 'abortCause'
879
885
  property :destination_egress_location, as: 'destinationEgressLocation', class: Google::Apis::NetworkmanagementV1beta1::EdgeLocation, decorator: Google::Apis::NetworkmanagementV1beta1::EdgeLocation::Representation
880
886
 
887
+ collection :edge_responses, as: 'edgeResponses', class: Google::Apis::NetworkmanagementV1beta1::SingleEdgeResponse, decorator: Google::Apis::NetworkmanagementV1beta1::SingleEdgeResponse::Representation
888
+
881
889
  property :endpoint_info, as: 'endpointInfo', class: Google::Apis::NetworkmanagementV1beta1::EndpointInfo, decorator: Google::Apis::NetworkmanagementV1beta1::EndpointInfo::Representation
882
890
 
883
891
  property :error, as: 'error', class: Google::Apis::NetworkmanagementV1beta1::Status, decorator: Google::Apis::NetworkmanagementV1beta1::Status::Representation
884
892
 
893
+ property :probed_all_devices, as: 'probedAllDevices'
885
894
  property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution::Representation
886
895
 
887
896
  property :result, as: 'result'
@@ -1003,6 +1012,20 @@ module Google
1003
1012
  end
1004
1013
  end
1005
1014
 
1015
+ class SingleEdgeResponse
1016
+ # @private
1017
+ class Representation < Google::Apis::Core::JsonRepresentation
1018
+ property :destination_egress_location, as: 'destinationEgressLocation', class: Google::Apis::NetworkmanagementV1beta1::EdgeLocation, decorator: Google::Apis::NetworkmanagementV1beta1::EdgeLocation::Representation
1019
+
1020
+ property :destination_router, as: 'destinationRouter'
1021
+ property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution::Representation
1022
+
1023
+ property :result, as: 'result'
1024
+ property :sent_probe_count, as: 'sentProbeCount'
1025
+ property :successful_probe_count, as: 'successfulProbeCount'
1026
+ end
1027
+ end
1028
+
1006
1029
  class Status
1007
1030
  # @private
1008
1031
  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_organization_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
118
+ def list_organization_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, 'v1beta1/{+name}/locations', options)
117
120
  command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListLocationsResponse::Representation
118
121
  command.response_class = Google::Apis::NetworkmanagementV1beta1::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?
@@ -302,6 +306,9 @@ module Google
302
306
  # Lists information about the supported locations for this service.
303
307
  # @param [String] name
304
308
  # The resource that owns the locations collection, if applicable.
309
+ # @param [Array<String>, String] extra_location_types
310
+ # Optional. A list of extra location types that should be used as conditions for
311
+ # controlling the visibility of the locations.
305
312
  # @param [String] filter
306
313
  # A filter to narrow down results to a preferred subset. The filtering language
307
314
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -329,11 +336,12 @@ module Google
329
336
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
330
337
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
331
338
  # @raise [Google::Apis::AuthorizationError] Authorization is required
332
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
339
+ 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)
333
340
  command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
334
341
  command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListLocationsResponse::Representation
335
342
  command.response_class = Google::Apis::NetworkmanagementV1beta1::ListLocationsResponse
336
343
  command.params['name'] = name unless name.nil?
344
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
337
345
  command.query['filter'] = filter unless filter.nil?
338
346
  command.query['pageSize'] = page_size unless page_size.nil?
339
347
  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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-30 00:00:00.000000000 Z
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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.56.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: