# Dataform V1 API - Class Google::Cloud::Dataform::V1::QueryDirectoryContentsRequest (v0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Dataform V1 API class Google::Cloud::Dataform::V1::QueryDirectoryContentsRequest.

`QueryDirectoryContents` request message.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.
**Returns**

- (::Integer) --- Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page.


  When paginating, all other parameters provided to
  `QueryDirectoryContents`, with the exception of `page_size`, must match the
  call that provided the page token.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page.


  When paginating, all other parameters provided to
  `QueryDirectoryContents`, with the exception of `page_size`, must match the
  call that provided the page token.
**Returns**

- (::String) --- Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page.


  When paginating, all other parameters provided to
  `QueryDirectoryContents`, with the exception of `page_size`, must match the
  call that provided the page token.

### #path

    def path() -> ::String

**Returns**

- (::String) --- Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

### #path=

    def path=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.
**Returns**

- (::String) --- Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

### #view

    def view() -> ::Google::Cloud::Dataform::V1::DirectoryContentsView

**Returns**

- ([::Google::Cloud::Dataform::V1::DirectoryContentsView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-DirectoryContentsView)) --- Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected workspaces.

### #view=

    def view=(value) -> ::Google::Cloud::Dataform::V1::DirectoryContentsView

**Parameter**

- **value** ([::Google::Cloud::Dataform::V1::DirectoryContentsView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-DirectoryContentsView)) --- Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected workspaces.
**Returns**

- ([::Google::Cloud::Dataform::V1::DirectoryContentsView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1/latest/Google-Cloud-Dataform-V1-DirectoryContentsView)) --- Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected workspaces.

### #workspace

    def workspace() -> ::String

**Returns**

- (::String) --- Required. The workspace's name.

### #workspace=

    def workspace=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The workspace's name.
**Returns**

- (::String) --- Required. The workspace's name.