UNPKG

@google-cloud/monitoring

Version:
1,249 lines 244 kB
{ "nested": { "google": { "nested": { "monitoring": { "nested": { "v3": { "options": { "csharp_namespace": "Google.Cloud.Monitoring.V3", "go_package": "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb", "java_multiple_files": true, "java_outer_classname": "UptimeServiceProto", "java_package": "com.google.monitoring.v3", "php_namespace": "Google\\Cloud\\Monitoring\\V3", "ruby_package": "Google::Cloud::Monitoring::V3", "objc_class_prefix": "GMON", "(google.api.resource_definition).type": "cloudfunctions.googleapis.com/Function", "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/functions/{function}", "(google.api.resource_definition).history": "ORIGINALLY_SINGLE_PATTERN" }, "nested": { "AlertPolicy": { "options": { "(google.api.resource).type": "monitoring.googleapis.com/AlertPolicy", "(google.api.resource).pattern": "*" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } }, "displayName": { "type": "string", "id": 2 }, "documentation": { "type": "Documentation", "id": 13 }, "userLabels": { "keyType": "string", "type": "string", "id": 16 }, "conditions": { "rule": "repeated", "type": "Condition", "id": 12 }, "combiner": { "type": "ConditionCombinerType", "id": 6 }, "enabled": { "type": "google.protobuf.BoolValue", "id": 17 }, "validity": { "type": "google.rpc.Status", "id": 18 }, "notificationChannels": { "rule": "repeated", "type": "string", "id": 14 }, "creationRecord": { "type": "MutationRecord", "id": 10 }, "mutationRecord": { "type": "MutationRecord", "id": 11 }, "alertStrategy": { "type": "AlertStrategy", "id": 21 }, "severity": { "type": "Severity", "id": 22, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "Documentation": { "fields": { "content": { "type": "string", "id": 1 }, "mimeType": { "type": "string", "id": 2 }, "subject": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "links": { "rule": "repeated", "type": "Link", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "Link": { "fields": { "displayName": { "type": "string", "id": 1 }, "url": { "type": "string", "id": 2 } } } } }, "Condition": { "options": { "(google.api.resource).type": "monitoring.googleapis.com/AlertPolicyCondition", "(google.api.resource).pattern": "*" }, "oneofs": { "condition": { "oneof": [ "conditionThreshold", "conditionAbsent", "conditionMatchedLog", "conditionMonitoringQueryLanguage", "conditionPrometheusQueryLanguage", "conditionSql" ] } }, "fields": { "name": { "type": "string", "id": 12 }, "displayName": { "type": "string", "id": 6 }, "conditionThreshold": { "type": "MetricThreshold", "id": 1 }, "conditionAbsent": { "type": "MetricAbsence", "id": 2 }, "conditionMatchedLog": { "type": "LogMatch", "id": 20 }, "conditionMonitoringQueryLanguage": { "type": "MonitoringQueryLanguageCondition", "id": 19 }, "conditionPrometheusQueryLanguage": { "type": "PrometheusQueryLanguageCondition", "id": 21 }, "conditionSql": { "type": "SqlCondition", "id": 22 } }, "nested": { "Trigger": { "oneofs": { "type": { "oneof": [ "count", "percent" ] } }, "fields": { "count": { "type": "int32", "id": 1 }, "percent": { "type": "double", "id": 2 } } }, "EvaluationMissingData": { "values": { "EVALUATION_MISSING_DATA_UNSPECIFIED": 0, "EVALUATION_MISSING_DATA_INACTIVE": 1, "EVALUATION_MISSING_DATA_ACTIVE": 2, "EVALUATION_MISSING_DATA_NO_OP": 3 } }, "MetricThreshold": { "fields": { "filter": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "aggregations": { "rule": "repeated", "type": "Aggregation", "id": 8 }, "denominatorFilter": { "type": "string", "id": 9 }, "denominatorAggregations": { "rule": "repeated", "type": "Aggregation", "id": 10 }, "forecastOptions": { "type": "ForecastOptions", "id": 12 }, "comparison": { "type": "ComparisonType", "id": 4 }, "thresholdValue": { "type": "double", "id": 5 }, "duration": { "type": "google.protobuf.Duration", "id": 6 }, "trigger": { "type": "Trigger", "id": 7 }, "evaluationMissingData": { "type": "EvaluationMissingData", "id": 11 } }, "nested": { "ForecastOptions": { "fields": { "forecastHorizon": { "type": "google.protobuf.Duration", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } } } } } }, "MetricAbsence": { "fields": { "filter": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "aggregations": { "rule": "repeated", "type": "Aggregation", "id": 5 }, "duration": { "type": "google.protobuf.Duration", "id": 2 }, "trigger": { "type": "Trigger", "id": 3 } } }, "LogMatch": { "fields": { "filter": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "labelExtractors": { "keyType": "string", "type": "string", "id": 2 } } }, "MonitoringQueryLanguageCondition": { "fields": { "query": { "type": "string", "id": 1 }, "duration": { "type": "google.protobuf.Duration", "id": 2 }, "trigger": { "type": "Trigger", "id": 3 }, "evaluationMissingData": { "type": "EvaluationMissingData", "id": 4 } } }, "PrometheusQueryLanguageCondition": { "fields": { "query": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "duration": { "type": "google.protobuf.Duration", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "evaluationInterval": { "type": "google.protobuf.Duration", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "labels": { "keyType": "string", "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "ruleGroup": { "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "alertRule": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "disableMetricValidation": { "type": "bool", "id": 7, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "SqlCondition": { "oneofs": { "schedule": { "oneof": [ "minutes", "hourly", "daily" ] }, "evaluate": { "oneof": [ "rowCountTest", "booleanTest" ] } }, "fields": { "query": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "minutes": { "type": "Minutes", "id": 2 }, "hourly": { "type": "Hourly", "id": 3 }, "daily": { "type": "Daily", "id": 4 }, "rowCountTest": { "type": "RowCountTest", "id": 5 }, "booleanTest": { "type": "BooleanTest", "id": 6 } }, "nested": { "Minutes": { "fields": { "periodicity": { "type": "int32", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "Hourly": { "oneofs": { "_minuteOffset": { "oneof": [ "minuteOffset" ] } }, "fields": { "periodicity": { "type": "int32", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "minuteOffset": { "type": "int32", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL", "proto3_optional": true } } } }, "Daily": { "fields": { "periodicity": { "type": "int32", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "executionTime": { "type": "google.type.TimeOfDay", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "RowCountTest": { "fields": { "comparison": { "type": "ComparisonType", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "threshold": { "type": "int64", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "BooleanTest": { "fields": { "column": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } } } } } } } }, "ConditionCombinerType": { "values": { "COMBINE_UNSPECIFIED": 0, "AND": 1, "OR": 2, "AND_WITH_MATCHING_RESOURCE": 3 } }, "AlertStrategy": { "fields": { "notificationRateLimit": { "type": "NotificationRateLimit", "id": 1 }, "notificationPrompts": { "rule": "repeated", "type": "NotificationPrompt", "id": 2 }, "autoClose": { "type": "google.protobuf.Duration", "id": 3 }, "notificationChannelStrategy": { "rule": "repeated", "type": "NotificationChannelStrategy", "id": 4 } }, "nested": { "NotificationRateLimit": { "fields": { "period": { "type": "google.protobuf.Duration", "id": 1 } } }, "NotificationPrompt": { "values": { "NOTIFICATION_PROMPT_UNSPECIFIED": 0, "OPENED": 1, "CLOSED": 3 } }, "NotificationChannelStrategy": { "fields": { "notificationChannelNames": { "rule": "repeated", "type": "string", "id": 1 }, "renotifyInterval": { "type": "google.protobuf.Duration", "id": 2 } } } } }, "Severity": { "values": { "SEVERITY_UNSPECIFIED": 0, "CRITICAL": 1, "ERROR": 2, "WARNING": 3 } } } }, "TypedValue": { "oneofs": { "value": { "oneof": [ "boolValue", "int64Value", "doubleValue", "stringValue", "distributionValue" ] } }, "fields": { "boolValue": { "type": "bool", "id": 1 }, "int64Value": { "type": "int64", "id": 2 }, "doubleValue": { "type": "double", "id": 3 }, "stringValue": { "type": "string", "id": 4 }, "distributionValue": { "type": "google.api.Distribution", "id": 5 } } }, "TimeInterval": { "fields": { "endTime": { "type": "google.protobuf.Timestamp", "id": 2 }, "startTime": { "type": "google.protobuf.Timestamp", "id": 1 } } }, "Aggregation": { "fields": { "alignmentPeriod": { "type": "google.protobuf.Duration", "id": 1 }, "perSeriesAligner": { "type": "Aligner", "id": 2 }, "crossSeriesReducer": { "type": "Reducer", "id": 4 }, "groupByFields": { "rule": "repeated", "type": "string", "id": 5 } }, "nested": { "Aligner": { "values": { "ALIGN_NONE": 0, "ALIGN_DELTA": 1, "ALIGN_RATE": 2, "ALIGN_INTERPOLATE": 3, "ALIGN_NEXT_OLDER": 4, "ALIGN_MIN": 10, "ALIGN_MAX": 11, "ALIGN_MEAN": 12, "ALIGN_COUNT": 13, "ALIGN_SUM": 14, "ALIGN_STDDEV": 15, "ALIGN_COUNT_TRUE": 16, "ALIGN_COUNT_FALSE": 24, "ALIGN_FRACTION_TRUE": 17, "ALIGN_PERCENTILE_99": 18, "ALIGN_PERCENTILE_95": 19, "ALIGN_PERCENTILE_50": 20, "ALIGN_PERCENTILE_05": 21, "ALIGN_PERCENT_CHANGE": 23 } }, "Reducer": { "values": { "REDUCE_NONE": 0, "REDUCE_MEAN": 1, "REDUCE_MIN": 2, "REDUCE_MAX": 3, "REDUCE_SUM": 4, "REDUCE_STDDEV": 5, "REDUCE_COUNT": 6, "REDUCE_COUNT_TRUE": 7, "REDUCE_COUNT_FALSE": 15, "REDUCE_FRACTION_TRUE": 8, "REDUCE_PERCENTILE_99": 9, "REDUCE_PERCENTILE_95": 10, "REDUCE_PERCENTILE_50": 11, "REDUCE_PERCENTILE_05": 12 } } } }, "ComparisonType": { "values": { "COMPARISON_UNSPECIFIED": 0, "COMPARISON_GT": 1, "COMPARISON_GE": 2, "COMPARISON_LT": 3, "COMPARISON_LE": 4, "COMPARISON_EQ": 5, "COMPARISON_NE": 6 } }, "ServiceTier": { "options": { "deprecated": true }, "values": { "SERVICE_TIER_UNSPECIFIED": 0, "SERVICE_TIER_BASIC": 1, "SERVICE_TIER_PREMIUM": 2 } }, "MutationRecord": { "fields": { "mutateTime": { "type": "google.protobuf.Timestamp", "id": 1 }, "mutatedBy": { "type": "string", "id": 2 } } }, "AlertPolicyService": { "options": { "(google.api.default_host)": "monitoring.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.read" }, "methods": { "ListAlertPolicies": { "requestType": "ListAlertPoliciesRequest", "responseType": "ListAlertPoliciesResponse", "options": { "(google.api.http).get": "/v3/{name=projects/*}/alertPolicies", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v3/{name=projects/*}/alertPolicies" } }, { "(google.api.method_signature)": "name" } ] }, "GetAlertPolicy": { "requestType": "GetAlertPolicyRequest", "responseType": "AlertPolicy", "options": { "(google.api.http).get": "/v3/{name=projects/*/alertPolicies/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v3/{name=projects/*/alertPolicies/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CreateAlertPolicy": { "requestType": "CreateAlertPolicyRequest", "responseType": "AlertPolicy", "options": { "(google.api.http).post": "/v3/{name=projects/*}/alertPolicies", "(google.api.http).body": "alert_policy", "(google.api.method_signature)": "name,alert_policy" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v3/{name=projects/*}/alertPolicies", "body": "alert_policy" } }, { "(google.api.method_signature)": "name,alert_policy" } ] }, "DeleteAlertPolicy": { "requestType": "DeleteAlertPolicyRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v3/{name=projects/*/alertPolicies/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v3/{name=projects/*/alertPolicies/*}" } }, { "(google.api.method_signature)": "name" } ] }, "UpdateAlertPolicy": { "requestType": "UpdateAlertPolicyRequest", "responseType": "AlertPolicy", "options": { "(google.api.http).patch": "/v3/{alert_policy.name=projects/*/alertPolicies/*}", "(google.api.http).body": "alert_policy", "(google.api.method_signature)": "update_mask,alert_policy" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v3/{alert_policy.name=projects/*/alertPolicies/*}", "body": "alert_policy" } }, { "(google.api.method_signature)": "update_mask,alert_policy" } ] } } }, "CreateAlertPolicyRequest": { "fields": { "name": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "monitoring.googleapis.com/AlertPolicy" } }, "alertPolicy": { "type": "AlertPolicy", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "GetAlertPolicyRequest": { "fields": { "name": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "monitoring.googleapis.com/AlertPolicy" } } } }, "ListAlertPoliciesRequest": { "fields": { "name": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "monitoring.googleapis.com/AlertPolicy" } }, "filter": { "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "orderBy": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "pageSize": { "type": "int32", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "pageToken": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListAlertPoliciesResponse": { "fields": { "alertPolicies": { "rule": "repeated", "type": "AlertPolicy", "id": 3 }, "nextPageToken": { "type": "string", "id": 2 }, "totalSize": { "type": "int32", "id": 4 } } }, "UpdateAlertPolicyRequest": { "fields": { "updateMask": { "type": "google.protobuf.FieldMask", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "alertPolicy": { "type": "AlertPolicy", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "DeleteAlertPolicyRequest": { "fields": { "name": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "monitoring.googleapis.com/AlertPolicy" } } } }, "DroppedLabels": { "fields": { "label": { "keyType": "string", "type": "string", "id": 1 } } }, "Group": { "options": { "(google.api.resource).type": "monitoring.googleapis.com/Group", "(google.api.resource).pattern": "*" }, "fields": { "name": { "type": "string", "id": 1 }, "displayName": { "type": "string", "id": 2 }, "parentName": { "type": "string", "id": 3 }, "filter": { "type": "string", "id": 5 }, "isCluster": { "type": "bool", "id": 6 } } }, "GroupService": { "options": { "(google.api.default_host)": "monitoring.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/monitoring,https://www.googleapis.com/auth/monitoring.read" }, "methods": { "ListGroups": { "requestType": "ListGroupsRequest", "responseType": "ListGroupsResponse", "options": { "(google.api.http).get": "/v3/{name=projects/*}/groups", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v3/{name=projects/*}/groups" } }, { "(google.api.method_signature)": "name" } ] }, "GetGroup": { "requestType": "GetGroupRequest", "responseType": "Group", "options": { "(google.api.http).get": "/v3/{name=projects/*/groups/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v3/{name=projects/*/groups/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CreateGroup": { "requestType": "CreateGroupRequest", "responseType": "Group", "options": { "(google.api.http).post": "/v3/{name=projects/*}/groups", "(google.api.http).body": "group", "(google.api.method_signature)": "name,group" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v3/{name=projects/*}/groups", "body": "group" } }, { "(google.api.method_signature)": "name,group" } ] }, "UpdateGroup": { "requestType": "UpdateGroupRequest", "responseType": "Group", "options": { "(google.api.http).put": "/v3/{group.name=projects/*/groups/*}", "(google.api.http).body": "group", "(google.api.method_signature)": "group" }, "parsedOptions": [ { "(google.api.http)": { "put": "/v3/{group.name=projects/*/groups/*}", "body": "group" } }, { "(google.api.method_signature)": "group" } ] }, "DeleteGroup": { "requestType": "DeleteGroupRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v3/{name=projects/*/groups/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v3/{name=projects/*/groups/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListGroupMembers": { "requestType": "ListGroupMembersRequest", "responseType": "ListGroupMembersResponse", "options": { "(google.api.http).get": "/v3/{name=projects/*/groups/*}/members", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v3/{name=projects/*/groups/*}/members" } }, { "(google.api.method_signature)": "name" } ] } } }, "ListGroupsRequest": { "oneofs": { "filter": { "oneof": [ "childrenOfGroup", "ancestorsOfGroup", "descendantsOfGroup" ] } }, "fields": { "name": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "monitoring.googleapis.com/Group" } }, "childrenOfGroup": { "type": "string", "id": 2, "options": { "(google.api.resource_reference).type": "monitoring.googleapis.com/Group" } }, "ancestorsOfGroup": { "type": "string", "id": 3, "options": { "(google.api.resource_reference).type": "monitoring.googleapis.com/Group" } }, "descendantsOfGroup": { "type": "string", "id": 4, "options": { "(google.api.resource_reference).type": "monitoring.googleapis.com/Group" } }, "pageSize": { "type": "int32", "id": 5 }, "pageToken": { "type": "string", "id": 6 } } }, "ListGroupsResponse": { "fields": { "group": { "rule": "repeated", "type": "Group", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "GetGroupRequest": { "fields": { "name": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "monitoring.googleapis.com/Group" } } } }, "CreateGroupRequest": { "fields": { "name": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "monitoring.googleapis.com/Group" } }, "group": { "type": "Group", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "validateOnly": { "type": "bool", "id": 3 } } }, "UpdateGroupRequest": { "fields": { "group": { "type": "Group", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "validateOnly": { "type": "bool", "id": 3 } } }, "DeleteGroupRequest": { "fields": { "name": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "monitoring.googleapis.com/Group" } }, "recursive": { "type": "bool", "id": 4 } } }, "ListGroupMembersRequest": { "fields": { "name": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "monitoring.googlea