google-apis-alloydb_v1 0.30.0 → 0.31.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: e96d15f59a01ddf66376f4db016ed371ec8bba0f8469394b8114c12a5bfe4b9b
4
- data.tar.gz: cafba70c14aabdd4606a2e82f6d7dbcdc9a9127879f5ea5d3bdd415a2fc7302b
3
+ metadata.gz: dd941902e8acbaf75df7f6a6fb1d20867358ce80ba899281602a504d7608763f
4
+ data.tar.gz: d6a8640f42b3f97673198329dca02c6fddd17b7a7e02c04afd822e21b2a08cff
5
5
  SHA512:
6
- metadata.gz: 1433dee89c92ffbb08271d8576dee14e7a8455b0b73274b989ebb5770cc36b104a9eb1539398e67b5a926847c8270a03071f0a6f4df458e9310879c5f8ad8fff
7
- data.tar.gz: 8b79b0d019cbffb0cf79f57e9f7e9dcb52b2fe02eb47270dee8203d245126ab142ee9822f46bb32d809402820cc1aa48ebdac2b87f5d51200bca30ee59204284
6
+ metadata.gz: 2758af16958603e5a1bd23b842a40ec8223cf4f25a549ca16fad57d4d4118b1b6bf8ec679b358f3938bfa1171c6fb1f4bec566f8e56bdfef5a0eb2eb5f842ab5
7
+ data.tar.gz: ca6fda8f58cec6163848d2088b98d2f3e87363f2a29f0f6b306cacd5f3275b6c1d76533ca03d6e6a85f060e2800e66c745ae7c1935fc8ff030800df3cc743f3c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.31.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250227
6
+
3
7
  ### v0.30.0 (2025-03-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20250219
@@ -1488,6 +1488,11 @@ module Google
1488
1488
  # @return [Array<Google::Apis::AlloydbV1::Node>]
1489
1489
  attr_accessor :nodes
1490
1490
 
1491
+ # Observability Instance specific configuration.
1492
+ # Corresponds to the JSON property `observabilityConfig`
1493
+ # @return [Google::Apis::AlloydbV1::ObservabilityInstanceConfig]
1494
+ attr_accessor :observability_config
1495
+
1491
1496
  # Output only. All outbound public IP addresses configured for the instance.
1492
1497
  # Corresponds to the JSON property `outboundPublicIpAddresses`
1493
1498
  # @return [Array<String>]
@@ -1576,6 +1581,7 @@ module Google
1576
1581
  @name = args[:name] if args.key?(:name)
1577
1582
  @network_config = args[:network_config] if args.key?(:network_config)
1578
1583
  @nodes = args[:nodes] if args.key?(:nodes)
1584
+ @observability_config = args[:observability_config] if args.key?(:observability_config)
1579
1585
  @outbound_public_ip_addresses = args[:outbound_public_ip_addresses] if args.key?(:outbound_public_ip_addresses)
1580
1586
  @psc_instance_config = args[:psc_instance_config] if args.key?(:psc_instance_config)
1581
1587
  @public_ip_address = args[:public_ip_address] if args.key?(:public_ip_address)
@@ -2051,6 +2057,83 @@ module Google
2051
2057
  end
2052
2058
  end
2053
2059
 
2060
+ # Observability Instance specific configuration.
2061
+ class ObservabilityInstanceConfig
2062
+ include Google::Apis::Core::Hashable
2063
+
2064
+ # Observability feature status for an instance. This flag is turned "off" by
2065
+ # default.
2066
+ # Corresponds to the JSON property `enabled`
2067
+ # @return [Boolean]
2068
+ attr_accessor :enabled
2069
+ alias_method :enabled?, :enabled
2070
+
2071
+ # Query string length. The default value is 10k.
2072
+ # Corresponds to the JSON property `maxQueryStringLength`
2073
+ # @return [Fixnum]
2074
+ attr_accessor :max_query_string_length
2075
+
2076
+ # Preserve comments in query string for an instance. This flag is turned "off"
2077
+ # by default.
2078
+ # Corresponds to the JSON property `preserveComments`
2079
+ # @return [Boolean]
2080
+ attr_accessor :preserve_comments
2081
+ alias_method :preserve_comments?, :preserve_comments
2082
+
2083
+ # Number of query execution plans captured by Insights per minute for all
2084
+ # queries combined. The default value is 200. Any integer between 0 to 200 is
2085
+ # considered valid.
2086
+ # Corresponds to the JSON property `queryPlansPerMinute`
2087
+ # @return [Fixnum]
2088
+ attr_accessor :query_plans_per_minute
2089
+
2090
+ # Record application tags for an instance. This flag is turned "off" by default.
2091
+ # Corresponds to the JSON property `recordApplicationTags`
2092
+ # @return [Boolean]
2093
+ attr_accessor :record_application_tags
2094
+ alias_method :record_application_tags?, :record_application_tags
2095
+
2096
+ # Track actively running queries on the instance. If not set, this flag is "off"
2097
+ # by default.
2098
+ # Corresponds to the JSON property `trackActiveQueries`
2099
+ # @return [Boolean]
2100
+ attr_accessor :track_active_queries
2101
+ alias_method :track_active_queries?, :track_active_queries
2102
+
2103
+ # Output only. Track wait event types during query execution for an instance.
2104
+ # This flag is turned "on" by default but tracking is enabled only after
2105
+ # observability enabled flag is also turned on. This is read-only flag and only
2106
+ # modifiable by internal API.
2107
+ # Corresponds to the JSON property `trackWaitEventTypes`
2108
+ # @return [Boolean]
2109
+ attr_accessor :track_wait_event_types
2110
+ alias_method :track_wait_event_types?, :track_wait_event_types
2111
+
2112
+ # Track wait events during query execution for an instance. This flag is turned "
2113
+ # on" by default but tracking is enabled only after observability enabled flag
2114
+ # is also turned on.
2115
+ # Corresponds to the JSON property `trackWaitEvents`
2116
+ # @return [Boolean]
2117
+ attr_accessor :track_wait_events
2118
+ alias_method :track_wait_events?, :track_wait_events
2119
+
2120
+ def initialize(**args)
2121
+ update!(**args)
2122
+ end
2123
+
2124
+ # Update properties of this object
2125
+ def update!(**args)
2126
+ @enabled = args[:enabled] if args.key?(:enabled)
2127
+ @max_query_string_length = args[:max_query_string_length] if args.key?(:max_query_string_length)
2128
+ @preserve_comments = args[:preserve_comments] if args.key?(:preserve_comments)
2129
+ @query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
2130
+ @record_application_tags = args[:record_application_tags] if args.key?(:record_application_tags)
2131
+ @track_active_queries = args[:track_active_queries] if args.key?(:track_active_queries)
2132
+ @track_wait_event_types = args[:track_wait_event_types] if args.key?(:track_wait_event_types)
2133
+ @track_wait_events = args[:track_wait_events] if args.key?(:track_wait_events)
2134
+ end
2135
+ end
2136
+
2054
2137
  # This resource represents a long-running operation that is the result of a
2055
2138
  # network API call.
2056
2139
  class Operation
@@ -3639,14 +3722,14 @@ module Google
3639
3722
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
3640
3723
  include Google::Apis::Core::Hashable
3641
3724
 
3642
- # The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/
3643
- # 342346271) add proto validations again after bug fix.
3725
+ # The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add
3726
+ # proto validations again after bug fix.
3644
3727
  # Corresponds to the JSON property `cpuCount`
3645
3728
  # @return [Fixnum]
3646
3729
  attr_accessor :cpu_count
3647
3730
 
3648
- # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
3649
- # again after bug fix.
3731
+ # Memory size in bytes. TODO(b/342344482) add proto validations again after bug
3732
+ # fix.
3650
3733
  # Corresponds to the JSON property `memorySizeInBytes`
3651
3734
  # @return [Fixnum]
3652
3735
  attr_accessor :memory_size_in_bytes
@@ -3656,8 +3739,8 @@ module Google
3656
3739
  # @return [Fixnum]
3657
3740
  attr_accessor :shard_count
3658
3741
 
3659
- # Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto
3660
- # validations again after bug fix.
3742
+ # Optional. The number of vCPUs. TODO(b/342344482) add proto validations again
3743
+ # after bug fix.
3661
3744
  # Corresponds to the JSON property `vcpuCount`
3662
3745
  # @return [Float]
3663
3746
  attr_accessor :vcpu_count
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1
18
18
  # Version of the google-apis-alloydb_v1 gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250219"
25
+ REVISION = "20250227"
26
26
  end
27
27
  end
28
28
  end
@@ -298,6 +298,12 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class ObservabilityInstanceConfig
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
301
307
  class Operation
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
@@ -1001,6 +1007,8 @@ module Google
1001
1007
 
1002
1008
  collection :nodes, as: 'nodes', class: Google::Apis::AlloydbV1::Node, decorator: Google::Apis::AlloydbV1::Node::Representation
1003
1009
 
1010
+ property :observability_config, as: 'observabilityConfig', class: Google::Apis::AlloydbV1::ObservabilityInstanceConfig, decorator: Google::Apis::AlloydbV1::ObservabilityInstanceConfig::Representation
1011
+
1004
1012
  collection :outbound_public_ip_addresses, as: 'outboundPublicIpAddresses'
1005
1013
  property :psc_instance_config, as: 'pscInstanceConfig', class: Google::Apis::AlloydbV1::PscInstanceConfig, decorator: Google::Apis::AlloydbV1::PscInstanceConfig::Representation
1006
1014
 
@@ -1162,6 +1170,20 @@ module Google
1162
1170
  end
1163
1171
  end
1164
1172
 
1173
+ class ObservabilityInstanceConfig
1174
+ # @private
1175
+ class Representation < Google::Apis::Core::JsonRepresentation
1176
+ property :enabled, as: 'enabled'
1177
+ property :max_query_string_length, as: 'maxQueryStringLength'
1178
+ property :preserve_comments, as: 'preserveComments'
1179
+ property :query_plans_per_minute, as: 'queryPlansPerMinute'
1180
+ property :record_application_tags, as: 'recordApplicationTags'
1181
+ property :track_active_queries, as: 'trackActiveQueries'
1182
+ property :track_wait_event_types, as: 'trackWaitEventTypes'
1183
+ property :track_wait_events, as: 'trackWaitEvents'
1184
+ end
1185
+ end
1186
+
1165
1187
  class Operation
1166
1188
  # @private
1167
1189
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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-alloydb_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.30.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.31.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
62
62
  rdoc_options: []
63
63
  require_paths: