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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDescription

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

Returns
TypeDescription
string

setDescription

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this