google-apis-networkmanagement_v1 0.56.0 → 0.58.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: 624d4d31c587d273ccedf5c380ca84de0b1ad67094e3f4f37ab8a7399d74b29a
4
- data.tar.gz: e49c80a06cef711658a43bac2174e99f0954c485db6f976068cbcd9e542158a8
3
+ metadata.gz: 2d87341ad72cca57e55124f676dd9ff1b2a59557f97e5000a5824fb26385c97a
4
+ data.tar.gz: b6a948271300752d03179c848160f36fb732dba4143bab75e1f1efe281ac5f9c
5
5
  SHA512:
6
- metadata.gz: bd287404e187a42d1e4d4201120b36eb39ecd66d51604bfff69aa3af6d225a86e125c85106dbc061eba2ef9fd260df059ea991697e8b071f1d392def4e1399aa
7
- data.tar.gz: 5556eb7de9bce5f9f6c1625611f4d398cf0b79efb7575c05bb2e787e1fc645299deb106729ac9da1158aa3b0f7f1da99de69ac849db986b2708b38b7e63ead09
6
+ metadata.gz: 67abc8277de3d7b004011be2253002ce65e677892d5cb4bcf67dd088de33ac5aa7cebecac38afbde8e4ce3d702f8fac16adcc1581b494d3182eab00097fe047d
7
+ data.tar.gz: a19c270627cfb6c250bf492c5404406ddd80f78893222647236b506ead17dc5c42c54e875977995928509793af07f8fdfd598b80f2fdb23966f3fbded4741b62
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkmanagement_v1
2
2
 
3
+ ### v0.58.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250416
6
+
7
+ ### v0.57.0 (2025-04-20)
8
+
9
+ * Regenerated from discovery document revision 20250409
10
+
3
11
  ### v0.56.0 (2025-03-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20250319
@@ -1309,6 +1309,12 @@ module Google
1309
1309
  # @return [String]
1310
1310
  attr_accessor :psc_network_attachment_uri
1311
1311
 
1312
+ # Indicates whether the Compute Engine instance is running.
1313
+ # Corresponds to the JSON property `running`
1314
+ # @return [Boolean]
1315
+ attr_accessor :running
1316
+ alias_method :running?, :running
1317
+
1312
1318
  # Service account authorized for the instance.
1313
1319
  # Corresponds to the JSON property `serviceAccount`
1314
1320
  # @return [String]
@@ -1332,6 +1338,7 @@ module Google
1332
1338
  @network_tags = args[:network_tags] if args.key?(:network_tags)
1333
1339
  @network_uri = args[:network_uri] if args.key?(:network_uri)
1334
1340
  @psc_network_attachment_uri = args[:psc_network_attachment_uri] if args.key?(:psc_network_attachment_uri)
1341
+ @running = args[:running] if args.key?(:running)
1335
1342
  @service_account = args[:service_account] if args.key?(:service_account)
1336
1343
  @uri = args[:uri] if args.key?(:uri)
1337
1344
  end
@@ -2075,6 +2082,11 @@ module Google
2075
2082
  # @return [Google::Apis::NetworkmanagementV1::EdgeLocation]
2076
2083
  attr_accessor :destination_egress_location
2077
2084
 
2085
+ # Probing results for all edge devices.
2086
+ # Corresponds to the JSON property `edgeResponses`
2087
+ # @return [Array<Google::Apis::NetworkmanagementV1::SingleEdgeResponse>]
2088
+ attr_accessor :edge_responses
2089
+
2078
2090
  # For display only. The specification of the endpoints for the test.
2079
2091
  # EndpointInfo is derived from source and destination Endpoint and validated by
2080
2092
  # the backend data plane model.
@@ -2092,6 +2104,12 @@ module Google
2092
2104
  # @return [Google::Apis::NetworkmanagementV1::Status]
2093
2105
  attr_accessor :error
2094
2106
 
2107
+ # Whether all relevant edge devices were probed.
2108
+ # Corresponds to the JSON property `probedAllDevices`
2109
+ # @return [Boolean]
2110
+ attr_accessor :probed_all_devices
2111
+ alias_method :probed_all_devices?, :probed_all_devices
2112
+
2095
2113
  # Describes measured latency distribution.
2096
2114
  # Corresponds to the JSON property `probingLatency`
2097
2115
  # @return [Google::Apis::NetworkmanagementV1::LatencyDistribution]
@@ -2125,8 +2143,10 @@ module Google
2125
2143
  def update!(**args)
2126
2144
  @abort_cause = args[:abort_cause] if args.key?(:abort_cause)
2127
2145
  @destination_egress_location = args[:destination_egress_location] if args.key?(:destination_egress_location)
2146
+ @edge_responses = args[:edge_responses] if args.key?(:edge_responses)
2128
2147
  @endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
2129
2148
  @error = args[:error] if args.key?(:error)
2149
+ @probed_all_devices = args[:probed_all_devices] if args.key?(:probed_all_devices)
2130
2150
  @probing_latency = args[:probing_latency] if args.key?(:probing_latency)
2131
2151
  @result = args[:result] if args.key?(:result)
2132
2152
  @sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
@@ -2637,6 +2657,57 @@ module Google
2637
2657
  end
2638
2658
  end
2639
2659
 
2660
+ # Probing results for a single edge device.
2661
+ class SingleEdgeResponse
2662
+ include Google::Apis::Core::Hashable
2663
+
2664
+ # Representation of a network edge location as per https://cloud.google.com/vpc/
2665
+ # docs/edge-locations.
2666
+ # Corresponds to the JSON property `destinationEgressLocation`
2667
+ # @return [Google::Apis::NetworkmanagementV1::EdgeLocation]
2668
+ attr_accessor :destination_egress_location
2669
+
2670
+ # Router name in the format '`router`.`metroshard`'. For example: pf01.aaa01,
2671
+ # pr02.aaa01.
2672
+ # Corresponds to the JSON property `destinationRouter`
2673
+ # @return [String]
2674
+ attr_accessor :destination_router
2675
+
2676
+ # Describes measured latency distribution.
2677
+ # Corresponds to the JSON property `probingLatency`
2678
+ # @return [Google::Apis::NetworkmanagementV1::LatencyDistribution]
2679
+ attr_accessor :probing_latency
2680
+
2681
+ # The overall result of active probing for this egress device.
2682
+ # Corresponds to the JSON property `result`
2683
+ # @return [String]
2684
+ attr_accessor :result
2685
+
2686
+ # Number of probes sent.
2687
+ # Corresponds to the JSON property `sentProbeCount`
2688
+ # @return [Fixnum]
2689
+ attr_accessor :sent_probe_count
2690
+
2691
+ # Number of probes that reached the destination.
2692
+ # Corresponds to the JSON property `successfulProbeCount`
2693
+ # @return [Fixnum]
2694
+ attr_accessor :successful_probe_count
2695
+
2696
+ def initialize(**args)
2697
+ update!(**args)
2698
+ end
2699
+
2700
+ # Update properties of this object
2701
+ def update!(**args)
2702
+ @destination_egress_location = args[:destination_egress_location] if args.key?(:destination_egress_location)
2703
+ @destination_router = args[:destination_router] if args.key?(:destination_router)
2704
+ @probing_latency = args[:probing_latency] if args.key?(:probing_latency)
2705
+ @result = args[:result] if args.key?(:result)
2706
+ @sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
2707
+ @successful_probe_count = args[:successful_probe_count] if args.key?(:successful_probe_count)
2708
+ end
2709
+ end
2710
+
2640
2711
  # The `Status` type defines a logical error model that is suitable for different
2641
2712
  # programming environments, including REST APIs and RPC APIs. It is used by [
2642
2713
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -3098,7 +3169,8 @@ module Google
3098
3169
  attr_accessor :name
3099
3170
 
3100
3171
  # Optional. The state of the VPC Flow Log configuration. Default value is
3101
- # ENABLED. When creating a new configuration, it must be enabled.
3172
+ # ENABLED. When creating a new configuration, it must be enabled. Setting state=
3173
+ # DISABLED will pause the log generation for this config.
3102
3174
  # Corresponds to the JSON property `state`
3103
3175
  # @return [String]
3104
3176
  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.56.0"
19
+ GEM_VERSION = "0.58.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 = "20250416"
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
 
@@ -695,6 +701,7 @@ module Google
695
701
  collection :network_tags, as: 'networkTags'
696
702
  property :network_uri, as: 'networkUri'
697
703
  property :psc_network_attachment_uri, as: 'pscNetworkAttachmentUri'
704
+ property :running, as: 'running'
698
705
  property :service_account, as: 'serviceAccount'
699
706
  property :uri, as: 'uri'
700
707
  end
@@ -877,10 +884,13 @@ module Google
877
884
  property :abort_cause, as: 'abortCause'
878
885
  property :destination_egress_location, as: 'destinationEgressLocation', class: Google::Apis::NetworkmanagementV1::EdgeLocation, decorator: Google::Apis::NetworkmanagementV1::EdgeLocation::Representation
879
886
 
887
+ collection :edge_responses, as: 'edgeResponses', class: Google::Apis::NetworkmanagementV1::SingleEdgeResponse, decorator: Google::Apis::NetworkmanagementV1::SingleEdgeResponse::Representation
888
+
880
889
  property :endpoint_info, as: 'endpointInfo', class: Google::Apis::NetworkmanagementV1::EndpointInfo, decorator: Google::Apis::NetworkmanagementV1::EndpointInfo::Representation
881
890
 
882
891
  property :error, as: 'error', class: Google::Apis::NetworkmanagementV1::Status, decorator: Google::Apis::NetworkmanagementV1::Status::Representation
883
892
 
893
+ property :probed_all_devices, as: 'probedAllDevices'
884
894
  property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1::LatencyDistribution::Representation
885
895
 
886
896
  property :result, as: 'result'
@@ -1002,6 +1012,20 @@ module Google
1002
1012
  end
1003
1013
  end
1004
1014
 
1015
+ class SingleEdgeResponse
1016
+ # @private
1017
+ class Representation < Google::Apis::Core::JsonRepresentation
1018
+ property :destination_egress_location, as: 'destinationEgressLocation', class: Google::Apis::NetworkmanagementV1::EdgeLocation, decorator: Google::Apis::NetworkmanagementV1::EdgeLocation::Representation
1019
+
1020
+ property :destination_router, as: 'destinationRouter'
1021
+ property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1::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
+
1005
1029
  class Status
1006
1030
  # @private
1007
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_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.56.0
4
+ version: 0.58.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-27 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.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.58.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: