diff --git a/api_names_out.yaml b/api_names_out.yaml index 7992836f8..ecb90d440 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -119013,6 +119013,7 @@ "/networkmanagement:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member "/networkmanagement:v1beta1/AuditLogConfig/logType": log_type "/networkmanagement:v1beta1/Binding": binding +"/networkmanagement:v1beta1/Binding/bindingId": binding_id "/networkmanagement:v1beta1/Binding/condition": condition "/networkmanagement:v1beta1/Binding/members": members "/networkmanagement:v1beta1/Binding/members/member": member @@ -119106,6 +119107,12 @@ "/networkmanagement:v1beta1/InstanceInfo/networkUri": network_uri "/networkmanagement:v1beta1/InstanceInfo/serviceAccount": service_account "/networkmanagement:v1beta1/InstanceInfo/uri": uri +"/networkmanagement:v1beta1/LatencyDistribution": latency_distribution +"/networkmanagement:v1beta1/LatencyDistribution/latencyPercentiles": latency_percentiles +"/networkmanagement:v1beta1/LatencyDistribution/latencyPercentiles/latency_percentile": latency_percentile +"/networkmanagement:v1beta1/LatencyPercentile": latency_percentile +"/networkmanagement:v1beta1/LatencyPercentile/latencyMicros": latency_micros +"/networkmanagement:v1beta1/LatencyPercentile/percent": percent "/networkmanagement:v1beta1/ListConnectivityTestsResponse": list_connectivity_tests_response "/networkmanagement:v1beta1/ListConnectivityTestsResponse/nextPageToken": next_page_token "/networkmanagement:v1beta1/ListConnectivityTestsResponse/resources": resources @@ -119174,6 +119181,7 @@ "/networkmanagement:v1beta1/ProbingDetails/abortCause": abort_cause "/networkmanagement:v1beta1/ProbingDetails/endpointInfo": endpoint_info "/networkmanagement:v1beta1/ProbingDetails/error": error +"/networkmanagement:v1beta1/ProbingDetails/probingLatency": probing_latency "/networkmanagement:v1beta1/ProbingDetails/result": result "/networkmanagement:v1beta1/ProbingDetails/sentProbeCount": sent_probe_count "/networkmanagement:v1beta1/ProbingDetails/successfulProbeCount": successful_probe_count diff --git a/generated/google/apis/networkmanagement_v1beta1.rb b/generated/google/apis/networkmanagement_v1beta1.rb index 9c3ddfe1e..147be06fb 100644 --- a/generated/google/apis/networkmanagement_v1beta1.rb +++ b/generated/google/apis/networkmanagement_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/ module NetworkmanagementV1beta1 VERSION = 'V1beta1' - REVISION = '20200910' + REVISION = '20201029' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/networkmanagement_v1beta1/classes.rb b/generated/google/apis/networkmanagement_v1beta1/classes.rb index d2f727b84..e102f2beb 100644 --- a/generated/google/apis/networkmanagement_v1beta1/classes.rb +++ b/generated/google/apis/networkmanagement_v1beta1/classes.rb @@ -122,6 +122,11 @@ module Google class Binding include Google::Apis::Core::Hashable + # + # Corresponds to the JSON property `bindingId` + # @return [String] + attr_accessor :binding_id + # Represents a textual expression in the Common Expression Language (CEL) syntax. # CEL is a C-like expression language. The syntax and semantics of CEL are # documented at https://github.com/google/cel-spec. Example (Comparison): title: @@ -183,6 +188,7 @@ module Google # Update properties of this object def update!(**args) + @binding_id = args[:binding_id] if args.key?(:binding_id) @condition = args[:condition] if args.key?(:condition) @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) @@ -831,6 +837,51 @@ module Google end end + # Describes measured latency distribution. + class LatencyDistribution + include Google::Apis::Core::Hashable + + # Representative latency percentiles. + # Corresponds to the JSON property `latencyPercentiles` + # @return [Array] + attr_accessor :latency_percentiles + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @latency_percentiles = args[:latency_percentiles] if args.key?(:latency_percentiles) + end + end + + # Latency percentile rank and value. + class LatencyPercentile + include Google::Apis::Core::Hashable + + # percent-th percentile of latency observed, in microseconds. Fraction of + # percent/100 of samples have latency lower or equal to the value of this field. + # Corresponds to the JSON property `latencyMicros` + # @return [Fixnum] + attr_accessor :latency_micros + + # Percentage of samples this data point applies to. + # Corresponds to the JSON property `percent` + # @return [Fixnum] + attr_accessor :percent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @latency_micros = args[:latency_micros] if args.key?(:latency_micros) + @percent = args[:percent] if args.key?(:percent) + end + end + # Response for the `ListConnectivityTests` method. class ListConnectivityTestsResponse include Google::Apis::Core::Hashable @@ -1311,6 +1362,11 @@ module Google # @return [Google::Apis::NetworkmanagementV1beta1::Status] attr_accessor :error + # Describes measured latency distribution. + # Corresponds to the JSON property `probingLatency` + # @return [Google::Apis::NetworkmanagementV1beta1::LatencyDistribution] + attr_accessor :probing_latency + # The overall reachability result of the test. # Corresponds to the JSON property `result` # @return [String] @@ -1340,6 +1396,7 @@ module Google @abort_cause = args[:abort_cause] if args.key?(:abort_cause) @endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info) @error = args[:error] if args.key?(:error) + @probing_latency = args[:probing_latency] if args.key?(:probing_latency) @result = args[:result] if args.key?(:result) @sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count) @successful_probe_count = args[:successful_probe_count] if args.key?(:successful_probe_count) diff --git a/generated/google/apis/networkmanagement_v1beta1/representations.rb b/generated/google/apis/networkmanagement_v1beta1/representations.rb index 712e690d1..73c6bf369 100644 --- a/generated/google/apis/networkmanagement_v1beta1/representations.rb +++ b/generated/google/apis/networkmanagement_v1beta1/representations.rb @@ -130,6 +130,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LatencyDistribution + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LatencyPercentile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListConnectivityTestsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -290,6 +302,7 @@ module Google class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation + property :binding_id, as: 'bindingId' property :condition, as: 'condition', class: Google::Apis::NetworkmanagementV1beta1::Expr, decorator: Google::Apis::NetworkmanagementV1beta1::Expr::Representation collection :members, as: 'members' @@ -455,6 +468,22 @@ module Google end end + class LatencyDistribution + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :latency_percentiles, as: 'latencyPercentiles', class: Google::Apis::NetworkmanagementV1beta1::LatencyPercentile, decorator: Google::Apis::NetworkmanagementV1beta1::LatencyPercentile::Representation + + end + end + + class LatencyPercentile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latency_micros, :numeric_string => true, as: 'latencyMicros' + property :percent, as: 'percent' + end + end + class ListConnectivityTestsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -571,6 +600,8 @@ module Google property :error, as: 'error', class: Google::Apis::NetworkmanagementV1beta1::Status, decorator: Google::Apis::NetworkmanagementV1beta1::Status::Representation + property :probing_latency, as: 'probingLatency', class: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution, decorator: Google::Apis::NetworkmanagementV1beta1::LatencyDistribution::Representation + property :result, as: 'result' property :sent_probe_count, as: 'sentProbeCount' property :successful_probe_count, as: 'successfulProbeCount' diff --git a/generated/google/apis/networkmanagement_v1beta1/synth.metadata b/generated/google/apis/networkmanagement_v1beta1/synth.metadata index 429012f74..0b3eab746 100644 --- a/generated/google/apis/networkmanagement_v1beta1/synth.metadata +++ b/generated/google/apis/networkmanagement_v1beta1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "79474e618bb14370e8c0fc98c9c6f6f7928fdb91" } } ]