Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1516)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 20, 2022
1 parent c75dc07 commit 4145f3d
Show file tree
Hide file tree
Showing 29 changed files with 4,048 additions and 1,183 deletions.
6 changes: 3 additions & 3 deletions analyticsdata/v1beta/analyticsdata-api.json
Expand Up @@ -253,7 +253,7 @@
]
},
"runRealtimeReport": {
"description": "The Google Analytics Realtime API returns a customized report of realtime event data for your property. These reports show events and usage from the last 30 minutes.",
"description": "The Google Analytics Realtime API returns a customized report of realtime event data for your property. These reports show events and usage from the last 30 minutes. For a guide to constructing realtime requests \u0026 understanding responses, see [Creating a Realtime Report](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics).",
"flatPath": "v1beta/properties/{propertiesId}:runRealtimeReport",
"httpMethod": "POST",
"id": "analyticsdata.properties.runRealtimeReport",
Expand Down Expand Up @@ -282,7 +282,7 @@
]
},
"runReport": {
"description": "Returns a customized report of your Google Analytics event data. Reports contain statistics derived from data collected by the Google Analytics tracking code. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activity on your property, such as active users or event count. Dimensions break down metrics across some common criteria, such as country or event name.",
"description": "Returns a customized report of your Google Analytics event data. Reports contain statistics derived from data collected by the Google Analytics tracking code. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activity on your property, such as active users or event count. Dimensions break down metrics across some common criteria, such as country or event name. For a guide to constructing requests \u0026 understanding responses, see [Creating a Report](https://developers.google.com/analytics/devguides/reporting/data/v1/basics).",
"flatPath": "v1beta/properties/{propertiesId}:runReport",
"httpMethod": "POST",
"id": "analyticsdata.properties.runReport",
Expand Down Expand Up @@ -313,7 +313,7 @@
}
}
},
"revision": "20220322",
"revision": "20220416",
"rootUrl": "https://analyticsdata.googleapis.com/",
"schemas": {
"ActiveMetricRestriction": {
Expand Down
12 changes: 9 additions & 3 deletions analyticsdata/v1beta/analyticsdata-gen.go

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

15 changes: 15 additions & 0 deletions api-list.json
Expand Up @@ -3036,6 +3036,21 @@
"documentationLink": "https://developers.google.com/actions/smarthome/create-app#request-sync",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "iam:v2beta",
"name": "iam",
"version": "v2beta",
"title": "Identity and Access Management (IAM) API",
"description": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.",
"discoveryRestUrl": "https://iam.googleapis.com/$discovery/rest?version=v2beta",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/iam/",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "iam:v1",
Expand Down
120 changes: 118 additions & 2 deletions bigtableadmin/v2/bigtableadmin-api.json
Expand Up @@ -1279,6 +1279,63 @@
]
}
}
},
"hotTablets": {
"methods": {
"list": {
"description": "Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based on CPU usage.",
"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/hotTablets",
"httpMethod": "GET",
"id": "bigtableadmin.projects.instances.clusters.hotTablets.list",
"parameterOrder": [
"parent"
],
"parameters": {
"endTime": {
"description": "The end time to list hot tablets.",
"format": "google-datetime",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Maximum number of results per page. A page_size that is empty or zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls do not need a page_size field. If a page_size is set in subsequent calls, it must match the page_size given in the first request.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "The value of `next_page_token` returned by a previous call.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The cluster name to list hot tablets. Value is in the following form: `projects/{project}/instances/{instance}/clusters/{cluster}`.",
"location": "path",
"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
},
"startTime": {
"description": "The start time to list hot tablets. The hot tablets in the response will have start times between the requested start time and end time. Start time defaults to Now if it is unset, and end time defaults to Now - 24 hours if it is unset. The start time should be less than the end time, and the maximum allowed time range between start time and end time is 48 hours. Start time and end time should have values between Now and Now - 14 days.",
"format": "google-datetime",
"location": "query",
"type": "string"
}
},
"path": "v2/{+parent}/hotTablets",
"response": {
"$ref": "ListHotTabletsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/bigtable.admin",
"https://www.googleapis.com/auth/bigtable.admin.cluster",
"https://www.googleapis.com/auth/bigtable.admin.instance",
"https://www.googleapis.com/auth/cloud-bigtable.admin",
"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster",
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
Expand Down Expand Up @@ -1803,7 +1860,7 @@
}
}
},
"revision": "20220329",
"revision": "20220412",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"AppProfile": {
Expand Down Expand Up @@ -2276,7 +2333,7 @@
"additionalProperties": {
"$ref": "Cluster"
},
"description": "Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank. Currently, at most four clusters can be specified.",
"description": "Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank.",
"type": "object"
},
"instance": {
Expand Down Expand Up @@ -2469,6 +2526,47 @@
},
"type": "object"
},
"HotTablet": {
"description": "A tablet is a defined by a start and end key and is explained in https://cloud.google.com/bigtable/docs/overview#architecture and https://cloud.google.com/bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits high average cpu usage during the time interval from start time to end time.",
"id": "HotTablet",
"properties": {
"endKey": {
"description": "Tablet End Key (inclusive).",
"type": "string"
},
"endTime": {
"description": "Output only. The end time of the hot tablet.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "The unique name of the hot tablet. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.",
"type": "string"
},
"nodeCpuUsagePercent": {
"description": "Output only. The average CPU usage spent by a node on this tablet over the start_time to end_time time range. The percentage is the amount of CPU used by the node to serve the tablet, from 0% (tablet was not interacted with) to 100% (the node spent all cycles serving the hot tablet).",
"format": "float",
"readOnly": true,
"type": "number"
},
"startKey": {
"description": "Tablet Start Key (inclusive).",
"type": "string"
},
"startTime": {
"description": "Output only. The start time of the hot tablet.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"tableName": {
"description": "Name of the table that contains the tablet. Values are of the form `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`.",
"type": "string"
}
},
"type": "object"
},
"Instance": {
"description": "A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the instance.",
"id": "Instance",
Expand Down Expand Up @@ -2608,6 +2706,24 @@
},
"type": "object"
},
"ListHotTabletsResponse": {
"description": "Response message for BigtableInstanceAdmin.ListHotTablets.",
"id": "ListHotTabletsResponse",
"properties": {
"hotTablets": {
"description": "List of hot tablets in the tables of the requested cluster that fall within the requested time range. Hot tablets are ordered by node cpu usage percent. If there are multiple hot tablets that correspond to the same tablet within a 15-minute interval, only the hot tablet with the highest node cpu usage will be included in the response.",
"items": {
"$ref": "HotTablet"
},
"type": "array"
},
"nextPageToken": {
"description": "Set if not all hot tablets could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.",
"type": "string"
}
},
"type": "object"
},
"ListInstancesResponse": {
"description": "Response message for BigtableInstanceAdmin.ListInstances.",
"id": "ListInstancesResponse",
Expand Down

0 comments on commit 4145f3d

Please sign in to comment.