Skip to content

Commit

Permalink
feat: Automated regeneration of monitoring v3 client (#20053)
Browse files Browse the repository at this point in the history
Auto-created at 2024-08-11 09:56:31 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Aug 11, 2024
1 parent 8e82f29 commit 67e8b8d
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 32 deletions.
4 changes: 4 additions & 0 deletions generated/google-apis-monitoring_v3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-monitoring_v3

### v0.67.0 (2024-08-11)

* Regenerated from discovery document revision 20240804

### v0.66.0 (2024-08-04)

* Regenerated from discovery document revision 20240721
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ class AlertPolicy
# @return [Google::Apis::MonitoringV3::MutationRecord]
attr_accessor :mutation_record

# Required if the policy exists. The resource name for this policy. The format
# is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [
# ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created.
# Identifier. Required if the policy exists. The resource name for this policy.
# The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
# [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created.
# When calling the alertPolicies.create method, do not include the name field in
# the alerting policy passed as part of the request.
# Corresponds to the JSON property `name`
Expand Down Expand Up @@ -4730,7 +4730,7 @@ class TimeSeries
# The units in which the metric value is reported. It is only applicable if the
# value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the
# representation of the stored metric values. This field can only be changed
# through CreateTimeSeries when it is empty or "1".
# through CreateTimeSeries when it is empty.
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module MonitoringV3
# Version of the google-apis-monitoring_v3 gem
GEM_VERSION = "0.66.0"
GEM_VERSION = "0.67.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240721"
REVISION = "20240804"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -495,21 +495,22 @@ def get_project_alert_policy(name, fields: nil, quota_user: nil, options: nil, &
# the alerting policies to be listed are stored. To retrieve a single alerting
# policy by name, use the GetAlertPolicy operation, instead.
# @param [String] filter
# If provided, this field specifies the criteria that must be met by alert
# policies to be included in the response.For more details, see sorting and
# filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
# @param [String] order_by
# A comma-separated list of fields by which to sort the result. Supports the
# same set of field references as the filter field. Entries can be prefixed with
# a minus sign to sort by the field in descending order.For more details, see
# sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-
# Optional. If provided, this field specifies the criteria that must be met by
# alert policies to be included in the response.For more details, see sorting
# and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-
# filtering).
# @param [String] order_by
# Optional. A comma-separated list of fields by which to sort the result.
# Supports the same set of field references as the filter field. Entries can be
# prefixed with a minus sign to sort by the field in descending order.For more
# details, see sorting and filtering (https://cloud.google.com/monitoring/api/v3/
# sorting-and-filtering).
# @param [Fixnum] page_size
# The maximum number of results to return in a single response.
# Optional. The maximum number of results to return in a single response.
# @param [String] page_token
# If this field is not empty then it must contain the nextPageToken value
# returned by a previous call to this method. Using this field causes the method
# to return more results from the previous method call.
# Optional. If this field is not empty then it must contain the nextPageToken
# value returned by a previous call to this method. Using this field causes the
# method to return more results from the previous method call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand Down Expand Up @@ -548,9 +549,9 @@ def list_project_alert_policies(name, filter: nil, order_by: nil, page_size: nil
# the state of alerting policies in a single project. This includes calls to
# CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy.
# @param [String] name
# Required if the policy exists. The resource name for this policy. The format
# is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [
# ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created.
# Identifier. Required if the policy exists. The resource name for this policy.
# The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
# [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created.
# When calling the alertPolicies.create method, do not include the name field in
# the alerting policy passed as part of the request.
# @param [Google::Apis::MonitoringV3::AlertPolicy] alert_policy_object
Expand Down Expand Up @@ -1378,22 +1379,22 @@ def get_project_notification_channel_verification_code(name, get_notification_ch
# specific channel by REST resource name, use the GetNotificationChannel
# operation.
# @param [String] filter
# If provided, this field specifies the criteria that must be met by
# Optional. If provided, this field specifies the criteria that must be met by
# notification channels to be included in the response.For more details, see
# sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-
# filtering).
# @param [String] order_by
# A comma-separated list of fields by which to sort the result. Supports the
# same set of fields as in filter. Entries can be prefixed with a minus sign to
# sort in descending rather than ascending order.For more details, see sorting
# and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-
# filtering).
# Optional. A comma-separated list of fields by which to sort the result.
# Supports the same set of fields as in filter. Entries can be prefixed with a
# minus sign to sort in descending rather than ascending order.For more details,
# see sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-
# and-filtering).
# @param [Fixnum] page_size
# The maximum number of results to return in a single response. If not set to a
# positive number, a reasonable value will be chosen by the service.
# Optional. The maximum number of results to return in a single response. If not
# set to a positive number, a reasonable value will be chosen by the service.
# @param [String] page_token
# If non-empty, page_token must contain a value returned as the next_page_token
# in a previous response to request the next set of results.
# Optional. If non-empty, page_token must contain a value returned as the
# next_page_token in a previous response to request the next set of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand Down Expand Up @@ -1436,7 +1437,7 @@ def list_project_notification_channels(name, filter: nil, order_by: nil, page_si
# CHANNEL_ID] is automatically assigned by the server on creation.
# @param [Google::Apis::MonitoringV3::NotificationChannel] notification_channel_object
# @param [String] update_mask
# The fields to update.
# Optional. The fields to update.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand Down

0 comments on commit 67e8b8d

Please sign in to comment.