class Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
The configuration for a custom policy implemented by the user and deployed with the client.
Attributes
An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. Corresponds to the JSON property `data` @return [String]
Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 4110 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 4115 def update!(**args) @data = args[:data] if args.key?(:data) @name = args[:name] if args.key?(:name) end