google-cloud-monitoring-dashboard-v1 0.5.1 → 0.6.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/AUTHENTICATION.md +5 -5
- data/README.md +1 -1
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/client.rb +12 -13
- data/lib/google/cloud/monitoring/dashboard/v1/dashboards_service/paths.rb +17 -0
- data/lib/google/cloud/monitoring/dashboard/v1/version.rb +1 -1
- data/lib/google/monitoring/dashboard/v1/alertchart_pb.rb +26 -0
- data/lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb +2 -0
- data/lib/google/monitoring/dashboard/v1/dashboards_service_services_pb.rb +3 -7
- data/lib/google/monitoring/dashboard/v1/widget_pb.rb +2 -0
- data/proto_docs/google/api/distribution.rb +2 -2
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/monitoring/dashboard/v1/alertchart.rb +39 -0
- data/proto_docs/google/monitoring/dashboard/v1/dashboards_service.rb +8 -0
- data/proto_docs/google/monitoring/dashboard/v1/metrics.rb +2 -3
- data/proto_docs/google/monitoring/dashboard/v1/widget.rb +3 -0
- data/proto_docs/google/monitoring/dashboard/v1/xychart.rb +4 -4
- metadata +4 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: d1e84026fed9b96aedb4cf0d2a21db97d825a509242c9f583e7fa79ab2aedae5
         | 
| 4 | 
            +
              data.tar.gz: 64610b3b48ee8ee413c58be2b17223a9acaa8a4e05341742453604b6bf07c2a7
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: d4e752e28822a931d6bafabe58e65344693432891cc10147b855bc4220bffdd17f9e4a1d9e86a846e60277f8e06e900730771f629091581aca41ada3ba82516f
         | 
| 7 | 
            +
              data.tar.gz: fae261f038d4732da68a1428884340e1f782c89e85c76e80cd793f8749ea2534a00a7e440f94a98e9671e3587241ab32e46f5c85bc495dc4af4c65d3e04abfdc
         | 
    
        data/AUTHENTICATION.md
    CHANGED
    
    | @@ -66,11 +66,11 @@ The environment variables that google-cloud-monitoring-dashboard-v1 | |
| 66 66 | 
             
            checks for credentials are configured on the service Credentials class (such as
         | 
| 67 67 | 
             
            {::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Credentials}):
         | 
| 68 68 |  | 
| 69 | 
            -
             | 
| 70 | 
            -
             | 
| 71 | 
            -
             | 
| 72 | 
            -
             | 
| 73 | 
            -
             | 
| 69 | 
            +
            * `MONITORING_DASHBOARD_CREDENTIALS` - Path to JSON file, or JSON contents
         | 
| 70 | 
            +
            * `MONITORING_DASHBOARD_KEYFILE` - Path to JSON file, or JSON contents
         | 
| 71 | 
            +
            * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
         | 
| 72 | 
            +
            * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
         | 
| 73 | 
            +
            * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
         | 
| 74 74 |  | 
| 75 75 | 
             
            ```ruby
         | 
| 76 76 | 
             
            require "google/cloud/monitoring/dashboard/v1"
         | 
    
        data/README.md
    CHANGED
    
    | @@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps: | |
| 33 33 | 
             
            require "google/cloud/monitoring/dashboard/v1"
         | 
| 34 34 |  | 
| 35 35 | 
             
            client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new
         | 
| 36 | 
            -
            request =  | 
| 36 | 
            +
            request = ::Google::Cloud::Monitoring::Dashboard::V1::CreateDashboardRequest.new # (request fields as keyword arguments...)
         | 
| 37 37 | 
             
            response = client.create_dashboard request
         | 
| 38 38 | 
             
            ```
         | 
| 39 39 |  | 
| @@ -69,10 +69,7 @@ module Google | |
| 69 69 |  | 
| 70 70 | 
             
                              default_config.timeout = 30.0
         | 
| 71 71 | 
             
                              default_config.retry_policy = {
         | 
| 72 | 
            -
                                initial_delay: 1.0,
         | 
| 73 | 
            -
                              max_delay: 10.0,
         | 
| 74 | 
            -
                              multiplier: 1.3,
         | 
| 75 | 
            -
                              retry_codes: [14, 2]
         | 
| 72 | 
            +
                                initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 2]
         | 
| 76 73 | 
             
                              }
         | 
| 77 74 |  | 
| 78 75 | 
             
                              default_config.rpcs.create_dashboard.timeout = 30.0
         | 
| @@ -149,7 +146,7 @@ module Google | |
| 149 146 | 
             
                                                     !@config.endpoint.split(".").first.include?("-")
         | 
| 150 147 | 
             
                            credentials ||= Credentials.default scope: @config.scope,
         | 
| 151 148 | 
             
                                                                enable_self_signed_jwt: enable_self_signed_jwt
         | 
| 152 | 
            -
                            if credentials.is_a?(String) || credentials.is_a?(Hash)
         | 
| 149 | 
            +
                            if credentials.is_a?(::String) || credentials.is_a?(::Hash)
         | 
| 153 150 | 
             
                              credentials = Credentials.new credentials, scope: @config.scope
         | 
| 154 151 | 
             
                            end
         | 
| 155 152 | 
             
                            @quota_project_id = @config.quota_project
         | 
| @@ -167,12 +164,8 @@ module Google | |
| 167 164 | 
             
                          # Service calls
         | 
| 168 165 |  | 
| 169 166 | 
             
                          ##
         | 
| 170 | 
            -
                          # Creates a new custom dashboard. For examples on how you can use this API to
         | 
| 171 | 
            -
                          # create  | 
| 172 | 
            -
                          # API](https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the
         | 
| 173 | 
            -
                          # `monitoring.dashboards.create` permission on the specified project. For
         | 
| 174 | 
            -
                          # more information about permissions, see [Cloud Identity and Access
         | 
| 175 | 
            -
                          # Management](https://cloud.google.com/iam).
         | 
| 167 | 
            +
                          # Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see [Managing dashboards by API](/monitoring/dashboards/api-dashboard).
         | 
| 168 | 
            +
                          # This method requires the `monitoring.dashboards.create` permission on the specified project. For more information about permissions, see [Cloud Identity and Access Management](/iam).
         | 
| 176 169 | 
             
                          #
         | 
| 177 170 | 
             
                          # @overload create_dashboard(request, options = nil)
         | 
| 178 171 | 
             
                          #   Pass arguments to `create_dashboard` via a request object, either of type
         | 
| @@ -184,7 +177,7 @@ module Google | |
| 184 177 | 
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         | 
| 185 178 | 
             
                          #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         | 
| 186 179 | 
             
                          #
         | 
| 187 | 
            -
                          # @overload create_dashboard(parent: nil, dashboard: nil)
         | 
| 180 | 
            +
                          # @overload create_dashboard(parent: nil, dashboard: nil, validate_only: nil)
         | 
| 188 181 | 
             
                          #   Pass arguments to `create_dashboard` via keyword arguments. Note that at
         | 
| 189 182 | 
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         | 
| 190 183 | 
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         | 
| @@ -197,6 +190,9 @@ module Google | |
| 197 190 | 
             
                          #     The `[PROJECT_ID_OR_NUMBER]` must match the dashboard resource name.
         | 
| 198 191 | 
             
                          #   @param dashboard [::Google::Cloud::Monitoring::Dashboard::V1::Dashboard, ::Hash]
         | 
| 199 192 | 
             
                          #     Required. The initial dashboard specification.
         | 
| 193 | 
            +
                          #   @param validate_only [::Boolean]
         | 
| 194 | 
            +
                          #     If set, validate the request and preview the review, but do not actually
         | 
| 195 | 
            +
                          #     save it.
         | 
| 200 196 | 
             
                          #
         | 
| 201 197 | 
             
                          # @yield [response, operation] Access the result along with the RPC operation
         | 
| 202 198 | 
             
                          # @yieldparam response [::Google::Cloud::Monitoring::Dashboard::V1::Dashboard]
         | 
| @@ -486,13 +482,16 @@ module Google | |
| 486 482 | 
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         | 
| 487 483 | 
             
                          #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         | 
| 488 484 | 
             
                          #
         | 
| 489 | 
            -
                          # @overload update_dashboard(dashboard: nil)
         | 
| 485 | 
            +
                          # @overload update_dashboard(dashboard: nil, validate_only: nil)
         | 
| 490 486 | 
             
                          #   Pass arguments to `update_dashboard` via keyword arguments. Note that at
         | 
| 491 487 | 
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         | 
| 492 488 | 
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         | 
| 493 489 | 
             
                          #
         | 
| 494 490 | 
             
                          #   @param dashboard [::Google::Cloud::Monitoring::Dashboard::V1::Dashboard, ::Hash]
         | 
| 495 491 | 
             
                          #     Required. The dashboard that will replace the existing dashboard.
         | 
| 492 | 
            +
                          #   @param validate_only [::Boolean]
         | 
| 493 | 
            +
                          #     If set, validate the request and preview the review, but do not actually
         | 
| 494 | 
            +
                          #     save it.
         | 
| 496 495 | 
             
                          #
         | 
| 497 496 | 
             
                          # @yield [response, operation] Access the result along with the RPC operation
         | 
| 498 497 | 
             
                          # @yieldparam response [::Google::Cloud::Monitoring::Dashboard::V1::Dashboard]
         | 
| @@ -25,6 +25,23 @@ module Google | |
| 25 25 | 
             
                      module DashboardsService
         | 
| 26 26 | 
             
                        # Path helper methods for the DashboardsService API.
         | 
| 27 27 | 
             
                        module Paths
         | 
| 28 | 
            +
                          ##
         | 
| 29 | 
            +
                          # Create a fully-qualified AlertPolicy resource string.
         | 
| 30 | 
            +
                          #
         | 
| 31 | 
            +
                          # The resource will be in the following format:
         | 
| 32 | 
            +
                          #
         | 
| 33 | 
            +
                          # `projects/{project}/alertPolicies/{alert_policy}`
         | 
| 34 | 
            +
                          #
         | 
| 35 | 
            +
                          # @param project [String]
         | 
| 36 | 
            +
                          # @param alert_policy [String]
         | 
| 37 | 
            +
                          #
         | 
| 38 | 
            +
                          # @return [::String]
         | 
| 39 | 
            +
                          def alert_policy_path project:, alert_policy:
         | 
| 40 | 
            +
                            raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
         | 
| 41 | 
            +
             | 
| 42 | 
            +
                            "projects/#{project}/alertPolicies/#{alert_policy}"
         | 
| 43 | 
            +
                          end
         | 
| 44 | 
            +
             | 
| 28 45 | 
             
                          ##
         | 
| 29 46 | 
             
                          # Create a fully-qualified Dashboard resource string.
         | 
| 30 47 | 
             
                          #
         | 
| @@ -0,0 +1,26 @@ | |
| 1 | 
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 | 
            +
            # source: google/monitoring/dashboard/v1/alertchart.proto
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'google/protobuf'
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            require 'google/api/field_behavior_pb'
         | 
| 7 | 
            +
            require 'google/api/resource_pb'
         | 
| 8 | 
            +
            Google::Protobuf::DescriptorPool.generated_pool.build do
         | 
| 9 | 
            +
              add_file("google/monitoring/dashboard/v1/alertchart.proto", :syntax => :proto3) do
         | 
| 10 | 
            +
                add_message "google.monitoring.dashboard.v1.AlertChart" do
         | 
| 11 | 
            +
                  optional :name, :string, 1
         | 
| 12 | 
            +
                end
         | 
| 13 | 
            +
              end
         | 
| 14 | 
            +
            end
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            module Google
         | 
| 17 | 
            +
              module Cloud
         | 
| 18 | 
            +
                module Monitoring
         | 
| 19 | 
            +
                  module Dashboard
         | 
| 20 | 
            +
                    module V1
         | 
| 21 | 
            +
                      AlertChart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.AlertChart").msgclass
         | 
| 22 | 
            +
                    end
         | 
| 23 | 
            +
                  end
         | 
| 24 | 
            +
                end
         | 
| 25 | 
            +
              end
         | 
| 26 | 
            +
            end
         | 
| @@ -15,6 +15,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 15 15 | 
             
                add_message "google.monitoring.dashboard.v1.CreateDashboardRequest" do
         | 
| 16 16 | 
             
                  optional :parent, :string, 1
         | 
| 17 17 | 
             
                  optional :dashboard, :message, 2, "google.monitoring.dashboard.v1.Dashboard"
         | 
| 18 | 
            +
                  optional :validate_only, :bool, 3
         | 
| 18 19 | 
             
                end
         | 
| 19 20 | 
             
                add_message "google.monitoring.dashboard.v1.ListDashboardsRequest" do
         | 
| 20 21 | 
             
                  optional :parent, :string, 1
         | 
| @@ -33,6 +34,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 33 34 | 
             
                end
         | 
| 34 35 | 
             
                add_message "google.monitoring.dashboard.v1.UpdateDashboardRequest" do
         | 
| 35 36 | 
             
                  optional :dashboard, :message, 1, "google.monitoring.dashboard.v1.Dashboard"
         | 
| 37 | 
            +
                  optional :validate_only, :bool, 3
         | 
| 36 38 | 
             
                end
         | 
| 37 39 | 
             
              end
         | 
| 38 40 | 
             
            end
         | 
| @@ -29,18 +29,14 @@ module Google | |
| 29 29 | 
             
                        # widgets in a specific layout.
         | 
| 30 30 | 
             
                        class Service
         | 
| 31 31 |  | 
| 32 | 
            -
                          include  | 
| 32 | 
            +
                          include GRPC::GenericService
         | 
| 33 33 |  | 
| 34 34 | 
             
                          self.marshal_class_method = :encode
         | 
| 35 35 | 
             
                          self.unmarshal_class_method = :decode
         | 
| 36 36 | 
             
                          self.service_name = 'google.monitoring.dashboard.v1.DashboardsService'
         | 
| 37 37 |  | 
| 38 | 
            -
                          # Creates a new custom dashboard. For examples on how you can use this API to
         | 
| 39 | 
            -
                          # create  | 
| 40 | 
            -
                          # API](https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the
         | 
| 41 | 
            -
                          # `monitoring.dashboards.create` permission on the specified project. For
         | 
| 42 | 
            -
                          # more information about permissions, see [Cloud Identity and Access
         | 
| 43 | 
            -
                          # Management](https://cloud.google.com/iam).
         | 
| 38 | 
            +
                          # Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see [Managing dashboards by API](/monitoring/dashboards/api-dashboard).
         | 
| 39 | 
            +
                          # This method requires the `monitoring.dashboards.create` permission on the specified project. For more information about permissions, see [Cloud Identity and Access Management](/iam).
         | 
| 44 40 | 
             
                          rpc :CreateDashboard, ::Google::Cloud::Monitoring::Dashboard::V1::CreateDashboardRequest, ::Google::Cloud::Monitoring::Dashboard::V1::Dashboard
         | 
| 45 41 | 
             
                          # Lists the existing dashboards.
         | 
| 46 42 | 
             
                          #
         | 
| @@ -4,6 +4,7 @@ | |
| 4 4 | 
             
            require 'google/protobuf'
         | 
| 5 5 |  | 
| 6 6 | 
             
            require 'google/api/field_behavior_pb'
         | 
| 7 | 
            +
            require 'google/monitoring/dashboard/v1/alertchart_pb'
         | 
| 7 8 | 
             
            require 'google/monitoring/dashboard/v1/scorecard_pb'
         | 
| 8 9 | 
             
            require 'google/monitoring/dashboard/v1/text_pb'
         | 
| 9 10 | 
             
            require 'google/monitoring/dashboard/v1/xychart_pb'
         | 
| @@ -17,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do | |
| 17 18 | 
             
                    optional :scorecard, :message, 3, "google.monitoring.dashboard.v1.Scorecard"
         | 
| 18 19 | 
             
                    optional :text, :message, 4, "google.monitoring.dashboard.v1.Text"
         | 
| 19 20 | 
             
                    optional :blank, :message, 5, "google.protobuf.Empty"
         | 
| 21 | 
            +
                    optional :alert_chart, :message, 7, "google.monitoring.dashboard.v1.AlertChart"
         | 
| 20 22 | 
             
                  end
         | 
| 21 23 | 
             
                end
         | 
| 22 24 | 
             
              end
         | 
| @@ -49,7 +49,7 @@ module Google | |
| 49 49 | 
             
                #
         | 
| 50 50 | 
             
                #         Sum[i=1..n]((x_i - mean)^2)
         | 
| 51 51 | 
             
                #
         | 
| 52 | 
            -
                #     Knuth, "The Art of Computer Programming", Vol. 2, page  | 
| 52 | 
            +
                #     Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
         | 
| 53 53 | 
             
                #     describes Welford's method for accumulating this sum in one pass.
         | 
| 54 54 | 
             
                #
         | 
| 55 55 | 
             
                #     If `count` is zero then this field must be zero.
         | 
| @@ -207,7 +207,7 @@ module Google | |
| 207 207 | 
             
                  #   @return [::Array<::Google::Protobuf::Any>]
         | 
| 208 208 | 
             
                  #     Contextual information about the example value. Examples are:
         | 
| 209 209 | 
             
                  #
         | 
| 210 | 
            -
                  #       Trace | 
| 210 | 
            +
                  #       Trace: type.googleapis.com/google.monitoring.v3.SpanContext
         | 
| 211 211 | 
             
                  #
         | 
| 212 212 | 
             
                  #       Literal string: type.googleapis.com/google.protobuf.StringValue
         | 
| 213 213 | 
             
                  #
         | 
| @@ -57,9 +57,15 @@ module Google | |
| 57 57 |  | 
| 58 58 | 
             
                  # Denotes that a (repeated) field is an unordered list.
         | 
| 59 59 | 
             
                  # This indicates that the service may provide the elements of the list
         | 
| 60 | 
            -
                  # in any arbitrary | 
| 60 | 
            +
                  # in any arbitrary  order, rather than the order the user originally
         | 
| 61 61 | 
             
                  # provided. Additionally, the list's order may or may not be stable.
         | 
| 62 62 | 
             
                  UNORDERED_LIST = 6
         | 
| 63 | 
            +
             | 
| 64 | 
            +
                  # Denotes that this field returns a non-empty default value if not set.
         | 
| 65 | 
            +
                  # This indicates that if the user provides the empty value in a request,
         | 
| 66 | 
            +
                  # a non-empty value will be returned. The user will not be aware of what
         | 
| 67 | 
            +
                  # non-empty value to expect.
         | 
| 68 | 
            +
                  NON_EMPTY_DEFAULT = 7
         | 
| 63 69 | 
             
                end
         | 
| 64 70 | 
             
              end
         | 
| 65 71 | 
             
            end
         | 
| @@ -0,0 +1,39 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # Copyright 2021 Google LLC
         | 
| 4 | 
            +
            #
         | 
| 5 | 
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         | 
| 6 | 
            +
            # you may not use this file except in compliance with the License.
         | 
| 7 | 
            +
            # You may obtain a copy of the License at
         | 
| 8 | 
            +
            #
         | 
| 9 | 
            +
            #     https://www.apache.org/licenses/LICENSE-2.0
         | 
| 10 | 
            +
            #
         | 
| 11 | 
            +
            # Unless required by applicable law or agreed to in writing, software
         | 
| 12 | 
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         | 
| 13 | 
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         | 
| 14 | 
            +
            # See the License for the specific language governing permissions and
         | 
| 15 | 
            +
            # limitations under the License.
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         | 
| 18 | 
            +
             | 
| 19 | 
            +
             | 
| 20 | 
            +
            module Google
         | 
| 21 | 
            +
              module Cloud
         | 
| 22 | 
            +
                module Monitoring
         | 
| 23 | 
            +
                  module Dashboard
         | 
| 24 | 
            +
                    module V1
         | 
| 25 | 
            +
                      # A chart that displays alert policy data.
         | 
| 26 | 
            +
                      # @!attribute [rw] name
         | 
| 27 | 
            +
                      #   @return [::String]
         | 
| 28 | 
            +
                      #     Required. The resource name of the alert policy. The format is:
         | 
| 29 | 
            +
                      #
         | 
| 30 | 
            +
                      #         projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
         | 
| 31 | 
            +
                      class AlertChart
         | 
| 32 | 
            +
                        include ::Google::Protobuf::MessageExts
         | 
| 33 | 
            +
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 34 | 
            +
                      end
         | 
| 35 | 
            +
                    end
         | 
| 36 | 
            +
                  end
         | 
| 37 | 
            +
                end
         | 
| 38 | 
            +
              end
         | 
| 39 | 
            +
            end
         | 
| @@ -33,6 +33,10 @@ module Google | |
| 33 33 | 
             
                      # @!attribute [rw] dashboard
         | 
| 34 34 | 
             
                      #   @return [::Google::Cloud::Monitoring::Dashboard::V1::Dashboard]
         | 
| 35 35 | 
             
                      #     Required. The initial dashboard specification.
         | 
| 36 | 
            +
                      # @!attribute [rw] validate_only
         | 
| 37 | 
            +
                      #   @return [::Boolean]
         | 
| 38 | 
            +
                      #     If set, validate the request and preview the review, but do not actually
         | 
| 39 | 
            +
                      #     save it.
         | 
| 36 40 | 
             
                      class CreateDashboardRequest
         | 
| 37 41 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 38 42 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -100,6 +104,10 @@ module Google | |
| 100 104 | 
             
                      # @!attribute [rw] dashboard
         | 
| 101 105 | 
             
                      #   @return [::Google::Cloud::Monitoring::Dashboard::V1::Dashboard]
         | 
| 102 106 | 
             
                      #     Required. The dashboard that will replace the existing dashboard.
         | 
| 107 | 
            +
                      # @!attribute [rw] validate_only
         | 
| 108 | 
            +
                      #   @return [::Boolean]
         | 
| 109 | 
            +
                      #     If set, validate the request and preview the review, but do not actually
         | 
| 110 | 
            +
                      #     save it.
         | 
| 103 111 | 
             
                      class UpdateDashboardRequest
         | 
| 104 112 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 105 113 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -51,9 +51,8 @@ module Google | |
| 51 51 | 
             
                      # method.
         | 
| 52 52 | 
             
                      # @!attribute [rw] filter
         | 
| 53 53 | 
             
                      #   @return [::String]
         | 
| 54 | 
            -
                      #     Required. The [monitoring
         | 
| 55 | 
            -
                      #      | 
| 56 | 
            -
                      #     the metric types, resources, and projects to query.
         | 
| 54 | 
            +
                      #     Required. The [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
         | 
| 55 | 
            +
                      #     that identifies the metric types, resources, and projects to query.
         | 
| 57 56 | 
             
                      # @!attribute [rw] aggregation
         | 
| 58 57 | 
             
                      #   @return [::Google::Cloud::Monitoring::Dashboard::V1::Aggregation]
         | 
| 59 58 | 
             
                      #     By default, the raw time series data is returned.
         | 
| @@ -39,6 +39,9 @@ module Google | |
| 39 39 | 
             
                      # @!attribute [rw] blank
         | 
| 40 40 | 
             
                      #   @return [::Google::Protobuf::Empty]
         | 
| 41 41 | 
             
                      #     A blank space.
         | 
| 42 | 
            +
                      # @!attribute [rw] alert_chart
         | 
| 43 | 
            +
                      #   @return [::Google::Cloud::Monitoring::Dashboard::V1::AlertChart]
         | 
| 44 | 
            +
                      #     A chart of alert policy data.
         | 
| 42 45 | 
             
                      class Widget
         | 
| 43 46 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 44 47 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -64,10 +64,10 @@ module Google | |
| 64 64 | 
             
                        #     which will resolve to the label's value.
         | 
| 65 65 | 
             
                        # @!attribute [rw] min_alignment_period
         | 
| 66 66 | 
             
                        #   @return [::Google::Protobuf::Duration]
         | 
| 67 | 
            -
                        #     Optional. The lower bound on data point frequency for this data set,
         | 
| 68 | 
            -
                        #      | 
| 69 | 
            -
                        #      | 
| 70 | 
            -
                        #      | 
| 67 | 
            +
                        #     Optional. The lower bound on data point frequency for this data set, implemented by
         | 
| 68 | 
            +
                        #     specifying the minimum alignment period to use in a time series query
         | 
| 69 | 
            +
                        #     For example, if the data is published once every 10 minutes, the
         | 
| 70 | 
            +
                        #     `min_alignment_period` should be at least 10 minutes. It would not
         | 
| 71 71 | 
             
                        #     make sense to fetch and align data at one minute intervals.
         | 
| 72 72 | 
             
                        class DataSet
         | 
| 73 73 | 
             
                          include ::Google::Protobuf::MessageExts
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-monitoring-dashboard-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.6.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2021- | 
| 11 | 
            +
            date: 2021-07-08 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: gapic-common
         | 
| @@ -178,6 +178,7 @@ files: | |
| 178 178 | 
             
            - lib/google/cloud/monitoring/dashboard/v1/dashboards_service/credentials.rb
         | 
| 179 179 | 
             
            - lib/google/cloud/monitoring/dashboard/v1/dashboards_service/paths.rb
         | 
| 180 180 | 
             
            - lib/google/cloud/monitoring/dashboard/v1/version.rb
         | 
| 181 | 
            +
            - lib/google/monitoring/dashboard/v1/alertchart_pb.rb
         | 
| 181 182 | 
             
            - lib/google/monitoring/dashboard/v1/common_pb.rb
         | 
| 182 183 | 
             
            - lib/google/monitoring/dashboard/v1/dashboard_pb.rb
         | 
| 183 184 | 
             
            - lib/google/monitoring/dashboard/v1/dashboards_service_pb.rb
         | 
| @@ -194,6 +195,7 @@ files: | |
| 194 195 | 
             
            - proto_docs/google/api/distribution.rb
         | 
| 195 196 | 
             
            - proto_docs/google/api/field_behavior.rb
         | 
| 196 197 | 
             
            - proto_docs/google/api/resource.rb
         | 
| 198 | 
            +
            - proto_docs/google/monitoring/dashboard/v1/alertchart.rb
         | 
| 197 199 | 
             
            - proto_docs/google/monitoring/dashboard/v1/common.rb
         | 
| 198 200 | 
             
            - proto_docs/google/monitoring/dashboard/v1/dashboard.rb
         | 
| 199 201 | 
             
            - proto_docs/google/monitoring/dashboard/v1/dashboards_service.rb
         |