google-apis-networkmanagement_v1 0.31.0 → 0.33.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: 19f86a876f5ccaf99c64d22178d533f30daecc5b2390e8b2b9fda552f5bb99c1
4
- data.tar.gz: 6115140f484b864c4c0fa335e43916005272afce37d21cc772613fe1d51d9d1e
3
+ metadata.gz: 7e05a07f588be3d316753b48692c171018212a098ecf9796b83e798f1a9e1566
4
+ data.tar.gz: aef7c01478b2a1326493f1218bf2f2cdecee5c28b8f3fd45a28be867f09d9529
5
5
  SHA512:
6
- metadata.gz: b19921be2f81fdea5a6f4032ca47035dfc68693114f540e1aed1b0190f43a4c044efccf6976e264bf5139bb68c7ffef227d31229217e6d81940ea6c79ad61cfd
7
- data.tar.gz: 4bd894b6fe7fe5d00cabc92431e66dd93778cd0776fa865aa7c4956462539ffb065869d450f097a11d9fc714adfa2c8a2d248a60f76e839d15ec716c3bbb4fc7
6
+ metadata.gz: abfb229d55c163066ba1924d732168031f6f8dc48d32641f6a4d01759d99427ba383419b80be58a857dfa3feb8e2e50b146a6d607601f971bf36ecf086c6336f
7
+ data.tar.gz: f49b1c1ad8970929cabad23c0a8cdf1b991f6f2bbf4e0a181ef3196200e657d896c53b419ff39783240dcf58ec2a8851c50550835043d75143617e2489c52b41
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkmanagement_v1
2
2
 
3
+ ### v0.33.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230906
6
+
7
+ ### v0.32.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230809
10
+
3
11
  ### v0.31.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230802
@@ -473,6 +473,11 @@ module Google
473
473
  # @return [String]
474
474
  attr_accessor :name
475
475
 
476
+ # Results of active probing from the last run of the test.
477
+ # Corresponds to the JSON property `probingDetails`
478
+ # @return [Google::Apis::NetworkmanagementV1::ProbingDetails]
479
+ attr_accessor :probing_details
480
+
476
481
  # IP Protocol of the test. When not provided, "TCP" is assumed.
477
482
  # Corresponds to the JSON property `protocol`
478
483
  # @return [String]
@@ -511,6 +516,7 @@ module Google
511
516
  @display_name = args[:display_name] if args.key?(:display_name)
512
517
  @labels = args[:labels] if args.key?(:labels)
513
518
  @name = args[:name] if args.key?(:name)
519
+ @probing_details = args[:probing_details] if args.key?(:probing_details)
514
520
  @protocol = args[:protocol] if args.key?(:protocol)
515
521
  @reachability_details = args[:reachability_details] if args.key?(:reachability_details)
516
522
  @related_projects = args[:related_projects] if args.key?(:related_projects)
@@ -569,6 +575,26 @@ module Google
569
575
  end
570
576
  end
571
577
 
578
+ # Representation of a network edge location as per https://cloud.google.com/vpc/
579
+ # docs/edge-locations.
580
+ class EdgeLocation
581
+ include Google::Apis::Core::Hashable
582
+
583
+ # Name of the metropolitan area.
584
+ # Corresponds to the JSON property `metropolitanArea`
585
+ # @return [String]
586
+ attr_accessor :metropolitan_area
587
+
588
+ def initialize(**args)
589
+ update!(**args)
590
+ end
591
+
592
+ # Update properties of this object
593
+ def update!(**args)
594
+ @metropolitan_area = args[:metropolitan_area] if args.key?(:metropolitan_area)
595
+ end
596
+ end
597
+
572
598
  # A generic empty message that you can re-use to avoid defining duplicated empty
573
599
  # messages in your APIs. A typical example is to use it as the request or the
574
600
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -619,6 +645,11 @@ module Google
619
645
  # @return [String]
620
646
  attr_accessor :forwarding_rule
621
647
 
648
+ # Output only. Specifies the type of the target of the forwarding rule.
649
+ # Corresponds to the JSON property `forwardingRuleTarget`
650
+ # @return [String]
651
+ attr_accessor :forwarding_rule_target
652
+
622
653
  # A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/
623
654
  # kubernetes-engine/docs/concepts/cluster-architecture).
624
655
  # Corresponds to the JSON property `gkeMasterCluster`
@@ -632,11 +663,23 @@ module Google
632
663
 
633
664
  # The IP address of the endpoint, which can be an external or internal IP. An
634
665
  # IPv6 address is only allowed when the test's destination is a [global load
635
- # balancer VIP](/load-balancing/docs/load-balancing-overview).
666
+ # balancer VIP](https://cloud.google.com/load-balancing/docs/load-balancing-
667
+ # overview).
636
668
  # Corresponds to the JSON property `ipAddress`
637
669
  # @return [String]
638
670
  attr_accessor :ip_address
639
671
 
672
+ # Output only. ID of the load balancer the forwarding rule points to. Empty for
673
+ # forwarding rules not related to load balancers.
674
+ # Corresponds to the JSON property `loadBalancerId`
675
+ # @return [String]
676
+ attr_accessor :load_balancer_id
677
+
678
+ # Output only. Type of the load balancer the forwarding rule points to.
679
+ # Corresponds to the JSON property `loadBalancerType`
680
+ # @return [String]
681
+ attr_accessor :load_balancer_type
682
+
640
683
  # A Compute Engine network URI.
641
684
  # Corresponds to the JSON property `network`
642
685
  # @return [String]
@@ -676,9 +719,12 @@ module Google
676
719
  @cloud_run_revision = args[:cloud_run_revision] if args.key?(:cloud_run_revision)
677
720
  @cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
678
721
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
722
+ @forwarding_rule_target = args[:forwarding_rule_target] if args.key?(:forwarding_rule_target)
679
723
  @gke_master_cluster = args[:gke_master_cluster] if args.key?(:gke_master_cluster)
680
724
  @instance = args[:instance] if args.key?(:instance)
681
725
  @ip_address = args[:ip_address] if args.key?(:ip_address)
726
+ @load_balancer_id = args[:load_balancer_id] if args.key?(:load_balancer_id)
727
+ @load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
682
728
  @network = args[:network] if args.key?(:network)
683
729
  @network_type = args[:network_type] if args.key?(:network_type)
684
730
  @port = args[:port] if args.key?(:port)
@@ -712,6 +758,11 @@ module Google
712
758
  # @return [String]
713
759
  attr_accessor :protocol
714
760
 
761
+ # URI of the source telemetry agent this packet originates from.
762
+ # Corresponds to the JSON property `sourceAgentUri`
763
+ # @return [String]
764
+ attr_accessor :source_agent_uri
765
+
715
766
  # Source IP address.
716
767
  # Corresponds to the JSON property `sourceIp`
717
768
  # @return [String]
@@ -737,6 +788,7 @@ module Google
737
788
  @destination_network_uri = args[:destination_network_uri] if args.key?(:destination_network_uri)
738
789
  @destination_port = args[:destination_port] if args.key?(:destination_port)
739
790
  @protocol = args[:protocol] if args.key?(:protocol)
791
+ @source_agent_uri = args[:source_agent_uri] if args.key?(:source_agent_uri)
740
792
  @source_ip = args[:source_ip] if args.key?(:source_ip)
741
793
  @source_network_uri = args[:source_network_uri] if args.key?(:source_network_uri)
742
794
  @source_port = args[:source_port] if args.key?(:source_port)
@@ -1084,6 +1136,51 @@ module Google
1084
1136
  end
1085
1137
  end
1086
1138
 
1139
+ # Describes measured latency distribution.
1140
+ class LatencyDistribution
1141
+ include Google::Apis::Core::Hashable
1142
+
1143
+ # Representative latency percentiles.
1144
+ # Corresponds to the JSON property `latencyPercentiles`
1145
+ # @return [Array<Google::Apis::NetworkmanagementV1::LatencyPercentile>]
1146
+ attr_accessor :latency_percentiles
1147
+
1148
+ def initialize(**args)
1149
+ update!(**args)
1150
+ end
1151
+
1152
+ # Update properties of this object
1153
+ def update!(**args)
1154
+ @latency_percentiles = args[:latency_percentiles] if args.key?(:latency_percentiles)
1155
+ end
1156
+ end
1157
+
1158
+ # Latency percentile rank and value.
1159
+ class LatencyPercentile
1160
+ include Google::Apis::Core::Hashable
1161
+
1162
+ # percent-th percentile of latency observed, in microseconds. Fraction of
1163
+ # percent/100 of samples have latency lower or equal to the value of this field.
1164
+ # Corresponds to the JSON property `latencyMicros`
1165
+ # @return [Fixnum]
1166
+ attr_accessor :latency_micros
1167
+
1168
+ # Percentage of samples this data point applies to.
1169
+ # Corresponds to the JSON property `percent`
1170
+ # @return [Fixnum]
1171
+ attr_accessor :percent
1172
+
1173
+ def initialize(**args)
1174
+ update!(**args)
1175
+ end
1176
+
1177
+ # Update properties of this object
1178
+ def update!(**args)
1179
+ @latency_micros = args[:latency_micros] if args.key?(:latency_micros)
1180
+ @percent = args[:percent] if args.key?(:percent)
1181
+ end
1182
+ end
1183
+
1087
1184
  # Response for the `ListConnectivityTests` method.
1088
1185
  class ListConnectivityTestsResponse
1089
1186
  include Google::Apis::Core::Hashable
@@ -1543,6 +1640,81 @@ module Google
1543
1640
  end
1544
1641
  end
1545
1642
 
1643
+ # Results of active probing from the last run of the test.
1644
+ class ProbingDetails
1645
+ include Google::Apis::Core::Hashable
1646
+
1647
+ # The reason probing was aborted.
1648
+ # Corresponds to the JSON property `abortCause`
1649
+ # @return [String]
1650
+ attr_accessor :abort_cause
1651
+
1652
+ # Representation of a network edge location as per https://cloud.google.com/vpc/
1653
+ # docs/edge-locations.
1654
+ # Corresponds to the JSON property `destinationEgressLocation`
1655
+ # @return [Google::Apis::NetworkmanagementV1::EdgeLocation]
1656
+ attr_accessor :destination_egress_location
1657
+
1658
+ # For display only. The specification of the endpoints for the test.
1659
+ # EndpointInfo is derived from source and destination Endpoint and validated by
1660
+ # the backend data plane model.
1661
+ # Corresponds to the JSON property `endpointInfo`
1662
+ # @return [Google::Apis::NetworkmanagementV1::EndpointInfo]
1663
+ attr_accessor :endpoint_info
1664
+
1665
+ # The `Status` type defines a logical error model that is suitable for different
1666
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1667
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1668
+ # data: error code, error message, and error details. You can find out more
1669
+ # about this error model and how to work with it in the [API Design Guide](https:
1670
+ # //cloud.google.com/apis/design/errors).
1671
+ # Corresponds to the JSON property `error`
1672
+ # @return [Google::Apis::NetworkmanagementV1::Status]
1673
+ attr_accessor :error
1674
+
1675
+ # Describes measured latency distribution.
1676
+ # Corresponds to the JSON property `probingLatency`
1677
+ # @return [Google::Apis::NetworkmanagementV1::LatencyDistribution]
1678
+ attr_accessor :probing_latency
1679
+
1680
+ # The overall result of active probing.
1681
+ # Corresponds to the JSON property `result`
1682
+ # @return [String]
1683
+ attr_accessor :result
1684
+
1685
+ # Number of probes sent.
1686
+ # Corresponds to the JSON property `sentProbeCount`
1687
+ # @return [Fixnum]
1688
+ attr_accessor :sent_probe_count
1689
+
1690
+ # Number of probes that reached the destination.
1691
+ # Corresponds to the JSON property `successfulProbeCount`
1692
+ # @return [Fixnum]
1693
+ attr_accessor :successful_probe_count
1694
+
1695
+ # The time that reachability was assessed through active probing.
1696
+ # Corresponds to the JSON property `verifyTime`
1697
+ # @return [String]
1698
+ attr_accessor :verify_time
1699
+
1700
+ def initialize(**args)
1701
+ update!(**args)
1702
+ end
1703
+
1704
+ # Update properties of this object
1705
+ def update!(**args)
1706
+ @abort_cause = args[:abort_cause] if args.key?(:abort_cause)
1707
+ @destination_egress_location = args[:destination_egress_location] if args.key?(:destination_egress_location)
1708
+ @endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
1709
+ @error = args[:error] if args.key?(:error)
1710
+ @probing_latency = args[:probing_latency] if args.key?(:probing_latency)
1711
+ @result = args[:result] if args.key?(:result)
1712
+ @sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
1713
+ @successful_probe_count = args[:successful_probe_count] if args.key?(:successful_probe_count)
1714
+ @verify_time = args[:verify_time] if args.key?(:verify_time)
1715
+ end
1716
+ end
1717
+
1546
1718
  # Results of the configuration analysis from the last run of the test.
1547
1719
  class ReachabilityDetails
1548
1720
  include Google::Apis::Core::Hashable
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230802"
25
+ REVISION = "20230906"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class EdgeLocation
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class Empty
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -172,6 +178,18 @@ module Google
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
181
+ class LatencyDistribution
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class LatencyPercentile
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class ListConnectivityTestsResponse
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -232,6 +250,12 @@ module Google
232
250
  include Google::Apis::Core::JsonObjectSupport
233
251
  end
234
252
 
253
+ class ProbingDetails
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
235
259
  class ReachabilityDetails
236
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
261
 
@@ -419,6 +443,8 @@ module Google
419
443
  property :display_name, as: 'displayName'
420
444
  hash :labels, as: 'labels'
421
445
  property :name, as: 'name'
446
+ property :probing_details, as: 'probingDetails', class: Google::Apis::NetworkmanagementV1::ProbingDetails, decorator: Google::Apis::NetworkmanagementV1::ProbingDetails::Representation
447
+
422
448
  property :protocol, as: 'protocol'
423
449
  property :reachability_details, as: 'reachabilityDetails', class: Google::Apis::NetworkmanagementV1::ReachabilityDetails, decorator: Google::Apis::NetworkmanagementV1::ReachabilityDetails::Representation
424
450
 
@@ -445,6 +471,13 @@ module Google
445
471
  end
446
472
  end
447
473
 
474
+ class EdgeLocation
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :metropolitan_area, as: 'metropolitanArea'
478
+ end
479
+ end
480
+
448
481
  class Empty
449
482
  # @private
450
483
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -462,9 +495,12 @@ module Google
462
495
 
463
496
  property :cloud_sql_instance, as: 'cloudSqlInstance'
464
497
  property :forwarding_rule, as: 'forwardingRule'
498
+ property :forwarding_rule_target, as: 'forwardingRuleTarget'
465
499
  property :gke_master_cluster, as: 'gkeMasterCluster'
466
500
  property :instance, as: 'instance'
467
501
  property :ip_address, as: 'ipAddress'
502
+ property :load_balancer_id, as: 'loadBalancerId'
503
+ property :load_balancer_type, as: 'loadBalancerType'
468
504
  property :network, as: 'network'
469
505
  property :network_type, as: 'networkType'
470
506
  property :port, as: 'port'
@@ -479,6 +515,7 @@ module Google
479
515
  property :destination_network_uri, as: 'destinationNetworkUri'
480
516
  property :destination_port, as: 'destinationPort'
481
517
  property :protocol, as: 'protocol'
518
+ property :source_agent_uri, as: 'sourceAgentUri'
482
519
  property :source_ip, as: 'sourceIp'
483
520
  property :source_network_uri, as: 'sourceNetworkUri'
484
521
  property :source_port, as: 'sourcePort'
@@ -564,6 +601,22 @@ module Google
564
601
  end
565
602
  end
566
603
 
604
+ class LatencyDistribution
605
+ # @private
606
+ class Representation < Google::Apis::Core::JsonRepresentation
607
+ collection :latency_percentiles, as: 'latencyPercentiles', class: Google::Apis::NetworkmanagementV1::LatencyPercentile, decorator: Google::Apis::NetworkmanagementV1::LatencyPercentile::Representation
608
+
609
+ end
610
+ end
611
+
612
+ class LatencyPercentile
613
+ # @private
614
+ class Representation < Google::Apis::Core::JsonRepresentation
615
+ property :latency_micros, :numeric_string => true, as: 'latencyMicros'
616
+ property :percent, as: 'percent'
617
+ end
618
+ end
619
+
567
620
  class ListConnectivityTestsResponse
568
621
  # @private
569
622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -672,6 +725,25 @@ module Google
672
725
  end
673
726
  end
674
727
 
728
+ class ProbingDetails
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :abort_cause, as: 'abortCause'
732
+ property :destination_egress_location, as: 'destinationEgressLocation', class: Google::Apis::NetworkmanagementV1::EdgeLocation, decorator: Google::Apis::NetworkmanagementV1::EdgeLocation::Representation
733
+
734
+ property :endpoint_info, as: 'endpointInfo', class: Google::Apis::NetworkmanagementV1::EndpointInfo, decorator: Google::Apis::NetworkmanagementV1::EndpointInfo::Representation
735
+
736
+ property :error, as: 'error', class: Google::Apis::NetworkmanagementV1::Status, decorator: Google::Apis::NetworkmanagementV1::Status::Representation
737
+
738
+ property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1::LatencyDistribution::Representation
739
+
740
+ property :result, as: 'result'
741
+ property :sent_probe_count, as: 'sentProbeCount'
742
+ property :successful_probe_count, as: 'successfulProbeCount'
743
+ property :verify_time, as: 'verifyTime'
744
+ end
745
+ end
746
+
675
747
  class ReachabilityDetails
676
748
  # @private
677
749
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.33.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: 2023-08-13 00:00:00.000000000 Z
11
+ date: 2023-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Management API V1