Class: Google::Cloud::Monitoring::V3::ServiceLevelObjective

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/service.rb

Overview

A Service-Level Objective (SLO) describes a level of desired good service. It consists of a service-level indicator (SLI), a performance goal, and a period over which the objective is to be evaluated against that goal. The SLO can use SLIs defined in a number of different manners. Typical SLOs might include "99% of requests in each rolling week have latency below 200 milliseconds" or "99.5% of requests in each calendar month return successfully."

Defined Under Namespace

Modules: View Classes: UserLabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#calendar_period::Google::Type::CalendarPeriod



396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# File 'proto_docs/google/monitoring/v3/service.rb', line 396

class ServiceLevelObjective
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class UserLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # `ServiceLevelObjective.View` determines what form of
  # `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
  # `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.
  module View
    # Same as FULL.
    VIEW_UNSPECIFIED = 0

    # Return the embedded `ServiceLevelIndicator` in the form in which it was
    # defined. If it was defined using a `BasicSli`, return that `BasicSli`.
    FULL = 2

    # For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
    # return the `ServiceLevelIndicator` with its mode of computation fully
    # spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using
    # `RequestBasedSli` or `WindowsBasedSli`, return the
    # `ServiceLevelIndicator` as it was provided.
    EXPLICIT = 1
  end
end

#display_name::String



396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# File 'proto_docs/google/monitoring/v3/service.rb', line 396

class ServiceLevelObjective
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class UserLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # `ServiceLevelObjective.View` determines what form of
  # `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
  # `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.
  module View
    # Same as FULL.
    VIEW_UNSPECIFIED = 0

    # Return the embedded `ServiceLevelIndicator` in the form in which it was
    # defined. If it was defined using a `BasicSli`, return that `BasicSli`.
    FULL = 2

    # For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
    # return the `ServiceLevelIndicator` with its mode of computation fully
    # spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using
    # `RequestBasedSli` or `WindowsBasedSli`, return the
    # `ServiceLevelIndicator` as it was provided.
    EXPLICIT = 1
  end
end

#goal::Float



396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# File 'proto_docs/google/monitoring/v3/service.rb', line 396

class ServiceLevelObjective
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class UserLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # `ServiceLevelObjective.View` determines what form of
  # `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
  # `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.
  module View
    # Same as FULL.
    VIEW_UNSPECIFIED = 0

    # Return the embedded `ServiceLevelIndicator` in the form in which it was
    # defined. If it was defined using a `BasicSli`, return that `BasicSli`.
    FULL = 2

    # For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
    # return the `ServiceLevelIndicator` with its mode of computation fully
    # spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using
    # `RequestBasedSli` or `WindowsBasedSli`, return the
    # `ServiceLevelIndicator` as it was provided.
    EXPLICIT = 1
  end
end

#name::String



396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# File 'proto_docs/google/monitoring/v3/service.rb', line 396

class ServiceLevelObjective
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class UserLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # `ServiceLevelObjective.View` determines what form of
  # `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
  # `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.
  module View
    # Same as FULL.
    VIEW_UNSPECIFIED = 0

    # Return the embedded `ServiceLevelIndicator` in the form in which it was
    # defined. If it was defined using a `BasicSli`, return that `BasicSli`.
    FULL = 2

    # For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
    # return the `ServiceLevelIndicator` with its mode of computation fully
    # spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using
    # `RequestBasedSli` or `WindowsBasedSli`, return the
    # `ServiceLevelIndicator` as it was provided.
    EXPLICIT = 1
  end
end

#rolling_period::Google::Protobuf::Duration



396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# File 'proto_docs/google/monitoring/v3/service.rb', line 396

class ServiceLevelObjective
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class UserLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # `ServiceLevelObjective.View` determines what form of
  # `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
  # `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.
  module View
    # Same as FULL.
    VIEW_UNSPECIFIED = 0

    # Return the embedded `ServiceLevelIndicator` in the form in which it was
    # defined. If it was defined using a `BasicSli`, return that `BasicSli`.
    FULL = 2

    # For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
    # return the `ServiceLevelIndicator` with its mode of computation fully
    # spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using
    # `RequestBasedSli` or `WindowsBasedSli`, return the
    # `ServiceLevelIndicator` as it was provided.
    EXPLICIT = 1
  end
end

#service_level_indicator::Google::Cloud::Monitoring::V3::ServiceLevelIndicator



396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# File 'proto_docs/google/monitoring/v3/service.rb', line 396

class ServiceLevelObjective
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class UserLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # `ServiceLevelObjective.View` determines what form of
  # `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
  # `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.
  module View
    # Same as FULL.
    VIEW_UNSPECIFIED = 0

    # Return the embedded `ServiceLevelIndicator` in the form in which it was
    # defined. If it was defined using a `BasicSli`, return that `BasicSli`.
    FULL = 2

    # For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
    # return the `ServiceLevelIndicator` with its mode of computation fully
    # spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using
    # `RequestBasedSli` or `WindowsBasedSli`, return the
    # `ServiceLevelIndicator` as it was provided.
    EXPLICIT = 1
  end
end

#user_labels::Google::Protobuf::Map{::String => ::String}



396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
# File 'proto_docs/google/monitoring/v3/service.rb', line 396

class ServiceLevelObjective
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class UserLabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # `ServiceLevelObjective.View` determines what form of
  # `ServiceLevelObjective` is returned from `GetServiceLevelObjective`,
  # `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.
  module View
    # Same as FULL.
    VIEW_UNSPECIFIED = 0

    # Return the embedded `ServiceLevelIndicator` in the form in which it was
    # defined. If it was defined using a `BasicSli`, return that `BasicSli`.
    FULL = 2

    # For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
    # return the `ServiceLevelIndicator` with its mode of computation fully
    # spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using
    # `RequestBasedSli` or `WindowsBasedSli`, return the
    # `ServiceLevelIndicator` as it was provided.
    EXPLICIT = 1
  end
end