0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle Client class Domain.

Information about a domain.

Generated from protobuf message `google.backstory.Domain`

## Namespace

Google \\ Backstory

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The domain name. This field can be used as an entity indicator for Domain entities. |
| `↳ prevalence` | `Prevalence` The prevalence of the domain within the customer's environment. |
| `↳ first_seen_time` | `Google\Protobuf\Timestamp` First seen timestamp of the domain in the customer's environment. |
| `↳ last_seen_time` | `Google\Protobuf\Timestamp` Last seen timestamp of the domain in the customer's environment. |
| `↳ registrar` | `string` Registrar name . FOr example, "Wild West Domains, Inc. (R120-LROR)", "GoDaddy.com, LLC", or "PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM". |
| `↳ contact_email` | `string` Contact email address. |
| `↳ whois_server` | `string` Whois server name. |
| `↳ name_server` | `string[]` Repeated list of name servers. |
| `↳ creation_time` | `Google\Protobuf\Timestamp` Domain creation time. |
| `↳ update_time` | `Google\Protobuf\Timestamp` Last updated time. |
| `↳ expiration_time` | `Google\Protobuf\Timestamp` Expiration time. |
| `↳ audit_update_time` | `Google\Protobuf\Timestamp` Audit updated time. |
| `↳ status` | `string` Domain status. See <https://www.icann.org/resources/pages/epp-status-codes-2014-06-16-en> for meanings of possible values |
| `↳ registrant` | `User` Parsed contact information for the registrant of the domain. |
| `↳ admin` | `User` Parsed contact information for the administrative contact for the domain. |
| `↳ tech` | `User` Parsed contact information for the technical contact for the domain |
| `↳ billing` | `User` Parsed contact information for the billing contact of the domain. |
| `↳ zone` | `User` Parsed contact information for the zone. |
| `↳ whois_record_raw_text` | `string` WHOIS raw text. |
| `↳ registry_data_raw_text` | `string` Registry Data raw text. |
| `↳ iana_registrar_id` | `int` IANA Registrar ID. See <https://www.iana.org/assignments/registrar-ids/registrar-ids.xhtml> |
| `↳ private_registration` | `bool` Indicates whether the domain appears to be using a private registration service to mask the owner's contact information. |
| `↳ categories` | `string[]` Categories assign to the domain as retrieved from VirusTotal. |
| `↳ favicon` | `Favicon` Includes difference hash and MD5 hash of the domain's favicon. |
| `↳ jarm` | `string` Domain's JARM hash. |
| `↳ last_dns_records` | `array<DNSRecord>` Domain's DNS records from the last scan. |
| `↳ last_dns_records_time` | `Google\Protobuf\Timestamp` Date when the DNS records list was retrieved by VirusTotal. |
| `↳ last_https_certificate` | `SSLCertificate` SSL certificate object retrieved last time the domain was analyzed. |
| `↳ last_https_certificate_time` | `Google\Protobuf\Timestamp` When the certificate was retrieved by VirusTotal. |
| `↳ popularity_ranks` | `array<PopularityRank>` Domain's position in popularity ranks such as Alexa, Quantcast, Statvoo, etc |
| `↳ tags` | `string[]` List of representative attributes. |
| `↳ whois_time` | `Google\Protobuf\Timestamp` Date of the last update of the WHOIS record. |

### getName

The domain name.

This field can be used as an entity indicator for Domain entities.

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

### setName

The domain name.

This field can be used as an entity indicator for Domain entities.

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

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

### getPrevalence

The prevalence of the domain within the customer's environment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Prevalence|null` |   |

### hasPrevalence

### clearPrevalence

### setPrevalence

The prevalence of the domain within the customer's environment.

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

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

### getFirstSeenTime

First seen timestamp of the domain in the customer's environment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasFirstSeenTime

### clearFirstSeenTime

### setFirstSeenTime

First seen timestamp of the domain in the customer's environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getLastSeenTime

Last seen timestamp of the domain in the customer's environment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasLastSeenTime

### clearLastSeenTime

### setLastSeenTime

Last seen timestamp of the domain in the customer's environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getRegistrar

Registrar name . FOr example, "Wild West Domains, Inc. (R120-LROR)",
"GoDaddy.com, LLC", or "PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM".

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

### setRegistrar

Registrar name . FOr example, "Wild West Domains, Inc. (R120-LROR)",
"GoDaddy.com, LLC", or "PDR LTD. D/B/A PUBLICDOMAINREGISTRY.COM".

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

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

### getContactEmail

Contact email address.

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

### setContactEmail

Contact email address.

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

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

### getWhoisServer

Whois server name.

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

### setWhoisServer

Whois server name.

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

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

### getNameServer

Repeated list of name servers.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setNameServer

Repeated list of name servers.

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

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

### getCreationTime

Domain creation time.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreationTime

### clearCreationTime

### setCreationTime

Domain creation time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getUpdateTime

Last updated time.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Last updated time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getExpirationTime

Expiration time.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasExpirationTime

### clearExpirationTime

### setExpirationTime

Expiration time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getAuditUpdateTime

Audit updated time.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasAuditUpdateTime

### clearAuditUpdateTime

### setAuditUpdateTime

Audit updated time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getStatus

Domain status. See
<https://www.icann.org/resources/pages/epp-status-codes-2014-06-16-en>
for meanings of possible values

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

### setStatus

Domain status. See
<https://www.icann.org/resources/pages/epp-status-codes-2014-06-16-en>
for meanings of possible values

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

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

### getRegistrant

Parsed contact information for the registrant of the domain.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `User|null` |   |

### hasRegistrant

### clearRegistrant

### setRegistrant

Parsed contact information for the registrant of the domain.

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

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

### getAdmin

Parsed contact information for the administrative contact for the domain.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `User|null` |   |

### hasAdmin

### clearAdmin

### setAdmin

Parsed contact information for the administrative contact for the domain.

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

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

### getTech

Parsed contact information for the technical contact for the domain

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `User|null` |   |

### hasTech

### clearTech

### setTech

Parsed contact information for the technical contact for the domain

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

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

### getBilling

Parsed contact information for the billing contact of the domain.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `User|null` |   |

### hasBilling

### clearBilling

### setBilling

Parsed contact information for the billing contact of the domain.

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

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

### getZone

Parsed contact information for the zone.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `User|null` |   |

### hasZone

### clearZone

### setZone

Parsed contact information for the zone.

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

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

### getWhoisRecordRawText

WHOIS raw text.

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

### setWhoisRecordRawText

WHOIS raw text.

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

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

### getRegistryDataRawText

Registry Data raw text.

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

### setRegistryDataRawText

Registry Data raw text.

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

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

### getIanaRegistrarId

IANA Registrar ID. See
<https://www.iana.org/assignments/registrar-ids/registrar-ids.xhtml>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setIanaRegistrarId

IANA Registrar ID. See
<https://www.iana.org/assignments/registrar-ids/registrar-ids.xhtml>

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

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

### getPrivateRegistration

Indicates whether the domain appears to be using a private registration
service to mask the owner's contact information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setPrivateRegistration

Indicates whether the domain appears to be using a private registration
service to mask the owner's contact information.

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

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

### getCategories

Categories assign to the domain as retrieved from VirusTotal.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setCategories

Categories assign to the domain as retrieved from VirusTotal.

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

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

### getFavicon

Includes difference hash and MD5 hash of the domain's favicon.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Favicon|null` |   |

### hasFavicon

### clearFavicon

### setFavicon

Includes difference hash and MD5 hash of the domain's favicon.

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

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

### getJarm

Domain's JARM hash.

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

### setJarm

Domain's JARM hash.

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

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

### getLastDnsRecords

Domain's DNS records from the last scan.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<DNSRecord>` |   |

### setLastDnsRecords

Domain's DNS records from the last scan.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<DNSRecord>` |

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

### getLastDnsRecordsTime

Date when the DNS records list was retrieved by VirusTotal.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasLastDnsRecordsTime

### clearLastDnsRecordsTime

### setLastDnsRecordsTime

Date when the DNS records list was retrieved by VirusTotal.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getLastHttpsCertificate

SSL certificate object retrieved last time the domain was analyzed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `SSLCertificate|null` |   |

### hasLastHttpsCertificate

### clearLastHttpsCertificate

### setLastHttpsCertificate

SSL certificate object retrieved last time the domain was analyzed.

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

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

### getLastHttpsCertificateTime

When the certificate was retrieved by VirusTotal.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasLastHttpsCertificateTime

### clearLastHttpsCertificateTime

### setLastHttpsCertificateTime

When the certificate was retrieved by VirusTotal.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getPopularityRanks

Domain's position in popularity ranks such as Alexa, Quantcast, Statvoo,
etc

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<PopularityRank>` |   |

### setPopularityRanks

Domain's position in popularity ranks such as Alexa, Quantcast, Statvoo,
etc

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<PopularityRank>` |

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

### getTags

List of representative attributes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setTags

List of representative attributes.

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

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

### getWhoisTime

Date of the last update of the WHOIS record.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasWhoisTime

### clearWhoisTime

### setWhoisTime

Date of the last update of the WHOIS record.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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