Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Aug 7, 2023
1 parent 262aa70 commit 8fbf572
Show file tree
Hide file tree
Showing 9 changed files with 2,974 additions and 176 deletions.
552 changes: 550 additions & 2 deletions analyticshub/v1/analyticshub-api.json

Large diffs are not rendered by default.

2,082 changes: 1,959 additions & 123 deletions analyticshub/v1/analyticshub-gen.go

Large diffs are not rendered by default.

110 changes: 109 additions & 1 deletion analyticshub/v1beta1/analyticshub-api.json
Expand Up @@ -695,7 +695,7 @@
}
}
},
"revision": "20230703",
"revision": "20230803",
"rootUrl": "https://analyticshub.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -930,6 +930,18 @@
},
"type": "object"
},
"LinkedResource": {
"description": "Reference to a linked resource tracked by this Subscription.",
"id": "LinkedResource",
"properties": {
"linkedDataset": {
"description": "Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"ListDataExchangesResponse": {
"description": "Message for response to the list of data exchanges.",
"id": "ListDataExchangesResponse",
Expand Down Expand Up @@ -1191,6 +1203,17 @@
},
"type": "object"
},
"RefreshSubscriptionResponse": {
"description": "Message for response when you refresh a subscription.",
"id": "RefreshSubscriptionResponse",
"properties": {
"subscription": {
"$ref": "Subscription",
"description": "The refreshed subscription resource."
}
},
"type": "object"
},
"RestrictedExportConfig": {
"description": "Restricted export config, used to configure restricted export on linked dataset.",
"id": "RestrictedExportConfig",
Expand Down Expand Up @@ -1227,6 +1250,17 @@
},
"type": "object"
},
"SubscribeDataExchangeResponse": {
"description": "Message for response when you subscribe to a Data Exchange.",
"id": "SubscribeDataExchangeResponse",
"properties": {
"subscription": {
"$ref": "Subscription",
"description": "Subscription object created from this subscribe action."
}
},
"type": "object"
},
"SubscribeListingRequest": {
"description": "Message for subscribing to a listing.",
"id": "SubscribeListingRequest",
Expand All @@ -1244,6 +1278,80 @@
"properties": {},
"type": "object"
},
"Subscription": {
"description": "A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets. TODO(b/267528977) Consider port the new resource to v1beta1 and dataexchange APIs.",
"id": "Subscription",
"properties": {
"creationTime": {
"description": "Output only. Timestamp when the subscription was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"dataExchange": {
"description": "Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/US/dataExchanges/456",
"readOnly": true,
"type": "string"
},
"lastModifyTime": {
"description": "Output only. Timestamp when the subscription was last modified.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"linkedDatasetMap": {
"additionalProperties": {
"$ref": "LinkedResource"
},
"description": "Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/US/dataExchanges/456/listings/789 -\u003e projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.",
"readOnly": true,
"type": "object"
},
"listing": {
"description": "Output only. Resource name of the source Listing. e.g. projects/123/locations/US/dataExchanges/456/listings/789",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Output only. The resource name of the subscription. e.g. `projects/myproject/locations/US/subscriptions/123`.",
"readOnly": true,
"type": "string"
},
"organizationDisplayName": {
"description": "Output only. Display name of the project of this subscription.",
"readOnly": true,
"type": "string"
},
"organizationId": {
"description": "Output only. Organization of the project this subscription belongs to.",
"readOnly": true,
"type": "string"
},
"state": {
"description": "Output only. Current state of the subscription.",
"enum": [
"STATE_UNSPECIFIED",
"STATE_ACTIVE",
"STATE_STALE",
"STATE_INACTIVE"
],
"enumDescriptions": [
"Default value. This value is unused.",
"This subscription is active and the data is accessible.",
"The data referenced by this subscription is out of date and should be refreshed. This can happen when a data provider adds or removes datasets.",
"This subscription has been cancelled or revoked and the data is no longer accessible."
],
"readOnly": true,
"type": "string"
},
"subscriberContact": {
"description": "Output only. Email of the subscriber.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"TestIamPermissionsRequest": {
"description": "Request message for `TestIamPermissions` method.",
"id": "TestIamPermissionsRequest",
Expand Down
169 changes: 169 additions & 0 deletions analyticshub/v1beta1/analyticshub-gen.go

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

15 changes: 0 additions & 15 deletions api-list.json
Expand Up @@ -1186,21 +1186,6 @@
"documentationLink": "https://cloud.google.com/channel",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "clouddebugger:v2",
"name": "clouddebugger",
"version": "v2",
"title": "Cloud Debugger API (Deprecated)",
"description": "Examines the call stack and variables of a running application without stopping or slowing it down. (Deprecated)",
"discoveryRestUrl": "https://clouddebugger.googleapis.com/$discovery/rest?version=v2",
"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/debugger",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "clouddeploy:v1",
Expand Down

0 comments on commit 8fbf572

Please sign in to comment.