Skip to content

Commit a941ae4

Browse files
feat: Automated regeneration of analyticshub v1 client (#24728)
Auto-created at 2025-10-26 10:00:26 +0000 using the toys pull request generator.
1 parent 58c2e5a commit a941ae4

File tree

5 files changed

+72
-2
lines changed

5 files changed

+72
-2
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31594,6 +31594,8 @@
3159431594
"/analyticshub:v1/GooglePubsubV1Subscription/retainAckedMessages": retain_acked_messages
3159531595
"/analyticshub:v1/GooglePubsubV1Subscription/retryPolicy": retry_policy
3159631596
"/analyticshub:v1/GooglePubsubV1Subscription/state": state
31597+
"/analyticshub:v1/GooglePubsubV1Subscription/tags": tags
31598+
"/analyticshub:v1/GooglePubsubV1Subscription/tags/tag": tag
3159731599
"/analyticshub:v1/GooglePubsubV1Subscription/topicMessageRetentionDuration": topic_message_retention_duration
3159831600
"/analyticshub:v1/JavaScriptUDF": java_script_udf
3159931601
"/analyticshub:v1/JavaScriptUDF/code": code
@@ -31647,6 +31649,7 @@
3164731649
"/analyticshub:v1/Listing/resourceType": resource_type
3164831650
"/analyticshub:v1/Listing/restrictedExportConfig": restricted_export_config
3164931651
"/analyticshub:v1/Listing/state": state
31652+
"/analyticshub:v1/Listing/storedProcedureConfig": stored_procedure_config
3165031653
"/analyticshub:v1/MessageTransform": message_transform
3165131654
"/analyticshub:v1/MessageTransform/disabled": disabled
3165231655
"/analyticshub:v1/MessageTransform/enabled": enabled
@@ -31746,6 +31749,10 @@
3174631749
"/analyticshub:v1/Status/details/detail": detail
3174731750
"/analyticshub:v1/Status/details/detail/detail": detail
3174831751
"/analyticshub:v1/Status/message": message
31752+
"/analyticshub:v1/StoredProcedureConfig": stored_procedure_config
31753+
"/analyticshub:v1/StoredProcedureConfig/allowedStoredProcedureTypes": allowed_stored_procedure_types
31754+
"/analyticshub:v1/StoredProcedureConfig/allowedStoredProcedureTypes/allowed_stored_procedure_type": allowed_stored_procedure_type
31755+
"/analyticshub:v1/StoredProcedureConfig/enabled": enabled
3174931756
"/analyticshub:v1/SubmitQueryTemplateRequest": submit_query_template_request
3175031757
"/analyticshub:v1/SubscribeDataExchangeRequest": subscribe_data_exchange_request
3175131758
"/analyticshub:v1/SubscribeDataExchangeRequest/destination": destination

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.38.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251020
6+
37
### v0.37.0 (2025-09-07)
48

59
* Regenerated from discovery document revision 20250901

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,13 @@ class GooglePubsubV1Subscription
11401140
# @return [Google::Apis::AnalyticshubV1::RetryPolicy]
11411141
attr_accessor :retry_policy
11421142

1143+
# Optional. Input only. Immutable. Tag keys/values directly bound to this
1144+
# resource. For example: "123/environment": "production", "123/costCenter": "
1145+
# marketing"
1146+
# Corresponds to the JSON property `tags`
1147+
# @return [Hash<String,String>]
1148+
attr_accessor :tags
1149+
11431150
def initialize(**args)
11441151
update!(**args)
11451152
end
@@ -1162,6 +1169,7 @@ def update!(**args)
11621169
@push_config = args[:push_config] if args.key?(:push_config)
11631170
@retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
11641171
@retry_policy = args[:retry_policy] if args.key?(:retry_policy)
1172+
@tags = args[:tags] if args.key?(:tags)
11651173
end
11661174
end
11671175

@@ -1511,6 +1519,12 @@ class Listing
15111519
# @return [String]
15121520
attr_accessor :state
15131521

1522+
# Stored procedure configuration, used to configure stored procedure sharing on
1523+
# linked dataset.
1524+
# Corresponds to the JSON property `storedProcedureConfig`
1525+
# @return [Google::Apis::AnalyticshubV1::StoredProcedureConfig]
1526+
attr_accessor :stored_procedure_config
1527+
15141528
def initialize(**args)
15151529
update!(**args)
15161530
end
@@ -1536,6 +1550,7 @@ def update!(**args)
15361550
@resource_type = args[:resource_type] if args.key?(:resource_type)
15371551
@restricted_export_config = args[:restricted_export_config] if args.key?(:restricted_export_config)
15381552
@state = args[:state] if args.key?(:state)
1553+
@stored_procedure_config = args[:stored_procedure_config] if args.key?(:stored_procedure_config)
15391554
end
15401555
end
15411556

@@ -2440,6 +2455,33 @@ def update!(**args)
24402455
end
24412456
end
24422457

2458+
# Stored procedure configuration, used to configure stored procedure sharing on
2459+
# linked dataset.
2460+
class StoredProcedureConfig
2461+
include Google::Apis::Core::Hashable
2462+
2463+
# Output only. Types of stored procedure supported to share.
2464+
# Corresponds to the JSON property `allowedStoredProcedureTypes`
2465+
# @return [Array<String>]
2466+
attr_accessor :allowed_stored_procedure_types
2467+
2468+
# Optional. If true, enable sharing of stored procedure.
2469+
# Corresponds to the JSON property `enabled`
2470+
# @return [Boolean]
2471+
attr_accessor :enabled
2472+
alias_method :enabled?, :enabled
2473+
2474+
def initialize(**args)
2475+
update!(**args)
2476+
end
2477+
2478+
# Update properties of this object
2479+
def update!(**args)
2480+
@allowed_stored_procedure_types = args[:allowed_stored_procedure_types] if args.key?(:allowed_stored_procedure_types)
2481+
@enabled = args[:enabled] if args.key?(:enabled)
2482+
end
2483+
end
2484+
24432485
# Message for submitting a QueryTemplate.
24442486
class SubmitQueryTemplateRequest
24452487
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.37.0"
19+
GEM_VERSION = "0.38.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 = "20250901"
25+
REVISION = "20251020"
2626
end
2727
end
2828
end

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
376376
include Google::Apis::Core::JsonObjectSupport
377377
end
378378

379+
class StoredProcedureConfig
380+
class Representation < Google::Apis::Core::JsonRepresentation; end
381+
382+
include Google::Apis::Core::JsonObjectSupport
383+
end
384+
379385
class SubmitQueryTemplateRequest
380386
class Representation < Google::Apis::Core::JsonRepresentation; end
381387

@@ -686,6 +692,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
686692
property :retain_acked_messages, as: 'retainAckedMessages'
687693
property :retry_policy, as: 'retryPolicy', class: Google::Apis::AnalyticshubV1::RetryPolicy, decorator: Google::Apis::AnalyticshubV1::RetryPolicy::Representation
688694

695+
hash :tags, as: 'tags'
689696
end
690697
end
691698

@@ -788,6 +795,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
788795
property :restricted_export_config, as: 'restrictedExportConfig', class: Google::Apis::AnalyticshubV1::RestrictedExportConfig, decorator: Google::Apis::AnalyticshubV1::RestrictedExportConfig::Representation
789796

790797
property :state, as: 'state'
798+
property :stored_procedure_config, as: 'storedProcedureConfig', class: Google::Apis::AnalyticshubV1::StoredProcedureConfig, decorator: Google::Apis::AnalyticshubV1::StoredProcedureConfig::Representation
799+
791800
end
792801
end
793802

@@ -1012,6 +1021,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
10121021
end
10131022
end
10141023

1024+
class StoredProcedureConfig
1025+
# @private
1026+
class Representation < Google::Apis::Core::JsonRepresentation
1027+
collection :allowed_stored_procedure_types, as: 'allowedStoredProcedureTypes'
1028+
property :enabled, as: 'enabled'
1029+
end
1030+
end
1031+
10151032
class SubmitQueryTemplateRequest
10161033
# @private
10171034
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)