Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::CreateServiceLbPolicyRequest.
Request used by the ServiceLbPolicy method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent resource of the ServiceLbPolicy. Must be in the
format
projects/{project}/locations/{location}
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent resource of the ServiceLbPolicy. Must be in the
format
projects/{project}/locations/{location}
.
Returns
-
(::String) — Required. The parent resource of the ServiceLbPolicy. Must be in the
format
projects/{project}/locations/{location}
.
#service_lb_policy
def service_lb_policy() -> ::Google::Cloud::NetworkServices::V1::ServiceLbPolicy
Returns
- (::Google::Cloud::NetworkServices::V1::ServiceLbPolicy) — Required. ServiceLbPolicy resource to be created.
#service_lb_policy=
def service_lb_policy=(value) -> ::Google::Cloud::NetworkServices::V1::ServiceLbPolicy
Parameter
- value (::Google::Cloud::NetworkServices::V1::ServiceLbPolicy) — Required. ServiceLbPolicy resource to be created.
Returns
- (::Google::Cloud::NetworkServices::V1::ServiceLbPolicy) — Required. ServiceLbPolicy resource to be created.
#service_lb_policy_id
def service_lb_policy_id() -> ::String
Returns
-
(::String) — Required. Short name of the ServiceLbPolicy resource to be created.
E.g. for resource name
projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}
. the id is value of {service_lb_policy_name}
#service_lb_policy_id=
def service_lb_policy_id=(value) -> ::String
Parameter
-
value (::String) — Required. Short name of the ServiceLbPolicy resource to be created.
E.g. for resource name
projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}
. the id is value of {service_lb_policy_name}
Returns
-
(::String) — Required. Short name of the ServiceLbPolicy resource to be created.
E.g. for resource name
projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}
. the id is value of {service_lb_policy_name}