Skip to content

Commit

Permalink
feat(networkmanagement): update the API
Browse files Browse the repository at this point in the history
#### networkmanagement:v1beta1
The following keys were added:
- schemas.Binding.properties.bindingId.type
- schemas.LatencyDistribution.description
- schemas.LatencyDistribution.id
- schemas.LatencyDistribution.properties.latencyPercentiles.description
- schemas.LatencyDistribution.properties.latencyPercentiles.items.$ref
- schemas.LatencyDistribution.properties.latencyPercentiles.type
- schemas.LatencyDistribution.type
- schemas.LatencyPercentile.description
- schemas.LatencyPercentile.id
- schemas.LatencyPercentile.properties.latencyMicros.description
- schemas.LatencyPercentile.properties.latencyMicros.format
- schemas.LatencyPercentile.properties.latencyMicros.type
- schemas.LatencyPercentile.properties.percent.description
- schemas.LatencyPercentile.properties.percent.format
- schemas.LatencyPercentile.properties.percent.type
- schemas.LatencyPercentile.type
- schemas.ProbingDetails.properties.probingLatency.$ref
- schemas.ProbingDetails.properties.probingLatency.description

#### networkmanagement:v1
The following keys were added:
- schemas.Binding.properties.bindingId.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 9, 2020
1 parent e6cd7e0 commit 2939e5c
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 2 deletions.
5 changes: 4 additions & 1 deletion discovery/networkmanagement-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
}
}
},
"revision": "20200820",
"revision": "20201029",
"rootUrl": "https://networkmanagement.googleapis.com/",
"schemas": {
"AbortInfo": {
Expand Down Expand Up @@ -687,6 +687,9 @@
"description": "Associates `members` with a `role`.",
"id": "Binding",
"properties": {
"bindingId": {
"type": "string"
},
"condition": {
"$ref": "Expr",
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
Expand Down
40 changes: 39 additions & 1 deletion discovery/networkmanagement-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
}
}
},
"revision": "20201015",
"revision": "20201029",
"rootUrl": "https://networkmanagement.googleapis.com/",
"schemas": {
"AbortInfo": {
Expand Down Expand Up @@ -687,6 +687,9 @@
"description": "Associates `members` with a `role`.",
"id": "Binding",
"properties": {
"bindingId": {
"type": "string"
},
"condition": {
"$ref": "Expr",
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
Expand Down Expand Up @@ -1195,6 +1198,37 @@
},
"type": "object"
},
"LatencyDistribution": {
"description": "Describes measured latency distribution.",
"id": "LatencyDistribution",
"properties": {
"latencyPercentiles": {
"description": "Representative latency percentiles.",
"items": {
"$ref": "LatencyPercentile"
},
"type": "array"
}
},
"type": "object"
},
"LatencyPercentile": {
"description": "Latency percentile rank and value.",
"id": "LatencyPercentile",
"properties": {
"latencyMicros": {
"description": "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.",
"format": "int64",
"type": "string"
},
"percent": {
"description": "Percentage of samples this data point applies to.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ListConnectivityTestsResponse": {
"description": "Response for the `ListConnectivityTests` method.",
"id": "ListConnectivityTestsResponse",
Expand Down Expand Up @@ -1537,6 +1571,10 @@
"$ref": "Status",
"description": "The details of an internal failure or a cancellation of reachability analysis."
},
"probingLatency": {
"$ref": "LatencyDistribution",
"description": "One way probing latency distribution. The latency is measured as duration of packet traversal of Google Cloud network, from source to destination endpoint."
},
"result": {
"description": "The overall reachability result of the test.",
"enum": [
Expand Down
1 change: 1 addition & 0 deletions src/apis/networkmanagement/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export namespace networkmanagement_v1 {
* Associates `members` with a `role`.
*/
export interface Schema$Binding {
bindingId?: string | null;
/**
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
Expand Down
27 changes: 27 additions & 0 deletions src/apis/networkmanagement/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export namespace networkmanagement_v1beta1 {
* Associates `members` with a `role`.
*/
export interface Schema$Binding {
bindingId?: string | null;
/**
* The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
Expand Down Expand Up @@ -527,6 +528,28 @@ export namespace networkmanagement_v1beta1 {
*/
uri?: string | null;
}
/**
* Describes measured latency distribution.
*/
export interface Schema$LatencyDistribution {
/**
* Representative latency percentiles.
*/
latencyPercentiles?: Schema$LatencyPercentile[];
}
/**
* Latency percentile rank and value.
*/
export interface Schema$LatencyPercentile {
/**
* 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.
*/
latencyMicros?: string | null;
/**
* Percentage of samples this data point applies to.
*/
percent?: number | null;
}
/**
* Response for the `ListConnectivityTests` method.
*/
Expand Down Expand Up @@ -757,6 +780,10 @@ export namespace networkmanagement_v1beta1 {
* The details of an internal failure or a cancellation of reachability analysis.
*/
error?: Schema$Status;
/**
* One way probing latency distribution. The latency is measured as duration of packet traversal of Google Cloud network, from source to destination endpoint.
*/
probingLatency?: Schema$LatencyDistribution;
/**
* The overall reachability result of the test.
*/
Expand Down

0 comments on commit 2939e5c

Please sign in to comment.