google-apis-analyticshub_v1 0.36.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6497e8a940471c84479a86f740f954a31ee0b2c1f64edf9144ac431fea332e6d
4
- data.tar.gz: 149fb4b2389dde8ed951712843646dcd49d8da36921e5914fbe2dca01347b1e7
3
+ metadata.gz: d2a2428781a70e78aa80bf15c2461c46649a4e6d704059f498fa5910d8d4dc27
4
+ data.tar.gz: 3cd234ec7c88ef8aa85fc06484aea190f6b9525589491fb3f9bdffdbe1745550
5
5
  SHA512:
6
- metadata.gz: 86674c0081d9faf994706fbe4d2ba8acf889ae8fe46ece4d6f7d3ec9b5ad070f430d652e76ea28cbd0f82718e569037c50f4e1de92e2e282436ef6cb1be54b6a
7
- data.tar.gz: 3d3f97ef368604efc3b9adcb09d1d1dba9b4c044a80fc612a55aad15a2771afc78eed1761aacc4d16d345f18a5fac0c6293d78268cdd0541ee384819d73d651a
6
+ metadata.gz: 8616716e0e5950ba6f096c0d16ff93814127d9bf497a69d744baf96337accad6ca7eff1f0890fc26088bfa86f83ee6f1e98c946bcb9a51445e6532f1521f20eb
7
+ data.tar.gz: 06ac5c9a7fe39d9dbb0b2cafa37f2093a920b07c2d95f34fe142c75a17630545c850ae6ac58b59ad7009df5409ba91b556a64f1f07a466f55d46c58e3e702b6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-analyticshub_v1
2
2
 
3
+ ### v0.37.0 (2025-09-07)
4
+
5
+ * Regenerated from discovery document revision 20250901
6
+
3
7
  ### v0.36.0 (2025-08-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20250807
@@ -224,6 +224,19 @@ module Google
224
224
  # @return [String]
225
225
  attr_accessor :dataset
226
226
 
227
+ # Output only. Server-owned effective state of replicas. Contains both primary
228
+ # and secondary replicas. Each replica includes a system-computed (output-only)
229
+ # state and primary designation.
230
+ # Corresponds to the JSON property `effectiveReplicas`
231
+ # @return [Array<Google::Apis::AnalyticshubV1::Replica>]
232
+ attr_accessor :effective_replicas
233
+
234
+ # Optional. A list of regions where the publisher has created shared dataset
235
+ # replicas.
236
+ # Corresponds to the JSON property `replicaLocations`
237
+ # @return [Array<String>]
238
+ attr_accessor :replica_locations
239
+
227
240
  # Restricted export policy used to configure restricted export on linked dataset.
228
241
  # Corresponds to the JSON property `restrictedExportPolicy`
229
242
  # @return [Google::Apis::AnalyticshubV1::RestrictedExportPolicy]
@@ -242,6 +255,8 @@ module Google
242
255
  # Update properties of this object
243
256
  def update!(**args)
244
257
  @dataset = args[:dataset] if args.key?(:dataset)
258
+ @effective_replicas = args[:effective_replicas] if args.key?(:effective_replicas)
259
+ @replica_locations = args[:replica_locations] if args.key?(:replica_locations)
245
260
  @restricted_export_policy = args[:restricted_export_policy] if args.key?(:restricted_export_policy)
246
261
  @selected_resources = args[:selected_resources] if args.key?(:selected_resources)
247
262
  end
@@ -683,6 +698,13 @@ module Google
683
698
  # @return [String]
684
699
  attr_accessor :location
685
700
 
701
+ # Optional. The geographic locations where the dataset should be replicated. See
702
+ # [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for
703
+ # supported locations.
704
+ # Corresponds to the JSON property `replicaLocations`
705
+ # @return [Array<String>]
706
+ attr_accessor :replica_locations
707
+
686
708
  def initialize(**args)
687
709
  update!(**args)
688
710
  end
@@ -694,6 +716,7 @@ module Google
694
716
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
695
717
  @labels = args[:labels] if args.key?(:labels)
696
718
  @location = args[:location] if args.key?(:location)
719
+ @replica_locations = args[:replica_locations] if args.key?(:replica_locations)
697
720
  end
698
721
  end
699
722
 
@@ -2068,6 +2091,42 @@ module Google
2068
2091
  end
2069
2092
  end
2070
2093
 
2094
+ # Represents the state of a replica of a shared dataset. It includes the
2095
+ # geographic location of the replica and system-computed, output-only fields
2096
+ # indicating its replication state and whether it is the primary replica.
2097
+ class Replica
2098
+ include Google::Apis::Core::Hashable
2099
+
2100
+ # Output only. The geographic location where the replica resides. See [BigQuery
2101
+ # locations](https://cloud.google.com/bigquery/docs/locations) for supported
2102
+ # locations. Eg. "us-central1".
2103
+ # Corresponds to the JSON property `location`
2104
+ # @return [String]
2105
+ attr_accessor :location
2106
+
2107
+ # Output only. Indicates that this replica is the primary replica.
2108
+ # Corresponds to the JSON property `primaryState`
2109
+ # @return [String]
2110
+ attr_accessor :primary_state
2111
+
2112
+ # Output only. Assigned by Analytics Hub based on real BigQuery replication
2113
+ # state.
2114
+ # Corresponds to the JSON property `replicaState`
2115
+ # @return [String]
2116
+ attr_accessor :replica_state
2117
+
2118
+ def initialize(**args)
2119
+ update!(**args)
2120
+ end
2121
+
2122
+ # Update properties of this object
2123
+ def update!(**args)
2124
+ @location = args[:location] if args.key?(:location)
2125
+ @primary_state = args[:primary_state] if args.key?(:primary_state)
2126
+ @replica_state = args[:replica_state] if args.key?(:replica_state)
2127
+ end
2128
+ end
2129
+
2071
2130
  # Restricted export config, used to configure restricted export on linked
2072
2131
  # dataset.
2073
2132
  class RestrictedExportConfig
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AnalyticshubV1
18
18
  # Version of the google-apis-analyticshub_v1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250807"
25
+ REVISION = "20250901"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class Replica
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class RestrictedExportConfig
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -471,6 +477,9 @@ module Google
471
477
  # @private
472
478
  class Representation < Google::Apis::Core::JsonRepresentation
473
479
  property :dataset, as: 'dataset'
480
+ collection :effective_replicas, as: 'effectiveReplicas', class: Google::Apis::AnalyticshubV1::Replica, decorator: Google::Apis::AnalyticshubV1::Replica::Representation
481
+
482
+ collection :replica_locations, as: 'replicaLocations'
474
483
  property :restricted_export_policy, as: 'restrictedExportPolicy', class: Google::Apis::AnalyticshubV1::RestrictedExportPolicy, decorator: Google::Apis::AnalyticshubV1::RestrictedExportPolicy::Representation
475
484
 
476
485
  collection :selected_resources, as: 'selectedResources', class: Google::Apis::AnalyticshubV1::SelectedResource, decorator: Google::Apis::AnalyticshubV1::SelectedResource::Representation
@@ -562,6 +571,7 @@ module Google
562
571
  property :friendly_name, as: 'friendlyName'
563
572
  hash :labels, as: 'labels'
564
573
  property :location, as: 'location'
574
+ collection :replica_locations, as: 'replicaLocations'
565
575
  end
566
576
  end
567
577
 
@@ -910,6 +920,15 @@ module Google
910
920
  end
911
921
  end
912
922
 
923
+ class Replica
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ property :location, as: 'location'
927
+ property :primary_state, as: 'primaryState'
928
+ property :replica_state, as: 'replicaState'
929
+ end
930
+ end
931
+
913
932
  class RestrictedExportConfig
914
933
  # @private
915
934
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticshub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.36.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.37.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1
62
62
  rdoc_options: []
63
63
  require_paths: