# Service Usage V1 API - Class Google::Cloud::ServiceUsage::V1::ListServicesRequest (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.1 0.2.1 0.1.4 Reference documentation and code samples for the Service Usage V1 API class Google::Cloud::ServiceUsage::V1::ListServicesRequest.

Request message for the `ListServices` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) --- Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
**Returns**

- (::String) --- Only list services that conform to the given filter. The allowed filter strings are `state:ENABLED` and `state:DISABLED`.

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.
**Returns**

- (::Integer) --- Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- Token identifying which result to start with, which is returned by a previous list call.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Token identifying which result to start with, which is returned by a previous list call.
**Returns**

- (::String) --- Token identifying which result to start with, which is returned by a previous list call.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Parent to search for services on.

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

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Parent to search for services on.


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

- (::String) --- Parent to search for services on.

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