Google Workspace Add-ons V1 API - Class Google::Cloud::GSuiteAddOns::V1::UrlPattern (v1.10.0)

Reference documentation and code samples for the Google Workspace Add-ons V1 API class Google::Cloud::GSuiteAddOns::V1::UrlPattern.

Configuration for a link preview.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#host_pattern

def host_pattern() -> ::String
Returns
  • (::String) — Required. The domain to match. Match a specific subdomain, like "subdomain.example.com", or an entire domain by including an asterisk () as a leading wildcard character. For example, ".example.com" matches "https://subdomain.example.com" and "https://any.number.of.subdomains.example.com".

#host_pattern=

def host_pattern=(value) -> ::String
Parameter
  • value (::String) — Required. The domain to match. Match a specific subdomain, like "subdomain.example.com", or an entire domain by including an asterisk () as a leading wildcard character. For example, ".example.com" matches "https://subdomain.example.com" and "https://any.number.of.subdomains.example.com".
Returns
  • (::String) — Required. The domain to match. Match a specific subdomain, like "subdomain.example.com", or an entire domain by including an asterisk () as a leading wildcard character. For example, ".example.com" matches "https://subdomain.example.com" and "https://any.number.of.subdomains.example.com".

#path_prefix

def path_prefix() -> ::String
Returns
  • (::String) — Optional. Path prefix appended to the host pattern. If blank, matches all URLs in the host pattern. For example, when paired with the host pattern "subdomain.example.com", specify "path/" to match page URLs that begin with "https://subdomain.example.com/path/".

#path_prefix=

def path_prefix=(value) -> ::String
Parameter
  • value (::String) — Optional. Path prefix appended to the host pattern. If blank, matches all URLs in the host pattern. For example, when paired with the host pattern "subdomain.example.com", specify "path/" to match page URLs that begin with "https://subdomain.example.com/path/".
Returns
  • (::String) — Optional. Path prefix appended to the host pattern. If blank, matches all URLs in the host pattern. For example, when paired with the host pattern "subdomain.example.com", specify "path/" to match page URLs that begin with "https://subdomain.example.com/path/".