@@ -1488,6 +1488,11 @@ class Instance
14881488 # @return [Array<Google::Apis::AlloydbV1::Node>]
14891489 attr_accessor :nodes
14901490
1491+ # Observability Instance specific configuration.
1492+ # Corresponds to the JSON property `observabilityConfig`
1493+ # @return [Google::Apis::AlloydbV1::ObservabilityInstanceConfig]
1494+ attr_accessor :observability_config
1495+
14911496 # Output only. All outbound public IP addresses configured for the instance.
14921497 # Corresponds to the JSON property `outboundPublicIpAddresses`
14931498 # @return [Array<String>]
@@ -1576,6 +1581,7 @@ def update!(**args)
15761581 @name = args [ :name ] if args . key? ( :name )
15771582 @network_config = args [ :network_config ] if args . key? ( :network_config )
15781583 @nodes = args [ :nodes ] if args . key? ( :nodes )
1584+ @observability_config = args [ :observability_config ] if args . key? ( :observability_config )
15791585 @outbound_public_ip_addresses = args [ :outbound_public_ip_addresses ] if args . key? ( :outbound_public_ip_addresses )
15801586 @psc_instance_config = args [ :psc_instance_config ] if args . key? ( :psc_instance_config )
15811587 @public_ip_address = args [ :public_ip_address ] if args . key? ( :public_ip_address )
@@ -2051,6 +2057,83 @@ def update!(**args)
20512057 end
20522058 end
20532059
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+
20542137 # This resource represents a long-running operation that is the result of a
20552138 # network API call.
20562139 class Operation
@@ -3639,14 +3722,14 @@ def update!(**args)
36393722 class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
36403723 include Google ::Apis ::Core ::Hashable
36413724
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.
36443727 # Corresponds to the JSON property `cpuCount`
36453728 # @return [Fixnum]
36463729 attr_accessor :cpu_count
36473730
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.
36503733 # Corresponds to the JSON property `memorySizeInBytes`
36513734 # @return [Fixnum]
36523735 attr_accessor :memory_size_in_bytes
@@ -3656,8 +3739,8 @@ class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
36563739 # @return [Fixnum]
36573740 attr_accessor :shard_count
36583741
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.
36613744 # Corresponds to the JSON property `vcpuCount`
36623745 # @return [Float]
36633746 attr_accessor :vcpu_count
0 commit comments