Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::CreateServiceRequest (v1.0.1)

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

The CreateService 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 Metrics Scope. The format is:

    projects/[PROJECT_ID_OR_NUMBER]
    

#parent=

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

    Required. Resource name of the parent Metrics Scope. The format is:

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

    Required. Resource name of the parent Metrics Scope. The format is:

    projects/[PROJECT_ID_OR_NUMBER]
    

#service

defservice()->::Google::Cloud::Monitoring::V3::Service
Returns

#service=

defservice=(value)->::Google::Cloud::Monitoring::V3::Service
Parameter
Returns

#service_id

defservice_id()->::String
Returns
  • (::String) — Optional. The Service id to use for this Service. If omitted, an id will be generated instead. Must match the pattern [a-z0-9\-]+

#service_id=

defservice_id=(value)->::String
Parameter
  • value (::String) — Optional. The Service id to use for this Service. If omitted, an id will be generated instead. Must match the pattern [a-z0-9\-]+
Returns
  • (::String) — Optional. The Service id to use for this Service. If omitted, an id will be generated instead. Must match the pattern [a-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.