Skip to content

Commit

Permalink
feat(logging): update the api
Browse files Browse the repository at this point in the history
#### logging:v2

The following keys were added:
- schemas.MetricDescriptorMetadata.properties.timeSeriesResourceHierarchyLevel (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Sep 10, 2024
1 parent 3060536 commit b784bf0
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
18 changes: 18 additions & 0 deletions docs/dyn/logging_v2.projects.metrics.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ <h3>Method Details</h3>
&quot;ingestDelay&quot;: &quot;A String&quot;, # The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
&quot;launchStage&quot;: &quot;A String&quot;, # Deprecated. Must use the MetricDescriptor.launch_stage instead.
&quot;samplePeriod&quot;: &quot;A String&quot;, # The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
&quot;timeSeriesResourceHierarchyLevel&quot;: [ # The scope of the timeseries data of the metric.
&quot;A String&quot;,
],
},
&quot;metricKind&quot;: &quot;A String&quot;, # Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
&quot;monitoredResourceTypes&quot;: [ # Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
Expand Down Expand Up @@ -217,6 +220,9 @@ <h3>Method Details</h3>
&quot;ingestDelay&quot;: &quot;A String&quot;, # The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
&quot;launchStage&quot;: &quot;A String&quot;, # Deprecated. Must use the MetricDescriptor.launch_stage instead.
&quot;samplePeriod&quot;: &quot;A String&quot;, # The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
&quot;timeSeriesResourceHierarchyLevel&quot;: [ # The scope of the timeseries data of the metric.
&quot;A String&quot;,
],
},
&quot;metricKind&quot;: &quot;A String&quot;, # Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
&quot;monitoredResourceTypes&quot;: [ # Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
Expand Down Expand Up @@ -308,6 +314,9 @@ <h3>Method Details</h3>
&quot;ingestDelay&quot;: &quot;A String&quot;, # The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
&quot;launchStage&quot;: &quot;A String&quot;, # Deprecated. Must use the MetricDescriptor.launch_stage instead.
&quot;samplePeriod&quot;: &quot;A String&quot;, # The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
&quot;timeSeriesResourceHierarchyLevel&quot;: [ # The scope of the timeseries data of the metric.
&quot;A String&quot;,
],
},
&quot;metricKind&quot;: &quot;A String&quot;, # Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
&quot;monitoredResourceTypes&quot;: [ # Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
Expand Down Expand Up @@ -385,6 +394,9 @@ <h3>Method Details</h3>
&quot;ingestDelay&quot;: &quot;A String&quot;, # The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
&quot;launchStage&quot;: &quot;A String&quot;, # Deprecated. Must use the MetricDescriptor.launch_stage instead.
&quot;samplePeriod&quot;: &quot;A String&quot;, # The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
&quot;timeSeriesResourceHierarchyLevel&quot;: [ # The scope of the timeseries data of the metric.
&quot;A String&quot;,
],
},
&quot;metricKind&quot;: &quot;A String&quot;, # Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
&quot;monitoredResourceTypes&quot;: [ # Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
Expand Down Expand Up @@ -470,6 +482,9 @@ <h3>Method Details</h3>
&quot;ingestDelay&quot;: &quot;A String&quot;, # The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
&quot;launchStage&quot;: &quot;A String&quot;, # Deprecated. Must use the MetricDescriptor.launch_stage instead.
&quot;samplePeriod&quot;: &quot;A String&quot;, # The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
&quot;timeSeriesResourceHierarchyLevel&quot;: [ # The scope of the timeseries data of the metric.
&quot;A String&quot;,
],
},
&quot;metricKind&quot;: &quot;A String&quot;, # Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
&quot;monitoredResourceTypes&quot;: [ # Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
Expand Down Expand Up @@ -536,6 +551,9 @@ <h3>Method Details</h3>
&quot;ingestDelay&quot;: &quot;A String&quot;, # The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
&quot;launchStage&quot;: &quot;A String&quot;, # Deprecated. Must use the MetricDescriptor.launch_stage instead.
&quot;samplePeriod&quot;: &quot;A String&quot;, # The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
&quot;timeSeriesResourceHierarchyLevel&quot;: [ # The scope of the timeseries data of the metric.
&quot;A String&quot;,
],
},
&quot;metricKind&quot;: &quot;A String&quot;, # Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported.
&quot;monitoredResourceTypes&quot;: [ # Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
Expand Down
21 changes: 20 additions & 1 deletion googleapiclient/discovery_cache/documents/logging.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -8424,7 +8424,7 @@
}
}
},
"revision": "20240726",
"revision": "20240830",
"rootUrl": "https://logging.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -10209,6 +10209,25 @@
"description": "The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.",
"format": "google-duration",
"type": "string"
},
"timeSeriesResourceHierarchyLevel": {
"description": "The scope of the timeseries data of the metric.",
"items": {
"enum": [
"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED",
"PROJECT",
"ORGANIZATION",
"FOLDER"
],
"enumDescriptions": [
"Do not use this default value.",
"Scopes a metric to a project.",
"Scopes a metric to an organization.",
"Scopes a metric to a folder."
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
Expand Down

0 comments on commit b784bf0

Please sign in to comment.