# Cloud Talent Solution V4beta1 API - Class Google::Cloud::Talent::V4beta1::ListCompaniesRequest (v0.19.0)

0.19.0 (latest) 0.18.1 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.0 0.4.6 Reference documentation and code samples for the Cloud Talent Solution V4beta1 API class Google::Cloud::Talent::V4beta1::ListCompaniesRequest.

List companies for which the client has ACL visibility.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.
**Returns**

- (::Integer) --- The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- The starting indicator from which to return results.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- The starting indicator from which to return results.
**Returns**

- (::String) --- The starting indicator from which to return results.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Resource name of the tenant under which the company is created.

  The format is "projects/{project_id}/tenants/{tenant_id}", for example,
  "projects/foo/tenant/bar".

  If tenant id is unspecified, the default tenant will be used, for
  example, "projects/foo".

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Resource name of the tenant under which the company is created.


  The format is "projects/{project_id}/tenants/{tenant_id}", for example,
  "projects/foo/tenant/bar".

  If tenant id is unspecified, the default tenant will be used, for
  example, "projects/foo".
**Returns**

- (::String) --- Required. Resource name of the tenant under which the company is created.

  The format is "projects/{project_id}/tenants/{tenant_id}", for example,
  "projects/foo/tenant/bar".

  If tenant id is unspecified, the default tenant will be used, for
  example, "projects/foo".

### #require_open_jobs

    def require_open_jobs() -> ::Boolean

**Returns**

- (::Boolean) --- Set to true if the companies requested must have open jobs.

  Defaults to false.

  If true, at most
  [page_size](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-ListCompaniesRequest#Google__Cloud__Talent__V4beta1__ListCompaniesRequest_page_size_instance_ "Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size (method)") of
  companies are fetched, among which only those with open jobs are returned.

### #require_open_jobs=

    def require_open_jobs=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Set to true if the companies requested must have open jobs.


  Defaults to false.

  If true, at most
  [page_size](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-ListCompaniesRequest#Google__Cloud__Talent__V4beta1__ListCompaniesRequest_page_size_instance_ "Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size (method)") of
  companies are fetched, among which only those with open jobs are returned.
**Returns**

- (::Boolean) --- Set to true if the companies requested must have open jobs.

  Defaults to false.

  If true, at most
  [page_size](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-ListCompaniesRequest#Google__Cloud__Talent__V4beta1__ListCompaniesRequest_page_size_instance_ "Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size (method)") of
  companies are fetched, among which only those with open jobs are returned.