google-cloud-database_center-v1beta 0.1.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 +263 -17
- data/lib/google/cloud/database_center/v1beta/database_center/rest/client.rb +265 -17
- data/lib/google/cloud/database_center/v1beta/database_center/rest/service_stub.rb +120 -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 +9 -1
- data/lib/google/cloud/databasecenter/v1beta/service_services_pb.rb +5 -0
- data/proto_docs/google/cloud/databasecenter/v1beta/machine_config.rb +0 -1
- 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 +242 -28
- data/proto_docs/google/cloud/databasecenter/v1beta/signals.rb +7 -7
- metadata +8 -7
|
@@ -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.
|
|
@@ -617,6 +619,238 @@ module Google
|
|
|
617
619
|
raise ::Google::Cloud::Error.from_error(e)
|
|
618
620
|
end
|
|
619
621
|
|
|
622
|
+
##
|
|
623
|
+
# AggregateIssueStats provides database resource issues statistics.
|
|
624
|
+
#
|
|
625
|
+
# @overload aggregate_issue_stats(request, options = nil)
|
|
626
|
+
# Pass arguments to `aggregate_issue_stats` via a request object, either of type
|
|
627
|
+
# {::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest} or an equivalent Hash.
|
|
628
|
+
#
|
|
629
|
+
# @param request [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest, ::Hash]
|
|
630
|
+
# A request object representing the call parameters. Required. To specify no
|
|
631
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
632
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
633
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
634
|
+
#
|
|
635
|
+
# @overload aggregate_issue_stats(parent: nil, filter: nil, signal_type_groups: nil, baseline_date: nil)
|
|
636
|
+
# Pass arguments to `aggregate_issue_stats` via keyword arguments. Note that at
|
|
637
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
638
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
639
|
+
#
|
|
640
|
+
# @param parent [::String]
|
|
641
|
+
# Required. Parent can be a project, a folder, or an organization. The search
|
|
642
|
+
# is limited to the resources within the `scope`.
|
|
643
|
+
#
|
|
644
|
+
# The allowed values are:
|
|
645
|
+
#
|
|
646
|
+
# * projects/\\{PROJECT_ID} (e.g., "projects/foo-bar")
|
|
647
|
+
# * projects/\\{PROJECT_NUMBER} (e.g., "projects/12345678")
|
|
648
|
+
# * folders/\\{FOLDER_NUMBER} (e.g., "folders/1234567")
|
|
649
|
+
# * organizations/\\{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
|
|
650
|
+
# @param filter [::String]
|
|
651
|
+
# Optional. The expression to filter resources.
|
|
652
|
+
#
|
|
653
|
+
# Supported fields are: `full_resource_name`, `resource_type`, `container`,
|
|
654
|
+
# `product.type`, `product.engine`, `product.version`, `location`,
|
|
655
|
+
# `labels`, `issues`, fields of availability_info,
|
|
656
|
+
# data_protection_info,'resource_name', etc.
|
|
657
|
+
#
|
|
658
|
+
# The expression is a list of zero or more restrictions combined via logical
|
|
659
|
+
# operators `AND` and `OR`. When `AND` and `OR` are both used in the
|
|
660
|
+
# expression, parentheses must be appropriately used to group the
|
|
661
|
+
# combinations.
|
|
662
|
+
#
|
|
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"`
|
|
667
|
+
# @param signal_type_groups [::Array<::Google::Cloud::DatabaseCenter::V1beta::SignalTypeGroup, ::Hash>]
|
|
668
|
+
# Optional. Lists of signal types that are issues.
|
|
669
|
+
# @param baseline_date [::Google::Type::Date, ::Hash]
|
|
670
|
+
# Optional. The baseline date w.r.t. which the delta counts are calculated.
|
|
671
|
+
# If not set, delta counts are not included in the response and the response
|
|
672
|
+
# indicates the current state of the fleet.
|
|
673
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
674
|
+
# @yieldparam result [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse]
|
|
675
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
676
|
+
#
|
|
677
|
+
# @return [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse]
|
|
678
|
+
#
|
|
679
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
680
|
+
#
|
|
681
|
+
# @example Basic example
|
|
682
|
+
# require "google/cloud/database_center/v1beta"
|
|
683
|
+
#
|
|
684
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
685
|
+
# client = Google::Cloud::DatabaseCenter::V1beta::DatabaseCenter::Rest::Client.new
|
|
686
|
+
#
|
|
687
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
688
|
+
# request = Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest.new
|
|
689
|
+
#
|
|
690
|
+
# # Call the aggregate_issue_stats method.
|
|
691
|
+
# result = client.aggregate_issue_stats request
|
|
692
|
+
#
|
|
693
|
+
# # The returned object is of type Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsResponse.
|
|
694
|
+
# p result
|
|
695
|
+
#
|
|
696
|
+
def aggregate_issue_stats request, options = nil
|
|
697
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
698
|
+
|
|
699
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest
|
|
700
|
+
|
|
701
|
+
# Converts hash and nil to an options object
|
|
702
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
703
|
+
|
|
704
|
+
# Customize the options with defaults
|
|
705
|
+
call_metadata = @config.rpcs.aggregate_issue_stats.metadata.to_h
|
|
706
|
+
|
|
707
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
708
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
709
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
710
|
+
gapic_version: ::Google::Cloud::DatabaseCenter::V1beta::VERSION,
|
|
711
|
+
transports_version_send: [:rest]
|
|
712
|
+
|
|
713
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
714
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
715
|
+
|
|
716
|
+
options.apply_defaults timeout: @config.rpcs.aggregate_issue_stats.timeout,
|
|
717
|
+
metadata: call_metadata,
|
|
718
|
+
retry_policy: @config.rpcs.aggregate_issue_stats.retry_policy
|
|
719
|
+
|
|
720
|
+
options.apply_defaults timeout: @config.timeout,
|
|
721
|
+
metadata: @config.metadata,
|
|
722
|
+
retry_policy: @config.retry_policy
|
|
723
|
+
|
|
724
|
+
@database_center_stub.aggregate_issue_stats request, options do |result, operation|
|
|
725
|
+
yield result, operation if block_given?
|
|
726
|
+
end
|
|
727
|
+
rescue ::Gapic::Rest::Error => e
|
|
728
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
729
|
+
end
|
|
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
|
+
|
|
620
854
|
##
|
|
621
855
|
# Configuration class for the DatabaseCenter REST API.
|
|
622
856
|
#
|
|
@@ -778,6 +1012,16 @@ module Google
|
|
|
778
1012
|
# @return [::Gapic::Config::Method]
|
|
779
1013
|
#
|
|
780
1014
|
attr_reader :query_database_resource_groups
|
|
1015
|
+
##
|
|
1016
|
+
# RPC-specific configuration for `aggregate_issue_stats`
|
|
1017
|
+
# @return [::Gapic::Config::Method]
|
|
1018
|
+
#
|
|
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
|
|
781
1025
|
|
|
782
1026
|
# @private
|
|
783
1027
|
def initialize parent_rpcs = nil
|
|
@@ -787,6 +1031,10 @@ module Google
|
|
|
787
1031
|
@aggregate_fleet = ::Gapic::Config::Method.new aggregate_fleet_config
|
|
788
1032
|
query_database_resource_groups_config = parent_rpcs.query_database_resource_groups if parent_rpcs.respond_to? :query_database_resource_groups
|
|
789
1033
|
@query_database_resource_groups = ::Gapic::Config::Method.new query_database_resource_groups_config
|
|
1034
|
+
aggregate_issue_stats_config = parent_rpcs.aggregate_issue_stats if parent_rpcs.respond_to? :aggregate_issue_stats
|
|
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
|
|
790
1038
|
|
|
791
1039
|
yield self if block_given?
|
|
792
1040
|
end
|
|
@@ -193,6 +193,86 @@ 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
|
+
|
|
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
|
+
|
|
196
276
|
##
|
|
197
277
|
# @private
|
|
198
278
|
#
|
|
@@ -250,6 +330,46 @@ module Google
|
|
|
250
330
|
)
|
|
251
331
|
transcoder.transcode request_pb
|
|
252
332
|
end
|
|
333
|
+
|
|
334
|
+
##
|
|
335
|
+
# @private
|
|
336
|
+
#
|
|
337
|
+
# GRPC transcoding helper method for the aggregate_issue_stats REST call
|
|
338
|
+
#
|
|
339
|
+
# @param request_pb [::Google::Cloud::DatabaseCenter::V1beta::AggregateIssueStatsRequest]
|
|
340
|
+
# A request object representing the call parameters. Required.
|
|
341
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
342
|
+
# Uri, Body, Query string parameters
|
|
343
|
+
def self.transcode_aggregate_issue_stats_request request_pb
|
|
344
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
345
|
+
.with_bindings(
|
|
346
|
+
uri_method: :post,
|
|
347
|
+
uri_template: "/v1beta:aggregateIssueStats",
|
|
348
|
+
body: "*",
|
|
349
|
+
matches: []
|
|
350
|
+
)
|
|
351
|
+
transcoder.transcode request_pb
|
|
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
|
|
253
373
|
end
|
|
254
374
|
end
|
|
255
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\"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\"\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
|
|
|
@@ -57,12 +57,20 @@ 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
|
|
63
67
|
AggregateFleetRow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.AggregateFleetRow").msgclass
|
|
64
68
|
Dimension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.Dimension").msgclass
|
|
65
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
|
|
66
74
|
Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.Tag").msgclass
|
|
67
75
|
ResourceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.ResourceDetails").msgclass
|
|
68
76
|
DeltaDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.databasecenter.v1beta.DeltaDetails").msgclass
|
|
@@ -41,6 +41,11 @@ 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
|
|
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
|
|
44
49
|
end
|
|
45
50
|
|
|
46
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
|