module Google::Cloud::Lustre::V1
def self.configure
- Private: -
def self.configure @configure ||= begin namespace = ["Google", "Cloud", "Lustre"] parent_config = while namespace.any? parent_name = namespace.join "::" parent_const = const_get parent_name break parent_const.configure if parent_const.respond_to? :configure namespace.pop end default_config = Configuration.new parent_config default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation( uri_method: :get, uri_template: "/v1/{name}", matches: [ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false] ], body: nil ) ] default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation( uri_method: :get, uri_template: "/v1/{name}/locations", matches: [ ["name", %r{^projects/[^/]+/?$}, false] ], body: nil ) ] default_config end yield @configure if block_given? @configure end