google-apis-networkmanagement_v1beta1 0.55.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4154df6997c529705dc4203f6a8e6aefbda8844269b2db551f6e6de118db45f
4
- data.tar.gz: d3325bda7f094bc672816b2845ea00daf61ec264722435d4d4ddb1acb34367ad
3
+ metadata.gz: 78a0081ed5e5cf73c58cbf43c44440f32c5bbea31226091462f43fec8a4ca603
4
+ data.tar.gz: 161a9c3fb3af7840b57cbb7bafc489e6742b9a1cda201fb7d6b39383a05f7921
5
5
  SHA512:
6
- metadata.gz: 2611f282df19b0d4b3ac67c86efacd5ff5f75408a466948b28f721f8ab7502e973c36e8caf150eb26ce17855e4705c162b4b96965f89eb119cb5574491ae21d2
7
- data.tar.gz: 5d6b9c9debc22e2e7587f869e059a3aa789cde24540acf655cb84c752cde2241e3adc167addd1c1bcaddf1bb650bd18131627be9fd85303b2311b6656a94478b
6
+ metadata.gz: 8f070d95016908d230ba5f0234a2316b747217dc64c166d0aec8f4be3b4f60ed6b25faac26f9c5bd35e62c270e2693c9212e84bbb9413acaa0df609ead11315b
7
+ data.tar.gz: ef3ba2797b6f30adbafc83440bb78ff9be00bb197b8dc4dd7a3cce145e4e90cce2f62dadaf61cf7d46dc28cf0ce0b26c60186f20389b4e899c2ef2d1717fe5e5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkmanagement_v1beta1
2
2
 
3
+ ### v0.57.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250416
6
+
7
+ ### v0.56.0 (2025-04-20)
8
+
9
+ * Regenerated from discovery document revision 20250409
10
+
3
11
  ### v0.55.0 (2025-03-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20250319
@@ -1315,6 +1315,12 @@ module Google
1315
1315
  # @return [String]
1316
1316
  attr_accessor :psc_network_attachment_uri
1317
1317
 
1318
+ # Indicates whether the Compute Engine instance is running.
1319
+ # Corresponds to the JSON property `running`
1320
+ # @return [Boolean]
1321
+ attr_accessor :running
1322
+ alias_method :running?, :running
1323
+
1318
1324
  # Service account authorized for the instance.
1319
1325
  # Corresponds to the JSON property `serviceAccount`
1320
1326
  # @return [String]
@@ -1338,6 +1344,7 @@ module Google
1338
1344
  @network_tags = args[:network_tags] if args.key?(:network_tags)
1339
1345
  @network_uri = args[:network_uri] if args.key?(:network_uri)
1340
1346
  @psc_network_attachment_uri = args[:psc_network_attachment_uri] if args.key?(:psc_network_attachment_uri)
1347
+ @running = args[:running] if args.key?(:running)
1341
1348
  @service_account = args[:service_account] if args.key?(:service_account)
1342
1349
  @uri = args[:uri] if args.key?(:uri)
1343
1350
  end
@@ -2081,6 +2088,11 @@ module Google
2081
2088
  # @return [Google::Apis::NetworkmanagementV1beta1::EdgeLocation]
2082
2089
  attr_accessor :destination_egress_location
2083
2090
 
2091
+ # Probing results for all edge devices.
2092
+ # Corresponds to the JSON property `edgeResponses`
2093
+ # @return [Array<Google::Apis::NetworkmanagementV1beta1::SingleEdgeResponse>]
2094
+ attr_accessor :edge_responses
2095
+
2084
2096
  # For display only. The specification of the endpoints for the test.
2085
2097
  # EndpointInfo is derived from source and destination Endpoint and validated by
2086
2098
  # the backend data plane model.
@@ -2098,6 +2110,12 @@ module Google
2098
2110
  # @return [Google::Apis::NetworkmanagementV1beta1::Status]
2099
2111
  attr_accessor :error
2100
2112
 
2113
+ # Whether all relevant edge devices were probed.
2114
+ # Corresponds to the JSON property `probedAllDevices`
2115
+ # @return [Boolean]
2116
+ attr_accessor :probed_all_devices
2117
+ alias_method :probed_all_devices?, :probed_all_devices
2118
+
2101
2119
  # Describes measured latency distribution.
2102
2120
  # Corresponds to the JSON property `probingLatency`
2103
2121
  # @return [Google::Apis::NetworkmanagementV1beta1::LatencyDistribution]
@@ -2131,8 +2149,10 @@ module Google
2131
2149
  def update!(**args)
2132
2150
  @abort_cause = args[:abort_cause] if args.key?(:abort_cause)
2133
2151
  @destination_egress_location = args[:destination_egress_location] if args.key?(:destination_egress_location)
2152
+ @edge_responses = args[:edge_responses] if args.key?(:edge_responses)
2134
2153
  @endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
2135
2154
  @error = args[:error] if args.key?(:error)
2155
+ @probed_all_devices = args[:probed_all_devices] if args.key?(:probed_all_devices)
2136
2156
  @probing_latency = args[:probing_latency] if args.key?(:probing_latency)
2137
2157
  @result = args[:result] if args.key?(:result)
2138
2158
  @sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
@@ -2643,6 +2663,57 @@ module Google
2643
2663
  end
2644
2664
  end
2645
2665
 
2666
+ # Probing results for a single edge device.
2667
+ class SingleEdgeResponse
2668
+ include Google::Apis::Core::Hashable
2669
+
2670
+ # Representation of a network edge location as per https://cloud.google.com/vpc/
2671
+ # docs/edge-locations.
2672
+ # Corresponds to the JSON property `destinationEgressLocation`
2673
+ # @return [Google::Apis::NetworkmanagementV1beta1::EdgeLocation]
2674
+ attr_accessor :destination_egress_location
2675
+
2676
+ # Router name in the format '`router`.`metroshard`'. For example: pf01.aaa01,
2677
+ # pr02.aaa01.
2678
+ # Corresponds to the JSON property `destinationRouter`
2679
+ # @return [String]
2680
+ attr_accessor :destination_router
2681
+
2682
+ # Describes measured latency distribution.
2683
+ # Corresponds to the JSON property `probingLatency`
2684
+ # @return [Google::Apis::NetworkmanagementV1beta1::LatencyDistribution]
2685
+ attr_accessor :probing_latency
2686
+
2687
+ # The overall result of active probing for this egress device.
2688
+ # Corresponds to the JSON property `result`
2689
+ # @return [String]
2690
+ attr_accessor :result
2691
+
2692
+ # Number of probes sent.
2693
+ # Corresponds to the JSON property `sentProbeCount`
2694
+ # @return [Fixnum]
2695
+ attr_accessor :sent_probe_count
2696
+
2697
+ # Number of probes that reached the destination.
2698
+ # Corresponds to the JSON property `successfulProbeCount`
2699
+ # @return [Fixnum]
2700
+ attr_accessor :successful_probe_count
2701
+
2702
+ def initialize(**args)
2703
+ update!(**args)
2704
+ end
2705
+
2706
+ # Update properties of this object
2707
+ def update!(**args)
2708
+ @destination_egress_location = args[:destination_egress_location] if args.key?(:destination_egress_location)
2709
+ @destination_router = args[:destination_router] if args.key?(:destination_router)
2710
+ @probing_latency = args[:probing_latency] if args.key?(:probing_latency)
2711
+ @result = args[:result] if args.key?(:result)
2712
+ @sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
2713
+ @successful_probe_count = args[:successful_probe_count] if args.key?(:successful_probe_count)
2714
+ end
2715
+ end
2716
+
2646
2717
  # The `Status` type defines a logical error model that is suitable for different
2647
2718
  # programming environments, including REST APIs and RPC APIs. It is used by [
2648
2719
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -3106,7 +3177,8 @@ module Google
3106
3177
  attr_accessor :name
3107
3178
 
3108
3179
  # Optional. The state of the VPC Flow Log configuration. Default value is
3109
- # ENABLED. When creating a new configuration, it must be enabled.
3180
+ # ENABLED. When creating a new configuration, it must be enabled. Setting state=
3181
+ # DISABLED will pause the log generation for this config.
3110
3182
  # Corresponds to the JSON property `state`
3111
3183
  # @return [String]
3112
3184
  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.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 = "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
 
@@ -696,6 +702,7 @@ module Google
696
702
  collection :network_tags, as: 'networkTags'
697
703
  property :network_uri, as: 'networkUri'
698
704
  property :psc_network_attachment_uri, as: 'pscNetworkAttachmentUri'
705
+ property :running, as: 'running'
699
706
  property :service_account, as: 'serviceAccount'
700
707
  property :uri, as: 'uri'
701
708
  end
@@ -878,10 +885,13 @@ module Google
878
885
  property :abort_cause, as: 'abortCause'
879
886
  property :destination_egress_location, as: 'destinationEgressLocation', class: Google::Apis::NetworkmanagementV1beta1::EdgeLocation, decorator: Google::Apis::NetworkmanagementV1beta1::EdgeLocation::Representation
880
887
 
888
+ collection :edge_responses, as: 'edgeResponses', class: Google::Apis::NetworkmanagementV1beta1::SingleEdgeResponse, decorator: Google::Apis::NetworkmanagementV1beta1::SingleEdgeResponse::Representation
889
+
881
890
  property :endpoint_info, as: 'endpointInfo', class: Google::Apis::NetworkmanagementV1beta1::EndpointInfo, decorator: Google::Apis::NetworkmanagementV1beta1::EndpointInfo::Representation
882
891
 
883
892
  property :error, as: 'error', class: Google::Apis::NetworkmanagementV1beta1::Status, decorator: Google::Apis::NetworkmanagementV1beta1::Status::Representation
884
893
 
894
+ property :probed_all_devices, as: 'probedAllDevices'
885
895
  property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution::Representation
886
896
 
887
897
  property :result, as: 'result'
@@ -1003,6 +1013,20 @@ module Google
1003
1013
  end
1004
1014
  end
1005
1015
 
1016
+ class SingleEdgeResponse
1017
+ # @private
1018
+ class Representation < Google::Apis::Core::JsonRepresentation
1019
+ property :destination_egress_location, as: 'destinationEgressLocation', class: Google::Apis::NetworkmanagementV1beta1::EdgeLocation, decorator: Google::Apis::NetworkmanagementV1beta1::EdgeLocation::Representation
1020
+
1021
+ property :destination_router, as: 'destinationRouter'
1022
+ property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution::Representation
1023
+
1024
+ property :result, as: 'result'
1025
+ property :sent_probe_count, as: 'sentProbeCount'
1026
+ property :successful_probe_count, as: 'successfulProbeCount'
1027
+ end
1028
+ end
1029
+
1006
1030
  class Status
1007
1031
  # @private
1008
1032
  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.57.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_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.57.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: