Skip to content

Commit b898e4b

Browse files
feat: Automated regeneration of analyticshub v1 client (googleapis#23977)
Auto-created at 2025-08-17 10:35:25 +0000 using the toys pull request generator.
1 parent 98017be commit b898e4b

File tree

6 files changed

+525
-2
lines changed

6 files changed

+525
-2
lines changed

api_names_out.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30152,6 +30152,7 @@
3015230152
"/analyticshub:v1/AnalyticsHubSubscriptionInfo": analytics_hub_subscription_info
3015330153
"/analyticshub:v1/AnalyticsHubSubscriptionInfo/listing": listing
3015430154
"/analyticshub:v1/AnalyticsHubSubscriptionInfo/subscription": subscription
30155+
"/analyticshub:v1/ApproveQueryTemplateRequest": approve_query_template_request
3015530156
"/analyticshub:v1/AuditConfig": audit_config
3015630157
"/analyticshub:v1/AuditConfig/auditLogConfigs": audit_log_configs
3015730158
"/analyticshub:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
@@ -30290,6 +30291,10 @@
3029030291
"/analyticshub:v1/ListOrgDataExchangesResponse/dataExchanges": data_exchanges
3029130292
"/analyticshub:v1/ListOrgDataExchangesResponse/dataExchanges/data_exchange": data_exchange
3029230293
"/analyticshub:v1/ListOrgDataExchangesResponse/nextPageToken": next_page_token
30294+
"/analyticshub:v1/ListQueryTemplatesResponse": list_query_templates_response
30295+
"/analyticshub:v1/ListQueryTemplatesResponse/nextPageToken": next_page_token
30296+
"/analyticshub:v1/ListQueryTemplatesResponse/queryTemplates": query_templates
30297+
"/analyticshub:v1/ListQueryTemplatesResponse/queryTemplates/query_template": query_template
3029330298
"/analyticshub:v1/ListSharedResourceSubscriptionsResponse": list_shared_resource_subscriptions_response
3029430299
"/analyticshub:v1/ListSharedResourceSubscriptionsResponse/nextPageToken": next_page_token
3029530300
"/analyticshub:v1/ListSharedResourceSubscriptionsResponse/sharedResourceSubscriptions": shared_resource_subscriptions
@@ -30368,6 +30373,17 @@
3036830373
"/analyticshub:v1/PushConfig/oidcToken": oidc_token
3036930374
"/analyticshub:v1/PushConfig/pubsubWrapper": pubsub_wrapper
3037030375
"/analyticshub:v1/PushConfig/pushEndpoint": push_endpoint
30376+
"/analyticshub:v1/QueryTemplate": query_template
30377+
"/analyticshub:v1/QueryTemplate/createTime": create_time
30378+
"/analyticshub:v1/QueryTemplate/description": description
30379+
"/analyticshub:v1/QueryTemplate/displayName": display_name
30380+
"/analyticshub:v1/QueryTemplate/documentation": documentation
30381+
"/analyticshub:v1/QueryTemplate/name": name
30382+
"/analyticshub:v1/QueryTemplate/primaryContact": primary_contact
30383+
"/analyticshub:v1/QueryTemplate/proposer": proposer
30384+
"/analyticshub:v1/QueryTemplate/routine": routine
30385+
"/analyticshub:v1/QueryTemplate/state": state
30386+
"/analyticshub:v1/QueryTemplate/updateTime": update_time
3037130387
"/analyticshub:v1/RefreshSubscriptionRequest": refresh_subscription_request
3037230388
"/analyticshub:v1/RefreshSubscriptionResponse": refresh_subscription_response
3037330389
"/analyticshub:v1/RefreshSubscriptionResponse/subscription": subscription
@@ -30385,6 +30401,9 @@
3038530401
"/analyticshub:v1/RevokeSubscriptionRequest": revoke_subscription_request
3038630402
"/analyticshub:v1/RevokeSubscriptionRequest/revokeCommercial": revoke_commercial
3038730403
"/analyticshub:v1/RevokeSubscriptionResponse": revoke_subscription_response
30404+
"/analyticshub:v1/Routine": routine
30405+
"/analyticshub:v1/Routine/definitionBody": definition_body
30406+
"/analyticshub:v1/Routine/routineType": routine_type
3038830407
"/analyticshub:v1/SelectedResource": selected_resource
3038930408
"/analyticshub:v1/SelectedResource/routine": routine
3039030409
"/analyticshub:v1/SelectedResource/table": table
@@ -30400,6 +30419,7 @@
3040030419
"/analyticshub:v1/Status/details/detail": detail
3040130420
"/analyticshub:v1/Status/details/detail/detail": detail
3040230421
"/analyticshub:v1/Status/message": message
30422+
"/analyticshub:v1/SubmitQueryTemplateRequest": submit_query_template_request
3040330423
"/analyticshub:v1/SubscribeDataExchangeRequest": subscribe_data_exchange_request
3040430424
"/analyticshub:v1/SubscribeDataExchangeRequest/destination": destination
3040530425
"/analyticshub:v1/SubscribeDataExchangeRequest/destinationDataset": destination_dataset
@@ -30490,6 +30510,24 @@
3049030510
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.patch": patch_project_location_data_exchange
3049130511
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.patch/name": name
3049230512
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.patch/updateMask": update_mask
30513+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.approve": approve_query_template
30514+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.approve/name": name
30515+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.create": create_project_location_data_exchange_query_template
30516+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.create/parent": parent
30517+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.create/queryTemplateId": query_template_id
30518+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.delete": delete_project_location_data_exchange_query_template
30519+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.delete/name": name
30520+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.get": get_project_location_data_exchange_query_template
30521+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.get/name": name
30522+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.list": list_project_location_data_exchange_query_templates
30523+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.list/pageSize": page_size
30524+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.list/pageToken": page_token
30525+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.list/parent": parent
30526+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.patch": patch_project_location_data_exchange_query_template
30527+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.patch/name": name
30528+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.patch/updateMask": update_mask
30529+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.submit": submit_query_template
30530+
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.queryTemplates.submit/name": name
3049330531
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.setIamPolicy": set_data_exchange_iam_policy
3049430532
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.setIamPolicy/resource": resource
3049530533
"/analyticshub:v1/analyticshub.projects.locations.dataExchanges.subscribe": subscribe_data_exchange

generated/google-apis-analyticshub_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-analyticshub_v1
22

3+
### v0.36.0 (2025-08-17)
4+
5+
* Regenerated from discovery document revision 20250807
6+
37
### v0.35.0 (2025-06-29)
48

59
* Regenerated from discovery document revision 20250623

generated/google-apis-analyticshub_v1/lib/google/apis/analyticshub_v1/classes.rb

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ module Google
2222
module Apis
2323
module AnalyticshubV1
2424

25+
# Message for approving a QueryTemplate.
26+
class ApproveQueryTemplateRequest
27+
include Google::Apis::Core::Hashable
28+
29+
def initialize(**args)
30+
update!(**args)
31+
end
32+
33+
# Update properties of this object
34+
def update!(**args)
35+
end
36+
end
37+
2538
# Specifies the audit configuration for a service. The configuration determines
2639
# which permission types are logged, and what identities, if any, are exempted
2740
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -1274,6 +1287,31 @@ def update!(**args)
12741287
end
12751288
end
12761289

1290+
# Message for response to the list of QueryTemplates.
1291+
class ListQueryTemplatesResponse
1292+
include Google::Apis::Core::Hashable
1293+
1294+
# A token to request the next page of results.
1295+
# Corresponds to the JSON property `nextPageToken`
1296+
# @return [String]
1297+
attr_accessor :next_page_token
1298+
1299+
# The list of QueryTemplates.
1300+
# Corresponds to the JSON property `queryTemplates`
1301+
# @return [Array<Google::Apis::AnalyticshubV1::QueryTemplate>]
1302+
attr_accessor :query_templates
1303+
1304+
def initialize(**args)
1305+
update!(**args)
1306+
end
1307+
1308+
# Update properties of this object
1309+
def update!(**args)
1310+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1311+
@query_templates = args[:query_templates] if args.key?(:query_templates)
1312+
end
1313+
end
1314+
12771315
# Message for response to the listing of shared resource subscriptions.
12781316
class ListSharedResourceSubscriptionsResponse
12791317
include Google::Apis::Core::Hashable
@@ -1913,6 +1951,89 @@ def update!(**args)
19131951
end
19141952
end
19151953

1954+
# A query template is a container for sharing table-valued functions defined by
1955+
# contributors in a data clean room.
1956+
class QueryTemplate
1957+
include Google::Apis::Core::Hashable
1958+
1959+
# Output only. Timestamp when the QueryTemplate was created.
1960+
# Corresponds to the JSON property `createTime`
1961+
# @return [String]
1962+
attr_accessor :create_time
1963+
1964+
# Optional. Short description of the QueryTemplate. The description must not
1965+
# contain Unicode non-characters and C0 and C1 control codes except tabs (HT),
1966+
# new lines (LF), carriage returns (CR), and page breaks (FF). Default value is
1967+
# an empty string. Max length: 2000 bytes.
1968+
# Corresponds to the JSON property `description`
1969+
# @return [String]
1970+
attr_accessor :description
1971+
1972+
# Required. Human-readable display name of the QueryTemplate. The display name
1973+
# must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
1974+
# spaces ( ), ampersands (&) and can't start or end with spaces. Default value
1975+
# is an empty string. Max length: 63 bytes.
1976+
# Corresponds to the JSON property `displayName`
1977+
# @return [String]
1978+
attr_accessor :display_name
1979+
1980+
# Optional. Documentation describing the QueryTemplate.
1981+
# Corresponds to the JSON property `documentation`
1982+
# @return [String]
1983+
attr_accessor :documentation
1984+
1985+
# Output only. The resource name of the QueryTemplate. e.g. `projects/myproject/
1986+
# locations/us/dataExchanges/123/queryTemplates/456`
1987+
# Corresponds to the JSON property `name`
1988+
# @return [String]
1989+
attr_accessor :name
1990+
1991+
# Optional. Email or URL of the primary point of contact of the QueryTemplate.
1992+
# Max Length: 1000 bytes.
1993+
# Corresponds to the JSON property `primaryContact`
1994+
# @return [String]
1995+
attr_accessor :primary_contact
1996+
1997+
# Optional. Will be deprecated. Email or URL of the primary point of contact of
1998+
# the QueryTemplate. Max Length: 1000 bytes.
1999+
# Corresponds to the JSON property `proposer`
2000+
# @return [String]
2001+
attr_accessor :proposer
2002+
2003+
# Represents a bigquery routine.
2004+
# Corresponds to the JSON property `routine`
2005+
# @return [Google::Apis::AnalyticshubV1::Routine]
2006+
attr_accessor :routine
2007+
2008+
# Output only. The QueryTemplate lifecycle state.
2009+
# Corresponds to the JSON property `state`
2010+
# @return [String]
2011+
attr_accessor :state
2012+
2013+
# Output only. Timestamp when the QueryTemplate was last modified.
2014+
# Corresponds to the JSON property `updateTime`
2015+
# @return [String]
2016+
attr_accessor :update_time
2017+
2018+
def initialize(**args)
2019+
update!(**args)
2020+
end
2021+
2022+
# Update properties of this object
2023+
def update!(**args)
2024+
@create_time = args[:create_time] if args.key?(:create_time)
2025+
@description = args[:description] if args.key?(:description)
2026+
@display_name = args[:display_name] if args.key?(:display_name)
2027+
@documentation = args[:documentation] if args.key?(:documentation)
2028+
@name = args[:name] if args.key?(:name)
2029+
@primary_contact = args[:primary_contact] if args.key?(:primary_contact)
2030+
@proposer = args[:proposer] if args.key?(:proposer)
2031+
@routine = args[:routine] if args.key?(:routine)
2032+
@state = args[:state] if args.key?(:state)
2033+
@update_time = args[:update_time] if args.key?(:update_time)
2034+
end
2035+
end
2036+
19162037
# Message for refreshing a subscription.
19172038
class RefreshSubscriptionRequest
19182039
include Google::Apis::Core::Hashable
@@ -2088,6 +2209,31 @@ def update!(**args)
20882209
end
20892210
end
20902211

2212+
# Represents a bigquery routine.
2213+
class Routine
2214+
include Google::Apis::Core::Hashable
2215+
2216+
# Optional. The definition body of the routine.
2217+
# Corresponds to the JSON property `definitionBody`
2218+
# @return [String]
2219+
attr_accessor :definition_body
2220+
2221+
# Required. The type of routine.
2222+
# Corresponds to the JSON property `routineType`
2223+
# @return [String]
2224+
attr_accessor :routine_type
2225+
2226+
def initialize(**args)
2227+
update!(**args)
2228+
end
2229+
2230+
# Update properties of this object
2231+
def update!(**args)
2232+
@definition_body = args[:definition_body] if args.key?(:definition_body)
2233+
@routine_type = args[:routine_type] if args.key?(:routine_type)
2234+
end
2235+
end
2236+
20912237
# Resource in this dataset that is selectively shared.
20922238
class SelectedResource
20932239
include Google::Apis::Core::Hashable
@@ -2235,6 +2381,19 @@ def update!(**args)
22352381
end
22362382
end
22372383

2384+
# Message for submitting a QueryTemplate.
2385+
class SubmitQueryTemplateRequest
2386+
include Google::Apis::Core::Hashable
2387+
2388+
def initialize(**args)
2389+
update!(**args)
2390+
end
2391+
2392+
# Update properties of this object
2393+
def update!(**args)
2394+
end
2395+
end
2396+
22382397
# Message for subscribing to a Data Exchange.
22392398
class SubscribeDataExchangeRequest
22402399
include Google::Apis::Core::Hashable

generated/google-apis-analyticshub_v1/lib/google/apis/analyticshub_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AnalyticshubV1
1818
# Version of the google-apis-analyticshub_v1 gem
19-
GEM_VERSION = "0.35.0"
19+
GEM_VERSION = "0.36.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250623"
25+
REVISION = "20250807"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)