google-cloud-database_center-v1beta 0.1.0 → 0.2.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/lib/google/cloud/database_center/v1beta/database_center/client.rb +115 -0
- data/lib/google/cloud/database_center/v1beta/database_center/rest/client.rb +116 -0
- 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/service_pb.rb +5 -1
- data/lib/google/cloud/databasecenter/v1beta/service_services_pb.rb +2 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/machine_config.rb +0 -1
- data/proto_docs/google/cloud/databasecenter/v1beta/service.rb +117 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8f19a5aa5db47b54b4634154e4ca80012f013c23e4d2bb02c223ce0f868f773
|
|
4
|
+
data.tar.gz: d5579ad305f41de82dac45715a934723cb18ec914cb933e9f800c607c51dec97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6579b08e1f942ebe9d486b54522e9f1aa84a4cb29e72d40ca750c1ee2324062ecb8fe58b8de4eae306f1d7ade5a40f2c6d871dbb6d7cfd7d4076474cda3bd19c
|
|
7
|
+
data.tar.gz: 16f5335b6362a89877ab09914455cf81a2fb4c7efe14bde2c975ffd7e8d63b1d8105dae7eeba0433a52bdebc873dcadfbef1acc4969ea0737151a04c8e90b795
|
|
@@ -621,6 +621,114 @@ module Google
|
|
|
621
621
|
raise ::Google::Cloud::Error.from_error(e)
|
|
622
622
|
end
|
|
623
623
|
|
|
624
|
+
##
|
|
625
|
+
# AggregateIssueStats provides database resource issues statistics.
|
|
626
|
+
#
|
|
627
|
+
# @overload aggregate_issue_stats(request, options = nil)
|
|
628
|
+
# Pass arguments to `aggregate_issue_stats` via a request object, either of type
|
|
629
|
+
# {::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest} or an equivalent Hash.
|
|
630
|
+
#
|
|
631
|
+
# @param request [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest, ::Hash]
|
|
632
|
+
# A request object representing the call parameters. Required. To specify no
|
|
633
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
634
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
635
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
636
|
+
#
|
|
637
|
+
# @overload aggregate_issue_stats(parent: nil, filter: nil, signal_type_groups: nil, baseline_date: nil)
|
|
638
|
+
# Pass arguments to `aggregate_issue_stats` via keyword arguments. Note that at
|
|
639
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
640
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
641
|
+
#
|
|
642
|
+
# @param parent [::String]
|
|
643
|
+
# Required. Parent can be a project, a folder, or an organization. The search
|
|
644
|
+
# is limited to the resources within the `scope`.
|
|
645
|
+
#
|
|
646
|
+
# The allowed values are:
|
|
647
|
+
#
|
|
648
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
649
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
650
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
651
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
|
|
652
|
+
# @param filter [::String]
|
|
653
|
+
# Optional. The expression to filter resources.
|
|
654
|
+
#
|
|
655
|
+
# Supported fields are: `full_resource_name`, `resource_type`, `container`,
|
|
656
|
+
# `product.type`, `product.engine`, `product.version`, `location`,
|
|
657
|
+
# `labels`, `issues`, fields of availability_info,
|
|
658
|
+
# data_protection_info,'resource_name', etc.
|
|
659
|
+
#
|
|
660
|
+
# The expression is a list of zero or more restrictions combined via logical
|
|
661
|
+
# operators `AND` and `OR`. When `AND` and `OR` are both used in the
|
|
662
|
+
# expression, parentheses must be appropriately used to group the
|
|
663
|
+
# combinations.
|
|
664
|
+
#
|
|
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"
|
|
669
|
+
# @param signal_type_groups [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup, ::Hash>]
|
|
670
|
+
# Optional. Lists of signal types that are issues.
|
|
671
|
+
# @param baseline_date [::Google::Type::Date, ::Hash]
|
|
672
|
+
# Optional. The baseline date w.r.t. which the delta counts are calculated.
|
|
673
|
+
# If not set, delta counts are not included in the response and the response
|
|
674
|
+
# indicates the current state of the fleet.
|
|
675
|
+
#
|
|
676
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
677
|
+
# @yieldparam response [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse]
|
|
678
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
679
|
+
#
|
|
680
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse]
|
|
681
|
+
#
|
|
682
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
683
|
+
#
|
|
684
|
+
# @example Basic example
|
|
685
|
+
# require "google/cloud/database_center/v1beta"
|
|
686
|
+
#
|
|
687
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
688
|
+
# client = Google::Cloud::DatabaseCenter::V1beta::DatabaseCenter::Client.new
|
|
689
|
+
#
|
|
690
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
691
|
+
# request = Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest.new
|
|
692
|
+
#
|
|
693
|
+
# # Call the aggregate_issue_stats method.
|
|
694
|
+
# result = client.aggregate_issue_stats request
|
|
695
|
+
#
|
|
696
|
+
# # The returned object is of type Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse.
|
|
697
|
+
# p result
|
|
698
|
+
#
|
|
699
|
+
def aggregate_issue_stats request, options = nil
|
|
700
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
701
|
+
|
|
702
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest
|
|
703
|
+
|
|
704
|
+
# Converts hash and nil to an options object
|
|
705
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
706
|
+
|
|
707
|
+
# Customize the options with defaults
|
|
708
|
+
metadata = @config.rpcs.aggregate_issue_stats.metadata.to_h
|
|
709
|
+
|
|
710
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
711
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
712
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
713
|
+
gapic_version: ::Google::Cloud::DatabaseCenter::V1beta::VERSION
|
|
714
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
715
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
716
|
+
|
|
717
|
+
options.apply_defaults timeout: @config.rpcs.aggregate_issue_stats.timeout,
|
|
718
|
+
metadata: metadata,
|
|
719
|
+
retry_policy: @config.rpcs.aggregate_issue_stats.retry_policy
|
|
720
|
+
|
|
721
|
+
options.apply_defaults timeout: @config.timeout,
|
|
722
|
+
metadata: @config.metadata,
|
|
723
|
+
retry_policy: @config.retry_policy
|
|
724
|
+
|
|
725
|
+
@database_center_stub.call_rpc :aggregate_issue_stats, request, options: options do |response, operation|
|
|
726
|
+
yield response, operation if block_given?
|
|
727
|
+
end
|
|
728
|
+
rescue ::GRPC::BadStatus => e
|
|
729
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
730
|
+
end
|
|
731
|
+
|
|
624
732
|
##
|
|
625
733
|
# Configuration class for the DatabaseCenter API.
|
|
626
734
|
#
|
|
@@ -819,6 +927,11 @@ module Google
|
|
|
819
927
|
# @return [::Gapic::Config::Method]
|
|
820
928
|
#
|
|
821
929
|
attr_reader :query_database_resource_groups
|
|
930
|
+
##
|
|
931
|
+
# RPC-specific configuration for `aggregate_issue_stats`
|
|
932
|
+
# @return [::Gapic::Config::Method]
|
|
933
|
+
#
|
|
934
|
+
attr_reader :aggregate_issue_stats
|
|
822
935
|
|
|
823
936
|
# @private
|
|
824
937
|
def initialize parent_rpcs = nil
|
|
@@ -828,6 +941,8 @@ module Google
|
|
|
828
941
|
@aggregate_fleet = ::Gapic::Config::Method.new aggregate_fleet_config
|
|
829
942
|
query_database_resource_groups_config = parent_rpcs.query_database_resource_groups if parent_rpcs.respond_to? :query_database_resource_groups
|
|
830
943
|
@query_database_resource_groups = ::Gapic::Config::Method.new query_database_resource_groups_config
|
|
944
|
+
aggregate_issue_stats_config = parent_rpcs.aggregate_issue_stats if parent_rpcs.respond_to? :aggregate_issue_stats
|
|
945
|
+
@aggregate_issue_stats = ::Gapic::Config::Method.new aggregate_issue_stats_config
|
|
831
946
|
|
|
832
947
|
yield self if block_given?
|
|
833
948
|
end
|
|
@@ -617,6 +617,115 @@ module Google
|
|
|
617
617
|
raise ::Google::Cloud::Error.from_error(e)
|
|
618
618
|
end
|
|
619
619
|
|
|
620
|
+
##
|
|
621
|
+
# AggregateIssueStats provides database resource issues statistics.
|
|
622
|
+
#
|
|
623
|
+
# @overload aggregate_issue_stats(request, options = nil)
|
|
624
|
+
# Pass arguments to `aggregate_issue_stats` via a request object, either of type
|
|
625
|
+
# {::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest} or an equivalent Hash.
|
|
626
|
+
#
|
|
627
|
+
# @param request [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest, ::Hash]
|
|
628
|
+
# A request object representing the call parameters. Required. To specify no
|
|
629
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
630
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
631
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
632
|
+
#
|
|
633
|
+
# @overload aggregate_issue_stats(parent: nil, filter: nil, signal_type_groups: nil, baseline_date: nil)
|
|
634
|
+
# Pass arguments to `aggregate_issue_stats` via keyword arguments. Note that at
|
|
635
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
636
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
637
|
+
#
|
|
638
|
+
# @param parent [::String]
|
|
639
|
+
# Required. Parent can be a project, a folder, or an organization. The search
|
|
640
|
+
# is limited to the resources within the `scope`.
|
|
641
|
+
#
|
|
642
|
+
# The allowed values are:
|
|
643
|
+
#
|
|
644
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
645
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
646
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
647
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
|
|
648
|
+
# @param filter [::String]
|
|
649
|
+
# Optional. The expression to filter resources.
|
|
650
|
+
#
|
|
651
|
+
# Supported fields are: `full_resource_name`, `resource_type`, `container`,
|
|
652
|
+
# `product.type`, `product.engine`, `product.version`, `location`,
|
|
653
|
+
# `labels`, `issues`, fields of availability_info,
|
|
654
|
+
# data_protection_info,'resource_name', etc.
|
|
655
|
+
#
|
|
656
|
+
# The expression is a list of zero or more restrictions combined via logical
|
|
657
|
+
# operators `AND` and `OR`. When `AND` and `OR` are both used in the
|
|
658
|
+
# expression, parentheses must be appropriately used to group the
|
|
659
|
+
# combinations.
|
|
660
|
+
#
|
|
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"
|
|
665
|
+
# @param signal_type_groups [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup, ::Hash>]
|
|
666
|
+
# Optional. Lists of signal types that are issues.
|
|
667
|
+
# @param baseline_date [::Google::Type::Date, ::Hash]
|
|
668
|
+
# Optional. The baseline date w.r.t. which the delta counts are calculated.
|
|
669
|
+
# If not set, delta counts are not included in the response and the response
|
|
670
|
+
# indicates the current state of the fleet.
|
|
671
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
672
|
+
# @yieldparam result [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse]
|
|
673
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
674
|
+
#
|
|
675
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse]
|
|
676
|
+
#
|
|
677
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
678
|
+
#
|
|
679
|
+
# @example Basic example
|
|
680
|
+
# require "google/cloud/database_center/v1beta"
|
|
681
|
+
#
|
|
682
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
683
|
+
# client = Google::Cloud::DatabaseCenter::V1beta::DatabaseCenter::Rest::Client.new
|
|
684
|
+
#
|
|
685
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
686
|
+
# request = Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest.new
|
|
687
|
+
#
|
|
688
|
+
# # Call the aggregate_issue_stats method.
|
|
689
|
+
# result = client.aggregate_issue_stats request
|
|
690
|
+
#
|
|
691
|
+
# # The returned object is of type Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse.
|
|
692
|
+
# p result
|
|
693
|
+
#
|
|
694
|
+
def aggregate_issue_stats request, options = nil
|
|
695
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
696
|
+
|
|
697
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest
|
|
698
|
+
|
|
699
|
+
# Converts hash and nil to an options object
|
|
700
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
701
|
+
|
|
702
|
+
# Customize the options with defaults
|
|
703
|
+
call_metadata = @config.rpcs.aggregate_issue_stats.metadata.to_h
|
|
704
|
+
|
|
705
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
706
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
707
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
708
|
+
gapic_version: ::Google::Cloud::DatabaseCenter::V1beta::VERSION,
|
|
709
|
+
transports_version_send: [:rest]
|
|
710
|
+
|
|
711
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
712
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
713
|
+
|
|
714
|
+
options.apply_defaults timeout: @config.rpcs.aggregate_issue_stats.timeout,
|
|
715
|
+
metadata: call_metadata,
|
|
716
|
+
retry_policy: @config.rpcs.aggregate_issue_stats.retry_policy
|
|
717
|
+
|
|
718
|
+
options.apply_defaults timeout: @config.timeout,
|
|
719
|
+
metadata: @config.metadata,
|
|
720
|
+
retry_policy: @config.retry_policy
|
|
721
|
+
|
|
722
|
+
@database_center_stub.aggregate_issue_stats request, options do |result, operation|
|
|
723
|
+
yield result, operation if block_given?
|
|
724
|
+
end
|
|
725
|
+
rescue ::Gapic::Rest::Error => e
|
|
726
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
727
|
+
end
|
|
728
|
+
|
|
620
729
|
##
|
|
621
730
|
# Configuration class for the DatabaseCenter REST API.
|
|
622
731
|
#
|
|
@@ -778,6 +887,11 @@ module Google
|
|
|
778
887
|
# @return [::Gapic::Config::Method]
|
|
779
888
|
#
|
|
780
889
|
attr_reader :query_database_resource_groups
|
|
890
|
+
##
|
|
891
|
+
# RPC-specific configuration for `aggregate_issue_stats`
|
|
892
|
+
# @return [::Gapic::Config::Method]
|
|
893
|
+
#
|
|
894
|
+
attr_reader :aggregate_issue_stats
|
|
781
895
|
|
|
782
896
|
# @private
|
|
783
897
|
def initialize parent_rpcs = nil
|
|
@@ -787,6 +901,8 @@ module Google
|
|
|
787
901
|
@aggregate_fleet = ::Gapic::Config::Method.new aggregate_fleet_config
|
|
788
902
|
query_database_resource_groups_config = parent_rpcs.query_database_resource_groups if parent_rpcs.respond_to? :query_database_resource_groups
|
|
789
903
|
@query_database_resource_groups = ::Gapic::Config::Method.new query_database_resource_groups_config
|
|
904
|
+
aggregate_issue_stats_config = parent_rpcs.aggregate_issue_stats if parent_rpcs.respond_to? :aggregate_issue_stats
|
|
905
|
+
@aggregate_issue_stats = ::Gapic::Config::Method.new aggregate_issue_stats_config
|
|
790
906
|
|
|
791
907
|
yield self if block_given?
|
|
792
908
|
end
|
|
@@ -193,6 +193,46 @@ module Google
|
|
|
193
193
|
end
|
|
194
194
|
end
|
|
195
195
|
|
|
196
|
+
##
|
|
197
|
+
# Baseline implementation for the aggregate_issue_stats REST call
|
|
198
|
+
#
|
|
199
|
+
# @param request_pb [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest]
|
|
200
|
+
# A request object representing the call parameters. Required.
|
|
201
|
+
# @param options [::Gapic::CallOptions]
|
|
202
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
203
|
+
#
|
|
204
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
205
|
+
# @yieldparam result [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse]
|
|
206
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
207
|
+
#
|
|
208
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse]
|
|
209
|
+
# A result object deserialized from the server's reply
|
|
210
|
+
def aggregate_issue_stats request_pb, options = nil
|
|
211
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
212
|
+
|
|
213
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_aggregate_issue_stats_request request_pb
|
|
214
|
+
query_string_params = if query_string_params.any?
|
|
215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
216
|
+
else
|
|
217
|
+
{}
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
response = @client_stub.make_http_request(
|
|
221
|
+
verb,
|
|
222
|
+
uri: uri,
|
|
223
|
+
body: body || "",
|
|
224
|
+
params: query_string_params,
|
|
225
|
+
method_name: "aggregate_issue_stats",
|
|
226
|
+
options: options
|
|
227
|
+
)
|
|
228
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
229
|
+
result = ::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
230
|
+
catch :response do
|
|
231
|
+
yield result, operation if block_given?
|
|
232
|
+
result
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
196
236
|
##
|
|
197
237
|
# @private
|
|
198
238
|
#
|
|
@@ -250,6 +290,26 @@ module Google
|
|
|
250
290
|
)
|
|
251
291
|
transcoder.transcode request_pb
|
|
252
292
|
end
|
|
293
|
+
|
|
294
|
+
##
|
|
295
|
+
# @private
|
|
296
|
+
#
|
|
297
|
+
# GRPC transcoding helper method for the aggregate_issue_stats REST call
|
|
298
|
+
#
|
|
299
|
+
# @param request_pb [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest]
|
|
300
|
+
# A request object representing the call parameters. Required.
|
|
301
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
302
|
+
# Uri, Body, Query string parameters
|
|
303
|
+
def self.transcode_aggregate_issue_stats_request request_pb
|
|
304
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
305
|
+
.with_bindings(
|
|
306
|
+
uri_method: :post,
|
|
307
|
+
uri_template: "/v1beta:aggregateIssueStats",
|
|
308
|
+
body: "*",
|
|
309
|
+
matches: []
|
|
310
|
+
)
|
|
311
|
+
transcoder.transcode request_pb
|
|
312
|
+
end
|
|
253
313
|
end
|
|
254
314
|
end
|
|
255
315
|
end
|
|
@@ -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\"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\x94\x05\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*\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\"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"
|
|
19
19
|
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
21
21
|
|
|
@@ -57,6 +57,10 @@ module Google
|
|
|
57
57
|
QueryDatabaseResourceGroupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsResponse").msgclass
|
|
58
58
|
DatabaseResourceGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.DatabaseResourceGroup").msgclass
|
|
59
59
|
DatabaseResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.DatabaseResource").msgclass
|
|
60
|
+
AggregateIssueStatsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest").msgclass
|
|
61
|
+
AggregateIssueStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse").msgclass
|
|
62
|
+
IssueGroupStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.IssueGroupStats").msgclass
|
|
63
|
+
IssueStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.IssueStats").msgclass
|
|
60
64
|
Label = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.Label").msgclass
|
|
61
65
|
AggregateFleetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.AggregateFleetRequest").msgclass
|
|
62
66
|
AggregateFleetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.AggregateFleetResponse").msgclass
|
|
@@ -41,6 +41,8 @@ module Google
|
|
|
41
41
|
rpc :AggregateFleet, ::Google::Cloud::DatabaseCenter::V1beta::AggregateFleetRequest, ::Google::Cloud::DatabaseCenter::V1beta::AggregateFleetResponse
|
|
42
42
|
# QueryDatabaseResourceGroups returns paginated results of database groups.
|
|
43
43
|
rpc :QueryDatabaseResourceGroups, ::Google::Cloud::DatabaseCenter::V1beta::QueryDatabaseResourceGroupsRequest, ::Google::Cloud::DatabaseCenter::V1beta::QueryDatabaseResourceGroupsResponse
|
|
44
|
+
# AggregateIssueStats provides database resource issues statistics.
|
|
45
|
+
rpc :AggregateIssueStats, ::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest, ::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse
|
|
44
46
|
end
|
|
45
47
|
|
|
46
48
|
Stub = Service.rpc_stub_class
|
|
@@ -309,6 +309,123 @@ module Google
|
|
|
309
309
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
310
310
|
end
|
|
311
311
|
|
|
312
|
+
# AggregateIssueStatsRequest represents the input to the AggregateIssueStats
|
|
313
|
+
# method.
|
|
314
|
+
# @!attribute [rw] parent
|
|
315
|
+
# @return [::String]
|
|
316
|
+
# Required. Parent can be a project, a folder, or an organization. The search
|
|
317
|
+
# is limited to the resources within the `scope`.
|
|
318
|
+
#
|
|
319
|
+
# The allowed values are:
|
|
320
|
+
#
|
|
321
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
322
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
323
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
324
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
|
|
325
|
+
# @!attribute [rw] filter
|
|
326
|
+
# @return [::String]
|
|
327
|
+
# Optional. The expression to filter resources.
|
|
328
|
+
#
|
|
329
|
+
# Supported fields are: `full_resource_name`, `resource_type`, `container`,
|
|
330
|
+
# `product.type`, `product.engine`, `product.version`, `location`,
|
|
331
|
+
# `labels`, `issues`, fields of availability_info,
|
|
332
|
+
# data_protection_info,'resource_name', etc.
|
|
333
|
+
#
|
|
334
|
+
# The expression is a list of zero or more restrictions combined via logical
|
|
335
|
+
# operators `AND` and `OR`. When `AND` and `OR` are both used in the
|
|
336
|
+
# expression, parentheses must be appropriately used to group the
|
|
337
|
+
# combinations.
|
|
338
|
+
#
|
|
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"
|
|
343
|
+
# @!attribute [rw] signal_type_groups
|
|
344
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup>]
|
|
345
|
+
# Optional. Lists of signal types that are issues.
|
|
346
|
+
# @!attribute [rw] baseline_date
|
|
347
|
+
# @return [::Google::Type::Date]
|
|
348
|
+
# Optional. The baseline date w.r.t. which the delta counts are calculated.
|
|
349
|
+
# If not set, delta counts are not included in the response and the response
|
|
350
|
+
# indicates the current state of the fleet.
|
|
351
|
+
class AggregateIssueStatsRequest
|
|
352
|
+
include ::Google::Protobuf::MessageExts
|
|
353
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# The response message containing one of more group of relevant health issues
|
|
357
|
+
# for database resources.
|
|
358
|
+
# @!attribute [rw] issue_group_stats
|
|
359
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::IssueGroupStats>]
|
|
360
|
+
# List of issue group stats where each group contains stats for resources
|
|
361
|
+
# having a particular combination of relevant issues.
|
|
362
|
+
# @!attribute [rw] total_resources_count
|
|
363
|
+
# @return [::Integer]
|
|
364
|
+
# Total count of the resources filtered in based on the user given filter.
|
|
365
|
+
# @!attribute [rw] total_resource_groups_count
|
|
366
|
+
# @return [::Integer]
|
|
367
|
+
# Total count of the resource filtered in based on the user given filter.
|
|
368
|
+
# @!attribute [rw] unreachable
|
|
369
|
+
# @return [::Array<::String>]
|
|
370
|
+
# Unordered list. List of unreachable regions from where data could not be
|
|
371
|
+
# retrieved.
|
|
372
|
+
class AggregateIssueStatsResponse
|
|
373
|
+
include ::Google::Protobuf::MessageExts
|
|
374
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
# IssueGroupStats refers to stats for a particulare combination of relevant
|
|
378
|
+
# health issues of database resources.
|
|
379
|
+
# @!attribute [rw] display_name
|
|
380
|
+
# @return [::String]
|
|
381
|
+
# Database resource level health card name. This will corresponds to one of
|
|
382
|
+
# the requested input group names.
|
|
383
|
+
# @!attribute [rw] resource_groups_count
|
|
384
|
+
# @return [::Integer]
|
|
385
|
+
# Total count of the groups of resources returned by the filter that
|
|
386
|
+
# also have one or more resources for which any of the specified issues
|
|
387
|
+
# are applicable.
|
|
388
|
+
# @!attribute [rw] resources_count
|
|
389
|
+
# @return [::Integer]
|
|
390
|
+
# Total count of resources returned by the filter for which any of the
|
|
391
|
+
# specified issues are applicable.
|
|
392
|
+
# @!attribute [rw] healthy_resource_groups_count
|
|
393
|
+
# @return [::Integer]
|
|
394
|
+
# The number of resource groups from the total groups as defined above
|
|
395
|
+
# that are healthy with respect to all of the specified issues.
|
|
396
|
+
# @!attribute [rw] healthy_resources_count
|
|
397
|
+
# @return [::Integer]
|
|
398
|
+
# The number of resources from the total defined above in field
|
|
399
|
+
# total_resources_count that are healthy with respect to all of the specified
|
|
400
|
+
# issues.
|
|
401
|
+
# @!attribute [rw] issue_stats
|
|
402
|
+
# @return [::Array<::Google::Cloud::DatabaseCenter::V1beta::IssueStats>]
|
|
403
|
+
# List of issues stats containing count of resources having particular issue
|
|
404
|
+
# category.
|
|
405
|
+
class IssueGroupStats
|
|
406
|
+
include ::Google::Protobuf::MessageExts
|
|
407
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
# IssueStats holds stats for a particular signal category.
|
|
411
|
+
# @!attribute [rw] signal_type
|
|
412
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::SignalType]
|
|
413
|
+
# Type of signal which is an issue.
|
|
414
|
+
# @!attribute [rw] resource_count
|
|
415
|
+
# @return [::Integer]
|
|
416
|
+
# Number of resources having issues of a given type.
|
|
417
|
+
# @!attribute [rw] delta_details
|
|
418
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::DeltaDetails]
|
|
419
|
+
# Optional. Delta counts and details of resources for which issue was raised
|
|
420
|
+
# or fixed.
|
|
421
|
+
# @!attribute [rw] issue_severity
|
|
422
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::IssueSeverity]
|
|
423
|
+
# Severity of the issue.
|
|
424
|
+
class IssueStats
|
|
425
|
+
include ::Google::Protobuf::MessageExts
|
|
426
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
427
|
+
end
|
|
428
|
+
|
|
312
429
|
# Label is a key value pair applied to a resource.
|
|
313
430
|
# @!attribute [rw] key
|
|
314
431
|
# @return [::String]
|