projects

GET /v1/projects/{projectsId}/locations/{locationsId}/serviceLbPolicies/{serviceLbPoliciesId}

Gets details of a single ServiceLbPolicy.

Request

  • Base URL
    https://networkservices.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform

Path parameters

projectsId, string required
locationsId, string required
serviceLbPoliciesId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Response

Successful response

ServiceLbPolicy required

ServiceLbPolicy holds load balancing and traffic distribution configuration that can be applied to a global or regional BackendService.

autoCapacityDrain, ServiceLbPolicyAutoCapacityDrain

Option to specify if an unhealthy IG/NEG should be considered for load balancing and traffic routing.

createTime, string google-datetime

Output only. The timestamp when this resource was created.

description, string

Optional. A free-text description of the resource. Max length 1024 characters.

failoverConfig, ServiceLbPolicyFailoverConfig

Option to specify health based failover behavior. This is not related to Network load balancer FailoverPolicy.

isolationConfig, ServiceLbPolicyIsolationConfig

Configuration to provide isolation support for the associated Backend Service.

labels, object

Optional. Set of label tags associated with the ServiceLbPolicy resource.

loadBalancingAlgorithm, 'LOAD_BALANCING_ALGORITHM_UNSPECIFIED' | 'SPRAY_TO_WORLD' | 'SPRAY_TO_REGION' | 'WATERFALL_BY_REGION' | 'WATERFALL_BY_ZONE'

Optional. The type of load balancing algorithm to be used. The default behavior is WATERFALL_BY_REGION.

name, string

Identifier. Name of the ServiceLbPolicy resource. It matches pattern projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.

updateTime, string google-datetime

Output only. The timestamp when this resource was last updated.

Changes

No recorded changes to this operation across all 8 revisions of this API.