Skip to content

Commit

Permalink
feat: [networkmanagement] add messages and fields related to Redis In…
Browse files Browse the repository at this point in the history
…stances (#5755)

* feat: add messages and fields related to Redis Instances

feat: add messages and fields related to Redis Clusters

feat: add PSC network attachment URI to the InstanceInfo proto

feat: add subnet URI and region name to the NetworkInfo proto

feat: add firewall policy URI to the FirewallInfo proto

feat: add fields related to advertised routes to the RouteInfo proto

feat: add region name field to the RouteInfo proto

feat: add region name to the ForwardingRuleInfo proto

feat: add load balancer name to the ForwardingRuleInfo proto

feat: add PSC target fields to the ForwardingRuleInfo proto

feat: add more detailed abort and drop causes to corresponding enums

chore: update Google API field annotations format

docs: update outdated comments in the FirewallInfo proto
PiperOrigin-RevId: 686129238

Source-Link: googleapis/googleapis@cab65d5

Source-Link: googleapis/googleapis-gen@cd5b0a2
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldHdvcmttYW5hZ2VtZW50Ly5Pd2xCb3QueWFtbCIsImgiOiJjZDViMGEyNGFjYzRjMjgyNGRjYjBkYjRlOTY5YzM1NTFhOTQ3MGNmIn0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Oct 16, 2024
1 parent 9639bc9 commit 312ba7f
Show file tree
Hide file tree
Showing 16 changed files with 16,456 additions and 11,252 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-networkmanagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
1. [Select or create a Cloud Platform project][projects].
1. [Enable billing for your project][billing].
1. [Enable the Network Management API API][enable_api].
1. [Set up authentication with a service account][auth] so you can access the
1. [Set up authentication][auth] so you can access the
API from your local workstation.

### Installing the client library
Expand Down Expand Up @@ -174,4 +174,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
[projects]: https://console.cloud.google.com/project
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=networkmanagement.googleapis.com
[auth]: https://cloud.google.com/docs/authentication/getting-started
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ message ConnectivityTest {
pattern: "projects/{project}/locations/global/connectivityTests/{test}"
};

// Required. Unique name of the resource using the form:
// Identifier. Unique name of the resource using the form:
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
string name = 1 [(google.api.field_behavior) = REQUIRED];
string name = 1 [(google.api.field_behavior) = IDENTIFIER];

// The user-supplied description of the Connectivity Test.
// Maximum of 512 characters.
Expand Down Expand Up @@ -227,6 +227,14 @@ message Endpoint {
// A [Cloud SQL](https://cloud.google.com/sql) instance URI.
string cloud_sql_instance = 8;

// A [Redis Instance](https://cloud.google.com/memorystore/docs/redis)
// URI.
string redis_instance = 17;

// A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster)
// URI.
string redis_cluster = 18;

// A [Cloud Function](https://cloud.google.com/functions).
CloudFunctionEndpoint cloud_function = 10;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ service ReachabilityService {
//
// If the endpoint specifications in `ConnectivityTest` are incomplete, the
// reachability result returns a value of `AMBIGUOUS`. See the documentation
// in `ConnectivityTest` for for more details.
// in `ConnectivityTest` for more details.
rpc UpdateConnectivityTest(UpdateConnectivityTestRequest)
returns (google.longrunning.Operation) {
option (google.api.http) = {
Expand Down Expand Up @@ -162,7 +162,12 @@ service ReachabilityService {
message ListConnectivityTestsRequest {
// Required. The parent resource of the Connectivity Tests:
// `projects/{project_id}/locations/global`
string parent = 1 [(google.api.field_behavior) = REQUIRED];
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "cloudresourcemanager.googleapis.com/Project"
}
];

// Number of `ConnectivityTests` to return.
int32 page_size = 2;
Expand Down Expand Up @@ -210,14 +215,24 @@ message ListConnectivityTestsResponse {
message GetConnectivityTestRequest {
// Required. `ConnectivityTest` resource name using the form:
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
string name = 1 [(google.api.field_behavior) = REQUIRED];
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "networkmanagement.googleapis.com/ConnectivityTest"
}
];
}

// Request for the `CreateConnectivityTest` method.
message CreateConnectivityTestRequest {
// Required. The parent resource of the Connectivity Test to create:
// `projects/{project_id}/locations/global`
string parent = 1 [(google.api.field_behavior) = REQUIRED];
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "cloudresourcemanager.googleapis.com/Project"
}
];

// Required. The logical name of the Connectivity Test in your project
// with the following restrictions:
Expand Down Expand Up @@ -248,14 +263,24 @@ message UpdateConnectivityTestRequest {
message DeleteConnectivityTestRequest {
// Required. Connectivity Test resource name using the form:
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
string name = 1 [(google.api.field_behavior) = REQUIRED];
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "networkmanagement.googleapis.com/ConnectivityTest"
}
];
}

// Request for the `RerunConnectivityTest` method.
message RerunConnectivityTestRequest {
// Required. Connectivity Test resource name using the form:
// `projects/{project_id}/locations/global/connectivityTests/{test_id}`
string name = 1 [(google.api.field_behavior) = REQUIRED];
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "networkmanagement.googleapis.com/ConnectivityTest"
}
];
}

// Metadata describing an [Operation][google.longrunning.Operation]
Expand Down
Loading

0 comments on commit 312ba7f

Please sign in to comment.