Google Cloud Orchestration Airflow V1 Client - Class AllowedIpRange (2.0.0)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class AllowedIpRange.

Allowed IP range with user-provided description.

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1 \ WebServerNetworkAccessControl

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value string

IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.

↳ description string

Optional. User-provided description. It must contain at most 300 characters.

getValue

IP address or range, defined using CIDR notation, of requests that this rule applies to.

Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.

Returns
Type Description
string

setValue

IP address or range, defined using CIDR notation, of requests that this rule applies to.

Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. IP range prefixes should be properly truncated. For example, 1.2.3.4/24 should be truncated to 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 should be truncated to 2001:db8::/32.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. User-provided description. It must contain at most 300 characters.

Returns
Type Description
string

setDescription

Optional. User-provided description. It must contain at most 300 characters.

Parameter
Name Description
var string
Returns
Type Description
$this