Skip to content

Commit

Permalink
docs: [servicehealth] add missing doc comments (#5791)
Browse files Browse the repository at this point in the history
* docs: add missing doc comments

PiperOrigin-RevId: 694016287

Source-Link: googleapis/googleapis@eb33668

Source-Link: googleapis/googleapis-gen@3a07a7e
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2VoZWFsdGgvLk93bEJvdC55YW1sIiwiaCI6IjNhMDdhN2VlZjM1MTJiZmFmNGY4M2ZlZGJhYmRjNDJlMzZhNDE4YWEifQ==

* 🦉 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 Nov 13, 2024
1 parent f0be12a commit 6a1c7bf
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 20 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-servicehealth/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 Service Health 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 @@ -215,4 +215,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=servicehealth.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 @@ -451,6 +451,7 @@ message Asset {
string asset_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Message for requesting list of events.
message ListEventsRequest {
// Required. Parent value using the form
// `projects/{project_id}/locations/{location}/events`.
Expand Down Expand Up @@ -484,7 +485,8 @@ message ListEventsRequest {
// response. The expression takes the following forms: <br>
// * field=value for `category` and `state`<br>
// * field &lt;, >, &lt;=, or >= value for `update_time` <br>
// Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
// Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`,
// `event_impacts.product.product_name:"Eventarc"`
// <br>
//
// Multiple filter queries are separated by spaces. Example:
Expand All @@ -494,13 +496,14 @@ message ListEventsRequest {
// AND and OR expressions explicitly.
//
// Filter is supported for the following fields: `category`, `state`,
// `update_time`
// `update_time`, `event_impacts.product.product_name`
string filter = 4 [(google.api.field_behavior) = OPTIONAL];

// Optional. Event fields to include in response.
EventView view = 6 [(google.api.field_behavior) = OPTIONAL];
}

// Message for response to listing events.
message ListEventsResponse {
// Output only. List of events.
repeated Event events = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
Expand All @@ -516,7 +519,7 @@ message ListEventsResponse {
repeated string unreachable = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Message for getting an event
// Message for getting an event.
message GetEventRequest {
// Required. Unique name of the event in this scope including project
// and location using the form
Expand All @@ -533,6 +536,7 @@ message GetEventRequest {
];
}

// Message for requesting list of organization events.
message ListOrganizationEventsRequest {
// Required. Parent value using the form
// `organizations/{organization_id}/locations/{location}/organizationEvents`.
Expand Down Expand Up @@ -573,7 +577,7 @@ message ListOrganizationEventsRequest {
// * field=value for `category` and `state`
// * field &lt;, >, &lt;=, or >= value for `update_time`
//
// Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
// Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`
//
// Multiple filter queries are space-separated. Example:
// `category=INCIDENT state=ACTIVE`.
Expand All @@ -589,6 +593,7 @@ message ListOrganizationEventsRequest {
OrganizationEventView view = 6 [(google.api.field_behavior) = OPTIONAL];
}

// Message for response to listing organization events.
message ListOrganizationEventsResponse {
// Output only. List of organization events affecting an organization.
repeated OrganizationEvent organization_events = 1
Expand All @@ -605,6 +610,7 @@ message ListOrganizationEventsResponse {
repeated string unreachable = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Message for getting an organization event.
message GetOrganizationEventRequest {
// Required. Unique name of the event in this scope including organization and
// event ID using the form
Expand All @@ -623,7 +629,7 @@ message GetOrganizationEventRequest {
];
}

// Message for requesting list of OrganizationImpacts
// Message for requesting list of organization impacts.
message ListOrganizationImpactsRequest {
// Required. Parent value using the form
// `organizations/{organization_id}/locations/{location}/organizationImpacts`.
Expand Down Expand Up @@ -677,6 +683,7 @@ message ListOrganizationImpactsRequest {
string filter = 4 [(google.api.field_behavior) = OPTIONAL];
}

// Message for response to listing organization impacts.
message ListOrganizationImpactsResponse {
// Output only. List of
// [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact)
Expand All @@ -695,6 +702,7 @@ message ListOrganizationImpactsResponse {
repeated string unreachable = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Message for getting an organization impact.
message GetOrganizationImpactRequest {
// Required. Name of the resource using the form
// `organizations/{organization_id}/locations/global/organizationImpacts/{organization_impact_id}`.
Expand Down
3 changes: 3 additions & 0 deletions packages/google-cloud-servicehealth/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ function main(parent) {
* response. The expression takes the following forms: <br>
* * field=value for `category` and `state`<br>
* * field &lt;, >, &lt;=, or >= value for `update_time` <br>
* Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
* Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`,
* `event_impacts.product.product_name:"Eventarc"`
* <br>
* Multiple filter queries are separated by spaces. Example:
* `category=INCIDENT state=ACTIVE`.
* By default, each expression is an AND expression. However, you can include
* AND and OR expressions explicitly.
* Filter is supported for the following fields: `category`, `state`,
* `update_time`
* `update_time`, `event_impacts.product.product_name`
*/
// const filter = 'abc123'
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function main(parent) {
* response. The expression takes the following forms:
* * field=value for `category` and `state`
* * field &lt;, >, &lt;=, or >= value for `update_time`
* Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
* Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`
* Multiple filter queries are space-separated. Example:
* `category=INCIDENT state=ACTIVE`.
* By default, each expression is an AND expression. However, you can include
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"segments": [
{
"start": 25,
"end": 95,
"end": 96,
"type": "FULL"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,8 @@ export class ServiceHealthClient {
* response. The expression takes the following forms: <br>
* * field=value for `category` and `state`<br>
* * field &lt;, >, &lt;=, or >= value for `update_time` <br>
* Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
* Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`,
* `event_impacts.product.product_name:"Eventarc"`
* <br>
*
* Multiple filter queries are separated by spaces. Example:
Expand All @@ -749,7 +750,7 @@ export class ServiceHealthClient {
* AND and OR expressions explicitly.
*
* Filter is supported for the following fields: `category`, `state`,
* `update_time`
* `update_time`, `event_impacts.product.product_name`
* @param {google.cloud.servicehealth.v1.EventView} [request.view]
* Optional. Event fields to include in response.
* @param {object} [options]
Expand Down Expand Up @@ -868,7 +869,8 @@ export class ServiceHealthClient {
* response. The expression takes the following forms: <br>
* * field=value for `category` and `state`<br>
* * field &lt;, >, &lt;=, or >= value for `update_time` <br>
* Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
* Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`,
* `event_impacts.product.product_name:"Eventarc"`
* <br>
*
* Multiple filter queries are separated by spaces. Example:
Expand All @@ -878,7 +880,7 @@ export class ServiceHealthClient {
* AND and OR expressions explicitly.
*
* Filter is supported for the following fields: `category`, `state`,
* `update_time`
* `update_time`, `event_impacts.product.product_name`
* @param {google.cloud.servicehealth.v1.EventView} [request.view]
* Optional. Event fields to include in response.
* @param {object} [options]
Expand Down Expand Up @@ -945,7 +947,8 @@ export class ServiceHealthClient {
* response. The expression takes the following forms: <br>
* * field=value for `category` and `state`<br>
* * field &lt;, >, &lt;=, or >= value for `update_time` <br>
* Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
* Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`,
* `event_impacts.product.product_name:"Eventarc"`
* <br>
*
* Multiple filter queries are separated by spaces. Example:
Expand All @@ -955,7 +958,7 @@ export class ServiceHealthClient {
* AND and OR expressions explicitly.
*
* Filter is supported for the following fields: `category`, `state`,
* `update_time`
* `update_time`, `event_impacts.product.product_name`
* @param {google.cloud.servicehealth.v1.EventView} [request.view]
* Optional. Event fields to include in response.
* @param {object} [options]
Expand Down Expand Up @@ -1028,7 +1031,7 @@ export class ServiceHealthClient {
* * field=value for `category` and `state`
* * field &lt;, >, &lt;=, or >= value for `update_time`
*
* Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
* Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`
*
* Multiple filter queries are space-separated. Example:
* `category=INCIDENT state=ACTIVE`.
Expand Down Expand Up @@ -1167,7 +1170,7 @@ export class ServiceHealthClient {
* * field=value for `category` and `state`
* * field &lt;, >, &lt;=, or >= value for `update_time`
*
* Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
* Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`
*
* Multiple filter queries are space-separated. Example:
* `category=INCIDENT state=ACTIVE`.
Expand Down Expand Up @@ -1250,7 +1253,7 @@ export class ServiceHealthClient {
* * field=value for `category` and `state`
* * field &lt;, >, &lt;=, or >= value for `update_time`
*
* Examples: `category=INCIDENT`, `update_time>=2000-01-01T11:30:00-04:00`
* Examples: `category=INCIDENT`, `update_time>="2000-01-01T11:30:00-04:00"`
*
* Multiple filter queries are space-separated. Example:
* `category=INCIDENT state=ACTIVE`.
Expand Down

0 comments on commit 6a1c7bf

Please sign in to comment.