Service Usage V1 API - Class Google::Cloud::ServiceUsage::V1::EnableServiceRequest (v1.0.0)

Reference documentation and code samples for the Service Usage V1 API class Google::Cloud::ServiceUsage::V1::EnableServiceRequest.

Request message for the EnableService method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Name of the consumer and service to enable the service on.

    The EnableService and DisableService methods currently only support projects.

    Enabling a service requires that the service is public or is shared with the user enabling the service.

    An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the consumer and service to enable the service on.

    The EnableService and DisableService methods currently only support projects.

    Enabling a service requires that the service is public or is shared with the user enabling the service.

    An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number.

Returns
  • (::String) — Name of the consumer and service to enable the service on.

    The EnableService and DisableService methods currently only support projects.

    Enabling a service requires that the service is public or is shared with the user enabling the service.

    An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number.