# Certificate Authority Service V1 API - Class Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesRequest (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.1 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.6 Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesRequest.

Request message for
[CertificateAuthorityService.ListCertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateAuthorityService-Client#Google__Cloud__Security__PrivateCA__V1__CertificateAuthorityService__Client_list_certificate_templates_instance_ "Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_certificate_templates (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- Optional. Only include resources that match the filter in the response.

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Only include resources that match the filter in the response.
**Returns**

- (::String) --- Optional. Only include resources that match the filter in the response.

### #order_by

    def order_by() -> ::String

**Returns**

- (::String) --- Optional. Specify how the results should be sorted.

### #order_by=

    def order_by=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Specify how the results should be sorted.
**Returns**

- (::String) --- Optional. Specify how the results should be sorted.

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- Optional. Limit on the number of [CertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateTemplate "Google::Cloud::Security::PrivateCA::V1::CertificateTemplate (class)") to include in the response. Further [CertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateTemplate "Google::Cloud::Security::PrivateCA::V1::CertificateTemplate (class)") can subsequently be obtained by including the [ListCertificateTemplatesResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-ListCertificateTemplatesResponse#Google__Cloud__Security__PrivateCA__V1__ListCertificateTemplatesResponse_next_page_token_instance_ "Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse#next_page_token (method)") in a subsequent request. If unspecified, the server will pick an appropriate default.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Limit on the number of [CertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateTemplate "Google::Cloud::Security::PrivateCA::V1::CertificateTemplate (class)") to include in the response. Further [CertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateTemplate "Google::Cloud::Security::PrivateCA::V1::CertificateTemplate (class)") can subsequently be obtained by including the [ListCertificateTemplatesResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-ListCertificateTemplatesResponse#Google__Cloud__Security__PrivateCA__V1__ListCertificateTemplatesResponse_next_page_token_instance_ "Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse#next_page_token (method)") in a subsequent request. If unspecified, the server will pick an appropriate default.
**Returns**

- (::Integer) --- Optional. Limit on the number of [CertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateTemplate "Google::Cloud::Security::PrivateCA::V1::CertificateTemplate (class)") to include in the response. Further [CertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateTemplate "Google::Cloud::Security::PrivateCA::V1::CertificateTemplate (class)") can subsequently be obtained by including the [ListCertificateTemplatesResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-ListCertificateTemplatesResponse#Google__Cloud__Security__PrivateCA__V1__ListCertificateTemplatesResponse_next_page_token_instance_ "Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse#next_page_token (method)") in a subsequent request. If unspecified, the server will pick an appropriate default.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- Optional. Pagination token, returned earlier via [ListCertificateTemplatesResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-ListCertificateTemplatesResponse#Google__Cloud__Security__PrivateCA__V1__ListCertificateTemplatesResponse_next_page_token_instance_ "Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse#next_page_token (method)").

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Pagination token, returned earlier via [ListCertificateTemplatesResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-ListCertificateTemplatesResponse#Google__Cloud__Security__PrivateCA__V1__ListCertificateTemplatesResponse_next_page_token_instance_ "Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse#next_page_token (method)").
**Returns**

- (::String) --- Optional. Pagination token, returned earlier via [ListCertificateTemplatesResponse.next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-ListCertificateTemplatesResponse#Google__Cloud__Security__PrivateCA__V1__ListCertificateTemplatesResponse_next_page_token_instance_ "Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse#next_page_token (method)").

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The resource name of the location associated with the [CertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateTemplate "Google::Cloud::Security::PrivateCA::V1::CertificateTemplate (class)"), in the format `projects/*/locations/*`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource name of the location associated with the [CertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateTemplate "Google::Cloud::Security::PrivateCA::V1::CertificateTemplate (class)"), in the format `projects/*/locations/*`.
**Returns**

- (::String) --- Required. The resource name of the location associated with the [CertificateTemplates](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateTemplate "Google::Cloud::Security::PrivateCA::V1::CertificateTemplate (class)"), in the format `projects/*/locations/*`.