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

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

Request message for the BatchGetServices method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#names

def names() -> ::Array<::String>
Returns
  • (::Array<::String>) — Names of the services to retrieve.

    An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number. A single request can get a maximum of 30 services at a time.

#names=

def names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Names of the services to retrieve.

    An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number. A single request can get a maximum of 30 services at a time.

Returns
  • (::Array<::String>) — Names of the services to retrieve.

    An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number. A single request can get a maximum of 30 services at a time.

#parent

def parent() -> ::String
Returns
  • (::String) — Parent to retrieve services from. If this is set, the parent of all of the services specified in names must match this field. An example name would be: projects/123 where 123 is the project number. The BatchGetServices method currently only supports projects.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Parent to retrieve services from. If this is set, the parent of all of the services specified in names must match this field. An example name would be: projects/123 where 123 is the project number. The BatchGetServices method currently only supports projects.
Returns
  • (::String) — Parent to retrieve services from. If this is set, the parent of all of the services specified in names must match this field. An example name would be: projects/123 where 123 is the project number. The BatchGetServices method currently only supports projects.