Skip to main content
Google Cloud Load Balancer is a fully distributed, software-defined managed service for distributing traffic across multiple instances, services, and regions. It supports HTTP(S), TCP/SSL, and UDP load balancing, integrates seamlessly with Google Cloud services, and provides high availability, scalability, and global reach. The GCPLoadBalancerHandler provides programmatic access to all load balancer components, including URL maps, backend services, proxies, forwarding rules, SSL certificates, and health checks.

Example

To create the GCPLoadBalancerHandler with Google Cloud credentials:
List All Load Balancer Components:
Fetches all components (URL maps, backend services, proxies, SSL certs, health checks) concurrently.
Get URL Maps (Application Load Balancers):
Retrieves URL maps including host rules, path matchers, and route actions.
Get Backend Services:
Fetches backend services with protocols, ports, CDN settings, session affinity, and backend group details.
Get Target HTTP Proxies:
Lists all HTTP proxies linked to URL maps.
Get Target HTTPS Proxies:
Lists all HTTPS proxies along with SSL certificates and QUIC override settings.
Get Global Forwarding Rules:
Fetches forwarding rules with IP addresses, protocols, port ranges, and targets.
Get SSL Certificates:
Retrieves SSL certificates (truncated for security) with SANs and expiration details.
Get Health Checks:
Lists health checks with thresholds, intervals, timeouts, and protocol-specific details (HTTP/HTTPS).