# Google Certificate Authority Service V1 Client - Class AccessUrls (2.4.0)

2.4.0 (latest) 2.3.0 2.2.2 2.1.1 2.0.3 1.7.3 1.5.0 1.4.2 1.3.1 1.2.2 1.1.0 1.0.3 Reference documentation and code samples for the Google Certificate Authority Service V1 Client class AccessUrls.

URLs where a
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)
will publish content.

Generated from protobuf message `google.cloud.security.privateca.v1.CertificateAuthority.AccessUrls`

## Namespace

Google \\ Cloud \\ Security \\ PrivateCA \\ V1 \\ CertificateAuthority

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ ca_certificate_access_url` | `string` The URL where this [CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)'s CA certificate is published. This will only be set for CAs that have been activated. |
| `↳ crl_access_urls` | `string[]` The URLs where this [CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)'s CRLs are published. This will only be set for CAs that have been activated. |

### getCaCertificateAccessUrl

The URL where this
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)'s
CA certificate is published. This will only be set for CAs that have been
activated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCaCertificateAccessUrl

The URL where this
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)'s
CA certificate is published. This will only be set for CAs that have been
activated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCrlAccessUrls

The URLs where this
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)'s
CRLs are published. This will only be set for CAs that have been
activated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setCrlAccessUrls

The URLs where this
[CertificateAuthority](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)'s
CRLs are published. This will only be set for CAs that have been
activated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |