Service Usage V1 API - Class Google::Cloud::ServiceUsage::V1::BatchEnableServicesRequest (v0.6.2)

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

Request message for the BatchEnableServices method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Parent to enable services on.

    An example name would be: projects/123 where 123 is the project number.

    The BatchEnableServices method currently only supports projects.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Parent to enable services on.

    An example name would be: projects/123 where 123 is the project number.

    The BatchEnableServices method currently only supports projects.

Returns
  • (::String) — Parent to enable services on.

    An example name would be: projects/123 where 123 is the project number.

    The BatchEnableServices method currently only supports projects.

#service_ids

def service_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — The identifiers of the services to enable on the project.

    A valid identifier would be: serviceusage.googleapis.com

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

    A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.

#service_ids=

def service_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The identifiers of the services to enable on the project.

    A valid identifier would be: serviceusage.googleapis.com

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

    A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.

Returns
  • (::Array<::String>) — The identifiers of the services to enable on the project.

    A valid identifier would be: serviceusage.googleapis.com

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

    A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.