google-cloud-database_center-v1beta 0.2.0 → 0.3.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/database_center/v1beta/database_center/client.rb +152 -21
- data/lib/google/cloud/database_center/v1beta/database_center/rest/client.rb +153 -21
- data/lib/google/cloud/database_center/v1beta/database_center/rest/service_stub.rb +60 -0
- data/lib/google/cloud/database_center/v1beta/version.rb +1 -1
- data/lib/google/cloud/databasecenter/v1beta/maintenance_pb.rb +1 -1
- data/lib/google/cloud/databasecenter/v1beta/service_pb.rb +5 -1
- data/lib/google/cloud/databasecenter/v1beta/service_services_pb.rb +3 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/maintenance.rb +2 -2
- data/proto_docs/google/cloud/databasecenter/v1beta/product.rb +8 -8
- data/proto_docs/google/cloud/databasecenter/v1beta/service.rb +129 -32
- data/proto_docs/google/cloud/databasecenter/v1beta/signals.rb +7 -7
- metadata +8 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bd386b0b22bfcd792bb13f5e18cd8399dd3beac7a9b16f3a1c90d5b5ecd3ccd
|
|
4
|
+
data.tar.gz: e0fb7dfa58c50173e4e4c61a7b937dec02e1b31e7be632ddbeac0934832246ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1686ed75b7f6503ef10e550aaed2d86b5c0e52173ac089862797071fdba62d8302f1d739856809f2c55d517a78ee1477cd2bdf2ab6e0b752aaf6090297e55039
|
|
7
|
+
data.tar.gz: 9cd379f8397c445f95814398101fe0742a1b1b141ccaf9a68a35c5e1ba736220f00de0f373fbd5afe6b0b49f7f9ad931e92d46f8cd717438c29bb53a9d18fe25
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Ruby Client for the Database Center V1BETA API
|
|
2
2
|
|
|
3
|
-
Database Center
|
|
3
|
+
Database Center offers a comprehensive, organization-wide platform for monitoring database fleet health across various products. It simplifies management and reduces risk by automatically aggregating and summarizing key health signals, removing the need for custom dashboards. The platform provides a unified view through its dashboard and API, enabling teams focused on reliability, compliance, security, cost, and administration to quickly identify and address relevant issues within their database fleets.
|
|
4
4
|
|
|
5
5
|
The Database Center API provides access to an organization-wide, cross-product database fleet health platform. It aggregates health, security, and compliance signals from various Google Cloud databases, offering a single pane of glass to identify and manage issues.
|
|
6
6
|
|
|
@@ -331,10 +331,10 @@ module Google
|
|
|
331
331
|
# expression, parentheses must be appropriately used to group the
|
|
332
332
|
# combinations.
|
|
333
333
|
#
|
|
334
|
-
# Example: location="us-east1"
|
|
335
|
-
# Example: container="projects/123" OR container="projects/456"
|
|
336
|
-
# Example: (container="projects/123" OR
|
|
337
|
-
# container="projects/456") AND location="us-east1"
|
|
334
|
+
# Example: `location="us-east1"`
|
|
335
|
+
# Example: `container="projects/123" OR container="projects/456"`
|
|
336
|
+
# Example: `(container="projects/123" OR
|
|
337
|
+
# container="projects/456") AND location="us-east1"`
|
|
338
338
|
# @param group_by [::String]
|
|
339
339
|
# Optional. A field that statistics are grouped by.
|
|
340
340
|
# Valid values are any combination of the following:
|
|
@@ -364,9 +364,10 @@ module Google
|
|
|
364
364
|
# descending order. Add "ASC" after the field name to indicate ascending
|
|
365
365
|
# order. It supports ordering using multiple fields.
|
|
366
366
|
# For example:
|
|
367
|
-
# order_by = "resource_groups_count" sorts response in ascending order
|
|
368
|
-
# order_by = "resource_groups_count DESC" sorts response in descending
|
|
369
|
-
#
|
|
367
|
+
# `order_by = "resource_groups_count"` sorts response in ascending order
|
|
368
|
+
# `order_by = "resource_groups_count DESC"` sorts response in descending
|
|
369
|
+
# order
|
|
370
|
+
# `order_by = "product.type, product.version DESC, location"` orders by type
|
|
370
371
|
# in ascending order, version in descending order and location in ascending
|
|
371
372
|
# order
|
|
372
373
|
# @param page_size [::Integer]
|
|
@@ -498,12 +499,12 @@ module Google
|
|
|
498
499
|
# expression, parentheses must be appropriately used to group the
|
|
499
500
|
# combinations.
|
|
500
501
|
#
|
|
501
|
-
# Example: location="us-east1"
|
|
502
|
-
# Example: container="projects/123" OR container="projects/456"
|
|
503
|
-
# Example: (container="projects/123" OR
|
|
504
|
-
# container="projects/456") AND location="us-east1"
|
|
505
|
-
# Example: full_resource_name=~"test"
|
|
506
|
-
# Example: full_resource_name=~"test.*master"
|
|
502
|
+
# Example: `location="us-east1"`
|
|
503
|
+
# Example: `container="projects/123" OR container="projects/456"`
|
|
504
|
+
# Example: `(container="projects/123" OR
|
|
505
|
+
# container="projects/456") AND location="us-east1"`
|
|
506
|
+
# Example: `full_resource_name=~"test"`
|
|
507
|
+
# Example: `full_resource_name=~"test.*master"`
|
|
507
508
|
# @param signal_type_groups [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup, ::Hash>]
|
|
508
509
|
# Optional. Groups of signal types that are requested.
|
|
509
510
|
# @param signal_filters [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalFilter, ::Hash>]
|
|
@@ -544,12 +545,13 @@ module Google
|
|
|
544
545
|
# order. It only supports a single field at a time.
|
|
545
546
|
#
|
|
546
547
|
# For example:
|
|
547
|
-
# order_by = "full_resource_name" sorts response in ascending order
|
|
548
|
-
# order_by = "full_resource_name DESC" sorts response in descending order
|
|
549
|
-
# order_by = "issue_count DESC" sorts response in descending order of
|
|
548
|
+
# `order_by = "full_resource_name"` sorts response in ascending order
|
|
549
|
+
# `order_by = "full_resource_name DESC"` sorts response in descending order
|
|
550
|
+
# `order_by = "issue_count DESC"` sorts response in descending order of
|
|
550
551
|
# count of all issues associated with a resource.
|
|
551
552
|
#
|
|
552
|
-
# More explicitly, order_by = "full_resource_name, product" is not
|
|
553
|
+
# More explicitly, `order_by = "full_resource_name, product"` is not
|
|
554
|
+
# supported.
|
|
553
555
|
# @param page_size [::Integer]
|
|
554
556
|
# Optional. If unspecified, at most 50 resource groups will be returned.
|
|
555
557
|
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
@@ -662,10 +664,10 @@ module Google
|
|
|
662
664
|
# expression, parentheses must be appropriately used to group the
|
|
663
665
|
# combinations.
|
|
664
666
|
#
|
|
665
|
-
# Example: location="us-east1"
|
|
666
|
-
# Example: container="projects/123" OR container="projects/456"
|
|
667
|
-
# Example: (container="projects/123" OR
|
|
668
|
-
# container="projects/456") AND location="us-east1"
|
|
667
|
+
# Example: `location="us-east1"`
|
|
668
|
+
# Example: `container="projects/123" OR container="projects/456"`
|
|
669
|
+
# Example: `(container="projects/123" OR
|
|
670
|
+
# container="projects/456") AND location="us-east1"`
|
|
669
671
|
# @param signal_type_groups [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup, ::Hash>]
|
|
670
672
|
# Optional. Lists of signal types that are issues.
|
|
671
673
|
# @param baseline_date [::Google::Type::Date, ::Hash]
|
|
@@ -729,6 +731,128 @@ module Google
|
|
|
729
731
|
raise ::Google::Cloud::Error.from_error(e)
|
|
730
732
|
end
|
|
731
733
|
|
|
734
|
+
##
|
|
735
|
+
# QueryIssues provides a list of issues and recommendations
|
|
736
|
+
# that a user has access to and that are within the requested scope.
|
|
737
|
+
#
|
|
738
|
+
# @overload query_issues(request, options = nil)
|
|
739
|
+
# Pass arguments to `query_issues` via a request object, either of type
|
|
740
|
+
# {::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest} or an equivalent Hash.
|
|
741
|
+
#
|
|
742
|
+
# @param request [::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest, ::Hash]
|
|
743
|
+
# A request object representing the call parameters. Required. To specify no
|
|
744
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
745
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
746
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
747
|
+
#
|
|
748
|
+
# @overload query_issues(parent: nil, filter: nil, signal_products_filters: nil, order_by: nil, page_size: nil, page_token: nil)
|
|
749
|
+
# Pass arguments to `query_issues` via keyword arguments. Note that at
|
|
750
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
751
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
752
|
+
#
|
|
753
|
+
# @param parent [::String]
|
|
754
|
+
# Required. Parent can be a project, a folder, or an organization. The list
|
|
755
|
+
# is limited to the one attached to resources within the `scope` that a user
|
|
756
|
+
# has access to.
|
|
757
|
+
#
|
|
758
|
+
# The allowed values are:
|
|
759
|
+
#
|
|
760
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
761
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
762
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
763
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
|
|
764
|
+
# @param filter [::String]
|
|
765
|
+
# Optional.
|
|
766
|
+
# Supported fields are:
|
|
767
|
+
# 'product',
|
|
768
|
+
# `location`,
|
|
769
|
+
# `issue_severity`,
|
|
770
|
+
# 'tags',
|
|
771
|
+
# 'labels',
|
|
772
|
+
# @param signal_products_filters [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalProductsFilters, ::Hash>]
|
|
773
|
+
# Optional. Filters based on signal and product. The filter list will be ORed
|
|
774
|
+
# across pairs and ANDed within a signal and products pair.
|
|
775
|
+
# @param order_by [::String]
|
|
776
|
+
# Optional. Following fields are sortable:
|
|
777
|
+
# SignalType
|
|
778
|
+
# Product
|
|
779
|
+
# Location
|
|
780
|
+
# IssueSeverity
|
|
781
|
+
#
|
|
782
|
+
# The default order is ascending. Add "DESC" after the field name to indicate
|
|
783
|
+
# descending order. Add "ASC" after the field name to indicate ascending
|
|
784
|
+
# order. It only supports a single field at a time.
|
|
785
|
+
# @param page_size [::Integer]
|
|
786
|
+
# Optional. If unspecified, at most 50 issues will be returned.
|
|
787
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
788
|
+
# @param page_token [::String]
|
|
789
|
+
# Optional. A page token, received from a previous `QueryIssues` call.
|
|
790
|
+
# Provide this to retrieve the subsequent page.
|
|
791
|
+
# All parameters except page size should match the parameters used in the
|
|
792
|
+
# call that provided the page token.
|
|
793
|
+
#
|
|
794
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
795
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResourceIssue>]
|
|
796
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
797
|
+
#
|
|
798
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResourceIssue>]
|
|
799
|
+
#
|
|
800
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
801
|
+
#
|
|
802
|
+
# @example Basic example
|
|
803
|
+
# require "google/cloud/database_center/v1beta"
|
|
804
|
+
#
|
|
805
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
806
|
+
# client = Google::Cloud::DatabaseCenter::V1beta::DatabaseCenter::Client.new
|
|
807
|
+
#
|
|
808
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
809
|
+
# request = Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest.new
|
|
810
|
+
#
|
|
811
|
+
# # Call the query_issues method.
|
|
812
|
+
# result = client.query_issues request
|
|
813
|
+
#
|
|
814
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
|
815
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
|
816
|
+
# result.each do |item|
|
|
817
|
+
# # Each element is of type ::Google::Cloud::DatabaseCenter::V1beta::DatabaseResourceIssue.
|
|
818
|
+
# p item
|
|
819
|
+
# end
|
|
820
|
+
#
|
|
821
|
+
def query_issues request, options = nil
|
|
822
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
823
|
+
|
|
824
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest
|
|
825
|
+
|
|
826
|
+
# Converts hash and nil to an options object
|
|
827
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
828
|
+
|
|
829
|
+
# Customize the options with defaults
|
|
830
|
+
metadata = @config.rpcs.query_issues.metadata.to_h
|
|
831
|
+
|
|
832
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
833
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
834
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
835
|
+
gapic_version: ::Google::Cloud::DatabaseCenter::V1beta::VERSION
|
|
836
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
837
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
838
|
+
|
|
839
|
+
options.apply_defaults timeout: @config.rpcs.query_issues.timeout,
|
|
840
|
+
metadata: metadata,
|
|
841
|
+
retry_policy: @config.rpcs.query_issues.retry_policy
|
|
842
|
+
|
|
843
|
+
options.apply_defaults timeout: @config.timeout,
|
|
844
|
+
metadata: @config.metadata,
|
|
845
|
+
retry_policy: @config.retry_policy
|
|
846
|
+
|
|
847
|
+
@database_center_stub.call_rpc :query_issues, request, options: options do |response, operation|
|
|
848
|
+
response = ::Gapic::PagedEnumerable.new @database_center_stub, :query_issues, request, response, operation, options
|
|
849
|
+
yield response, operation if block_given?
|
|
850
|
+
throw :response, response
|
|
851
|
+
end
|
|
852
|
+
rescue ::GRPC::BadStatus => e
|
|
853
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
854
|
+
end
|
|
855
|
+
|
|
732
856
|
##
|
|
733
857
|
# Configuration class for the DatabaseCenter API.
|
|
734
858
|
#
|
|
@@ -932,6 +1056,11 @@ module Google
|
|
|
932
1056
|
# @return [::Gapic::Config::Method]
|
|
933
1057
|
#
|
|
934
1058
|
attr_reader :aggregate_issue_stats
|
|
1059
|
+
##
|
|
1060
|
+
# RPC-specific configuration for `query_issues`
|
|
1061
|
+
# @return [::Gapic::Config::Method]
|
|
1062
|
+
#
|
|
1063
|
+
attr_reader :query_issues
|
|
935
1064
|
|
|
936
1065
|
# @private
|
|
937
1066
|
def initialize parent_rpcs = nil
|
|
@@ -943,6 +1072,8 @@ module Google
|
|
|
943
1072
|
@query_database_resource_groups = ::Gapic::Config::Method.new query_database_resource_groups_config
|
|
944
1073
|
aggregate_issue_stats_config = parent_rpcs.aggregate_issue_stats if parent_rpcs.respond_to? :aggregate_issue_stats
|
|
945
1074
|
@aggregate_issue_stats = ::Gapic::Config::Method.new aggregate_issue_stats_config
|
|
1075
|
+
query_issues_config = parent_rpcs.query_issues if parent_rpcs.respond_to? :query_issues
|
|
1076
|
+
@query_issues = ::Gapic::Config::Method.new query_issues_config
|
|
946
1077
|
|
|
947
1078
|
yield self if block_given?
|
|
948
1079
|
end
|
|
@@ -325,10 +325,10 @@ module Google
|
|
|
325
325
|
# expression, parentheses must be appropriately used to group the
|
|
326
326
|
# combinations.
|
|
327
327
|
#
|
|
328
|
-
# Example: location="us-east1"
|
|
329
|
-
# Example: container="projects/123" OR container="projects/456"
|
|
330
|
-
# Example: (container="projects/123" OR
|
|
331
|
-
# container="projects/456") AND location="us-east1"
|
|
328
|
+
# Example: `location="us-east1"`
|
|
329
|
+
# Example: `container="projects/123" OR container="projects/456"`
|
|
330
|
+
# Example: `(container="projects/123" OR
|
|
331
|
+
# container="projects/456") AND location="us-east1"`
|
|
332
332
|
# @param group_by [::String]
|
|
333
333
|
# Optional. A field that statistics are grouped by.
|
|
334
334
|
# Valid values are any combination of the following:
|
|
@@ -358,9 +358,10 @@ module Google
|
|
|
358
358
|
# descending order. Add "ASC" after the field name to indicate ascending
|
|
359
359
|
# order. It supports ordering using multiple fields.
|
|
360
360
|
# For example:
|
|
361
|
-
# order_by = "resource_groups_count" sorts response in ascending order
|
|
362
|
-
# order_by = "resource_groups_count DESC" sorts response in descending
|
|
363
|
-
#
|
|
361
|
+
# `order_by = "resource_groups_count"` sorts response in ascending order
|
|
362
|
+
# `order_by = "resource_groups_count DESC"` sorts response in descending
|
|
363
|
+
# order
|
|
364
|
+
# `order_by = "product.type, product.version DESC, location"` orders by type
|
|
364
365
|
# in ascending order, version in descending order and location in ascending
|
|
365
366
|
# order
|
|
366
367
|
# @param page_size [::Integer]
|
|
@@ -493,12 +494,12 @@ module Google
|
|
|
493
494
|
# expression, parentheses must be appropriately used to group the
|
|
494
495
|
# combinations.
|
|
495
496
|
#
|
|
496
|
-
# Example: location="us-east1"
|
|
497
|
-
# Example: container="projects/123" OR container="projects/456"
|
|
498
|
-
# Example: (container="projects/123" OR
|
|
499
|
-
# container="projects/456") AND location="us-east1"
|
|
500
|
-
# Example: full_resource_name=~"test"
|
|
501
|
-
# Example: full_resource_name=~"test.*master"
|
|
497
|
+
# Example: `location="us-east1"`
|
|
498
|
+
# Example: `container="projects/123" OR container="projects/456"`
|
|
499
|
+
# Example: `(container="projects/123" OR
|
|
500
|
+
# container="projects/456") AND location="us-east1"`
|
|
501
|
+
# Example: `full_resource_name=~"test"`
|
|
502
|
+
# Example: `full_resource_name=~"test.*master"`
|
|
502
503
|
# @param signal_type_groups [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup, ::Hash>]
|
|
503
504
|
# Optional. Groups of signal types that are requested.
|
|
504
505
|
# @param signal_filters [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalFilter, ::Hash>]
|
|
@@ -539,12 +540,13 @@ module Google
|
|
|
539
540
|
# order. It only supports a single field at a time.
|
|
540
541
|
#
|
|
541
542
|
# For example:
|
|
542
|
-
# order_by = "full_resource_name" sorts response in ascending order
|
|
543
|
-
# order_by = "full_resource_name DESC" sorts response in descending order
|
|
544
|
-
# order_by = "issue_count DESC" sorts response in descending order of
|
|
543
|
+
# `order_by = "full_resource_name"` sorts response in ascending order
|
|
544
|
+
# `order_by = "full_resource_name DESC"` sorts response in descending order
|
|
545
|
+
# `order_by = "issue_count DESC"` sorts response in descending order of
|
|
545
546
|
# count of all issues associated with a resource.
|
|
546
547
|
#
|
|
547
|
-
# More explicitly, order_by = "full_resource_name, product" is not
|
|
548
|
+
# More explicitly, `order_by = "full_resource_name, product"` is not
|
|
549
|
+
# supported.
|
|
548
550
|
# @param page_size [::Integer]
|
|
549
551
|
# Optional. If unspecified, at most 50 resource groups will be returned.
|
|
550
552
|
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
@@ -658,10 +660,10 @@ module Google
|
|
|
658
660
|
# expression, parentheses must be appropriately used to group the
|
|
659
661
|
# combinations.
|
|
660
662
|
#
|
|
661
|
-
# Example: location="us-east1"
|
|
662
|
-
# Example: container="projects/123" OR container="projects/456"
|
|
663
|
-
# Example: (container="projects/123" OR
|
|
664
|
-
# container="projects/456") AND location="us-east1"
|
|
663
|
+
# Example: `location="us-east1"`
|
|
664
|
+
# Example: `container="projects/123" OR container="projects/456"`
|
|
665
|
+
# Example: `(container="projects/123" OR
|
|
666
|
+
# container="projects/456") AND location="us-east1"`
|
|
665
667
|
# @param signal_type_groups [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup, ::Hash>]
|
|
666
668
|
# Optional. Lists of signal types that are issues.
|
|
667
669
|
# @param baseline_date [::Google::Type::Date, ::Hash]
|
|
@@ -726,6 +728,129 @@ module Google
|
|
|
726
728
|
raise ::Google::Cloud::Error.from_error(e)
|
|
727
729
|
end
|
|
728
730
|
|
|
731
|
+
##
|
|
732
|
+
# QueryIssues provides a list of issues and recommendations
|
|
733
|
+
# that a user has access to and that are within the requested scope.
|
|
734
|
+
#
|
|
735
|
+
# @overload query_issues(request, options = nil)
|
|
736
|
+
# Pass arguments to `query_issues` via a request object, either of type
|
|
737
|
+
# {::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest} or an equivalent Hash.
|
|
738
|
+
#
|
|
739
|
+
# @param request [::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest, ::Hash]
|
|
740
|
+
# A request object representing the call parameters. Required. To specify no
|
|
741
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
742
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
743
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
744
|
+
#
|
|
745
|
+
# @overload query_issues(parent: nil, filter: nil, signal_products_filters: nil, order_by: nil, page_size: nil, page_token: nil)
|
|
746
|
+
# Pass arguments to `query_issues` via keyword arguments. Note that at
|
|
747
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
748
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
749
|
+
#
|
|
750
|
+
# @param parent [::String]
|
|
751
|
+
# Required. Parent can be a project, a folder, or an organization. The list
|
|
752
|
+
# is limited to the one attached to resources within the `scope` that a user
|
|
753
|
+
# has access to.
|
|
754
|
+
#
|
|
755
|
+
# The allowed values are:
|
|
756
|
+
#
|
|
757
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
758
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
759
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
760
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
|
|
761
|
+
# @param filter [::String]
|
|
762
|
+
# Optional.
|
|
763
|
+
# Supported fields are:
|
|
764
|
+
# 'product',
|
|
765
|
+
# `location`,
|
|
766
|
+
# `issue_severity`,
|
|
767
|
+
# 'tags',
|
|
768
|
+
# 'labels',
|
|
769
|
+
# @param signal_products_filters [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalProductsFilters, ::Hash>]
|
|
770
|
+
# Optional. Filters based on signal and product. The filter list will be ORed
|
|
771
|
+
# across pairs and ANDed within a signal and products pair.
|
|
772
|
+
# @param order_by [::String]
|
|
773
|
+
# Optional. Following fields are sortable:
|
|
774
|
+
# SignalType
|
|
775
|
+
# Product
|
|
776
|
+
# Location
|
|
777
|
+
# IssueSeverity
|
|
778
|
+
#
|
|
779
|
+
# The default order is ascending. Add "DESC" after the field name to indicate
|
|
780
|
+
# descending order. Add "ASC" after the field name to indicate ascending
|
|
781
|
+
# order. It only supports a single field at a time.
|
|
782
|
+
# @param page_size [::Integer]
|
|
783
|
+
# Optional. If unspecified, at most 50 issues will be returned.
|
|
784
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
785
|
+
# @param page_token [::String]
|
|
786
|
+
# Optional. A page token, received from a previous `QueryIssues` call.
|
|
787
|
+
# Provide this to retrieve the subsequent page.
|
|
788
|
+
# All parameters except page size should match the parameters used in the
|
|
789
|
+
# call that provided the page token.
|
|
790
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
791
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResourceIssue>]
|
|
792
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
793
|
+
#
|
|
794
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResourceIssue>]
|
|
795
|
+
#
|
|
796
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
797
|
+
#
|
|
798
|
+
# @example Basic example
|
|
799
|
+
# require "google/cloud/database_center/v1beta"
|
|
800
|
+
#
|
|
801
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
802
|
+
# client = Google::Cloud::DatabaseCenter::V1beta::DatabaseCenter::Rest::Client.new
|
|
803
|
+
#
|
|
804
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
805
|
+
# request = Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest.new
|
|
806
|
+
#
|
|
807
|
+
# # Call the query_issues method.
|
|
808
|
+
# result = client.query_issues request
|
|
809
|
+
#
|
|
810
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
|
811
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
|
812
|
+
# result.each do |item|
|
|
813
|
+
# # Each element is of type ::Google::Cloud::DatabaseCenter::V1beta::DatabaseResourceIssue.
|
|
814
|
+
# p item
|
|
815
|
+
# end
|
|
816
|
+
#
|
|
817
|
+
def query_issues request, options = nil
|
|
818
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
819
|
+
|
|
820
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest
|
|
821
|
+
|
|
822
|
+
# Converts hash and nil to an options object
|
|
823
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
824
|
+
|
|
825
|
+
# Customize the options with defaults
|
|
826
|
+
call_metadata = @config.rpcs.query_issues.metadata.to_h
|
|
827
|
+
|
|
828
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
829
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
830
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
831
|
+
gapic_version: ::Google::Cloud::DatabaseCenter::V1beta::VERSION,
|
|
832
|
+
transports_version_send: [:rest]
|
|
833
|
+
|
|
834
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
835
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
836
|
+
|
|
837
|
+
options.apply_defaults timeout: @config.rpcs.query_issues.timeout,
|
|
838
|
+
metadata: call_metadata,
|
|
839
|
+
retry_policy: @config.rpcs.query_issues.retry_policy
|
|
840
|
+
|
|
841
|
+
options.apply_defaults timeout: @config.timeout,
|
|
842
|
+
metadata: @config.metadata,
|
|
843
|
+
retry_policy: @config.retry_policy
|
|
844
|
+
|
|
845
|
+
@database_center_stub.query_issues request, options do |result, operation|
|
|
846
|
+
result = ::Gapic::Rest::PagedEnumerable.new @database_center_stub, :query_issues, "resource_issues", request, result, options
|
|
847
|
+
yield result, operation if block_given?
|
|
848
|
+
throw :response, result
|
|
849
|
+
end
|
|
850
|
+
rescue ::Gapic::Rest::Error => e
|
|
851
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
852
|
+
end
|
|
853
|
+
|
|
729
854
|
##
|
|
730
855
|
# Configuration class for the DatabaseCenter REST API.
|
|
731
856
|
#
|
|
@@ -892,6 +1017,11 @@ module Google
|
|
|
892
1017
|
# @return [::Gapic::Config::Method]
|
|
893
1018
|
#
|
|
894
1019
|
attr_reader :aggregate_issue_stats
|
|
1020
|
+
##
|
|
1021
|
+
# RPC-specific configuration for `query_issues`
|
|
1022
|
+
# @return [::Gapic::Config::Method]
|
|
1023
|
+
#
|
|
1024
|
+
attr_reader :query_issues
|
|
895
1025
|
|
|
896
1026
|
# @private
|
|
897
1027
|
def initialize parent_rpcs = nil
|
|
@@ -903,6 +1033,8 @@ module Google
|
|
|
903
1033
|
@query_database_resource_groups = ::Gapic::Config::Method.new query_database_resource_groups_config
|
|
904
1034
|
aggregate_issue_stats_config = parent_rpcs.aggregate_issue_stats if parent_rpcs.respond_to? :aggregate_issue_stats
|
|
905
1035
|
@aggregate_issue_stats = ::Gapic::Config::Method.new aggregate_issue_stats_config
|
|
1036
|
+
query_issues_config = parent_rpcs.query_issues if parent_rpcs.respond_to? :query_issues
|
|
1037
|
+
@query_issues = ::Gapic::Config::Method.new query_issues_config
|
|
906
1038
|
|
|
907
1039
|
yield self if block_given?
|
|
908
1040
|
end
|
|
@@ -233,6 +233,46 @@ module Google
|
|
|
233
233
|
end
|
|
234
234
|
end
|
|
235
235
|
|
|
236
|
+
##
|
|
237
|
+
# Baseline implementation for the query_issues REST call
|
|
238
|
+
#
|
|
239
|
+
# @param request_pb [::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest]
|
|
240
|
+
# A request object representing the call parameters. Required.
|
|
241
|
+
# @param options [::Gapic::CallOptions]
|
|
242
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
243
|
+
#
|
|
244
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
245
|
+
# @yieldparam result [::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesResponse]
|
|
246
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
247
|
+
#
|
|
248
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesResponse]
|
|
249
|
+
# A result object deserialized from the server's reply
|
|
250
|
+
def query_issues request_pb, options = nil
|
|
251
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
252
|
+
|
|
253
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_query_issues_request request_pb
|
|
254
|
+
query_string_params = if query_string_params.any?
|
|
255
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
256
|
+
else
|
|
257
|
+
{}
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
response = @client_stub.make_http_request(
|
|
261
|
+
verb,
|
|
262
|
+
uri: uri,
|
|
263
|
+
body: body || "",
|
|
264
|
+
params: query_string_params,
|
|
265
|
+
method_name: "query_issues",
|
|
266
|
+
options: options
|
|
267
|
+
)
|
|
268
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
269
|
+
result = ::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
270
|
+
catch :response do
|
|
271
|
+
yield result, operation if block_given?
|
|
272
|
+
result
|
|
273
|
+
end
|
|
274
|
+
end
|
|
275
|
+
|
|
236
276
|
##
|
|
237
277
|
# @private
|
|
238
278
|
#
|
|
@@ -310,6 +350,26 @@ module Google
|
|
|
310
350
|
)
|
|
311
351
|
transcoder.transcode request_pb
|
|
312
352
|
end
|
|
353
|
+
|
|
354
|
+
##
|
|
355
|
+
# @private
|
|
356
|
+
#
|
|
357
|
+
# GRPC transcoding helper method for the query_issues REST call
|
|
358
|
+
#
|
|
359
|
+
# @param request_pb [::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest]
|
|
360
|
+
# A request object representing the call parameters. Required.
|
|
361
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
362
|
+
# Uri, Body, Query string parameters
|
|
363
|
+
def self.transcode_query_issues_request request_pb
|
|
364
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
365
|
+
.with_bindings(
|
|
366
|
+
uri_method: :post,
|
|
367
|
+
uri_template: "/v1beta:queryIssues",
|
|
368
|
+
body: "*",
|
|
369
|
+
matches: []
|
|
370
|
+
)
|
|
371
|
+
transcoder.transcode request_pb
|
|
372
|
+
end
|
|
313
373
|
end
|
|
314
374
|
end
|
|
315
375
|
end
|
|
@@ -10,7 +10,7 @@ require 'google/type/dayofweek_pb'
|
|
|
10
10
|
require 'google/type/timeofday_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n4google/cloud/databasecenter/v1beta/maintenance.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xb7\x01\n\x1bResourceMaintenanceSchedule\x12/\n\nstart_time\x18\x01 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x01\x12(\n\x03\x64\x61y\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x01\x12=\n\x05phase\x18\x03 \x01(\x0e\x32).google.cloud.databasecenter.v1beta.PhaseB\x03\xe0\x41\x01\"\xa2\x01\n\x1fResourceMaintenanceDenySchedule\x12*\n\nstart_date\x18\x01 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12)\n\x04time\x18\x03 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x01\"\x85\x02\n\x0fMaintenanceInfo\x12\x62\n\x14maintenance_schedule\x18\x01 \x01(\x0b\x32?.google.cloud.databasecenter.v1beta.ResourceMaintenanceScheduleB\x03\xe0\x41\x01\x12l\n\x1a\x64\x65ny_maintenance_schedules\x18\x02 \x03(\x0b\x32\x43.google.cloud.databasecenter.v1beta.ResourceMaintenanceDenyScheduleB\x03\xe0\x41\x01\x12 \n\x13maintenance_version\x18\x03 \x01(\tB\x03\xe0\x41\
|
|
13
|
+
descriptor_data = "\n4google/cloud/databasecenter/v1beta/maintenance.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xb7\x01\n\x1bResourceMaintenanceSchedule\x12/\n\nstart_time\x18\x01 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x01\x12(\n\x03\x64\x61y\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x01\x12=\n\x05phase\x18\x03 \x01(\x0e\x32).google.cloud.databasecenter.v1beta.PhaseB\x03\xe0\x41\x01\"\xa2\x01\n\x1fResourceMaintenanceDenySchedule\x12*\n\nstart_date\x18\x01 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12)\n\x04time\x18\x03 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x01\"\x85\x02\n\x0fMaintenanceInfo\x12\x62\n\x14maintenance_schedule\x18\x01 \x01(\x0b\x32?.google.cloud.databasecenter.v1beta.ResourceMaintenanceScheduleB\x03\xe0\x41\x01\x12l\n\x1a\x64\x65ny_maintenance_schedules\x18\x02 \x03(\x0b\x32\x43.google.cloud.databasecenter.v1beta.ResourceMaintenanceDenyScheduleB\x03\xe0\x41\x01\x12 \n\x13maintenance_version\x18\x03 \x01(\tB\x03\xe0\x41\x03*`\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPHASE_WEEK1\x10\x01\x12\x0f\n\x0bPHASE_WEEK2\x10\x02\x12\x0f\n\x0bPHASE_WEEK5\x10\x03\x12\r\n\tPHASE_ANY\x10\x04\x42\xfe\x01\n&com.google.cloud.databasecenter.v1betaB\x10MaintenanceProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
|
|
@@ -15,7 +15,7 @@ require 'google/cloud/databasecenter/v1beta/signals_pb'
|
|
|
15
15
|
require 'google/type/date_pb'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
descriptor_data = "\n0google/cloud/databasecenter/v1beta/service.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x37google/cloud/databasecenter/v1beta/machine_config.proto\x1a\x34google/cloud/databasecenter/v1beta/maintenance.proto\x1a\x34google/cloud/databasecenter/v1beta/metric_data.proto\x1a\x30google/cloud/databasecenter/v1beta/product.proto\x1a\x30google/cloud/databasecenter/v1beta/signals.proto\x1a\x16google/type/date.proto\"\\\n\x14QueryProductsRequest\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x15QueryProductsResponse\x12=\n\x08products\x18\x01 \x03(\x0b\x32+.google.cloud.databasecenter.v1beta.Product\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xbb\x02\n\"QueryDatabaseResourceGroupsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12T\n\x12signal_type_groups\x18\x03 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.SignalTypeGroupB\x03\xe0\x41\x01\x12M\n\x0esignal_filters\x18\x04 \x03(\x0b\x32\x30.google.cloud.databasecenter.v1beta.SignalFilterB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x07 \x01(\tB\x03\xe0\x41\x01\"\xac\x01\n#QueryDatabaseResourceGroupsResponse\x12R\n\x0fresource_groups\x18\x01 \x03(\x0b\x32\x39.google.cloud.databasecenter.v1beta.DatabaseResourceGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xac\x01\n\x15\x44\x61tabaseResourceGroup\x12L\n\x0eroot_resources\x18\x01 \x03(\x0b\x32\x34.google.cloud.databasecenter.v1beta.DatabaseResource\x12\x45\n\rsignal_groups\x18\x02 \x03(\x0b\x32..google.cloud.databasecenter.v1beta.IssueCount\"\xd6\x07\n\x10\x44\x61tabaseResource\x12M\n\x0f\x63hild_resources\x18\x01 \x03(\x0b\x32\x34.google.cloud.databasecenter.v1beta.DatabaseResource\x12\x1a\n\x12\x66ull_resource_name\x18\x03 \x01(\t\x12\x11\n\tcontainer\x18\x04 \x01(\t\x12<\n\x07product\x18\x05 \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.Product\x12\x10\n\x08location\x18\x06 \x01(\t\x12\x39\n\x06labels\x18\x07 \x03(\x0b\x32).google.cloud.databasecenter.v1beta.Label\x12\x35\n\x04tags\x18\x10 \x03(\x0b\x32\'.google.cloud.databasecenter.v1beta.Tag\x12\x15\n\rresource_type\x18\x08 \x01(\t\x12N\n\x11sub_resource_type\x18\t \x01(\x0e\x32\x33.google.cloud.databasecenter.v1beta.SubResourceType\x12I\n\x0emachine_config\x18\x0c \x01(\x0b\x32\x31.google.cloud.databasecenter.v1beta.MachineConfig\x12\x46\n\rsignal_groups\x18\n \x03(\x0b\x32/.google.cloud.databasecenter.v1beta.SignalGroup\x12<\n\x07metrics\x18\r \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.Metrics\x12O\n\x11resource_category\x18\x0e \x01(\x0e\x32\x34.google.cloud.databasecenter.v1beta.ResourceCategory\x12\x15\n\rresource_name\x18\x0f \x01(\t\x12P\n\x0f\x62\x61\x63kupdr_config\x18\x11 \x01(\x0b\x32\x32.google.cloud.databasecenter.v1beta.BackupDRConfigB\x03\xe0\x41\x01\x12<\n\x07\x65\x64ition\x18\x12 \x01(\x0e\x32+.google.cloud.databasecenter.v1beta.Edition\x12R\n\x10maintenance_info\x18\x13 \x01(\x0b\x32\x33.google.cloud.databasecenter.v1beta.MaintenanceInfoB\x03\xe0\x41\x01\"\xe2\x01\n\x1a\x41ggregateIssueStatsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12T\n\x12signal_type_groups\x18\x03 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.SignalTypeGroupB\x03\xe0\x41\x01\x12\x32\n\rbaseline_date\x18\x04 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_baseline_date\"\xcb\x01\n\x1b\x41ggregateIssueStatsResponse\x12N\n\x11issue_group_stats\x18\x01 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.IssueGroupStats\x12\x1d\n\x15total_resources_count\x18\x02 \x01(\x05\x12#\n\x1btotal_resource_groups_count\x18\x03 \x01(\x05\x12\x18\n\x0bunreachable\x18\x04 \x03(\tB\x03\xe0\x41\x06\"\xec\x01\n\x0fIssueGroupStats\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x1d\n\x15resource_groups_count\x18\x02 \x01(\x05\x12\x17\n\x0fresources_count\x18\x03 \x01(\x05\x12%\n\x1dhealthy_resource_groups_count\x18\x04 \x01(\x05\x12\x1f\n\x17healthy_resources_count\x18\x05 \x01(\x05\x12\x43\n\x0bissue_stats\x18\x06 \x03(\x0b\x32..google.cloud.databasecenter.v1beta.IssueStats\"\xb1\x02\n\nIssueStats\x12\x43\n\x0bsignal_type\x18\x01 \x01(\x0e\x32..google.cloud.databasecenter.v1beta.SignalType\x12\x16\n\x0eresource_count\x18\x02 \x01(\x05\x12Q\n\rdelta_details\x18\x03 \x01(\x0b\x32\x30.google.cloud.databasecenter.v1beta.DeltaDetailsB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12N\n\x0eissue_severity\x18\x04 \x01(\x0e\x32\x31.google.cloud.databasecenter.v1beta.IssueSeverityH\x01\x88\x01\x01\x42\x10\n\x0e_delta_detailsB\x11\n\x0f_issue_severity\"3\n\x05Label\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x0e\n\x06source\x18\x03 \x01(\t\"\xe6\x01\n\x15\x41ggregateFleetRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\rbaseline_date\x18\x07 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_baseline_date\"\xd3\x01\n\x16\x41ggregateFleetResponse\x12\x43\n\x04rows\x18\x01 \x03(\x0b\x32\x35.google.cloud.databasecenter.v1beta.AggregateFleetRow\x12#\n\x1bresource_groups_total_count\x18\x02 \x01(\x05\x12\x1c\n\x14resource_total_count\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\t\x12\x18\n\x0bunreachable\x18\x05 \x03(\tB\x03\xe0\x41\x06\"\xf2\x01\n\x11\x41ggregateFleetRow\x12@\n\tdimension\x18\x01 \x03(\x0b\x32-.google.cloud.databasecenter.v1beta.Dimension\x12\x1d\n\x15resource_groups_count\x18\x02 \x01(\x05\x12\x17\n\x0fresources_count\x18\x03 \x01(\x05\x12Q\n\rdelta_details\x18\x04 \x01(\x0b\x32\x30.google.cloud.databasecenter.v1beta.DeltaDetailsB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_delta_details\"\xa1\x06\n\tDimension\x12\x13\n\tcontainer\x18\x02 \x01(\tH\x00\x12G\n\x0cproduct_type\x18\x03 \x01(\x0e\x32/.google.cloud.databasecenter.v1beta.ProductTypeH\x00\x12\x44\n\x0eproduct_engine\x18\x04 \x01(\x0e\x32*.google.cloud.databasecenter.v1beta.EngineH\x00\x12\x19\n\x0fproduct_version\x18\x05 \x01(\tH\x00\x12\x12\n\x08location\x18\x06 \x01(\tH\x00\x12\x17\n\rresource_type\x18\x07 \x01(\tH\x00\x12P\n\x11sub_resource_type\x18\x08 \x01(\x0e\x32\x33.google.cloud.databasecenter.v1beta.SubResourceTypeH\x00\x12Q\n\x11resource_category\x18\t \x01(\x0e\x32\x34.google.cloud.databasecenter.v1beta.ResourceCategoryH\x00\x12M\n\x0fmanagement_type\x18\n \x01(\x0e\x32\x32.google.cloud.databasecenter.v1beta.ManagementTypeH\x00\x12>\n\x07\x65\x64ition\x18\x0b \x01(\x0e\x32+.google.cloud.databasecenter.v1beta.EditionH\x00\x12\x11\n\x07tag_key\x18\x0c \x01(\tH\x00\x12\x13\n\ttag_value\x18\r \x01(\tH\x00\x12\x14\n\ntag_source\x18\x0e \x01(\tH\x00\x12\x17\n\rtag_inherited\x18\x0f \x01(\x08H\x00\x12\x13\n\tlabel_key\x18\x10 \x01(\tH\x00\x12\x15\n\x0blabel_value\x18\x11 \x01(\tH\x00\x12\x16\n\x0clabel_source\x18\x12 \x01(\tH\x00\x12\"\n\x18has_maintenance_schedule\x18\x13 \x01(\x08H\x00\x12(\n\x1ehas_deny_maintenance_schedules\x18\x14 \x01(\x08H\x00\x42\x0b\n\tdimension\"D\n\x0e\x42\x61\x63kupDRConfig\x12\x1d\n\x10\x62\x61\x63kupdr_managed\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\x13\n\x11_backupdr_managed\"D\n\x03Tag\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x0e\n\x06source\x18\x03 \x01(\t\x12\x11\n\tinherited\x18\x04 \x01(\x08\"\x90\x01\n\x0fResourceDetails\x12\x1a\n\x12\x66ull_resource_name\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12<\n\x07product\x18\x03 \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.Product\x12\x10\n\x08location\x18\x04 \x01(\t\"\xb2\x01\n\x0c\x44\x65ltaDetails\x12P\n\x13increased_resources\x18\x01 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.ResourceDetails\x12P\n\x13\x64\x65\x63reased_resources\x18\x02 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.ResourceDetails*^\n\x10ResourceCategory\x12!\n\x1dRESOURCE_CATEGORY_UNSPECIFIED\x10\x00\x12\x0c\n\x08INSTANCE\x10\x01\x12\x0b\n\x07\x43LUSTER\x10\x02\x12\x0c\n\x08\x44\x41TABASE\x10\x03*m\n\x07\x45\x64ition\x12\x17\n\x13\x45\x44ITION_UNSPECIFIED\x10\x00\x12\x16\n\x12\x45\x44ITION_ENTERPRISE\x10\x01\x12\x1b\n\x17\x45\x44ITION_ENTERPRISE_PLUS\x10\x02\x12\x14\n\x10\x45\x44ITION_STANDARD\x10\x03*\xdd\x01\n\x0fSubResourceType\x12!\n\x1dSUB_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19SUB_RESOURCE_TYPE_PRIMARY\x10\x01\x12\x1f\n\x1bSUB_RESOURCE_TYPE_SECONDARY\x10\x02\x12\"\n\x1eSUB_RESOURCE_TYPE_READ_REPLICA\x10\x03\x12&\n\"SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY\x10\x05\x12\x1b\n\x17SUB_RESOURCE_TYPE_OTHER\x10\x04*t\n\x0eManagementType\x12\x1f\n\x1bMANAGEMENT_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bMANAGEMENT_TYPE_GCP_MANAGED\x10\x01\x12 \n\x1cMANAGEMENT_TYPE_SELF_MANAGED\x10\x02\x32\xd5\x06\n\x0e\x44\x61tabaseCenter\x12\xa3\x01\n\rQueryProducts\x12\x38.google.cloud.databasecenter.v1beta.QueryProductsRequest\x1a\x39.google.cloud.databasecenter.v1beta.QueryProductsResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1beta:queryProducts\x12\xa7\x01\n\x0e\x41ggregateFleet\x12\x39.google.cloud.databasecenter.v1beta.AggregateFleetRequest\x1a:.google.cloud.databasecenter.v1beta.AggregateFleetResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1beta:aggregateFleet\x12\xde\x01\n\x1bQueryDatabaseResourceGroups\x12\x46.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest\x1aG.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsResponse\".\x82\xd3\xe4\x93\x02(\"#/v1beta:queryDatabaseResourceGroups:\x01*\x12\xbe\x01\n\x13\x41ggregateIssueStats\x12>.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest\x1a?.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/v1beta:aggregateIssueStats:\x01*\x1aQ\xca\x41\x1d\x64\x61tabasecenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfa\x01\n&com.google.cloud.databasecenter.v1betaB\x0cServiceProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\x06proto3"
|
|
18
|
+
descriptor_data = "\n0google/cloud/databasecenter/v1beta/service.proto\x12\"google.cloud.databasecenter.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x37google/cloud/databasecenter/v1beta/machine_config.proto\x1a\x34google/cloud/databasecenter/v1beta/maintenance.proto\x1a\x34google/cloud/databasecenter/v1beta/metric_data.proto\x1a\x30google/cloud/databasecenter/v1beta/product.proto\x1a\x30google/cloud/databasecenter/v1beta/signals.proto\x1a\x16google/type/date.proto\"\\\n\x14QueryProductsRequest\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x15QueryProductsResponse\x12=\n\x08products\x18\x01 \x03(\x0b\x32+.google.cloud.databasecenter.v1beta.Product\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xbb\x02\n\"QueryDatabaseResourceGroupsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12T\n\x12signal_type_groups\x18\x03 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.SignalTypeGroupB\x03\xe0\x41\x01\x12M\n\x0esignal_filters\x18\x04 \x03(\x0b\x32\x30.google.cloud.databasecenter.v1beta.SignalFilterB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x07 \x01(\tB\x03\xe0\x41\x01\"\xac\x01\n#QueryDatabaseResourceGroupsResponse\x12R\n\x0fresource_groups\x18\x01 \x03(\x0b\x32\x39.google.cloud.databasecenter.v1beta.DatabaseResourceGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xac\x01\n\x15\x44\x61tabaseResourceGroup\x12L\n\x0eroot_resources\x18\x01 \x03(\x0b\x32\x34.google.cloud.databasecenter.v1beta.DatabaseResource\x12\x45\n\rsignal_groups\x18\x02 \x03(\x0b\x32..google.cloud.databasecenter.v1beta.IssueCount\"\xd6\x07\n\x10\x44\x61tabaseResource\x12M\n\x0f\x63hild_resources\x18\x01 \x03(\x0b\x32\x34.google.cloud.databasecenter.v1beta.DatabaseResource\x12\x1a\n\x12\x66ull_resource_name\x18\x03 \x01(\t\x12\x11\n\tcontainer\x18\x04 \x01(\t\x12<\n\x07product\x18\x05 \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.Product\x12\x10\n\x08location\x18\x06 \x01(\t\x12\x39\n\x06labels\x18\x07 \x03(\x0b\x32).google.cloud.databasecenter.v1beta.Label\x12\x35\n\x04tags\x18\x10 \x03(\x0b\x32\'.google.cloud.databasecenter.v1beta.Tag\x12\x15\n\rresource_type\x18\x08 \x01(\t\x12N\n\x11sub_resource_type\x18\t \x01(\x0e\x32\x33.google.cloud.databasecenter.v1beta.SubResourceType\x12I\n\x0emachine_config\x18\x0c \x01(\x0b\x32\x31.google.cloud.databasecenter.v1beta.MachineConfig\x12\x46\n\rsignal_groups\x18\n \x03(\x0b\x32/.google.cloud.databasecenter.v1beta.SignalGroup\x12<\n\x07metrics\x18\r \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.Metrics\x12O\n\x11resource_category\x18\x0e \x01(\x0e\x32\x34.google.cloud.databasecenter.v1beta.ResourceCategory\x12\x15\n\rresource_name\x18\x0f \x01(\t\x12P\n\x0f\x62\x61\x63kupdr_config\x18\x11 \x01(\x0b\x32\x32.google.cloud.databasecenter.v1beta.BackupDRConfigB\x03\xe0\x41\x01\x12<\n\x07\x65\x64ition\x18\x12 \x01(\x0e\x32+.google.cloud.databasecenter.v1beta.Edition\x12R\n\x10maintenance_info\x18\x13 \x01(\x0b\x32\x33.google.cloud.databasecenter.v1beta.MaintenanceInfoB\x03\xe0\x41\x01\"\xe2\x01\n\x1a\x41ggregateIssueStatsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12T\n\x12signal_type_groups\x18\x03 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.SignalTypeGroupB\x03\xe0\x41\x01\x12\x32\n\rbaseline_date\x18\x04 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_baseline_date\"\xcb\x01\n\x1b\x41ggregateIssueStatsResponse\x12N\n\x11issue_group_stats\x18\x01 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.IssueGroupStats\x12\x1d\n\x15total_resources_count\x18\x02 \x01(\x05\x12#\n\x1btotal_resource_groups_count\x18\x03 \x01(\x05\x12\x18\n\x0bunreachable\x18\x04 \x03(\tB\x03\xe0\x41\x06\"\xec\x01\n\x0fIssueGroupStats\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x1d\n\x15resource_groups_count\x18\x02 \x01(\x05\x12\x17\n\x0fresources_count\x18\x03 \x01(\x05\x12%\n\x1dhealthy_resource_groups_count\x18\x04 \x01(\x05\x12\x1f\n\x17healthy_resources_count\x18\x05 \x01(\x05\x12\x43\n\x0bissue_stats\x18\x06 \x03(\x0b\x32..google.cloud.databasecenter.v1beta.IssueStats\"\xb1\x02\n\nIssueStats\x12\x43\n\x0bsignal_type\x18\x01 \x01(\x0e\x32..google.cloud.databasecenter.v1beta.SignalType\x12\x16\n\x0eresource_count\x18\x02 \x01(\x05\x12Q\n\rdelta_details\x18\x03 \x01(\x0b\x32\x30.google.cloud.databasecenter.v1beta.DeltaDetailsB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12N\n\x0eissue_severity\x18\x04 \x01(\x0e\x32\x31.google.cloud.databasecenter.v1beta.IssueSeverityH\x01\x88\x01\x01\x42\x10\n\x0e_delta_detailsB\x11\n\x0f_issue_severity\"3\n\x05Label\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x0e\n\x06source\x18\x03 \x01(\t\"\xe6\x01\n\x15\x41ggregateFleetRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\rbaseline_date\x18\x07 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_baseline_date\"\xd3\x01\n\x16\x41ggregateFleetResponse\x12\x43\n\x04rows\x18\x01 \x03(\x0b\x32\x35.google.cloud.databasecenter.v1beta.AggregateFleetRow\x12#\n\x1bresource_groups_total_count\x18\x02 \x01(\x05\x12\x1c\n\x14resource_total_count\x18\x03 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x04 \x01(\t\x12\x18\n\x0bunreachable\x18\x05 \x03(\tB\x03\xe0\x41\x06\"\xf2\x01\n\x11\x41ggregateFleetRow\x12@\n\tdimension\x18\x01 \x03(\x0b\x32-.google.cloud.databasecenter.v1beta.Dimension\x12\x1d\n\x15resource_groups_count\x18\x02 \x01(\x05\x12\x17\n\x0fresources_count\x18\x03 \x01(\x05\x12Q\n\rdelta_details\x18\x04 \x01(\x0b\x32\x30.google.cloud.databasecenter.v1beta.DeltaDetailsB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x10\n\x0e_delta_details\"\xa1\x06\n\tDimension\x12\x13\n\tcontainer\x18\x02 \x01(\tH\x00\x12G\n\x0cproduct_type\x18\x03 \x01(\x0e\x32/.google.cloud.databasecenter.v1beta.ProductTypeH\x00\x12\x44\n\x0eproduct_engine\x18\x04 \x01(\x0e\x32*.google.cloud.databasecenter.v1beta.EngineH\x00\x12\x19\n\x0fproduct_version\x18\x05 \x01(\tH\x00\x12\x12\n\x08location\x18\x06 \x01(\tH\x00\x12\x17\n\rresource_type\x18\x07 \x01(\tH\x00\x12P\n\x11sub_resource_type\x18\x08 \x01(\x0e\x32\x33.google.cloud.databasecenter.v1beta.SubResourceTypeH\x00\x12Q\n\x11resource_category\x18\t \x01(\x0e\x32\x34.google.cloud.databasecenter.v1beta.ResourceCategoryH\x00\x12M\n\x0fmanagement_type\x18\n \x01(\x0e\x32\x32.google.cloud.databasecenter.v1beta.ManagementTypeH\x00\x12>\n\x07\x65\x64ition\x18\x0b \x01(\x0e\x32+.google.cloud.databasecenter.v1beta.EditionH\x00\x12\x11\n\x07tag_key\x18\x0c \x01(\tH\x00\x12\x13\n\ttag_value\x18\r \x01(\tH\x00\x12\x14\n\ntag_source\x18\x0e \x01(\tH\x00\x12\x17\n\rtag_inherited\x18\x0f \x01(\x08H\x00\x12\x13\n\tlabel_key\x18\x10 \x01(\tH\x00\x12\x15\n\x0blabel_value\x18\x11 \x01(\tH\x00\x12\x16\n\x0clabel_source\x18\x12 \x01(\tH\x00\x12\"\n\x18has_maintenance_schedule\x18\x13 \x01(\x08H\x00\x12(\n\x1ehas_deny_maintenance_schedules\x18\x14 \x01(\x08H\x00\x42\x0b\n\tdimension\"D\n\x0e\x42\x61\x63kupDRConfig\x12\x1d\n\x10\x62\x61\x63kupdr_managed\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\x13\n\x11_backupdr_managed\"\xe7\x01\n\x12QueryIssuesRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12_\n\x17signal_products_filters\x18\x03 \x03(\x0b\x32\x39.google.cloud.databasecenter.v1beta.SignalProductsFiltersB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\xa5\x01\n\x15SignalProductsFilters\x12H\n\x0bsignal_type\x18\x01 \x01(\x0e\x32..google.cloud.databasecenter.v1beta.SignalTypeB\x03\xe0\x41\x01\x12\x42\n\x08products\x18\x02 \x03(\x0b\x32+.google.cloud.databasecenter.v1beta.ProductB\x03\xe0\x41\x01\"\x9c\x01\n\x13QueryIssuesResponse\x12R\n\x0fresource_issues\x18\x01 \x03(\x0b\x32\x39.google.cloud.databasecenter.v1beta.DatabaseResourceIssue\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\x9b\x01\n\x15\x44\x61tabaseResourceIssue\x12:\n\x06signal\x18\x01 \x01(\x0b\x32*.google.cloud.databasecenter.v1beta.Signal\x12\x46\n\x08resource\x18\x02 \x01(\x0b\x32\x34.google.cloud.databasecenter.v1beta.DatabaseResource\"D\n\x03Tag\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x0e\n\x06source\x18\x03 \x01(\t\x12\x11\n\tinherited\x18\x04 \x01(\x08\"\x90\x01\n\x0fResourceDetails\x12\x1a\n\x12\x66ull_resource_name\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12<\n\x07product\x18\x03 \x01(\x0b\x32+.google.cloud.databasecenter.v1beta.Product\x12\x10\n\x08location\x18\x04 \x01(\t\"\xb2\x01\n\x0c\x44\x65ltaDetails\x12P\n\x13increased_resources\x18\x01 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.ResourceDetails\x12P\n\x13\x64\x65\x63reased_resources\x18\x02 \x03(\x0b\x32\x33.google.cloud.databasecenter.v1beta.ResourceDetails*^\n\x10ResourceCategory\x12!\n\x1dRESOURCE_CATEGORY_UNSPECIFIED\x10\x00\x12\x0c\n\x08INSTANCE\x10\x01\x12\x0b\n\x07\x43LUSTER\x10\x02\x12\x0c\n\x08\x44\x41TABASE\x10\x03*m\n\x07\x45\x64ition\x12\x17\n\x13\x45\x44ITION_UNSPECIFIED\x10\x00\x12\x16\n\x12\x45\x44ITION_ENTERPRISE\x10\x01\x12\x1b\n\x17\x45\x44ITION_ENTERPRISE_PLUS\x10\x02\x12\x14\n\x10\x45\x44ITION_STANDARD\x10\x03*\xdd\x01\n\x0fSubResourceType\x12!\n\x1dSUB_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19SUB_RESOURCE_TYPE_PRIMARY\x10\x01\x12\x1f\n\x1bSUB_RESOURCE_TYPE_SECONDARY\x10\x02\x12\"\n\x1eSUB_RESOURCE_TYPE_READ_REPLICA\x10\x03\x12&\n\"SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY\x10\x05\x12\x1b\n\x17SUB_RESOURCE_TYPE_OTHER\x10\x04*t\n\x0eManagementType\x12\x1f\n\x1bMANAGEMENT_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bMANAGEMENT_TYPE_GCP_MANAGED\x10\x01\x12 \n\x1cMANAGEMENT_TYPE_SELF_MANAGED\x10\x02\x32\xff\x07\n\x0e\x44\x61tabaseCenter\x12\xa3\x01\n\rQueryProducts\x12\x38.google.cloud.databasecenter.v1beta.QueryProductsRequest\x1a\x39.google.cloud.databasecenter.v1beta.QueryProductsResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/v1beta:queryProducts\x12\xa7\x01\n\x0e\x41ggregateFleet\x12\x39.google.cloud.databasecenter.v1beta.AggregateFleetRequest\x1a:.google.cloud.databasecenter.v1beta.AggregateFleetResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1beta:aggregateFleet\x12\xde\x01\n\x1bQueryDatabaseResourceGroups\x12\x46.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest\x1aG.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsResponse\".\x82\xd3\xe4\x93\x02(\"#/v1beta:queryDatabaseResourceGroups:\x01*\x12\xbe\x01\n\x13\x41ggregateIssueStats\x12>.google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest\x1a?.google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/v1beta:aggregateIssueStats:\x01*\x12\xa7\x01\n\x0bQueryIssues\x12\x36.google.cloud.databasecenter.v1beta.QueryIssuesRequest\x1a\x37.google.cloud.databasecenter.v1beta.QueryIssuesResponse\"\'\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x18\"\x13/v1beta:queryIssues:\x01*\x1aQ\xca\x41\x1d\x64\x61tabasecenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfa\x01\n&com.google.cloud.databasecenter.v1betaB\x0cServiceProtoP\x01ZNcloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb\xaa\x02\"Google.Cloud.DatabaseCenter.V1Beta\xca\x02\"Google\\Cloud\\DatabaseCenter\\V1beta\xea\x02%Google::Cloud::DatabaseCenter::V1betab\x06proto3"
|
|
19
19
|
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
21
21
|
|
|
@@ -67,6 +67,10 @@ module Google
|
|
|
67
67
|
AggregateFleetRow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.AggregateFleetRow").msgclass
|
|
68
68
|
Dimension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.Dimension").msgclass
|
|
69
69
|
BackupDRConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.BackupDRConfig").msgclass
|
|
70
|
+
QueryIssuesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.QueryIssuesRequest").msgclass
|
|
71
|
+
SignalProductsFilters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.SignalProductsFilters").msgclass
|
|
72
|
+
QueryIssuesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.QueryIssuesResponse").msgclass
|
|
73
|
+
DatabaseResourceIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.DatabaseResourceIssue").msgclass
|
|
70
74
|
Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.Tag").msgclass
|
|
71
75
|
ResourceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.ResourceDetails").msgclass
|
|
72
76
|
DeltaDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.DeltaDetails").msgclass
|
|
@@ -43,6 +43,9 @@ module Google
|
|
|
43
43
|
rpc :QueryDatabaseResourceGroups, ::Google::Cloud::DatabaseCenter::V1beta::QueryDatabaseResourceGroupsRequest, ::Google::Cloud::DatabaseCenter::V1beta::QueryDatabaseResourceGroupsResponse
|
|
44
44
|
# AggregateIssueStats provides database resource issues statistics.
|
|
45
45
|
rpc :AggregateIssueStats, ::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest, ::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse
|
|
46
|
+
# QueryIssues provides a list of issues and recommendations
|
|
47
|
+
# that a user has access to and that are within the requested scope.
|
|
48
|
+
rpc :QueryIssues, ::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesRequest, ::Google::Cloud::DatabaseCenter::V1beta::QueryIssuesResponse
|
|
46
49
|
end
|
|
47
50
|
|
|
48
51
|
Stub = Service.rpc_stub_class
|
|
@@ -69,9 +69,9 @@ module Google
|
|
|
69
69
|
# @!attribute [rw] deny_maintenance_schedules
|
|
70
70
|
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::ResourceMaintenanceDenySchedule>]
|
|
71
71
|
# Optional. List of Deny maintenance period for the database resource.
|
|
72
|
-
# @!attribute [
|
|
72
|
+
# @!attribute [r] maintenance_version
|
|
73
73
|
# @return [::String]
|
|
74
|
-
#
|
|
74
|
+
# Output only. Current Maintenance version of the database resource. Example:
|
|
75
75
|
# "MYSQL_8_0_41.R20250531.01_15"
|
|
76
76
|
class MaintenanceInfo
|
|
77
77
|
include ::Google::Protobuf::MessageExts
|
|
@@ -95,31 +95,31 @@ module Google
|
|
|
95
95
|
# didn't provide this field in the request.
|
|
96
96
|
PRODUCT_TYPE_UNSPECIFIED = 0
|
|
97
97
|
|
|
98
|
-
# Cloud SQL product area in
|
|
98
|
+
# Cloud SQL product area in Google Cloud
|
|
99
99
|
PRODUCT_TYPE_CLOUD_SQL = 1
|
|
100
100
|
|
|
101
|
-
# AlloyDB product area in
|
|
101
|
+
# AlloyDB product area in Google Cloud
|
|
102
102
|
PRODUCT_TYPE_ALLOYDB = 2
|
|
103
103
|
|
|
104
|
-
# Spanner product area in
|
|
104
|
+
# Spanner product area in Google Cloud
|
|
105
105
|
PRODUCT_TYPE_SPANNER = 3
|
|
106
106
|
|
|
107
|
-
# Bigtable product area in
|
|
107
|
+
# Bigtable product area in Google Cloud
|
|
108
108
|
PRODUCT_TYPE_BIGTABLE = 6
|
|
109
109
|
|
|
110
|
-
# Memorystore product area in
|
|
110
|
+
# Memorystore product area in Google Cloud
|
|
111
111
|
PRODUCT_TYPE_MEMORYSTORE = 7
|
|
112
112
|
|
|
113
|
-
# Firestore product area in
|
|
113
|
+
# Firestore product area in Google Cloud
|
|
114
114
|
PRODUCT_TYPE_FIRESTORE = 8
|
|
115
115
|
|
|
116
116
|
# Compute Engine self managed databases
|
|
117
117
|
PRODUCT_TYPE_COMPUTE_ENGINE = 9
|
|
118
118
|
|
|
119
|
-
# Oracle product area in
|
|
119
|
+
# Oracle product area in Google Cloud
|
|
120
120
|
PRODUCT_TYPE_ORACLE_ON_GCP = 10
|
|
121
121
|
|
|
122
|
-
# BigQuery product area in
|
|
122
|
+
# BigQuery product area in Google Cloud
|
|
123
123
|
PRODUCT_TYPE_BIGQUERY = 11
|
|
124
124
|
|
|
125
125
|
# Other refers to rest of other product type. This is to be when product type
|
|
@@ -112,12 +112,12 @@ module Google
|
|
|
112
112
|
# expression, parentheses must be appropriately used to group the
|
|
113
113
|
# combinations.
|
|
114
114
|
#
|
|
115
|
-
# Example: location="us-east1"
|
|
116
|
-
# Example: container="projects/123" OR container="projects/456"
|
|
117
|
-
# Example: (container="projects/123" OR
|
|
118
|
-
# container="projects/456") AND location="us-east1"
|
|
119
|
-
# Example: full_resource_name=~"test"
|
|
120
|
-
# Example: full_resource_name=~"test.*master"
|
|
115
|
+
# Example: `location="us-east1"`
|
|
116
|
+
# Example: `container="projects/123" OR container="projects/456"`
|
|
117
|
+
# Example: `(container="projects/123" OR
|
|
118
|
+
# container="projects/456") AND location="us-east1"`
|
|
119
|
+
# Example: `full_resource_name=~"test"`
|
|
120
|
+
# Example: `full_resource_name=~"test.*master"`
|
|
121
121
|
# @!attribute [rw] signal_type_groups
|
|
122
122
|
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup>]
|
|
123
123
|
# Optional. Groups of signal types that are requested.
|
|
@@ -161,12 +161,13 @@ module Google
|
|
|
161
161
|
# order. It only supports a single field at a time.
|
|
162
162
|
#
|
|
163
163
|
# For example:
|
|
164
|
-
# order_by = "full_resource_name" sorts response in ascending order
|
|
165
|
-
# order_by = "full_resource_name DESC" sorts response in descending order
|
|
166
|
-
# order_by = "issue_count DESC" sorts response in descending order of
|
|
164
|
+
# `order_by = "full_resource_name"` sorts response in ascending order
|
|
165
|
+
# `order_by = "full_resource_name DESC"` sorts response in descending order
|
|
166
|
+
# `order_by = "issue_count DESC"` sorts response in descending order of
|
|
167
167
|
# count of all issues associated with a resource.
|
|
168
168
|
#
|
|
169
|
-
# More explicitly, order_by = "full_resource_name, product" is not
|
|
169
|
+
# More explicitly, `order_by = "full_resource_name, product"` is not
|
|
170
|
+
# supported.
|
|
170
171
|
# @!attribute [rw] page_size
|
|
171
172
|
# @return [::Integer]
|
|
172
173
|
# Optional. If unspecified, at most 50 resource groups will be returned.
|
|
@@ -220,7 +221,6 @@ module Google
|
|
|
220
221
|
|
|
221
222
|
# DatabaseResource represents every individually configured database unit
|
|
222
223
|
# representing compute and/or storage.
|
|
223
|
-
# NextId: 20
|
|
224
224
|
# @!attribute [rw] child_resources
|
|
225
225
|
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResource>]
|
|
226
226
|
# List of children associated with a database group.
|
|
@@ -238,16 +238,17 @@ module Google
|
|
|
238
238
|
# `//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1`
|
|
239
239
|
# @!attribute [rw] container
|
|
240
240
|
# @return [::String]
|
|
241
|
-
# Specifies where the resource is created. For
|
|
242
|
-
# the project.
|
|
241
|
+
# Specifies where the resource is created. For Google Cloud resources, it is
|
|
242
|
+
# the full name of the project.
|
|
243
243
|
# @!attribute [rw] product
|
|
244
244
|
# @return [::Google::Cloud::DatabaseCenter::V1beta::Product]
|
|
245
245
|
# The product this resource represents.
|
|
246
246
|
# @!attribute [rw] location
|
|
247
247
|
# @return [::String]
|
|
248
248
|
# The location of the resources. It supports returning only regional
|
|
249
|
-
# locations in
|
|
250
|
-
# See https://cloud.google.com/about/locations for a list of
|
|
249
|
+
# locations in Google Cloud. These are of the form: "us-central1",
|
|
250
|
+
# "us-east1", etc. See https://cloud.google.com/about/locations for a list of
|
|
251
|
+
# such regions.
|
|
251
252
|
# @!attribute [rw] labels
|
|
252
253
|
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::Label>]
|
|
253
254
|
# Labels applied on the resource. The requirements for labels assigned to
|
|
@@ -336,10 +337,10 @@ module Google
|
|
|
336
337
|
# expression, parentheses must be appropriately used to group the
|
|
337
338
|
# combinations.
|
|
338
339
|
#
|
|
339
|
-
# Example: location="us-east1"
|
|
340
|
-
# Example: container="projects/123" OR container="projects/456"
|
|
341
|
-
# Example: (container="projects/123" OR
|
|
342
|
-
# container="projects/456") AND location="us-east1"
|
|
340
|
+
# Example: `location="us-east1"`
|
|
341
|
+
# Example: `container="projects/123" OR container="projects/456"`
|
|
342
|
+
# Example: `(container="projects/123" OR
|
|
343
|
+
# container="projects/456") AND location="us-east1"`
|
|
343
344
|
# @!attribute [rw] signal_type_groups
|
|
344
345
|
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup>]
|
|
345
346
|
# Optional. Lists of signal types that are issues.
|
|
@@ -469,10 +470,10 @@ module Google
|
|
|
469
470
|
# expression, parentheses must be appropriately used to group the
|
|
470
471
|
# combinations.
|
|
471
472
|
#
|
|
472
|
-
# Example: location="us-east1"
|
|
473
|
-
# Example: container="projects/123" OR container="projects/456"
|
|
474
|
-
# Example: (container="projects/123" OR
|
|
475
|
-
# container="projects/456") AND location="us-east1"
|
|
473
|
+
# Example: `location="us-east1"`
|
|
474
|
+
# Example: `container="projects/123" OR container="projects/456"`
|
|
475
|
+
# Example: `(container="projects/123" OR
|
|
476
|
+
# container="projects/456") AND location="us-east1"`
|
|
476
477
|
# @!attribute [rw] group_by
|
|
477
478
|
# @return [::String]
|
|
478
479
|
# Optional. A field that statistics are grouped by.
|
|
@@ -504,9 +505,10 @@ module Google
|
|
|
504
505
|
# descending order. Add "ASC" after the field name to indicate ascending
|
|
505
506
|
# order. It supports ordering using multiple fields.
|
|
506
507
|
# For example:
|
|
507
|
-
# order_by = "resource_groups_count" sorts response in ascending order
|
|
508
|
-
# order_by = "resource_groups_count DESC" sorts response in descending
|
|
509
|
-
#
|
|
508
|
+
# `order_by = "resource_groups_count"` sorts response in ascending order
|
|
509
|
+
# `order_by = "resource_groups_count DESC"` sorts response in descending
|
|
510
|
+
# order
|
|
511
|
+
# `order_by = "product.type, product.version DESC, location"` orders by type
|
|
510
512
|
# in ascending order, version in descending order and location in ascending
|
|
511
513
|
# order
|
|
512
514
|
# @!attribute [rw] page_size
|
|
@@ -529,7 +531,8 @@ module Google
|
|
|
529
531
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
530
532
|
end
|
|
531
533
|
|
|
532
|
-
# The response message to aggregate a fleet by some group by
|
|
534
|
+
# The response message to aggregate a fleet by some group by
|
|
535
|
+
# fields.
|
|
533
536
|
# @!attribute [rw] rows
|
|
534
537
|
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::AggregateFleetRow>]
|
|
535
538
|
# Represents a row grouped by the fields in the input.
|
|
@@ -575,8 +578,8 @@ module Google
|
|
|
575
578
|
# Dimension used to aggregate the fleet.
|
|
576
579
|
# @!attribute [rw] container
|
|
577
580
|
# @return [::String]
|
|
578
|
-
# Specifies where the resource is created. For
|
|
579
|
-
# the project.
|
|
581
|
+
# Specifies where the resource is created. For Google Cloud resources, it
|
|
582
|
+
# is the full name of the project.
|
|
580
583
|
#
|
|
581
584
|
# Note: The following fields are mutually exclusive: `container`, `product_type`, `product_engine`, `product_version`, `location`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
582
585
|
# @!attribute [rw] product_type
|
|
@@ -597,7 +600,7 @@ module Google
|
|
|
597
600
|
# @!attribute [rw] location
|
|
598
601
|
# @return [::String]
|
|
599
602
|
# The location of the resources. It supports returning only regional
|
|
600
|
-
# locations in
|
|
603
|
+
# locations in Google Cloud.
|
|
601
604
|
#
|
|
602
605
|
# Note: The following fields are mutually exclusive: `location`, `container`, `product_type`, `product_engine`, `product_version`, `resource_type`, `sub_resource_type`, `resource_category`, `management_type`, `edition`, `tag_key`, `tag_value`, `tag_source`, `tag_inherited`, `label_key`, `label_value`, `label_source`, `has_maintenance_schedule`, `has_deny_maintenance_schedules`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
603
606
|
# @!attribute [rw] resource_type
|
|
@@ -690,6 +693,100 @@ module Google
|
|
|
690
693
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
691
694
|
end
|
|
692
695
|
|
|
696
|
+
# QueryIssuesRequest is the request to get a list of issues.
|
|
697
|
+
# @!attribute [rw] parent
|
|
698
|
+
# @return [::String]
|
|
699
|
+
# Required. Parent can be a project, a folder, or an organization. The list
|
|
700
|
+
# is limited to the one attached to resources within the `scope` that a user
|
|
701
|
+
# has access to.
|
|
702
|
+
#
|
|
703
|
+
# The allowed values are:
|
|
704
|
+
#
|
|
705
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
706
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
707
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
708
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
|
|
709
|
+
# @!attribute [rw] filter
|
|
710
|
+
# @return [::String]
|
|
711
|
+
# Optional.
|
|
712
|
+
# Supported fields are:
|
|
713
|
+
# 'product',
|
|
714
|
+
# `location`,
|
|
715
|
+
# `issue_severity`,
|
|
716
|
+
# 'tags',
|
|
717
|
+
# 'labels',
|
|
718
|
+
# @!attribute [rw] signal_products_filters
|
|
719
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalProductsFilters>]
|
|
720
|
+
# Optional. Filters based on signal and product. The filter list will be ORed
|
|
721
|
+
# across pairs and ANDed within a signal and products pair.
|
|
722
|
+
# @!attribute [rw] order_by
|
|
723
|
+
# @return [::String]
|
|
724
|
+
# Optional. Following fields are sortable:
|
|
725
|
+
# SignalType
|
|
726
|
+
# Product
|
|
727
|
+
# Location
|
|
728
|
+
# IssueSeverity
|
|
729
|
+
#
|
|
730
|
+
# The default order is ascending. Add "DESC" after the field name to indicate
|
|
731
|
+
# descending order. Add "ASC" after the field name to indicate ascending
|
|
732
|
+
# order. It only supports a single field at a time.
|
|
733
|
+
# @!attribute [rw] page_size
|
|
734
|
+
# @return [::Integer]
|
|
735
|
+
# Optional. If unspecified, at most 50 issues will be returned.
|
|
736
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
737
|
+
# @!attribute [rw] page_token
|
|
738
|
+
# @return [::String]
|
|
739
|
+
# Optional. A page token, received from a previous `QueryIssues` call.
|
|
740
|
+
# Provide this to retrieve the subsequent page.
|
|
741
|
+
# All parameters except page size should match the parameters used in the
|
|
742
|
+
# call that provided the page token.
|
|
743
|
+
class QueryIssuesRequest
|
|
744
|
+
include ::Google::Protobuf::MessageExts
|
|
745
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
# SignalProductsFilters represents a signal and list of supported products.
|
|
749
|
+
# @!attribute [rw] signal_type
|
|
750
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SignalType]
|
|
751
|
+
# Optional. The type of signal.
|
|
752
|
+
# @!attribute [rw] products
|
|
753
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::Product>]
|
|
754
|
+
# Optional. Product type of the resource. The version of the product will be
|
|
755
|
+
# ignored in filtering.
|
|
756
|
+
class SignalProductsFilters
|
|
757
|
+
include ::Google::Protobuf::MessageExts
|
|
758
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
759
|
+
end
|
|
760
|
+
|
|
761
|
+
# QueryIssuesResponse is the response containing a list of issues.
|
|
762
|
+
# @!attribute [rw] resource_issues
|
|
763
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::DatabaseResourceIssue>]
|
|
764
|
+
# List of issues and resource details.
|
|
765
|
+
# @!attribute [rw] next_page_token
|
|
766
|
+
# @return [::String]
|
|
767
|
+
# A token that can be sent as `page_token` to retrieve the next page.
|
|
768
|
+
# If this field is omitted, there are no subsequent pages.
|
|
769
|
+
# @!attribute [rw] unreachable
|
|
770
|
+
# @return [::Array<::String>]
|
|
771
|
+
# Unordered list. List of unreachable regions from where data could not be
|
|
772
|
+
# retrieved.
|
|
773
|
+
class QueryIssuesResponse
|
|
774
|
+
include ::Google::Protobuf::MessageExts
|
|
775
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
776
|
+
end
|
|
777
|
+
|
|
778
|
+
# DatabaseResource and Issue associated with it.
|
|
779
|
+
# @!attribute [rw] signal
|
|
780
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::Signal]
|
|
781
|
+
# Signal associated with the issue.
|
|
782
|
+
# @!attribute [rw] resource
|
|
783
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::DatabaseResource]
|
|
784
|
+
# Resource associated with the issue.
|
|
785
|
+
class DatabaseResourceIssue
|
|
786
|
+
include ::Google::Protobuf::MessageExts
|
|
787
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
788
|
+
end
|
|
789
|
+
|
|
693
790
|
# Tag is a key value pair attached to a resource.
|
|
694
791
|
# @!attribute [rw] key
|
|
695
792
|
# @return [::String]
|
|
@@ -725,8 +822,8 @@ module Google
|
|
|
725
822
|
# Full resource name of the resource.
|
|
726
823
|
# @!attribute [rw] container
|
|
727
824
|
# @return [::String]
|
|
728
|
-
# Specifies where the resource is created. For
|
|
729
|
-
# the project.
|
|
825
|
+
# Specifies where the resource is created. For Google Cloud resources, it is
|
|
826
|
+
# the full name of the project.
|
|
730
827
|
# @!attribute [rw] product
|
|
731
828
|
# @return [::Google::Cloud::DatabaseCenter::V1beta::Product]
|
|
732
829
|
# Product type of the resource.
|
|
@@ -210,8 +210,8 @@ module Google
|
|
|
210
210
|
# OPTIONAL
|
|
211
211
|
# @!attribute [rw] container
|
|
212
212
|
# @return [::String]
|
|
213
|
-
# Specifies where the resource is created. For
|
|
214
|
-
# the project.
|
|
213
|
+
# Specifies where the resource is created. For Google Cloud resources, it is
|
|
214
|
+
# the full name of the project.
|
|
215
215
|
class SubResource
|
|
216
216
|
include ::Google::Protobuf::MessageExts
|
|
217
217
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -530,19 +530,19 @@ module Google
|
|
|
530
530
|
# value.
|
|
531
531
|
SIGNAL_TYPE_LAST_BACKUP_OLD = 7
|
|
532
532
|
|
|
533
|
-
# Represents if a resource violates CIS
|
|
533
|
+
# Represents if a resource violates CIS Google Cloud Platform Foundation 2.0.
|
|
534
534
|
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0 = 8
|
|
535
535
|
|
|
536
|
-
# Represents if a resource violates CIS
|
|
536
|
+
# Represents if a resource violates CIS Google Cloud Platform Foundation 1.3.
|
|
537
537
|
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3 = 9
|
|
538
538
|
|
|
539
|
-
# Represents if a resource violates CIS
|
|
539
|
+
# Represents if a resource violates CIS Google Cloud Platform Foundation 1.2.
|
|
540
540
|
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2 = 10
|
|
541
541
|
|
|
542
|
-
# Represents if a resource violates CIS
|
|
542
|
+
# Represents if a resource violates CIS Google Cloud Platform Foundation 1.1.
|
|
543
543
|
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1 = 11
|
|
544
544
|
|
|
545
|
-
# Represents if a resource violates CIS
|
|
545
|
+
# Represents if a resource violates CIS Google Cloud Platform Foundation 1.0.
|
|
546
546
|
SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0 = 12
|
|
547
547
|
|
|
548
548
|
# Represents if a resource violates CIS Controls 8.0.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-database_center-v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -110,10 +110,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
110
|
requirements: []
|
|
111
111
|
rubygems_version: 3.6.9
|
|
112
112
|
specification_version: 4
|
|
113
|
-
summary: Database Center
|
|
114
|
-
|
|
115
|
-
and summarizing health signals
|
|
116
|
-
|
|
117
|
-
reliability, compliance, security, cost, and
|
|
118
|
-
|
|
113
|
+
summary: Database Center offers a comprehensive, organization-wide platform for monitoring
|
|
114
|
+
database fleet health across various products. It simplifies management and reduces
|
|
115
|
+
risk by automatically aggregating and summarizing key health signals, removing the
|
|
116
|
+
need for custom dashboards. The platform provides a unified view through its dashboard
|
|
117
|
+
and API, enabling teams focused on reliability, compliance, security, cost, and
|
|
118
|
+
administration to quickly identify and address relevant issues within their database
|
|
119
|
+
fleets.
|
|
119
120
|
test_files: []
|