google-apis-monitoring_v1 0.6.0 → 0.10.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/CHANGELOG.md +18 -0
- data/lib/google/apis/monitoring_v1.rb +2 -1
- data/lib/google/apis/monitoring_v1/classes.rb +159 -0
- data/lib/google/apis/monitoring_v1/gem_version.rb +3 -3
- data/lib/google/apis/monitoring_v1/representations.rb +63 -0
- data/lib/google/apis/monitoring_v1/service.rb +38 -4
- metadata +13 -7
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 117c3bf79a45ece85be2d9e255f427e4db7cb8884d9aed0ce44dbd85e7e5fe2d
         | 
| 4 | 
            +
              data.tar.gz: 12ba177729be73c4761a9678c11c22c4dbeb769460619691ae0c2d80c60ff21b
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 206d67d3927a318745f52a5c1712a394e1db279960080c6cfbd99e2b1d24978af7197a1495f9ab46b34c7b50a93bbb8e04048ef8ea3fcd8c3333e90df1caf571
         | 
| 7 | 
            +
              data.tar.gz: ce0e5d87d44c201f3cb75d7821c3f5d76d5da0d90b14a2c25c324ac3519324bd00ceea5b04e33e9c351180a7f3534878c6d141eb46637fd03026bf5935afbc52
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,23 @@ | |
| 1 1 | 
             
            # Release history for google-apis-monitoring_v1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.10.0 (2021-07-16)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20210712
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.9.0 (2021-07-02)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20210625
         | 
| 10 | 
            +
            * Regenerated using generator version 0.4.0
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            ### v0.8.0 (2021-06-24)
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            * Unspecified changes
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            ### v0.7.0 (2021-06-18)
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            * Regenerated from discovery document revision 20210614
         | 
| 19 | 
            +
            * Regenerated using generator version 0.3.0
         | 
| 20 | 
            +
             | 
| 3 21 | 
             
            ### v0.6.0 (2021-05-19)
         | 
| 4 22 |  | 
| 5 23 | 
             
            * Unspecified changes
         | 
| @@ -25,7 +25,8 @@ module Google | |
| 25 25 | 
             
                # associated with a Workspace, with a few exceptions as noted on the individual
         | 
| 26 26 | 
             
                # method pages. The table entries below are presented in alphabetical order, not
         | 
| 27 27 | 
             
                # in order of common use. For explanations of the concepts found in the table
         | 
| 28 | 
            -
                # entries, read the Cloud Monitoring documentation.
         | 
| 28 | 
            +
                # entries, read the Cloud Monitoring documentation (https://cloud.google.com/
         | 
| 29 | 
            +
                # monitoring/docs).
         | 
| 29 30 | 
             
                #
         | 
| 30 31 | 
             
                # @see https://cloud.google.com/monitoring/api/
         | 
| 31 32 | 
             
                module MonitoringV1
         | 
| @@ -116,6 +116,26 @@ module Google | |
| 116 116 | 
             
                    end
         | 
| 117 117 | 
             
                  end
         | 
| 118 118 |  | 
| 119 | 
            +
                  # A chart that displays alert policy data.
         | 
| 120 | 
            +
                  class AlertChart
         | 
| 121 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 122 | 
            +
                  
         | 
| 123 | 
            +
                    # Required. The resource name of the alert policy. The format is: projects/[
         | 
| 124 | 
            +
                    # PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
         | 
| 125 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 126 | 
            +
                    # @return [String]
         | 
| 127 | 
            +
                    attr_accessor :name
         | 
| 128 | 
            +
                  
         | 
| 129 | 
            +
                    def initialize(**args)
         | 
| 130 | 
            +
                       update!(**args)
         | 
| 131 | 
            +
                    end
         | 
| 132 | 
            +
                  
         | 
| 133 | 
            +
                    # Update properties of this object
         | 
| 134 | 
            +
                    def update!(**args)
         | 
| 135 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 136 | 
            +
                    end
         | 
| 137 | 
            +
                  end
         | 
| 138 | 
            +
                  
         | 
| 119 139 | 
             
                  # A chart axis.
         | 
| 120 140 | 
             
                  class Axis
         | 
| 121 141 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -552,6 +572,100 @@ module Google | |
| 552 572 | 
             
                    end
         | 
| 553 573 | 
             
                  end
         | 
| 554 574 |  | 
| 575 | 
            +
                  # This resource represents a long-running operation that is the result of a
         | 
| 576 | 
            +
                  # network API call.
         | 
| 577 | 
            +
                  class Operation
         | 
| 578 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 579 | 
            +
                  
         | 
| 580 | 
            +
                    # If the value is false, it means the operation is still in progress. If true,
         | 
| 581 | 
            +
                    # the operation is completed, and either error or response is available.
         | 
| 582 | 
            +
                    # Corresponds to the JSON property `done`
         | 
| 583 | 
            +
                    # @return [Boolean]
         | 
| 584 | 
            +
                    attr_accessor :done
         | 
| 585 | 
            +
                    alias_method :done?, :done
         | 
| 586 | 
            +
                  
         | 
| 587 | 
            +
                    # The Status type defines a logical error model that is suitable for different
         | 
| 588 | 
            +
                    # programming environments, including REST APIs and RPC APIs. It is used by gRPC
         | 
| 589 | 
            +
                    # (https://github.com/grpc). Each Status message contains three pieces of data:
         | 
| 590 | 
            +
                    # error code, error message, and error details.You can find out more about this
         | 
| 591 | 
            +
                    # error model and how to work with it in the API Design Guide (https://cloud.
         | 
| 592 | 
            +
                    # google.com/apis/design/errors).
         | 
| 593 | 
            +
                    # Corresponds to the JSON property `error`
         | 
| 594 | 
            +
                    # @return [Google::Apis::MonitoringV1::Status]
         | 
| 595 | 
            +
                    attr_accessor :error
         | 
| 596 | 
            +
                  
         | 
| 597 | 
            +
                    # Service-specific metadata associated with the operation. It typically contains
         | 
| 598 | 
            +
                    # progress information and common metadata such as create time. Some services
         | 
| 599 | 
            +
                    # might not provide such metadata. Any method that returns a long-running
         | 
| 600 | 
            +
                    # operation should document the metadata type, if any.
         | 
| 601 | 
            +
                    # Corresponds to the JSON property `metadata`
         | 
| 602 | 
            +
                    # @return [Hash<String,Object>]
         | 
| 603 | 
            +
                    attr_accessor :metadata
         | 
| 604 | 
            +
                  
         | 
| 605 | 
            +
                    # The server-assigned name, which is only unique within the same service that
         | 
| 606 | 
            +
                    # originally returns it. If you use the default HTTP mapping, the name should be
         | 
| 607 | 
            +
                    # a resource name ending with operations/`unique_id`.
         | 
| 608 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 609 | 
            +
                    # @return [String]
         | 
| 610 | 
            +
                    attr_accessor :name
         | 
| 611 | 
            +
                  
         | 
| 612 | 
            +
                    # The normal response of the operation in case of success. If the original
         | 
| 613 | 
            +
                    # method returns no data on success, such as Delete, the response is google.
         | 
| 614 | 
            +
                    # protobuf.Empty. If the original method is standard Get/Create/Update, the
         | 
| 615 | 
            +
                    # response should be the resource. For other methods, the response should have
         | 
| 616 | 
            +
                    # the type XxxResponse, where Xxx is the original method name. For example, if
         | 
| 617 | 
            +
                    # the original method name is TakeSnapshot(), the inferred response type is
         | 
| 618 | 
            +
                    # TakeSnapshotResponse.
         | 
| 619 | 
            +
                    # Corresponds to the JSON property `response`
         | 
| 620 | 
            +
                    # @return [Hash<String,Object>]
         | 
| 621 | 
            +
                    attr_accessor :response
         | 
| 622 | 
            +
                  
         | 
| 623 | 
            +
                    def initialize(**args)
         | 
| 624 | 
            +
                       update!(**args)
         | 
| 625 | 
            +
                    end
         | 
| 626 | 
            +
                  
         | 
| 627 | 
            +
                    # Update properties of this object
         | 
| 628 | 
            +
                    def update!(**args)
         | 
| 629 | 
            +
                      @done = args[:done] if args.key?(:done)
         | 
| 630 | 
            +
                      @error = args[:error] if args.key?(:error)
         | 
| 631 | 
            +
                      @metadata = args[:metadata] if args.key?(:metadata)
         | 
| 632 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 633 | 
            +
                      @response = args[:response] if args.key?(:response)
         | 
| 634 | 
            +
                    end
         | 
| 635 | 
            +
                  end
         | 
| 636 | 
            +
                  
         | 
| 637 | 
            +
                  # Contains metadata for longrunning operation for the edit Metrics Scope
         | 
| 638 | 
            +
                  # endpoints.
         | 
| 639 | 
            +
                  class OperationMetadata
         | 
| 640 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 641 | 
            +
                  
         | 
| 642 | 
            +
                    # The time when the batch request was received.
         | 
| 643 | 
            +
                    # Corresponds to the JSON property `createTime`
         | 
| 644 | 
            +
                    # @return [String]
         | 
| 645 | 
            +
                    attr_accessor :create_time
         | 
| 646 | 
            +
                  
         | 
| 647 | 
            +
                    # Current state of the batch operation.
         | 
| 648 | 
            +
                    # Corresponds to the JSON property `state`
         | 
| 649 | 
            +
                    # @return [String]
         | 
| 650 | 
            +
                    attr_accessor :state
         | 
| 651 | 
            +
                  
         | 
| 652 | 
            +
                    # The time when the operation result was last updated.
         | 
| 653 | 
            +
                    # Corresponds to the JSON property `updateTime`
         | 
| 654 | 
            +
                    # @return [String]
         | 
| 655 | 
            +
                    attr_accessor :update_time
         | 
| 656 | 
            +
                  
         | 
| 657 | 
            +
                    def initialize(**args)
         | 
| 658 | 
            +
                       update!(**args)
         | 
| 659 | 
            +
                    end
         | 
| 660 | 
            +
                  
         | 
| 661 | 
            +
                    # Update properties of this object
         | 
| 662 | 
            +
                    def update!(**args)
         | 
| 663 | 
            +
                      @create_time = args[:create_time] if args.key?(:create_time)
         | 
| 664 | 
            +
                      @state = args[:state] if args.key?(:state)
         | 
| 665 | 
            +
                      @update_time = args[:update_time] if args.key?(:update_time)
         | 
| 666 | 
            +
                    end
         | 
| 667 | 
            +
                  end
         | 
| 668 | 
            +
                  
         | 
| 555 669 | 
             
                  # A protocol buffer option, which can be attached to a message, field,
         | 
| 556 670 | 
             
                  # enumeration, etc.
         | 
| 557 671 | 
             
                  class Option
         | 
| @@ -880,6 +994,45 @@ module Google | |
| 880 994 | 
             
                    end
         | 
| 881 995 | 
             
                  end
         | 
| 882 996 |  | 
| 997 | 
            +
                  # The Status type defines a logical error model that is suitable for different
         | 
| 998 | 
            +
                  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
         | 
| 999 | 
            +
                  # (https://github.com/grpc). Each Status message contains three pieces of data:
         | 
| 1000 | 
            +
                  # error code, error message, and error details.You can find out more about this
         | 
| 1001 | 
            +
                  # error model and how to work with it in the API Design Guide (https://cloud.
         | 
| 1002 | 
            +
                  # google.com/apis/design/errors).
         | 
| 1003 | 
            +
                  class Status
         | 
| 1004 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1005 | 
            +
                  
         | 
| 1006 | 
            +
                    # The status code, which should be an enum value of google.rpc.Code.
         | 
| 1007 | 
            +
                    # Corresponds to the JSON property `code`
         | 
| 1008 | 
            +
                    # @return [Fixnum]
         | 
| 1009 | 
            +
                    attr_accessor :code
         | 
| 1010 | 
            +
                  
         | 
| 1011 | 
            +
                    # A list of messages that carry the error details. There is a common set of
         | 
| 1012 | 
            +
                    # message types for APIs to use.
         | 
| 1013 | 
            +
                    # Corresponds to the JSON property `details`
         | 
| 1014 | 
            +
                    # @return [Array<Hash<String,Object>>]
         | 
| 1015 | 
            +
                    attr_accessor :details
         | 
| 1016 | 
            +
                  
         | 
| 1017 | 
            +
                    # A developer-facing error message, which should be in English. Any user-facing
         | 
| 1018 | 
            +
                    # error message should be localized and sent in the google.rpc.Status.details
         | 
| 1019 | 
            +
                    # field, or localized by the client.
         | 
| 1020 | 
            +
                    # Corresponds to the JSON property `message`
         | 
| 1021 | 
            +
                    # @return [String]
         | 
| 1022 | 
            +
                    attr_accessor :message
         | 
| 1023 | 
            +
                  
         | 
| 1024 | 
            +
                    def initialize(**args)
         | 
| 1025 | 
            +
                       update!(**args)
         | 
| 1026 | 
            +
                    end
         | 
| 1027 | 
            +
                  
         | 
| 1028 | 
            +
                    # Update properties of this object
         | 
| 1029 | 
            +
                    def update!(**args)
         | 
| 1030 | 
            +
                      @code = args[:code] if args.key?(:code)
         | 
| 1031 | 
            +
                      @details = args[:details] if args.key?(:details)
         | 
| 1032 | 
            +
                      @message = args[:message] if args.key?(:message)
         | 
| 1033 | 
            +
                    end
         | 
| 1034 | 
            +
                  end
         | 
| 1035 | 
            +
                  
         | 
| 883 1036 | 
             
                  # A widget that displays textual content.
         | 
| 884 1037 | 
             
                  class Text
         | 
| 885 1038 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -1260,6 +1413,11 @@ module Google | |
| 1260 1413 | 
             
                  class Widget
         | 
| 1261 1414 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 1262 1415 |  | 
| 1416 | 
            +
                    # A chart that displays alert policy data.
         | 
| 1417 | 
            +
                    # Corresponds to the JSON property `alertChart`
         | 
| 1418 | 
            +
                    # @return [Google::Apis::MonitoringV1::AlertChart]
         | 
| 1419 | 
            +
                    attr_accessor :alert_chart
         | 
| 1420 | 
            +
                  
         | 
| 1263 1421 | 
             
                    # A generic empty message that you can re-use to avoid defining duplicated empty
         | 
| 1264 1422 | 
             
                    # messages in your APIs. A typical example is to use it as the request or the
         | 
| 1265 1423 | 
             
                    # response type of an API method. For instance: service Foo ` rpc Bar(google.
         | 
| @@ -1296,6 +1454,7 @@ module Google | |
| 1296 1454 |  | 
| 1297 1455 | 
             
                    # Update properties of this object
         | 
| 1298 1456 | 
             
                    def update!(**args)
         | 
| 1457 | 
            +
                      @alert_chart = args[:alert_chart] if args.key?(:alert_chart)
         | 
| 1299 1458 | 
             
                      @blank = args[:blank] if args.key?(:blank)
         | 
| 1300 1459 | 
             
                      @scorecard = args[:scorecard] if args.key?(:scorecard)
         | 
| 1301 1460 | 
             
                      @text = args[:text] if args.key?(:text)
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module MonitoringV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-monitoring_v1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.10.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 | 
            -
                  GENERATOR_VERSION = "0. | 
| 22 | 
            +
                  GENERATOR_VERSION = "0.4.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20210712"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -28,6 +28,12 @@ module Google | |
| 28 28 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 29 29 | 
             
                  end
         | 
| 30 30 |  | 
| 31 | 
            +
                  class AlertChart
         | 
| 32 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 33 | 
            +
                  
         | 
| 34 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 35 | 
            +
                  end
         | 
| 36 | 
            +
                  
         | 
| 31 37 | 
             
                  class Axis
         | 
| 32 38 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 33 39 |  | 
| @@ -106,6 +112,18 @@ module Google | |
| 106 112 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 107 113 | 
             
                  end
         | 
| 108 114 |  | 
| 115 | 
            +
                  class Operation
         | 
| 116 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 117 | 
            +
                  
         | 
| 118 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 119 | 
            +
                  end
         | 
| 120 | 
            +
                  
         | 
| 121 | 
            +
                  class OperationMetadata
         | 
| 122 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 123 | 
            +
                  
         | 
| 124 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 125 | 
            +
                  end
         | 
| 126 | 
            +
                  
         | 
| 109 127 | 
             
                  class Option
         | 
| 110 128 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 111 129 |  | 
| @@ -166,6 +184,12 @@ module Google | |
| 166 184 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 167 185 | 
             
                  end
         | 
| 168 186 |  | 
| 187 | 
            +
                  class Status
         | 
| 188 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 189 | 
            +
                  
         | 
| 190 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 191 | 
            +
                  end
         | 
| 192 | 
            +
                  
         | 
| 169 193 | 
             
                  class Text
         | 
| 170 194 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 171 195 |  | 
| @@ -230,6 +254,13 @@ module Google | |
| 230 254 | 
             
                    end
         | 
| 231 255 | 
             
                  end
         | 
| 232 256 |  | 
| 257 | 
            +
                  class AlertChart
         | 
| 258 | 
            +
                    # @private
         | 
| 259 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 260 | 
            +
                      property :name, as: 'name'
         | 
| 261 | 
            +
                    end
         | 
| 262 | 
            +
                  end
         | 
| 263 | 
            +
                  
         | 
| 233 264 | 
             
                  class Axis
         | 
| 234 265 | 
             
                    # @private
         | 
| 235 266 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -355,6 +386,27 @@ module Google | |
| 355 386 | 
             
                    end
         | 
| 356 387 | 
             
                  end
         | 
| 357 388 |  | 
| 389 | 
            +
                  class Operation
         | 
| 390 | 
            +
                    # @private
         | 
| 391 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 392 | 
            +
                      property :done, as: 'done'
         | 
| 393 | 
            +
                      property :error, as: 'error', class: Google::Apis::MonitoringV1::Status, decorator: Google::Apis::MonitoringV1::Status::Representation
         | 
| 394 | 
            +
                  
         | 
| 395 | 
            +
                      hash :metadata, as: 'metadata'
         | 
| 396 | 
            +
                      property :name, as: 'name'
         | 
| 397 | 
            +
                      hash :response, as: 'response'
         | 
| 398 | 
            +
                    end
         | 
| 399 | 
            +
                  end
         | 
| 400 | 
            +
                  
         | 
| 401 | 
            +
                  class OperationMetadata
         | 
| 402 | 
            +
                    # @private
         | 
| 403 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 404 | 
            +
                      property :create_time, as: 'createTime'
         | 
| 405 | 
            +
                      property :state, as: 'state'
         | 
| 406 | 
            +
                      property :update_time, as: 'updateTime'
         | 
| 407 | 
            +
                    end
         | 
| 408 | 
            +
                  end
         | 
| 409 | 
            +
                  
         | 
| 358 410 | 
             
                  class Option
         | 
| 359 411 | 
             
                    # @private
         | 
| 360 412 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -442,6 +494,15 @@ module Google | |
| 442 494 | 
             
                    end
         | 
| 443 495 | 
             
                  end
         | 
| 444 496 |  | 
| 497 | 
            +
                  class Status
         | 
| 498 | 
            +
                    # @private
         | 
| 499 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 500 | 
            +
                      property :code, as: 'code'
         | 
| 501 | 
            +
                      collection :details, as: 'details'
         | 
| 502 | 
            +
                      property :message, as: 'message'
         | 
| 503 | 
            +
                    end
         | 
| 504 | 
            +
                  end
         | 
| 505 | 
            +
                  
         | 
| 445 506 | 
             
                  class Text
         | 
| 446 507 | 
             
                    # @private
         | 
| 447 508 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -533,6 +594,8 @@ module Google | |
| 533 594 | 
             
                  class Widget
         | 
| 534 595 | 
             
                    # @private
         | 
| 535 596 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 597 | 
            +
                      property :alert_chart, as: 'alertChart', class: Google::Apis::MonitoringV1::AlertChart, decorator: Google::Apis::MonitoringV1::AlertChart::Representation
         | 
| 598 | 
            +
                  
         | 
| 536 599 | 
             
                      property :blank, as: 'blank', class: Google::Apis::MonitoringV1::Empty, decorator: Google::Apis::MonitoringV1::Empty::Representation
         | 
| 537 600 |  | 
| 538 601 | 
             
                      property :scorecard, as: 'scorecard', class: Google::Apis::MonitoringV1::Scorecard, decorator: Google::Apis::MonitoringV1::Scorecard::Representation
         | 
| @@ -26,7 +26,8 @@ module Google | |
| 26 26 | 
             
                  #  associated with a Workspace, with a few exceptions as noted on the individual
         | 
| 27 27 | 
             
                  #  method pages. The table entries below are presented in alphabetical order, not
         | 
| 28 28 | 
             
                  #  in order of common use. For explanations of the concepts found in the table
         | 
| 29 | 
            -
                  #  entries, read the Cloud Monitoring documentation.
         | 
| 29 | 
            +
                  #  entries, read the Cloud Monitoring documentation (https://cloud.google.com/
         | 
| 30 | 
            +
                  #  monitoring/docs).
         | 
| 30 31 | 
             
                  #
         | 
| 31 32 | 
             
                  # @example
         | 
| 32 33 | 
             
                  #    require 'google/apis/monitoring_v1'
         | 
| @@ -53,10 +54,43 @@ module Google | |
| 53 54 | 
             
                      @batch_path = 'batch'
         | 
| 54 55 | 
             
                    end
         | 
| 55 56 |  | 
| 57 | 
            +
                    # Gets the latest state of a long-running operation. Clients can use this method
         | 
| 58 | 
            +
                    # to poll the operation result at intervals as recommended by the API service.
         | 
| 59 | 
            +
                    # @param [String] name
         | 
| 60 | 
            +
                    #   The name of the operation resource.
         | 
| 61 | 
            +
                    # @param [String] fields
         | 
| 62 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 63 | 
            +
                    # @param [String] quota_user
         | 
| 64 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 65 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 66 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 67 | 
            +
                    #   Request-specific options
         | 
| 68 | 
            +
                    #
         | 
| 69 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 70 | 
            +
                    # @yieldparam result [Google::Apis::MonitoringV1::Operation] parsed result object
         | 
| 71 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 72 | 
            +
                    #
         | 
| 73 | 
            +
                    # @return [Google::Apis::MonitoringV1::Operation]
         | 
| 74 | 
            +
                    #
         | 
| 75 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 76 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 77 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 78 | 
            +
                    def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 79 | 
            +
                      command = make_simple_command(:get, 'v1/{+name}', options)
         | 
| 80 | 
            +
                      command.response_representation = Google::Apis::MonitoringV1::Operation::Representation
         | 
| 81 | 
            +
                      command.response_class = Google::Apis::MonitoringV1::Operation
         | 
| 82 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 83 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 84 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 85 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 86 | 
            +
                    end
         | 
| 87 | 
            +
                    
         | 
| 56 88 | 
             
                    # Creates a new custom dashboard. For examples on how you can use this API to
         | 
| 57 | 
            -
                    # create dashboards, see Managing dashboards by API. | 
| 58 | 
            -
                    # monitoring | 
| 59 | 
            -
                    #  | 
| 89 | 
            +
                    # create dashboards, see Managing dashboards by API (https://cloud.google.com/
         | 
| 90 | 
            +
                    # monitoring/dashboards/api-dashboard). This method requires the monitoring.
         | 
| 91 | 
            +
                    # dashboards.create permission on the specified project. For more information
         | 
| 92 | 
            +
                    # about permissions, see Cloud Identity and Access Management (https://cloud.
         | 
| 93 | 
            +
                    # google.com/iam).
         | 
| 60 94 | 
             
                    # @param [String] parent
         | 
| 61 95 | 
             
                    #   Required. The project on which to execute the request. The format is: projects/
         | 
| 62 96 | 
             
                    #   [PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard
         | 
    
        metadata
    CHANGED
    
    | @@ -1,29 +1,35 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-monitoring_v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.10.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-19 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| 15 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 16 | 
             
                requirements:
         | 
| 17 | 
            -
                - - " | 
| 17 | 
            +
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: '0. | 
| 19 | 
            +
                    version: '0.4'
         | 
| 20 | 
            +
                - - "<"
         | 
| 21 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            +
                    version: 2.a
         | 
| 20 23 | 
             
              type: :runtime
         | 
| 21 24 | 
             
              prerelease: false
         | 
| 22 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 26 | 
             
                requirements:
         | 
| 24 | 
            -
                - - " | 
| 27 | 
            +
                - - ">="
         | 
| 28 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            +
                    version: '0.4'
         | 
| 30 | 
            +
                - - "<"
         | 
| 25 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version:  | 
| 32 | 
            +
                    version: 2.a
         | 
| 27 33 | 
             
            description: This is the simple REST client for Cloud Monitoring API V1. Simple REST
         | 
| 28 34 | 
             
              clients are Ruby client libraries that provide access to Google services via their
         | 
| 29 35 | 
             
              HTTP REST API endpoints. These libraries are generated and updated automatically
         | 
| @@ -52,7 +58,7 @@ licenses: | |
| 52 58 | 
             
            metadata:
         | 
| 53 59 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 54 60 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v1/CHANGELOG.md
         | 
| 55 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.10.0
         | 
| 56 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v1
         | 
| 57 63 | 
             
            post_install_message: 
         | 
| 58 64 | 
             
            rdoc_options: []
         |