Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::CreateServiceLevelObjectiveRequest (v1.2.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::CreateServiceLevelObjectiveRequest.

The CreateServiceLevelObjective request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

defparent()->::String
Returns
  • (::String) —

    Required. Resource name of the parent Service. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    

#parent=

defparent=(value)->::String
Parameter
  • value (::String) —

    Required. Resource name of the parent Service. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    
Returns
  • (::String) —

    Required. Resource name of the parent Service. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
    

#service_level_objective

defservice_level_objective()->::Google::Cloud::Monitoring::V3::ServiceLevelObjective
Returns

#service_level_objective=

defservice_level_objective=(value)->::Google::Cloud::Monitoring::V3::ServiceLevelObjective
Parameter
Returns

#service_level_objective_id

defservice_level_objective_id()->::String
Returns
  • (::String) — Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. Must match the pattern ^[a-zA-Z0-9-_:.]+$

#service_level_objective_id=

defservice_level_objective_id=(value)->::String
Parameter
  • value (::String) — Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. Must match the pattern ^[a-zA-Z0-9-_:.]+$
Returns
  • (::String) — Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. Must match the pattern ^[a-zA-Z0-9-_:.]+$

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.